Releases: stripe/stripe-node
Releases · stripe/stripe-node
v16.0.0
-
This release changes the pinned API version to 2024-06-20. Please read the API Upgrade Guide and carefully review the API changes before upgrading.
⚠️ Breaking changes- Remove the unused resource
PlatformTaxFee
- Rename
volume_decimal
toquantity_decimal
onIssuing.AuthorizationCaptureParams.testHelpers.purchase_details.fuel
,Issuing.Transaction.purchase_details.fuel
,Issuing.TransactionCreateForceCaptureParams.testHelpers.purchase_details.fuel
, andIssuing.TransactionCreateUnlinkedRefundParams.testHelpers.purchase_details.fuel
Capabilities.Requirements.disabled_reason
andCapabilities.Requirements.disabled_reason
are now enums with the below valuesother
paused.inactivity
pending.onboarding
pending.review
platform_disabled
platform_paused
rejected.inactivity
rejected.other
rejected.unsupported_business
requirements.fields_needed
Additions
- Add support for new values
charging_minute
,imperial_gallon
,kilogram
,kilowatt_hour
, andpound
on enumsIssuing.AuthorizationCaptureParams.testHelpers.purchase_details.fuel.unit
,Issuing.TransactionCreateForceCaptureParams.testHelpers.purchase_details.fuel.unit
, andIssuing.TransactionCreateUnlinkedRefundParams.testHelpers.purchase_details.fuel.unit
- Add support for new values
card_canceled
,card_expired
,cardholder_blocked
,insecure_authorization_method
, andpin_blocked
on enumIssuing.Authorization.request_history[].reason
- Add support for
finalize_amount
test helper method on resourceIssuing.Authorization
- Add support for new value
ch_uid
on enumsCheckout.Session.customer_details.tax_ids[].type
,Invoice.customer_tax_ids[].type
,Tax.Calculation.customer_details.tax_ids[].type
,Tax.Transaction.customer_details.tax_ids[].type
, andTaxId.type
- Add support for new value
ch_uid
on enumsCustomerCreateParams.tax_id_data[].type
,InvoiceCreatePreviewParams.customer_details.tax_ids[].type
,InvoiceUpcomingLinesParams.customer_details.tax_ids[].type
,InvoiceUpcomingParams.customer_details.tax_ids[].type
,Tax.CalculationCreateParams.customer_details.tax_ids[].type
, andTaxIdCreateParams.type
- Add support for
fleet
onIssuing.AuthorizationCaptureParams.testHelpers.purchase_details
,Issuing.AuthorizationCreateParams.testHelpers
,Issuing.Authorization
,Issuing.Transaction.purchase_details
,Issuing.TransactionCreateForceCaptureParams.testHelpers.purchase_details
, andIssuing.TransactionCreateUnlinkedRefundParams.testHelpers.purchase_details
- Add support for
fuel
onIssuing.AuthorizationCreateParams.testHelpers
andIssuing.Authorization
- Add support for
industry_product_code
andquantity_decimal
onIssuing.AuthorizationCaptureParams.testHelpers.purchase_details.fuel
,Issuing.Transaction.purchase_details.fuel
,Issuing.TransactionCreateForceCaptureParams.testHelpers.purchase_details.fuel
, andIssuing.TransactionCreateUnlinkedRefundParams.testHelpers.purchase_details.fuel
- Add support for new value
2024-06-20
on enumWebhookEndpointCreateParams.api_version
- Remove the unused resource
-
#2118 Use worker module in Bun
v15.12.0
- #2109 Update generated code
- Add support for new value
mobilepay
on enumsPaymentLink.payment_method_types[]
,PaymentLinkCreateParams.payment_method_types[]
, andPaymentLinkUpdateParams.payment_method_types[]
- Add support for
tax_id_collection
onPaymentLinkUpdateParams
- Add support for new value
- #2111 Where params are union of types, merge the types instead of having numbered suffixes in type names
- Change type of
PaymentIntentConfirmParams.mandate_data
fromStripe.Emptyable<PaymentIntentConfirmParams.MandateData1 | PaymentIntentConfirmParams.MandateData2>
toStripe.Emptyable<PaymentIntentConfirmParams.MandateData>
where the new MandateData is a union of all the properties of MandateData1 and MandateData2 - Change type of
PaymentMethodCreateParams.card
fromPaymentMethodCreateParams.Card1 | PaymentMethodCreateParams.Card2
toPaymentMethodCreateParams.Card
where the new Card is a union of all the properties of Card1 and Card2 - Change type of
SetupIntentConfirmParams.mandate_data
fromStripe.Emptyable<SetupIntentConfirmParams.MandateData1 | SetupIntentConfirmParams.MandateData2>
toStripe.Emptyable<SetupIntentConfirmParams.MandateData>
where the new MandateData is a union of all the properties of MandateData1 and MandateData2
- Change type of
v15.12.0-beta.1
- #2103 Update generated code for beta
- Add support for new value
de_stn
on enumsOrderCreateParams.tax_details.tax_ids[].type
andOrderUpdateParams.tax_details.tax_ids[].type
- Add support for new value
de_stn
on enumOrder.tax_details.tax_ids[].type
- Add support for new value
v15.11.0
- #2102 Update generated code
- Add support for
multibanco_payments
andtwint_payments
onAccount.capabilities
,AccountCreateParams.capabilities
, andAccountUpdateParams.capabilities
- Add support for
twint
onCharge.payment_method_details
,ConfirmationToken.payment_method_preview
,ConfirmationTokenCreateParams.testHelpers.payment_method_data
,PaymentIntent.payment_method_options
,PaymentIntentConfirmParams.payment_method_data
,PaymentIntentConfirmParams.payment_method_options
,PaymentIntentCreateParams.payment_method_data
,PaymentIntentCreateParams.payment_method_options
,PaymentIntentUpdateParams.payment_method_data
,PaymentIntentUpdateParams.payment_method_options
,PaymentMethodCreateParams
,PaymentMethod
,SetupIntentConfirmParams.payment_method_data
,SetupIntentCreateParams.payment_method_data
, andSetupIntentUpdateParams.payment_method_data
- Add support for
multibanco
onCheckout.Session.payment_method_options
,Checkout.SessionCreateParams.payment_method_options
,ConfirmationToken.payment_method_preview
,ConfirmationTokenCreateParams.testHelpers.payment_method_data
,PaymentIntent.payment_method_options
,PaymentIntentConfirmParams.payment_method_data
,PaymentIntentConfirmParams.payment_method_options
,PaymentIntentCreateParams.payment_method_data
,PaymentIntentCreateParams.payment_method_options
,PaymentIntentUpdateParams.payment_method_data
,PaymentIntentUpdateParams.payment_method_options
,PaymentMethodConfigurationCreateParams
,PaymentMethodConfigurationUpdateParams
,PaymentMethodConfiguration
,PaymentMethodCreateParams
,PaymentMethod
,Refund.destination_details
,SetupIntentConfirmParams.payment_method_data
,SetupIntentCreateParams.payment_method_data
, andSetupIntentUpdateParams.payment_method_data
- Add support for new values
multibanco
andtwint
on enumsCheckout.SessionCreateParams.payment_method_types[]
,CustomerListPaymentMethodsParams.type
,PaymentMethodCreateParams.type
, andPaymentMethodListParams.type
- Add support for new value
de_stn
on enumsCheckout.Session.customer_details.tax_ids[].type
,Invoice.customer_tax_ids[].type
,Tax.Calculation.customer_details.tax_ids[].type
,Tax.Transaction.customer_details.tax_ids[].type
, andTaxId.type
- Add support for new values
multibanco
andtwint
on enumsConfirmationTokenCreateParams.testHelpers.payment_method_data.type
,PaymentIntentConfirmParams.payment_method_data.type
,PaymentIntentCreateParams.payment_method_data.type
,PaymentIntentUpdateParams.payment_method_data.type
,SetupIntentConfirmParams.payment_method_data.type
,SetupIntentCreateParams.payment_method_data.type
, andSetupIntentUpdateParams.payment_method_data.type
- Add support for new values
multibanco
andtwint
on enumsConfirmationToken.payment_method_preview.type
andPaymentMethod.type
- Add support for new value
de_stn
on enumsCustomerCreateParams.tax_id_data[].type
,InvoiceCreatePreviewParams.customer_details.tax_ids[].type
,InvoiceUpcomingLinesParams.customer_details.tax_ids[].type
,InvoiceUpcomingParams.customer_details.tax_ids[].type
,Tax.CalculationCreateParams.customer_details.tax_ids[].type
, andTaxIdCreateParams.type
- Add support for
multibanco_display_details
onPaymentIntent.next_action
- Add support for
invoice_settings
onSubscription
- Add support for
v15.11.0-beta.1
- #2098 Update generated code for beta
- Add support for
twint
onPaymentIntent.payment_method_options
,PaymentIntentConfirmParams.payment_method_options
,PaymentIntentCreateParams.payment_method_options
, andPaymentIntentUpdateParams.payment_method_options
- Add support for
v15.10.0
- #2101 Update generated code
- Add support for
gb_bank_transfer_payments
,jp_bank_transfer_payments
,mx_bank_transfer_payments
,sepa_bank_transfer_payments
, andus_bank_transfer_payments
onAccount.capabilities
,AccountCreateParams.capabilities
, andAccountUpdateParams.capabilities
- Add support for new value
swish
on enumsInvoice.payment_settings.payment_method_types[]
,InvoiceCreateParams.payment_settings.payment_method_types[]
,InvoiceUpdateParams.payment_settings.payment_method_types[]
,Subscription.payment_settings.payment_method_types[]
,SubscriptionCreateParams.payment_settings.payment_method_types[]
, andSubscriptionUpdateParams.payment_settings.payment_method_types[]
- Add support for
v15.10.0-beta.1
- #2094 Update generated code for beta
- Add support for new values
en-RO
andro-RO
on enumsOrderCreateParams.payment.settings.payment_method_options.klarna.preferred_locale
andOrderUpdateParams.payment.settings.payment_method_options.klarna.preferred_locale
- Add support for new values
v15.9.0
- #2095 Update generated code
- Add support for new value
verification_requires_additional_proof_of_registration
on enumsAccount.future_requirements.errors[].code
,Account.requirements.errors[].code
,BankAccount.future_requirements.errors[].code
, andBankAccount.requirements.errors[].code
- Add support for
default_value
onCheckout.Session.custom_fields[].dropdown
,Checkout.Session.custom_fields[].numeric
,Checkout.Session.custom_fields[].text
,Checkout.SessionCreateParams.custom_fields[].dropdown
,Checkout.SessionCreateParams.custom_fields[].numeric
, andCheckout.SessionCreateParams.custom_fields[].text
- Add support for
generated_from
onConfirmationToken.payment_method_preview.card
andPaymentMethod.card
- Add support for new values
issuing_personalization_design.activated
,issuing_personalization_design.deactivated
,issuing_personalization_design.rejected
, andissuing_personalization_design.updated
on enumEvent.type
- Change
Issuing.Card.personalization_design
andIssuing.PhysicalBundle.features
to be required - Add support for new values
en-RO
andro-RO
on enumsPaymentIntentConfirmParams.payment_method_options.klarna.preferred_locale
,PaymentIntentCreateParams.payment_method_options.klarna.preferred_locale
, andPaymentIntentUpdateParams.payment_method_options.klarna.preferred_locale
- Add support for new values
issuing_personalization_design.activated
,issuing_personalization_design.deactivated
,issuing_personalization_design.rejected
, andissuing_personalization_design.updated
on enumsWebhookEndpointCreateParams.enabled_events[]
andWebhookEndpointUpdateParams.enabled_events[]
- Add support for new value
v15.9.0-beta.1
- #2093 Update generated code for beta
- Change
CreditNoteCreateParams.refunds[].refund
,CreditNotePreviewLinesParams.refunds[].refund
, andCreditNotePreviewParams.refunds[].refund
to be optional
- Change
v15.8.0
- #2092 Update generated code
- Add support for
external_account_collection
onAccountSession.components.balances.features
,AccountSession.components.payouts.features
,AccountSessionCreateParams.components.balances.features
, andAccountSessionCreateParams.components.payouts.features
- Add support for new value
terminal_reader_invalid_location_for_payment
on enumsInvoice.last_finalization_error.code
,PaymentIntent.last_payment_error.code
,SetupAttempt.setup_error.code
,SetupIntent.last_setup_error.code
, andStripeError.code
- Add support for
payment_method_remove
onCheckout.Session.saved_payment_method_options
- Add support for