-
- 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.
⚠️ Breaking changes
- When no
x-stripe-should-retry
header is set in the response, the library now retries all requests withstatus >= 500
, not just non-POST methods. - Change the type on the status of TerminalReader object from string to enum with values of
TerminalReaderStatusOffline
andTerminalReaderStatusOnline
- Rename
Features
toMarketingFeatures
onProductCreateOptions
,ProductUpdateOptions
, andProduct
.
⚠️ Removal of enum values, properties and events that are no longer part of the publicly documented Stripe API
- Remove
SubscriptionPause
fromBillingPortalConfigurationFeatures
andBillingPortalConfigurationFeaturesParams
as the feature to pause subscription on the portal has been deprecated. - Remove deprecated values for the
BalanceTransactionType
enum by removing the below constantsBalanceTransactionTypeObligationInbound
BalanceTransactionTypeObligationPayout
BalanceTransactionTypeObligationPayoutFailure
BalanceTransactionTypeObligationReversalOutbound
- Remove deprecated value for the
ClimateSupplierRemovalPathway
enum by removing the constantClimateSupplierRemovalPathwayVarious
- Remove deprecated events types
EventTypeInvoiceItemUpdated
EventTypeOrderCreated
EventTypeRecipientCreated
EventTypeRecipientDeleted
EventTypeRecipientUpdated
EventTypeSKUCreated
EventTypeSKUDeleted
- Remove the field
RequestIncrementalAuthorization
on thePaymentIntentPaymentMethodOptionsCardPresentParams
struct - this was shipped by mistake - Remove support for
id_bank_transfer
,multibanco, netbanking
,pay_by_bank
, andupi
onPaymentMethodConfiguration
. TODO - List the affected types and constants - Remove deprecated value for the
SetupIntentPaymentMethodOptionsCardRequestThreeDSecure
enum by removing the constantSetupIntentPaymentMethodOptionsCardRequestThreeDSecureChallengeOnly
- Remove deprecated value for the
TaxRateTaxType
enum by removing the constantTaxRateTaxTypeServiceTax
- Remove
PaymentIntentPaymentMethodData*Params
in favor of reusing existingPaymentMethodData*Params
for all the payment method types.- Remove
PaymentIntentPaymentMethodDataBLIKParams
in favor ofPaymentMethodDataBLIKParams
- Remove
PaymentIntentPaymentMethodDataCashAppParams
in favor ofPaymentMethodDataCashAppParams
- Remove
PaymentIntentPaymentMethodDataCustomerBalanceParams
in favor ofPaymentMethodDataCustomerBalanceParams
- Remove
PaymentIntentPaymentMethodDataKonbiniParams
in favor ofPaymentMethodDataKonbiniParams
- Remove
PaymentIntentPaymentMethodDataLinkParams
in favor ofPaymentMethodDataLinkParams
- Remove
PaymentIntentPaymentMethodDataPayNowParams
in favor ofPaymentMethodDataPayNowParams
- Remove
PaymentIntentPaymentMethodDataPaypalParams
in favor ofPaymentMethodDataPaypalParams
- Remove
PaymentIntentPaymentMethodDataPixParams
in favor ofPaymentMethodDataPixParams
- Remove
PaymentIntentPaymentMethodDataPromptPayParams
in favor ofPaymentMethodDataPromptPayParams
- Remove
PaymentIntentPaymentMethodDataRevolutPayParams
in favor ofPaymentMethodDataRevolutPayParams
- Remove
PaymentIntentPaymentMethodDataUSBankAccounParams
in favor ofPaymentMethodDataUSBankAccounParams
- Remove
PaymentIntentPaymentMethodDataZipParams
in favor ofPaymentMethodDataZipParams
- Remove
- Remove the legacy field
InvoiceRenderingOptionsParams
inInvoice
,InvoiceParams
. UseInvoiceRenderingParams
instead.
- This release changes the pinned API version to