v13.0.0
·
320 commits
to master
since this release
- This release changes the pinned API version to
2023-08-16. Please read the API Changelog and carefully review the API changes before upgradingstripe-node. - More information is available in the stripe-node v13 migration guide
"⚠️ " symbol highlights breaking changes. ⚠️ #1803 Change the default behavior to perform 1 reattempt on retryable request failures (previously the default was 0).- #1808 Allow request-level options to disable retries.
⚠️ Remove deprecateddelmethod onSubcriptions. Please use thecancelmethod instead, which was introduced in v9.14.0:- #1872 Update generated code
⚠️ Add support for new valuesverification_directors_mismatch,verification_document_directors_mismatch,verification_extraneous_directors, andverification_missing_directorson enumsAccount.future_requirements.errors[].code,Account.requirements.errors[].code,BankAccount.future_requirements.errors[].code, andBankAccount.requirements.errors[].code⚠️ Remove support for valuescustom_account_updateandcustom_account_verificationfrom enumAccountLinkCreateParams.type- These values are not fully operational
⚠️ Remove support foravailable_ononBalanceTransactionListParams- Use of this parameter is discouraged. You may use
.AddExtraParamif sending the parameter is still required.
- Use of this parameter is discouraged. You may use
⚠️ Remove support foralternate_statement_descriptorsanddisputeonCharge- Use of these fields is discouraged.
⚠️ Remove support fordestinationonCharge- Please use
transfer_dataoron_behalf_ofinstead.
- Please use
⚠️ Remove support forshipping_ratesonCheckout.SessionCreateParams- Please use
shipping_optionsinstead.
- Please use
⚠️ Remove support forcouponandtrial_from_planonCheckout.SessionCreateParams.subscription_data- Please migrate to the Prices API, or suppress the Typescript error with
// @ts-ignoreoranyif sending the parameter is still required.
- Please migrate to the Prices API, or suppress the Typescript error with
⚠️ Remove support for valuecard_presentfrom enumsCustomerListPaymentMethodsParams.typeandPaymentMethodListParams.type- This value was not fully operational.
⚠️ Remove support for valuecharge_refundedfrom enumDispute.status- This value was not fully operational.
⚠️ Remove support forblikonMandate.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 foracss_debit,affirm,au_becs_debit,bacs_debit,cashapp,sepa_debit, andziponPaymentMethodUpdateParams- These fields are empty.
⚠️ Remove support forcountryonPaymentMethod.link- This field was not fully operational.
⚠️ Remove support forrecurringonPriceUpdateParams- This property should be set on create only.
⚠️ Remove support forattributes,caption, anddeactivate_ononProductCreateParams,ProductUpdateParams, andProduct- These fields are not fully operational.
⚠️ Add support for new value2023-08-16on enumWebhookEndpointCreateParams.api_version