- #2072 Update generated code
- Add support for new value
shipping_address_invalid
on enumsInvoice.last_finalization_error.code
,PaymentIntent.last_payment_error.code
,SetupAttempt.setup_error.code
,SetupIntent.last_setup_error.code
, andStripeError.code
- Fix properties incorrectly marked as required in the OpenAPI spec.
- Change
Apps.Secret.payload
,BillingPortal.Configuration.features.subscription_update.products
,Charge.refunds
,ConfirmationToken.payment_method_preview.klarna.dob
,Identity.VerificationReport.document.dob
,Identity.VerificationReport.document.expiration_date
,Identity.VerificationReport.document.number
,Identity.VerificationReport.id_number.dob
,Identity.VerificationReport.id_number.id_number
,Identity.VerificationSession.provided_details
,Identity.VerificationSession.verified_outputs.dob
,Identity.VerificationSession.verified_outputs.id_number
,Identity.VerificationSession.verified_outputs
,Issuing.Dispute.balance_transactions
,Issuing.Transaction.purchase_details
,PaymentMethod.klarna.dob
,Tax.Calculation.line_items
,Tax.CalculationLineItem.tax_breakdown
,Tax.Transaction.line_items
,Treasury.FinancialAccount.financial_addresses[].aba.account_number
,Treasury.ReceivedCredit.linked_flows.source_flow_details
,Treasury.Transaction.entries
,Treasury.Transaction.flow_details
, andTreasury.TransactionEntry.flow_details
to be optional
- Change
- Add support for
paypal
onDispute.payment_method_details
- Change type of
Dispute.payment_method_details.type
fromliteral('card')
toenum('card'|'paypal')
- Change type of
Entitlements.FeatureUpdateParams.metadata
frommap(string: string)
toemptyable(map(string: string))
- Add support for
payment_method_types
onPaymentIntentConfirmParams
- Add support for
ship_from_details
onTax.CalculationCreateParams
,Tax.Calculation
, andTax.Transaction
- Add support for
bh
,eg
,ge
,ke
,kz
,ng
, andom
onTax.Registration.country_options
andTax.RegistrationCreateParams.country_options
- Add support for new value
- #2077 Deprecate Node methods and params based on OpenAPI spec
- Mark as deprecated the
approve
anddecline
methods onIssuing.Authorization
. Instead, respond directly to the webhook request to approve an authorization. - Mark as deprecated the
persistent_token
property onConfirmationToken.PaymentMethodPreview.Link
,PaymentIntent.PaymentMethodOptions.Link
,PaymentIntentResource.PaymentMethodOptions.Link
,PaymentMethod.Link.persistent_token
.SetupIntents.PaymentMethodOptions.Card.Link.persistent_token
,SetupIntentsResource.persistent_token
. This is a legacy parameter that no longer has any function.
- Mark as deprecated the
- #2074 Add a more explicit comment on
limit
param inautoPagingToArray