-
-
This release changes the pinned API version to
2024-04-10
. Please read the API Upgrade Guide and carefully review the API changes before upgrading. -
Add a new
TaxIdService
for operations on/v1/tax_ids
endpoints.
⚠️ Breaking changes
- Rename
features
tomarketing_features
onProductCreateParams
,ProductUpdateParams
, andProduct
- Rename "child" services to be prefixed with the associated parent service to allow for the same resource to be exposed at top level (e.g.,
/v1/tax_ids
viaclient.taxIds()
) and as a child (e.g.,/v1/customers/{}/tax_ids
viaclient.customers().taxIds()
).- Rename
CapabilityService
->AccountCapabilityService
- Rename
ExternalAccountService
->AccountExternalAccountService
- Rename
LoginLinkService
->AccountLoginLinkService
- Rename
PersonService
->AccountPersonService
- Rename
FeeRefundService
->ApplicationFeeRefundService
- Rename
CashBalanceService
->CustomerCashBalanceService
- Rename
PaymentSourceService
->CustomerPaymentSourceService
- Rename
UsageRecordService
->SubscriptionItemUsageRecordService
- Rename
UsageRecordSummaryService
->SubscriptionItemUsageRecordSummaryService
- Rename
TaxIdService
->CustomerTaxIdService
.
- Rename
- Remove support for
verify
method onBankAccountService
.- Please use the
verify
method onCustomerPaymentSourceService
instead
// BEFORE client.bankAccounts().verify("cus_...", "ba_..."); // AFTER client.customers().paymentSources().verify("cus_...", "ba_...");
- Please use the
- Remove support for
list
andcreate
methods ontreasury.FinancialAccountFeaturesService
. These methods were incorrectly named.- Please migrate
list
->retrieve
andcreate
->update
.
- Please migrate
- Update
setPageTypeToken
method onStripeCollectionInterface
to be required and remove default implementation. - Remove deprecated
setUsage
method onBaseApiRequest
. - Update
usage
onBaseApiRequest
class to befinal
. - Remove deprecated
maybeEnqueueMetrics
method onRequestTelemetry
.
⚠️ Removal of enum values, properties and events that are no longer part of the publicly documented Stripe API
- Remove
Configuration.SubscriptionPause
for Billing Portal as the feature to pause subscription on the portal has been deprecated. - Remove the support for the below deprecated values in
BalanceTransaction.Type
obligation_inbound
obligation_payout
obligation_payout_failure
obligation_reversal_outbound
- Remove the below deprecated events from
Event.Type
,WebhookEndpointCreateOptions.EnabledEvent
,WebhookEndpointUpdateOptions.EnabledEvent
invoiceitem.updated
order.created
recipient.created
recipient.deleted
recipient.updated
sku.created
sku.deleted
sku.updated
- Remove support for
id_bank_transfer
,multibanco
,netbanking
,pay_by_bank
, andupi
onPaymentMethodConfiguration
by removing the below classesPaymentMethodConfiguration.IdBankTransfer
PaymentMethodConfiguration.Multibanco
PaymentMethodConfiguration.Netbanking
PaymentMethodConfiguration.PayByBank
PaymentMethodConfiguration.Upi
- Remove the support for
challenge_only
inSetupIntent.PaymentMethodOptions.Card.RequestThreeDSecure
- Remove the support for deprecated value
service_tax
inTaxRate.TaxType
,InvoiceLinetItemUpdateParams.TaxAmount.TaxRateData.TaxType
,pwebTaxRateCreateParams.TaxType
,TaxRateUpdateParams.TaxType
- Remove the support for
various
inClimate.Supplier.removalPathway
- Remove the deprecated value
INCLUDE_AND_REQUIRE
on the enumInvoiceCreateParams.PendingInvoiceItemsBehavior
- Remove the property
RequestIncrementalAuthorization
onPaymentIntentConfirmParams.PaymentMethodOptions.CardPresent
,PaymentIntentCreateParams.PaymentMethodOptions.CardPresent
andPaymentIntentUpdateParams.PaymentMethodOptions.CardPresent
. This was shipped by mistake. - Remove the support for deprecated value
obligation
onReportRunCreateParams.ReportingCategory
- Remove the legacy field
rendering_options
onInvoiceCreateParams
,InvoiceUpdateParams
, andInvoice
. Userendering
instead.
-