Releases: stripe/stripe-node
Releases · stripe/stripe-node
v16.4.0
- #2138 Update generated code
- Add support for
customer
onConfirmationToken.payment_method_preview
- Add support for new value
issuing_dispute.funds_rescinded
on enumEvent.type
- Add support for new value
multibanco
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 new value
stripe_s700
on enumsTerminal.Reader.device_type
andTerminal.ReaderListParams.device_type
- Add support for new value
issuing_dispute.funds_rescinded
on enumsWebhookEndpointCreateParams.enabled_events[]
andWebhookEndpointUpdateParams.enabled_events[]
- Add support for
- #2136 Update changelog
v16.4.0-beta.1
- #2128 Update generated code for beta
- Change
ConfirmationToken.payment_method_options
andCustomerSession.components.payment_element
to be required - Add support for new value
not_qualified
on enumDispute.evidence_details.enhanced_eligibility.visa_compelling_evidence_3.status
- Change
- #2134 Fix merge conflicts
v16.3.0
- #2130 Update generated code
⚠️ Remove support for valuesbilling_policy_remote_function_response_invalid
,billing_policy_remote_function_timeout
,billing_policy_remote_function_unexpected_status_code
, andbilling_policy_remote_function_unreachable
from enumsInvoice.last_finalization_error.code
,PaymentIntent.last_payment_error.code
,SetupAttempt.setup_error.code
,SetupIntent.last_setup_error.code
, andStripeError.code
.⚠️ Remove support for valuepayment_intent_fx_quote_invalid
from enumStripeError.code
. The was mistakenly released last week.- Add support for
payment_method_options
onConfirmationToken
- Add support for
payment_element
onCustomerSession.components
andCustomerSessionCreateParams.components
- Add support for
address_validation
onIssuing.Card.shipping
andIssuing.CardCreateParams.shipping
- Add support for
shipping
onIssuing.CardUpdateParams
- Change
Plan.meter
andPrice.recurring.meter
to be required
- #2133 update node versions in CI
- #2132 check
hasOwnProperty
when usingfor..in
- #2048 Add generateTestHeaderStringAsync function to Webhooks.ts
v16.3.0-beta.1
- #2126 Update generated code for beta
⚠️ Remove support forpayment_method_update
onCustomerSession.components.payment_element.features
andCustomerSessionCreateParams.components.payment_element.features
. Users are expected to completely migrate from usingpayment_method_update
.- Add support for new resource
FinancialConnections.Institution
- Add support for
list
andretrieve
methods on resourceInstitution
- Add support for
institution
onCheckout.Session.payment_method_options.us_bank_account.financial_connections.filters
,FinancialConnections.Session.filters
,FinancialConnections.SessionCreateParams.filters
,Invoice.payment_settings.payment_method_options.us_bank_account.financial_connections.filters
,InvoiceCreateParams.payment_settings.payment_method_options.us_bank_account.financial_connections.filters
,InvoiceUpdateParams.payment_settings.payment_method_options.us_bank_account.financial_connections.filters
,PaymentIntent.payment_method_options.us_bank_account.financial_connections.filters
,PaymentIntentConfirmParams.payment_method_options.us_bank_account.financial_connections.filters
,PaymentIntentCreateParams.payment_method_options.us_bank_account.financial_connections.filters
,PaymentIntentUpdateParams.payment_method_options.us_bank_account.financial_connections.filters
,SetupIntent.payment_method_options.us_bank_account.financial_connections.filters
,SetupIntentConfirmParams.payment_method_options.us_bank_account.financial_connections.filters
,SetupIntentCreateParams.payment_method_options.us_bank_account.financial_connections.filters
,SetupIntentUpdateParams.payment_method_options.us_bank_account.financial_connections.filters
,Subscription.payment_settings.payment_method_options.us_bank_account.financial_connections.filters
,SubscriptionCreateParams.payment_settings.payment_method_options.us_bank_account.financial_connections.filters
, andSubscriptionUpdateParams.payment_settings.payment_method_options.us_bank_account.financial_connections.filters
- Add support for
payment_method_allow_redisplay_filters
,payment_method_redisplay_limit
,payment_method_redisplay
, andpayment_method_save_usage
onCustomerSession.components.payment_element.features
andCustomerSessionCreateParams.components.payment_element.features
- Add support for new value
balance
on enumsFinancialConnections.Account.subscriptions[]
,FinancialConnections.AccountSubscribeParams.features[]
, andFinancialConnections.AccountUnsubscribeParams.features[]
v16.2.0
- #2125 Update generated code
- Add support for
add_lines
,remove_lines
, andupdate_lines
methods on resourceInvoice
- Add support for new value
payment_intent_fx_quote_invalid
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
posted_at
onTax.TransactionCreateFromCalculationParams
andTax.Transaction
- Add support for
v16.2.0-beta.1
- #2110 Update generated code for beta
- Remove support for
payment_method_set_as_default
onCustomerSession.components.payment_element.features
andCustomerSessionCreateParams.components.payment_element.features
- Add support for new value
ch_uid
on enumsOrderCreateParams.tax_details.tax_ids[].type
andOrderUpdateParams.tax_details.tax_ids[].type
- Add support for new value
ch_uid
on enumOrder.tax_details.tax_ids[].type
- Remove support for
v16.1.0
- #2120 Update generated code
- Add support for
filters
onCheckout.Session.payment_method_options.us_bank_account.financial_connections
,Invoice.payment_settings.payment_method_options.us_bank_account.financial_connections
,InvoiceCreateParams.payment_settings.payment_method_options.us_bank_account.financial_connections
,InvoiceUpdateParams.payment_settings.payment_method_options.us_bank_account.financial_connections
,PaymentIntent.payment_method_options.us_bank_account.financial_connections
,PaymentIntentConfirmParams.payment_method_options.us_bank_account.financial_connections
,PaymentIntentCreateParams.payment_method_options.us_bank_account.financial_connections
,PaymentIntentUpdateParams.payment_method_options.us_bank_account.financial_connections
,SetupIntent.payment_method_options.us_bank_account.financial_connections
,SetupIntentConfirmParams.payment_method_options.us_bank_account.financial_connections
,SetupIntentCreateParams.payment_method_options.us_bank_account.financial_connections
,SetupIntentUpdateParams.payment_method_options.us_bank_account.financial_connections
,Subscription.payment_settings.payment_method_options.us_bank_account.financial_connections
,SubscriptionCreateParams.payment_settings.payment_method_options.us_bank_account.financial_connections
, andSubscriptionUpdateParams.payment_settings.payment_method_options.us_bank_account.financial_connections
- Add support for
email_type
onCreditNoteCreateParams
,CreditNotePreviewLinesParams
, andCreditNotePreviewParams
- Add support for
account_subcategories
onFinancialConnections.Session.filters
andFinancialConnections.SessionCreateParams.filters
- Add support for new values
multibanco
,twint
, andzip
on enumsPaymentLink.payment_method_types[]
,PaymentLinkCreateParams.payment_method_types[]
, andPaymentLinkUpdateParams.payment_method_types[]
- Add support for
reboot_window
onTerminal.ConfigurationCreateParams
,Terminal.ConfigurationUpdateParams
, andTerminal.Configuration
- Add support for
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