v13.0.0
richardm-stripe
released this
16 Aug 20:23
·
235 commits
to master
since this release
- This release changes the pinned API version to
2023-08-16
. Please read the API Upgrade Guide 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 deprecateddel
method onSubcriptions
. Please use thecancel
method 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_directors
on enumsAccount.future_requirements.errors[].code
,Account.requirements.errors[].code
,BankAccount.future_requirements.errors[].code
, andBankAccount.requirements.errors[].code
⚠️ Remove support for valuescustom_account_update
andcustom_account_verification
from enumAccountLinkCreateParams.type
- These values are not fully operational
⚠️ Remove support foravailable_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 foralternate_statement_descriptors
anddispute
onCharge
- Use of these fields is discouraged.
⚠️ Remove support fordestination
onCharge
- Please use
transfer_data
oron_behalf_of
instead.
- Please use
⚠️ Remove support forshipping_rates
onCheckout.SessionCreateParams
- Please use
shipping_options
instead.
- Please use
⚠️ Remove support forcoupon
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 valuecard_present
from enumsCustomerListPaymentMethodsParams.type
andPaymentMethodListParams.type
- This value was not fully operational.
⚠️ Remove support for valuecharge_refunded
from enumDispute.status
- This value was not fully operational.
⚠️ Remove support forblik
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 foracss_debit
,affirm
,au_becs_debit
,bacs_debit
,cashapp
,sepa_debit
, andzip
onPaymentMethodUpdateParams
- These fields are empty.
⚠️ Remove support forcountry
onPaymentMethod.link
- This field was not fully operational.
⚠️ Remove support forrecurring
onPriceUpdateParams
- This property should be set on create only.
⚠️ Remove support forattributes
,caption
, anddeactivate_on
onProductCreateParams
,ProductUpdateParams
, andProduct
- These fields are not fully operational.
⚠️ Add support for new value2023-08-16
on enumWebhookEndpointCreateParams.api_version