-
Notifications
You must be signed in to change notification settings - Fork 756
Migration guide for v13
anniel-stripe edited this page Aug 21, 2023
·
8 revisions
"
- Change the default behavior to perform 1 reattempt on retryable request failures (previously the default was 0). (https://github.com/stripe/stripe-node/pull/1803)
- Allow request-level options to disable retries. (https://github.com/stripe/stripe-node/pull/1808)
- Remove deprecated
del
method onSubcriptions
. Please use thecancel
method instead, which was introduced in v9.14.0:
// Before
stripe.subscriptions.del('sub_123');
// After
stripe.subscriptions.cancel('sub_123');
- Remove support for values
custom_account_update
andcustom_account_verification
from enumAccountLinkCreateParams.type
- These values are not fully operational. Please use account_update and account_onboarding instead (see API reference).
- Remove support for
available_on
onBalanceTransactionListParams
- Use of this parameter is discouraged. You may use
.AddExtraParam
if sending the parameter is still required.
- Use of this parameter is discouraged. You may use
- Remove support for
alternate_statement_descriptors
anddispute
onCharge
- Use of these fields is discouraged.
- Remove support for
destination
onCharge
- Please use
transfer_data
oron_behalf_of
instead.
- Please use
- Remove support for
shipping_rates
onCheckout.SessionCreateParams
- Please use
shipping_options
instead.
- Please use
- Remove support for
coupon
andtrial_from_plan
onCheckout.SessionCreateParams.subscription_data
- Please migrate to the Prices API, or suppress the Typescript error with
// @ts-ignore
orany
if sending the parameter is still required.
- Please migrate to the Prices API, or suppress the Typescript error with
- Remove support for value
card_present
from enumsCustomerListPaymentMethodsParams.type
andPaymentMethodListParams.type
- This value was not fully operational.
- Remove support for value
charge_refunded
from enumDispute.status
- This value was not fully operational.
- Remove support for
blik
onMandate.payment_method_details
,PaymentMethodUpdateParams
,SetupAttempt.payment_method_details
,SetupIntent.payment_method_options
,SetupIntentConfirmParams.payment_method_options
,SetupIntentCreateParams.payment_method_options
, andSetupIntentUpdateParams.payment_method_options
- These fields were mistakenly released.
- Remove support for
acss_debit
,affirm
,au_becs_debit
,bacs_debit
,cashapp
,sepa_debit
, andzip
onPaymentMethodUpdateParams
* These fields are empty. - Remove support for
country
onPaymentMethod.link
* This field was not fully operational. - Remove support for
recurring
onPriceUpdateParams
* This property should be set on create only. - Remove support for
attributes
,caption
, anddeactivate_on
onProductCreateParams
,ProductUpdateParams
, andProduct
- These fields are not fully operational.
- Add support for new values
verification_directors_mismatch
,verification_document_directors_mismatch
,verification_extraneous_directors
, andverification_missing_directors
on enumsAccount.future_requirements.errors[].code
,Account.requirements.errors[].code
,BankAccount.future_requirements.errors[].code
, andBankAccount.requirements.errors[].code
- Add support for new value
2023-08-16
on enumWebhookEndpointCreateParams.api_version