npm / stripe
stripe
What changed in stripe 9 to 23, from its official release notes, upgrade guides and advisories. Sources checked 2026-11-30.
280 breaking3 security1 deprecations523 new APIs and options41 behavior and defaults4 tooling46 fixes and other
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli initstripe 23109 changes
Breaking changes 23
The pinned API version changes to 2026-11-18.endive.
Changes Dispute.evidence.appeal to be required.
Multipart requests omit undefined parameters, send null as an empty string, and send Date values as Unix timestamps.
Changes Issuing.Card.shipping.delivered_at to be required.
Changes Issuing.Card.shipping.shipped_at to be required.
Changes stored_credential_usage to be required on PaymentAttemptRecord card details.
Changes stored_credential_usage to be required on PaymentRecord card details.
Error message fields are prefixed with requestId when a requestId exists.
The pinned API version changes to 2026-10-28.endive.
pause_schedules is now required.
Secrets made entirely of ASCII whitespace are rejected instead of being used as HMAC keys.
The reason field changes from string to an enum.
Removes payment_method_types support from Checkout Session creation parameters and several PaymentIntent and SetupIntent parameter types.
The top-level ErrorType interface export is removed; use .errors, which works as both a type and a value.
Removes countries from Financial Connections.Session.filters and FinancialConnections.SessionCreateParams.filters.
Adds country to Financial Connections session creation filters; countries is removed from session filters and creation filters.
Node.js 18 is no longer supported; Node.js 20 is the minimum supported version.
Removes support for payto on PaymentMethodUpdateParams.
This mistakenly added function is removed; use stripe.webhooks.constructEventWithoutVerification(payload) for the same functionality.
The V1-only object, has_more, and url fields are removed from Stripe.V2List<T>; they were never populated.
Responses that stall or are severed before the body is complete now throw StripeConnectionError instead of StripeAPIError.
V2 request address properties now use operation-specific V2 interfaces instead of shared V1 address parameter types.
When tolerance is omitted, verifyHeader now uses Webhook.DEFAULT_TOLERANCE for timestamp verification.
New APIs and options 71
Adds funding_sources to the Link wallet details on Charge.
Adds tron as a supported crypto network value.
Adds funding_sources to Charge.payment_method_details.link.
Adds fingerprint to PayPay payment details on Charge.
Adds address_collection_precision to Checkout Session automatic tax details.
Allows address_collection_precision in Checkout Session creation parameters.
Adds this error code to invoice, payment, setup, Stripe, and Terminal API error types.
Adds fingerprint to PayPay payment details on PaymentAttemptRecord.
Adds car_rental_data to PaymentIntent payment details and its capture, confirm, create, and update parameters.
Adds lodging_data to PaymentIntent payment details and its capture, confirm, create, and update parameters.
Adds capture_method to PaymentLink update parameters.
Adds fingerprint to PayPay payment details on PaymentRecord.
Adds loss_message to Product marketing features and its create and update parameters.
Adds claimable_sandbox_creation_rate_limit_exceeded and claimable_sandbox_testing_creation_rate_limit_exceeded error codes.
Adds application to Refund.
Adds bizum and upi as supported Refund destination detail values.
Adds tax_invoice_month to report run parameters and report run creation parameters.
Adds igic support to Spanish tax registration country options and their creation parameters.
Adds five device types: stripe_s700_devkit, stripe_s710_devkit, stripe_t600_devkit, verifone_ux700_devkit, and verifone_v660p_devkit.
Adds network_details to inbound transfer failure details and the related test helper and returned transfer details.
Adds failure_details to the inbound transfer return test helper parameters.
Adds paypay_payments, billie_payments, mb_way_payments, nz_bank_account_becs_debit_payments, and pix_payments merchant capabilities across account configuration, creation, and update parameters.
Adds additional_material to konbini payment configuration on accounts and account create and update parameters.
Adds account_dashboard as a supported use case for AccountLink and AccountLink creation parameters.
Adds the V2.Core.ClaimableSandbox resource and its create, renew_onboarding_link, and retrieve methods.
Adds claimed, created, expired, expiring, and updated event notifications with V2.Core.ClaimableSandbox as the related object.
Adds 2026-11-18.endive as a supported webhook endpoint API version.
Adds wero_payments capability support to account objects and account create and update parameters.
Adds physical_address to account company data and related account and token parameters.
Adds proof_of_business_presence to account create and update document parameters.
Adds subscription_pause support to billing portal configuration and session flow parameters.
Adds after_expiration to session creation parameters and sessions.
Adds payment_intent_data to Checkout session update parameters.
Adds appeal evidence to disputes and dispute update parameters.
Adds appeal_needs_response and appeal_under_review status values.
Adds intended_submission_method to dispute objects and update parameters.
Adds event type values for the listed three_d_secure.authentication lifecycle events.
Adds setup_credential_usage to card payment options across charges, payment intents, and setup intents.
Adds stored_credential_usage to card payment details and payment options.
Adds the listed error types and error codes to Stripe error handling and related resource error fields.
Adds reader_security and stripe_t600 configuration support.
Adds simulated_stripe_t600 and stripe_t600 reader device types.
Adds bank_accounts and cards recipient capabilities to V2 account objects and create and update parameters.
Adds payout_methods to V2 account defaults and account update parameters.
Adds GB and US bank account resources with archive, list, retrieve, and unarchive methods; the US resource also supports microdeposit operations and update.
Adds Money Management resources for adjustments, financial accounts and addresses, transfers, payments, payout intents and methods, recipient verification, and transactions, with the listed resource methods.
Adds 2026-10-28.endive as a supported webhook endpoint API version.
Adds the listed three_d_secure.authentication events to enabled webhook events.
Adds the V2SearchResult<T> type and auto-pagination support for search results.
Adds the Apps.Install resource with create, list, retrieve, uninstall, and update methods.
Snapshot events are now supported for Apps.Install, including created, deleted, and updated events.
Adds allowed_payment_method_types to Checkout Session creation parameters and Checkout.Session.
The updated_capability enum now includes blik_recurring_payments, satispay_payments, and sequra_payments.
Adds pause support to subscription details when creating an invoice preview.
Adds payment_record to PaymentIntent.
Adds PayPay support across payment method data, payment method details and options, and payment method types.
Adds the ProductCatalog.TrialOffer resource with create, list, retrieve, and update methods.
Adds Sequra support across payment method data, payment method details and options, and payment method types.
Set this environment variable to true to suppress Stripe notices in test and sandbox environments when not running under a detected AI agent; notices remain enabled by default and for AI agents.
Error-code enums on the listed error-bearing fields now support four additional codes.
Adds the pause method to the Subscription resource.
Adds payment_behavior to SubscriptionResumeParams.
Adds pause_schedules to subscription schedule create and update parameters and the SubscriptionSchedule resource.
Adds the Tax.Location resource with create, list, and retrieve methods.
Adds requirements to TaxCode.
Adds the ThreeDSecure.Authentication resource with cancel, create, list, retrieve, and submit methods.
Merchant capabilities now support satispay_payments in account configuration, create parameters, and update parameters.
Capability status code enums now accept eight additional rejection reasons across account capability status details.
Requirement error code enums now accept two additional invalid-address reasons.
Capability restriction enums in current and future requirements now include blik_recurring_payments and satispay_payments.
V2.Core.Event now supports snapshot_event.
Behavior and default changes 6
Changes capture_method to an emptyable enum on PaymentLink creation parameters.
V2 date-time range filters accept RFC 3339 strings; numeric bounds remain in the interface, although the API does not accept them.
When diagnostic metadata is present in the Stripe-Signature header, verification errors help identify an incorrect signing secret or altered request body.
The pinned API version changes to 2026-09-30.endive.
EventNotification now supports singleton related objects.
When tolerance is omitted, verifyHeaderAsync now uses Webhook.DEFAULT_TOLERANCE for timestamp verification.
Fixes and other changes 9
Uses the same Stripe-Context and Stripe-Account handling for event-related objects retrieved through events.retrieve() and list().
Calls withStripeContext before fetching an event, fixing Stripe-Context and Stripe-Account handling for event notification fetch helpers.
Verifies signatures asynchronously so the handler works with async crypto providers, such as the web platform.
Disposes discarded fetch responses before retrying by aborting the fetch and closing the unread body.
Populates statusCode with the HTTP status for successful JSON responses when using the fetch HTTP client.
When a specific notification type cannot be narrowed, callbacks use the full EventNotification union type instead of resolving to never.
Callback clients now use the event's Stripe context and preserve client telemetry, fixing 400 errors when the StripeClient is configured with stripeAccount.
Requests no longer hang when NodeHttpClient is used with Nock 14 or MSW HTTP request interceptors.
Passing 0 now properly skips timestamp tolerance verification instead of applying the default tolerance.
stripe 22230 changes
Breaking changes 27
Connection errors are now thrown if the server drops while sending the response body, instead of the request hanging indefinitely.
Removes support for cryptogram on three_d_secure for PaymentAttemptRecord and PaymentRecord.
PaymentIntent.allowed_payment_method_types and SetupIntent.allowed_payment_method_types are now required.
V2 request and response coercion supports int64 and decimal fields within discriminated union variants; serialization throws if a parameter's discriminator is missing or not a string.
The pinned API version changes to 2026-07-29.dahlia.
Removes support for this limited-use field from Checkout.SessionCreateParams.line_items because it is being deprecated.
Removes support for this limited-use field from AccountCreateParams.documents because it is being deprecated.
Unused Retry-After header support was removed.
The pinned API version changes to 2026-06-24.dahlia.
priority is now required.
Removes stored_credential_usage from PaymentAttemptRecord and PaymentRecord card payment method details.
Removes the crypto_storer and storer terms of service values.
Calling rawRequest with absolute URLs now throws a more descriptive error.
API methods no longer support callbacks; use async / await instead.
The CJS entry point no longer exports .default or .Stripe as separate properties.
The type of constructEvent.tolerance was updated.
This StripeResource method was removed.
Per-request host overrides were removed; set a custom host in client configuration so all requests from that client use it.
This StripeResource method was removed.
A per-request API key can no longer be passed as a plain function argument; supply it in RequestOptions under apiKey.
When a method accepts params and options, RequestParams must come first and RequestOptions second; pass undefined first to supply options without params.
The top-level ambient module was removed, allowing import aliasing for the stripe package.
Stripe.errors.StripeError is no longer a type; use typeof Stripe.errors.StripeError or Stripe.ErrorType instead.
Stripe.StripeContext is no longer exported as a type; use Stripe.StripeContextType instead.
Stripe is now a true ES6 class; create a StripeClient with new Stripe() instead of calling Stripe().
stripeMethod was removed as part of standardizing how function arguments are handled.
The file was renamed to V2/V2Amount.ts.
Security 3
Webhook secrets are validated as non-empty, so empty secrets are rejected.
Hardens API requestor code against malicious URLs.
Multipart file uploads use cryptographically secure boundaries.
New APIs and options 153
Adds support for payment_method_settings on AccountSession components and their create parameters.
Adds touch_n_go as an allowed payment method type for PaymentIntent and SetupIntent objects and their confirm, create, and update parameters.
Adds the Billing.FeedbackOption resource and its create, deactivate, list, retrieve, and update methods.
Adds feedback_options support for billing portal subscription cancellation reasons in configuration objects and create and update parameters.
Adds the customer_update value to the flow type enums and supports customer_update on BillingPortal.Session.flow.
Adds funding_source_group to Link payment method details on charges and to Charge.payment_method_details.link.
Adds funding_types_blocked to card restrictions on Checkout sessions and session creation parameters.
Adds metadata support to ConfirmationToken.
Adds igic support to tax registration country options and tax registration creation parameters across the listed countries.
Adds active_entitlements and customer_portal support on CustomerSession components and their create parameters.
A new class provides typed thin event notification handling, tighter coupling with StripeClient, and a recommended path for integrations using thin event notifications.
Adds country filtering support to FinancialConnections.Session.filters.
Adds frozen_fields to InvoiceItem.
Adds billie payment method options for invoices and subscriptions, including their create and update parameters.
Adds billie as a payment method type for invoices and subscriptions, including their create and update parameters.
Adds application_fee_amount, application_fee_percent, on_behalf_of, and transfer_data to PaymentLinkUpdateParams.
Adds the authentication_failure, capability_not_active, expired_payment_method, incorrect_postal_code, invalid_canceled_subscription_fields, and payment_method_restricted error codes to the listed error-bearing APIs.
Adds feedback_option to subscription cancellation details and the corresponding cancel and update parameters.
Adds 2026-08-26.dahlia as a supported api_version value for webhook endpoint creation.
Returns an Event object without verifying authenticity, for events whose authenticity was previously verified.
Adds the stripe.major_api_version constant.
Returns an EventNotification object without verifying authenticity, for events whose authenticity was previously verified.
Returns an Event object without verifying authenticity, for events whose authenticity was previously verified.
Adds the unreject method to the Account resource.
Adds additional_addresses to V2 Core Account business details and the related create, token-create, and update parameters.
Adds administrative_address to Account company data and the corresponding Account, Token creation, and Account update parameters.
Adds alipay as a payment method type for Invoice and Subscription payment settings.
Adds allowed_payment_method_types to PaymentIntent and SetupIntent objects and their confirm, create, and update parameters.
Adds bnp_paribas as an FPX bank value in payment and confirmation APIs.
Adds business_name to Issuing card shipping data and its create and update parameters.
Adds chaps as a supported network in FundingInstructions and PaymentIntent bank transfer financial addresses.
Adds citibank as an FPX bank value in payment and confirmation APIs.
Adds correos as an Issuing card shipping carrier value.
Adds data_share_only as a three_d_secure result value for Charge, PaymentAttemptRecord, PaymentRecord, and SetupAttempt.
Adds Financial Connections account and authorization deactivation-related event type values.
Adds support for the new Financial Connections Authorization resource.
Adds limits, manual_entry, require_payment_method_support, and bank_account_token support to FinancialConnections.Session and its creation parameters where applicable.
Adds a snapshot event for FinancialConnections.Account expected deactivation date updates.
Adds a snapshot event for FinancialConnections.Account supported payment method type updates.
Adds a snapshot event for upcoming deactivation of FinancialConnections.Account.
Adds a snapshot event for FinancialConnections.Authorization expected deactivation date updates.
Adds a snapshot event for upcoming deactivation of FinancialConnections.Authorization.
Adds ic_nif as a tax ID type in Checkout, Invoice, Tax Calculation, Tax Transaction, Customer, and TaxId APIs.
Adds metadata to subscription_details in InvoiceCreatePreviewParams.
Adds this tax type to tax breakdown, invoice line, tax rate, and US tax registration APIs.
Adds mb_way as a payment method type for Invoice and Subscription payment settings.
Adds mbsb_bank as an FPX bank value in payment and confirmation APIs.
Adds network to Dispute.payment_method_details.card.
Adds a shared OtherString type to better annotate non-exhaustive enums.
Adds consent_collection and shipping_options to PaymentLinkUpdateParams.
Adds a list method to the PaymentRecord resource.
Adds payouts_action to AccountRejectParams.
Adds principal_place_of_business to Account company data and the corresponding Account, Token creation, and Account update parameters.
Adds custom_fields, description, and footer to invoice_settings on Quote and SubscriptionSchedule objects and their create and update parameters.
Adds referrer to radar_options in PaymentIntent confirmation and creation parameters.
Adds customer_account and customer to Refund, and payment_method to Refund and Topup.
Adds sepa_debit_payments to AccountUpdateParams.settings.
Adds setup_future_usage to Payco and Samsung Pay payment method options for Checkout Sessions and PaymentIntents, and to PaymentLinkUpdateParams.payment_intent_data.
Adds smart_disputes_management to the listed AccountSession component feature fields and their creation parameters.
Adds stripe_internal_error as an Issuing.Authorization request history reason.
Adds trial to SubscriptionSchedule.phases[].
Adds initiated_by and payment_method_options to Topup.
Adds 2026-07-29.dahlia as an API version value for webhook endpoint creation.
Adds Financial Connections account and authorization deactivation-related event values to enabled_events on webhook endpoint create and update parameters.
The enum gains the tax_fund value.
Adds buyer_id to Bizum and Blik payment method details and previews, and to PaymentMethod.bizum and PaymentMethod.blik.
Adds transaction_link_id to card payment method details.
Adds wechat_pay to Checkout Session payment method options.
Adds billing_cycle_anchor_config to subscription data when creating a Checkout Session.
Crypto network enums on Charge, PaymentAttemptRecord, and PaymentRecord gain the sui value.
Crypto token currency enums on Charge, PaymentAttemptRecord, and PaymentRecord gain the usdsui value.
The enum gains the mastercard_compliance value.
The updated_capability enum gains the sunbit_payments value.
Adds status_details to Financial Connections accounts.
Adds fingerprint to Pix payment method details and previews.
The enum gains the validated value.
Adds custom_fields, description, and footer to invoice_settings on Subscription and its create and update parameters.
Adds Mastercard compliance evidence and eligibility support for disputes.
Adds Sunbit payment method options to Checkout Sessions and PaymentIntents and their parameter types.
Invoice and Subscription payment method type enums gain the satispay value, including create and update parameters.
Adds setup_future_usage to Satispay options on PaymentIntent and its confirm, create, and update parameters.
Adds support for release_details on Reserve.Hold.
Adds Satispay to SetupAttempt payment method details.
Adds five error codes to StripeError and the listed invoice, payment, setup, and Terminal error fields.
Adds the sunbit_payments capability to V2 Core account configuration and create and update parameters.
Adds payment_method to TopupCreateParams.
Adds payment_method_options to TopupCreateParams.
The feed_type enum gains the promotion value.
Adds mode to V2 Commerce product catalog imports.
The feed_type enum gains the promotion value.
Adds crypto_money_manager and money_manager terms of service values.
The api_version enum gains the 2026-06-24.dahlia value.
Adds active to PaymentMethodConfigurationListParams.
Adds amount_paid_off_stripe to Invoice.
Adds automatic_transfer_rules_by_currency to balance payout settings and update parameters.
Adds Azure Event Grid as a V2 event destination type.
Adds billed_until to SubscriptionItem.
Adds billing_schedules to invoice preview subscription details, subscription create and update parameters, and Subscription.
Adds Bizum support across payment method types, payment data and options, account capabilities, and payment method configuration.
Adds blik_authorize to PaymentIntent.next_action and SetupIntent.next_action.
Adds credited_items to InvoiceItem.proration_details.
Adds discountable to invoice items added through subscription and subscription schedule parameters and phases.
Adds max_billed_until as a cancel_at enum value for invoice preview and subscription create and update parameters.
Adds payment_method_microdeposit_processing_error and siret_invalid to supported error codes.
Adds payment_method_options to PaymentLink create and update parameters and PaymentLink.
Adds discount and discounts to Subscription.pending_update.
Adds print_content to Terminal.Reader actions and the action type enum.
Adds Scalapay support across payment method types, payment data and options, account capabilities, and payment method configuration.
The Twint setup_future_usage type changes from literal('none') to enum('none'|'off_session') in relevant Checkout and PaymentIntent parameters and objects.
Adds signer to proof-of-registration and proof-of-ultimate-beneficial-ownership documents in V2 account objects and parameters.
Adds start_of_day to balance settlement timing settings and update parameters.
Adds customer to TestClockCreateParams.
Adds description to transfer_data on charge creation and PaymentIntent objects and parameters.
Adds metadata to PaymentIntent transfer_data and to Subscription.pending_update.
Adds payment_data to PaymentIntent transfer_data and its create and update parameters.
Adds Twint support to invoice and subscription payment settings, mandate and setup attempt details, and payment settings.
Adds the ProductCatalogImport resource and its create and retrieve methods.
Adds notifications for ProductCatalogImport failed, processing, succeeded, and succeeded-with-errors events.
Adds Verifone M425, P630, UX700, and V660p devices and simulated device types to Terminal configuration and reader APIs.
Exported Decimal as a usable type in the Stripe namespace, enabling type annotations such as Stripe.Decimal.
Adds app_distribution and sunbit_payments capabilities to account capability fields.
Adds balance_report and payout_reconciliation_report components.
Adds action_blocked and approval_required error codes to invoice, payment, setup, and Stripe errors.
Adds fee_credit_funding, inbound_transfer_reversal, and inbound_transfer enum values.
Adds phantom_cash and usdt token currency values to crypto payment details.
Adds sunbit as a supported payment method type for listing and creating payment methods.
Adds card_presence to Issuing authorization data.
Adds fulfillment_error as a card cancellation reason.
Adds fulfillment_error as a card replacement reason.
Adds managed_payments support to Checkout sessions, PaymentIntents, PaymentLinks, SetupIntents, and Subscriptions.
Adds amount and currency to multi-use mandates.
Adds location and reader fields to Klarna payment details.
Adds mandate to Pix payment details.
Adds mandate_options to Pix payment method options for Checkout sessions and PaymentIntents.
Adds Pix payment method options across invoices, mandates, setup attempts and intents, and subscriptions; adds UPI options for invoices and subscriptions.
Adds sunbit to Checkout session payment method types.
Adds pix and upi as payment method types for invoice and subscription payment settings.
Adds klarna_display_qr_code as a PaymentIntent next action.
Adds amount_to_confirm to PaymentIntent confirmation parameters.
Adds low, not_assessed, and unknown risk level values.
Adds account as a value list item type.
Pix setup_future_usage accepts none or off_session instead of only none across Checkout and PaymentIntent fields.
Adds moto to SetupAttempt card payment method details.
Adds pix_display_qr_code as a SetupIntent next action.
Adds allowed_card_presences and blocked_card_presences to Issuing card and cardholder spending controls.
Adds sunbit payment method support across payment method details, creation and update parameters, intents, confirmation tokens, and payment method configurations.
Adds sunbit to excluded payment method types, payment method types, and payment method type enums across Checkout, PaymentIntents, SetupIntents, PaymentLinks, ConfirmationTokens, and PaymentMethods.
Adds fo_vat, gi_tin, it_cf, and py_ruc tax ID types to customer, invoice preview, tax calculation, and TaxId creation parameters.
Adds fo_vat, gi_tin, it_cf, and py_ruc tax ID types across Checkout, Invoice, Tax, and TaxId fields.
Adds 2026-04-22.dahlia as a supported webhook endpoint API version.
Adds a config option to include request and response bodies in
requestandresponseevents.Adds an asynchronous event notification parser to match the existing synchronous function.
The StripeConfig type now includes the authenticator property.
Behavior and default changes 15
The pinned API version changes to 2026-08-26.dahlia.
Emits a Claude Code plugin hint at module load time when CLAUDECODE or CLAUDE_CODE_CHILD_SESSION is detected.
The type now reflects the minimal interface contract rather than the concrete class, making custom HTTP client implementations easier to type correctly.
description becomes optional on PaymentAttemptRecord and PaymentRecord card payment method details.
iin becomes optional on PaymentAttemptRecord and PaymentRecord card payment method details.
issuer becomes optional on PaymentAttemptRecord and PaymentRecord card payment method details.
refunded becomes optional.
The pinned API version changes to 2026-05-27.dahlia.
Emits a warning when the stripe-notify header is present in a response.
The pinned API version changes to 2026-04-22.dahlia.
The config type changes from the
HttpClientclass to theHttpClientInterfaceinterface.The
receivedAtfield inWebhook.tsis now optional.The
timestampfield inWebhook.tsis now optional.The
tolerancefield inWebhook.tsis now optional.When a method accepts params and options, RequestParams must come first and RequestOptions second; pass undefined first to supply options without params.
Tooling 2
Exports manually maintained types for OAuthToken and OAuth parameter classes.
TypeScript support in the Node SDK was improved.
Fixes and other changes 30
Fixes serialization of schema-coerced values, including Decimal, in GET and DELETE query parameters.
The Stripe.CryptoProvider type export was restored to the Stripe namespace.
The Stripe.HttpAgent type export was restored to the Stripe namespace.
The Stripe.HttpClient type export was restored to the Stripe namespace.
The Stripe.HttpClientResponse type export was restored to the Stripe namespace.
The Stripe.HttpProtocol type export was restored to the Stripe namespace.
The Stripe.LatestApiVersion type export was restored to the Stripe namespace.
The Stripe.RawErrorType type export was restored to the Stripe namespace.
The Stripe.Signature type export was restored to the Stripe namespace.
The Stripe.StripeConfig type export was restored to the Stripe namespace.
The Stripe.StripeResource type export was restored to the Stripe namespace.
The Stripe.Webhooks type export was restored to the Stripe namespace.
The Stripe.WebhookTestHeaderOptions type export was restored to the Stripe namespace.
Fixes TypeScript access to nested namespace and resource types in CJS and ESM modes.
URI path parameters passed to accounts.retrieve are now encoded.
Fixes CommonJS type exports for the stripe package.
Handles shadowed namespaces.
Fixes Stripe.ErrorType.StripeError incorrectly being usable as a runtime class.
Path parameters are URI encoded.
Fixes concurrency guarding and handling of empty pages.
Makes types inside nested parameter class namespaces accessible, including Configuration and Dashboard.
Restored multipart request data processing to fix file uploads failing with StripeInvalidRequestError.
Preserves stack traces for async operations.
Fixes the named export for Bun, enabling
import { Stripe } from 'stripe';.The constructor config parameter now uses StripeConfig instead of Record<string, unknown>, restoring compile-time type safety.
Stripe.API_VERSION retains its literal API version type.
CJS-based TypeScript projects can initialize Stripe with the new keyword as well as by calling Stripe.
Nested service parameter exports in the Stripe namespace are fixed.
stripeContext now accepts StripeContext objects as well as strings.
The signature parameter type in stripe.webhooks.construct_event now includes string[] for compatibility with express.
stripe 2132 changes
Breaking changes 11
The pinned API version changes to 2026-03-25.dahlia, which is also accepted by WebhookEndpointCreateParams.api_version.
Risk assessment card_testing_risk and merchant_dispute_risk now use level; risk_level is no longer supported.
risk_level is no longer supported on card_testing_risk and merchant_dispute_risk.
card_reference_id is now nullable.
Node 16 is no longer supported.
The card brand, exp_month, exp_year, funding, last4, and moto fields on PaymentAttemptRecord and PaymentRecord are now nullable.
insights is no longer supported on PaymentEvaluation.
PaymentEvaluation adds recommended_action and signals and removes insights.
All decimal_string fields in request params and response objects changed from string to Stripe.Decimal; construct values with Decimal.from("1.23") and serialize with .toString().
events_from on EventDestination and its create parameters changes from the other_accounts/self enum to string.
Using the wrong webhook parsing method now throws an error.
New APIs and options 19
Checkout Session ui_mode and its create parameter accept elements, embedded_page, form, and hosted_page.
The removal_pathway enum accepts the new value marine_carbon_removal.
Credit note line items and the corresponding create and preview line parameters now support metadata.
Checkout Session creation parameters now support crypto payment method options.
The Radar.ValueList item_type enum and its create parameter accept crypto_fingerprint.
Checkout Session creation parameters and Session objects now support integration_identifier.
Issuing card create parameters and Card objects now support lifecycle_controls.
A manual amount type is added.
New OAuth Error classes are added.
PaymentAttemptRecord and PaymentRecord three_d_secure details now support cryptogram, electronic_commerce_indicator, exemption_indicator_applied, and exemption_indicator.
PaymentIntent and SetupIntent next_action now support upi_handle_redirect_or_display_qr_code.
Checkout subscription data now supports pending_invoice_item_interval.
Invoice line and item create, update, and preview parameters and objects gain quantity_decimal support.
This error code is added to invoice, payment, setup, and Stripe error fields.
The cancellation reason enum accepts canceled_by_retention_policy.
The crypto network enums on Charge, PaymentAttemptRecord, and PaymentRecord accept the new value tempo.
UPI support is added across payment method details, options, parameters, types, excluded payment method types, and PaymentLink payment method types.
Support is added for the upi_payments capability on Account and its create and update parameters.
Runtime support is added for V2 int64 string-encoded fields.
Behavior and default changes 1
The pinned API version changes to 2026-03-25.dahlia.
Fixes and other changes 1
Fixed the export for Stripe.Decimal in CJS and ESM.
stripe 20117 changes
Breaking changes 11
The expected_debit_date type changes from nullable to non-nullable string.
Removes support for the unused card_issuer_decline value.
The pinned API version changes to 2026-01-28.clover.
The field is now required on Invoice and Subscription payment settings.
Removes support for bgn from tipping on Terminal.Configuration and its create and update parameters.
Changes the price field type from string to expandable(Price).
Changes the type of
client_secretfromstringtostring | null.The pinned API version changes to 2025-11-17.clover.
The pinned API version changes to 2025-11-17.clover.
Retrieve and List calls for
/v2endpoints serialize array parameters using indexed format instead of repeated parameters.Support for
gt,gte,lt, andlteis removed in favor ofcreated.
New APIs and options 96
Adds support for location and reader details on card_present payment method details.
Adds event type values for Reserve hold, plan, and release lifecycle events.
Adds terminal Wi-Fi certificate and private key purposes to file purpose enums.
Allows terminal Wi-Fi certificates and private keys as file creation purposes.
Adds lk_vat as a supported tax ID type for tax ID fields and creation parameters.
Adds display_name and service_user_number to Bacs debit mandate details.
Adds pay_by_bank as a supported invoice and subscription payment method type.
Adds transaction_purpose to US bank account payment method options.
Adds optional_items to payment link update parameters.
Adds support for the Reserve.Hold resource and its created and updated snapshot events.
Adds support for the Reserve.Plan resource and its created, disabled, expired, and updated snapshot events.
Adds support for the Reserve.Release resource and its created snapshot event.
Adds the storer_capability_missing error code to relevant payment and invoice errors.
Adds the storer_capability_not_active error code to relevant payment and invoice errors.
Adds payment_behavior to subscription item deletion parameters.
Adds lk as a supported country option.
Adds lk as a supported country option for registration creation.
Adds cellular and stripe_s710 configuration support.
Adds cellular and stripe_s710 configuration options.
Adds simulated_stripe_s710 and stripe_s710 device types.
Adds simulated_stripe_s710 and stripe_s710 device type filters.
Adds 2026-02-25.clover as a supported webhook endpoint API version.
Adds Reserve hold, plan, and release lifecycle events as selectable webhook events.
Adds enforce_arithmetic_validation to PaymentIntent capture, confirm, create, increment authorization, and update amount_details parameters.
Adds the risk_reserved enum value.
Adds the reserve_hold and reserve_release enum values.
Adds contact_phone to V2.Core account create, token create, update, and account types.
Adds the gb_vat enum value to business identity ID numbers on V2.Core account and account parameter types.
Adds the adyen enum value across iDEAL payment method, payment intent, confirmation token, attempt, and record types and parameters.
Adds the ADYBNL2A enum value across iDEAL charge, confirmation token, payment attempt, payment method, payment record, and setup attempt types.
Adds support for adjustable_quantity on LineItem.
Adds support for the error field on PaymentIntent amount_details.
Adds support for the Radar.PaymentEvaluation resource and its create method.
Adds the create method on the Radar.PaymentEvaluation resource.
Adds registration_date to business_details on V2.Core account, create, token create, and update types.
Adds the request_blocked error code to invoice, payment intent, setup attempt, setup intent, and StripeError error types.
Adds the pl_nip enum value to customer, invoice preview, and tax calculation tax ID creation parameters.
Adds the pl_nip enum value to customer tax ID types in checkout, invoice, tax calculation, tax transaction, and tax ID objects and parameters.
Adds enum values 2.3.0 and 2.3.1 across charge, payment intent, setup attempt, and setup intent types and parameters.
Adds support for topup on linked_flows.
Adds support for this event notification with related object V2.Core.Account.
Adds support for this event notification.
Adds support for this event notification with related object V2.Core.AccountPerson.
Adds the account_token_required_for_v2_account error code to invoice, payment intent, setup attempt, setup intent, and Stripe errors.
Adds allow_redisplay to PaymentMethodListParams.
Adds billing_cycle_anchor to subscription_update in billing portal configuration and its create and update parameters.
Adds customer_account support across billing, checkout, customer, invoice, payment, subscription, tax ID, and related APIs.
Adds expected_debit_date to bank debit payment details in charge, payment attempt, and payment record responses.
Adds invoice to customer balance transaction list parameters.
Adds line_items to checkout session update parameters.
Adds metadata to checkout session line items and LineItem.
Adds MLLENL2A as an allowed ideal BIC enum value.
Adds mollie as an allowed ideal bank enum value across payment-related types.
Adds authorization, description, issuer, network, installment, IIN, and stored credential details to card payment attempt records.
Adds authorization, description, issuer, network, installment, IIN, and stored credential details to card payment records.
Adds payto payment method support across payment details, options, data, configurations, and create and update parameters.
Adds payto as an allowed excluded payment method type for checkout, payment intents, and setup intents.
Adds payto as an allowed payment method data type for confirmation tokens, payment intents, and setup intents.
Adds payto as an allowed checkout session payment method type.
Adds payto as an allowed invoice and subscription payment method type.
Adds payto as an allowed payment method type for payment links.
Adds payto_payments to account capabilities and account create and update parameters.
Adds payto as an allowed payment method preview and payment method type.
Adds payto as an allowed customer payment method and payment method create and list type.
Adds related_customer_account to identity verification session create and list parameters and session responses.
Adds reported_by to PaymentRecord.
Adds signer to proof-of-registration and proof-of-ultimate-beneficial-ownership documents in account create and update parameters.
Adds subtotal to InvoiceLineItem.
Adds the resource with close, create, list, retrieve, and update methods.
Adds the resource, including a create method.
Adds the resource with create, delete, list, retrieve, and update methods.
Adds the resource with create and retrieve methods.
Adds 2025-12-15.clover and 2026-01-28.clover as allowed webhook endpoint API version values.
Adds support for
payment_method_configurationon the payment method update feature.Adds
createdsupport to CustomerListCustomerBalanceTransactionsParams and InvoicePaymentListParams.Adds support for the
createdparameter when listing customer balance transactions.Adds two Financial Connections account-number events to the Event type enum.
Adds the
account_numbersfield to FinancialConnections.Account.Adds the snapshot event type for account-number updates, using FinancialConnections.Account as its resource.
Adds this snapshot event with FinancialConnections.Account as its resource.
Adds the snapshot event type for upcoming account-number expiry, using FinancialConnections.Account as its resource.
Adds the
finombank value across ideal payment method, confirmation, and payment parameter types.Adds the
FNOMNL22value to ideal BIC enums.Adds
transaction_idto ideal payment method details on Charge, PaymentAttemptRecord, and PaymentRecord.Adds support for the
createdparameter when listing invoice payments.Adds support for
fraud_riskin Issuing authorization test helper risk assessments.Adds
latest_fraud_warningto Issuing.Card.Adds
mb_wayas a supported Refund.destination_details value.Adds
hooksto PaymentIntent and its capture, confirm, create, increment authorization, and update parameters.Adds
mb_wayandtwintas supported refund destination details.Adds the Tax.Association resource and its
findmethod.Adds the Terminal.OnboardingLink resource and its
createmethod.Adds
twintas a supported Refund.destination_details value.Adds
tokenized_account_number_deactivatedas a blocked reason for US bank accounts.Adds changes to V2.Core.Event.
Adds two Financial Connections account-number events as supported enabled events.
Behavior and default changes 8
Adds the Stripe-Request-Trigger header to requests.
Adds agent information to UserAgent.
The tax_id type now allows null.
The pinned API version changes to 2026-02-25.clover.
Makes customer optional on the listed billing, billing portal, customer session, invoice item, payment method attach, and subscription create parameters.
Makes transfer_data optional.
The pinned API version changes to 2025-12-15.clover.
Makes tax_code optional.
Fixes and other changes 2
Errors returned by the Stripe API on a V2 List call no longer crash Node with an UnhandledPromiseRejection.
Fixes content length calculations for multipart file uploads, addressing a reported file upload bug.
stripe 19136 changes
Breaking changes 27
The pinned API version changes to 2025-09-30.basil, affecting the API version used by the SDK.
The saturday and sunday enum values are no longer supported.
Support for balance_report and payout_reconciliation_report is removed.
Support for balance_report and payout_reconciliation_report is removed from AccountSession.components and AccountSessionCreateParams.components.
Releases are no longer tagged with the beta npm tag; latest, public-preview, or private-preview are used instead.
The coupon property is removed from Discount, PromotionCodeCreateParams, and PromotionCode; use the documented nested paths instead.
Use this path for the coupon on Discount after the former coupon property is removed.
The context property changes from string to StripeContext.
Invoice.id is now required.
Support for iterations is removed from the listed invoice preview and subscription schedule phase parameters.
Support for Node versions below 16 is dropped.
Support for link and pay_by_bank is removed.
The coupon field is removed; use PromotionCode.coupon instead.
The coupon field is removed; use PromotionCodeCreateParams.promotion.coupon instead.
The SDK no longer removes the stripe-account header from v2 requests; if sending both headers, remove references to stripeAccount because context is preferred.
The SDK no longer removes the stripe-context header from v1 requests; sending it together with stripe-account may cause server rejection.
The ThinEvent interface is removed; parseEventNotification returns Stripe.V2.EventNotification instead.
Event moves from Stripe.V2 to Stripe.V2.Core; update references to the new type namespace.
EventBase moves from Stripe.V2 to Stripe.V2.Core; update references to the new type namespace.
EventDestination moves from Stripe.V2 to Stripe.V2.Core; update references to the new type namespace.
RelatedObject moves from Stripe.V2.Events to Stripe.V2.Core.Events; update references to the new type namespace.
A union of possible event notifications replaces ThinEvent and provides more information at authoring and compile time.
Replaces parseThinEvent and returns a typed Stripe.V2.EventNotification union with event-fetching methods and, when applicable, related-object access.
This function is renamed to parseEventNotification; update callers to use the new name.
V2 delete methods now return V2DeletedObject containing the deleted object's id and type.
Nullable properties on objects returned by v2 APIs change from null unions to optional properties.
The return type for v2 delete methods includes the id and a string representing the deleted object's type.
Deprecations 1
Node 16 support is deprecated and will be removed in the next scheduled major release.
New APIs and options 100
Adds support for capture_method on card_present payment method options for PaymentIntent and its confirm, create, and update parameters.
Adds support for the payment_record value to the InvoicePayment.payment.type enum.
Adds representative_declaration to company fields on Account and account creation and update parameters, and token account creation parameters.
Adds the BalanceSettingsUpdatedEvent snapshot event with a BalanceSettings resource.
Adds payment_method_configuration to the payment_method_update feature in billing portal configuration creation and updates.
Adds solana as a supported crypto network value.
Adds twint payment method options to Checkout Session objects and creation parameters.
Adds mb_way as an excluded payment method type.
Adds mb_way as a supported payment method type.
Adds payment_record_refund and type fields to refund entries on credit notes and related create and preview parameters.
Adds a type field to refund entries on credit notes and related create and preview parameters.
Adds the provider field to Customer.tax.
Adds custom as a supported payment method type in customer payment-method listing and PaymentMethod creation and listing parameters.
Adds customer_sheet and mobile_payment_element components to CustomerSession objects and creation parameters.
Adds balance_settings.updated and invoice.payment_attempt_required as event types.
Adds platform_terms_of_service as a supported file purpose.
Adds platform_terms_of_service as a supported file creation purpose.
Adds custom as a supported payment method type for invoice and subscription payment settings.
Adds payment_record support to invoice payment attachment, InvoicePayment.payment, and payment listing parameters.
Adds the InvoicePaymentAttemptRequiredEvent snapshot event with an Invoice resource.
Changes the payment type from the payment_intent literal to an enum accepting payment_intent or payment_record.
Adds the payment_intent_rate_limit_exceeded error code to invoice finalization, payment intent, setup attempt, setup intent, and Stripe errors.
Adds the PaymentAttemptRecord resource, with list and retrieve methods.
Adds the list method on PaymentAttemptRecord.
Adds the retrieve method on PaymentAttemptRecord.
Adds discount_amount, line_items, shipping, and tax to PaymentIntent.amount_details.
Adds the PaymentIntentAmountDetailsLineItem resource and its list method.
Adds a list method for PaymentIntentAmountDetailsLineItem.
Adds amount_details to PaymentIntent capture, confirm, create, incremental authorization, and update parameters.
Adds payment_details to PaymentIntent capture, confirm, create, incremental authorization, and update parameters, and PaymentIntent objects.
Adds name_collection to PaymentLink objects and create and update parameters.
Adds mb_way as a supported payment method type for PaymentLinks.
Adds custom as a supported payment method type for ConfirmationToken previews and PaymentMethod objects.
Adds crypto support to payment method configuration creation, updates, and objects, and to Refund.destination_details.
Adds mb_way support to payment method configuration creation, updates, and objects.
Adds custom support to PaymentMethod creation parameters and PaymentMethod objects.
Adds the PaymentRecord resource and its payment and refund reporting methods.
Adds the report_payment method on PaymentRecord.
Adds the report_payment_attempt method on PaymentRecord.
Adds the report_payment_attempt_canceled method on PaymentRecord.
Adds the report_payment_attempt_failed method on PaymentRecord.
Adds the report_payment_attempt_guaranteed method on PaymentRecord.
Adds the report_payment_attempt_informational method on PaymentRecord.
Adds the report_refund method on PaymentRecord.
Adds the retrieve method on PaymentRecord.
Adds excluded_payment_method_types to SetupIntent creation and update parameters and SetupIntent objects.
Adds tw country options to Tax.Registration and registration creation parameters.
Adds gip tipping support to Terminal.Configuration and its create and update parameters.
Adds the last_seen_at field to Terminal.Reader.
Adds gt, gte, lt, lte, and types filters to V2.Core.EventListParams, and makes object_id optional.
Adds 2025-10-29.clover as a supported webhook endpoint API version.
Adds balance_settings.updated and invoice.payment_attempt_required as enabled webhook event values.
Adds external_request and unsupported_business_type error codes across account, bank account, capability, and person future and current requirements.
Terminal location create, update, and returned types gain address_kana, address_kanji, display_name_kana, display_name_kanji, and phone.
Terminal location create, update, and returned types gain address_kanji and related location fields.
Checkout Session payment_method_options and its create parameters gain support for alma, billie, and satispay.
A new resource is supported, with retrieve and update methods.
A retrieve method is available on the BalanceSettings resource.
An update method is available on the BalanceSettings resource.
Terminal configuration create, update, and returned configuration types gain bbpos_wisepad3.
Checkout Session and Checkout SessionCreateParams gain branding_settings.
Customer and Checkout collected information and customer details gain business_name.
Adds business_name and individual_name to Checkout customer information and Customer create, update, and resource fields.
Checkout Session payment method options gain capture_method for the listed payment methods and create parameters.
Dispute payment method details for Klarna gain chargeback_loss_reason_code.
Adds alma, billie, and satispay payment method options to Checkout sessions and their create parameters; demo_pay is added to create parameters.
Adds branding_settings and name_collection to Checkout Session and its create parameters.
Checkout SessionCreateParams.payment_method_options gains demo_pay.
Terminal location create, update, and returned types gain display_name_kana and related location fields.
Terminal location create, update, and returned types gain display_name_kanji and related location fields.
The enum gains the prevented value.
This field is added to Checkout Session and its create parameters, as well as PaymentIntent confirm and update parameters.
This error code is added to the listed invoice, payment intent, setup attempt, setup intent, and StripeError error fields.
This error code is added to the listed invoice, payment intent, setup attempt, setup intent, and StripeError error fields.
Billing mode gains the flexible value across subscription, invoice preview, quote, and subscription schedule APIs.
Payment method configuration create and update parameters gain fr_meal_voucher_conecs.
Issuing.AuthorizationCreateParams.testHelpers gains fraud_disputability_likelihood and risk_assessment.
Customer and Checkout collected information and customer details gain individual_name.
Adds fraud_disputability_likelihood and risk_assessment to test helpers.
This capability is supported on account capabilities and account create and update parameters.
Adds mb_way as a supported type in payment-method data, previews, payment methods, and list parameter enums.
mb_way payment method support is added across payment method details, intents, setup intents, payment methods, and related parameter types and enums.
Checkout Session and Checkout SessionCreateParams gain name_collection.
InvoiceItem gains net_amount and proration_details.
Adds mb_way as an excluded payment method type on PaymentIntent and its create parameters.
Terminal location create, update, and returned types gain phone and related location fields.
PromotionCodeCreateParams and PromotionCode gain promotion.
Use this path for the coupon on PromotionCode.
Use this path for the coupon when creating a promotion code.
Tax.Settings.defaults gains provider.
The enum gains acknowledged and payment_never_settled.
Issuing.Card gains second_line.
Discount gains support for source.
A class usable wherever the context option is supplied; it is serialized to a string when making requests.
Adds financial_connections_account_pending_account_numbers and financial_connections_account_unavailable_account_numbers error codes to StripeError and invoice, payment intent, setup attempt, and setup intent error fields.
Adds address_kana, address_kanji, display_name_kana, display_name_kanji, and phone to Terminal location create and update parameters and the resource.
Billing Portal subscription_update configuration gains trial_update_behavior on the object and its create and update parameters.
Product data in Checkout, invoice line items, and payment links gains unit_label.
Cast an unrecognized parsed event notification to this type to access relatedObject and fetchRelatedObject().
The enum gains the 2025-09-30.clover value.
Behavior and default changes 5
Makes category optional when creating a billing credit grant.
Makes object_id optional when listing V2 Core events.
The SDK's pinned API version changes to 2025-09-30.clover.
The address property becomes optional.
The display_name property becomes optional.
Fixes and other changes 3
Uses TextEncoder instead of Buffer to avoid Buffer.byteLength errors in some JavaScript runtime environments.
Correctly calculates content-length for JSON request bodies that contain unicode.
File uploading is fixed in runtimes using FetchHttpClient, including Bun.
stripe 1897 changes
Breaking changes 48
The pinned Stripe API version changes to 2025-03-31.basil.
Removes the deprecated AccountDebitSource type in favor of Account.
Removes billing_thresholds support from the listed invoice preview, subscription, subscription item, and subscription schedule APIs.
Removes the deprecated type in favor of AccountListCapabilitiesParams.
Support for the invoice field is removed from Charge and PaymentIntent.
The collected_information field becomes required.
The shipping_details field becomes required, and carrier, phone, and tracking_number are no longer supported; name and address are required.
collected_information.shipping_details is now required.
The shipping_details address is now required.
The shipping_details name is now required.
Support for shipping_details is removed from Checkout.Session.
Removes coupon support from the listed customer, invoice preview, subscription, and subscription schedule parameters.
Adds refunds support to CreditNote and its create, preview, and line-item preview parameters; the refund field is removed.
Support for refund is removed from the listed credit note parameters and resource.
tax_amounts is removed from CreditNoteLineItem, CreditNote, and InvoiceLineItem.
amount_excluding_tax is removed from CreditNoteLineItem and InvoiceLineItem.
unit_amount_excluding_tax is removed from CreditNoteLineItem and InvoiceLineItem.
coupon support is removed from the listed customer, invoice preview, and subscription parameters.
Removes discount support from Invoice and Subscription.
Removes listUpcomingLines and retrieveUpcoming methods from Invoice.
Removes multiple legacy fields from Invoice, including subscription, payment_intent, charge, and tax-related fields.
Adds total_taxes to Invoice and CreditNote, replacing the removed tax_amounts field.
The listed fields are no longer supported on Invoice.
The listUpcomingLines method is no longer supported on Invoice.
The retrieveUpcoming method is no longer supported on Invoice.
plan and subscription_item support is removed from InvoiceItem and InvoiceLineItem.
subscription and unit_amount_decimal support is removed from InvoiceItem.
Adds pricing support to invoice item and invoice line APIs; the legacy price field is removed from the listed APIs.
unit_amount support is removed from the listed invoice item APIs.
Adds taxes to InvoiceLineItem and CreditNoteLineItem.
The listed fields are no longer supported on InvoiceLineItem.
Removes the deprecated type in favor of InvoiceListLineItemsParams.
Removes the deprecated type in favor of InvoiceUpdateLineItemParams.
Removes naver_pay support from PaymentMethodUpdateParams.
The page parameter is removed from all V2 list method params; use the auto paginator or next_page_url and previous_page_url instead.
aggregate_usage support is removed from plans and recurring price fields.
Changes from string to the enum existing or none on Person, Token, and Token.CreateParams.
Removes price support from the listed invoice line and invoice item APIs; use pricing instead.
Removes promotion_code support from customer and subscription create and update parameters.
Stripe.webhooks and Stripe().webhooks are now plain objects rather than factory functions; call methods directly on the property.
Call webhook methods directly on Stripe.webhooks rather than invoking it as a factory.
current_period_end and current_period_start are removed from Subscription.
Adds current_period_end and current_period_start to SubscriptionItem; those fields are removed from Subscription.
Removes createUsageRecord and listUsageRecordSummaries methods.
The createUsageRecord method is no longer supported on SubscriptionItems.
The listUsageRecordSummaries method is no longer supported on SubscriptionItems.
Removes support for SubscriptionItemUsageRecord and SubscriptionItemUsageRecordSummary resources.
Support for this resource is removed.
New APIs and options 48
Adds billie_payments, nz_bank_account_becs_debit_payments, and satispay_payments capability fields to Account and its create and update parameters.
Adds four error code values across Account, AccountCapability, AccountPerson, and BankAccount requirement error enums.
Adds hosted_payment_method_save to Account invoice settings and AccountUpdateParams.
Adds invoices to AccountCreateParams.settings.
Adds stripe_balance_payment_debit_reversal and stripe_balance_payment_debit as transaction type values.
Adds last as a formula value for meter default aggregation.
Adds billie and satispay support across the listed payment method details, resources, and parameters.
Adds nz_bank_account support across the listed payment method resources and parameters.
Adds billie and satispay as supported payment method type values for Checkout Sessions.
Adds custom as a ui_mode value on Checkout.Session and its create parameters.
Adds shipping_options to Checkout Session update parameters.
Adds buyer_id to naver_pay details on ConfirmationToken, CustomerPaymentMethod, and PaymentMethod.
Adds billie, nz_bank_account, and satispay as payment method type values.
Adds total_taxes to CreditNote and Invoice.
Adds refunds to the listed credit note parameters and resource.
Adds taxes to CreditNoteLineItem and InvoiceLineItem.
Adds checkout_session to CustomerBalanceTransaction.
Adds checkout_session_subscription_payment_canceled and checkout_session_subscription_payment as transaction type values.
Adds billie, nz_bank_account, and satispay as payment method type values in the listed APIs.
Adds invoice.overpaid as an event type.
Adds amount_overpaid, confirmation_secret, and payments fields to Invoice.
Adds amount_overpaid, confirmation_secret, and payments to Invoice.
Adds forwarding_api_retryable_upstream_error and setup_intent_mobile_wallet_unsupported enum values to the listed error-code enums.
Adds klarna and nz_bank_account as payment method type values for invoices and subscriptions.
Adds jurisdiction_level to the listed invoice tax rate data parameters.
Adds taxability_reason to the listed invoice line tax amount parameters.
Adds the parent field to InvoiceItem, InvoiceLineItem, and Invoice.
Adds the InvoicePayment resource with list and retrieve methods.
Adds list and retrieve methods for the InvoicePayment resource.
A retrieve method is added to InvoicePayment.
Adds network_fallback as an authorization request history reason.
Adds expired as a status value for Issuing.Authorization and its list parameters.
Adds naver_pay to Mandate and SetupAttempt payment method details.
Adds optional_items support to Checkout Sessions and Payment Links.
Adds expired as a cancellation reason.
Adds setup_future_usage to naver_pay options on PaymentIntent and its confirm, create, and update parameters.
Adds billie, nz_bank_account, and satispay as payment method data type values for the listed intent parameters.
Adds default_value to dropdown, numeric, and text custom fields across PaymentLink resources and parameters.
Adds billie and satispay as PaymentLink payment method type values.
Adds nz_bank_account payment-method support across PaymentMethod, PaymentIntent, SetupIntent, mandates, and related parameters.
Adds permissions support to Checkout Session creation params and Session objects.
Adds presentment_details to Charge, Checkout.Session, PaymentIntent, and Refund.
Adds nz_bank_transfer to Refund destination details.
Adds canceled as a closed reason value.
Adds current_period_end and current_period_start to SubscriptionItem.
Adds wifi to Terminal.Configuration and its create and update parameters.
Adds 2025-03-01.dashboard and 2025-03-31.basil as webhook endpoint API version values.
Adds invoice.overpaid as an enabled event value for webhook endpoint create and update parameters.
Behavior and default changes 1
The WeChat Pay client parameter becomes optional in confirm, create, and update params.
stripe 1721 changes
Breaking changes 9
The filter field is no longer supported; use the filters on usage_threshold instead.
The filter parameter is no longer supported; use the filters on usage_threshold instead.
Rename usage_threshold_config to usage_threshold.
The default maximum retries for HTTP requests increases from 1 to 2; the old default can be restored by setting it explicitly.
The default maximum timeout for HTTP requests increases from 2 to 5 seconds; the old default can be restored by setting it explicitly.
The parseSnapshotEvent method is removed.
The pinned API version changes to 2024-09-30.acacia; review the Stripe API changes before upgrading.
The pinned API version changes to 2024-09-30.acacia; review the API changes before upgrading.
Support for customer_consent_collected is removed.
New APIs and options 10
A new Usage Billing API is added in the v2 namespace.
Add support for the new Usage Billing API type Billing.MeterEventAdjustments.
Add support for the new Usage Billing API type Billing.MeterEventSession.
A new Events API is added in the v2 namespace.
Support is added for custom_unit_amount on default_price_data.
Adds a Stripe method to parse thin events.
Support is added for allow_redisplay on process_config.
Support is added for allow_redisplay.
The failure_code enum gains the international_transaction value.
The api_version enum gains the 2024-09-30.acacia value.
Behavior and default changes 2
default_allowed_updates becomes optional.
products becomes optional.
stripe 1615 changes
Breaking changes 5
disabled_reason is now an enum with the listed values.
The unused PlatformTaxFee resource is removed.
This fuel field is added as the replacement for volume_decimal in the listed Issuing authorization and transaction types.
The pinned API version changes to 2024-06-20; review the API changes before upgrading.
Rename this fuel field to quantity_decimal in the listed Issuing authorization and transaction types.
New APIs and options 9
The tax ID type enums add ch_uid across Checkout, Invoice, Tax, Customer, and TaxId types and parameters.
Issuing authorization and transaction purchase details add support for fleet.
Adds fleet purchase details support to authorization, transaction, force-capture, and unlinked-refund APIs.
Issuing authorization creation test helpers and Authorization add support for fuel.
This fuel field is added to the listed Issuing authorization and transaction purchase details.
Adds industry_product_code to fuel purchase details for authorization capture, transactions, force captures, and unlinked refunds.
The reason enum adds card_canceled, card_expired, cardholder_blocked, insecure_authorization_method, and pin_blocked.
The fuel unit enum adds charging_minute, imperial_gallon, kilogram, kilowatt_hour, and pound.
The api_version enum adds 2024-06-20.
Tooling 1
The Issuing.Authorization test helper gains the finalize_amount method.
stripe 1540 changes
Breaking changes 40
Removes the deprecated
obligation_inboundvalue.Removes the deprecated
obligation_payoutvalue.Removes the deprecated
obligation_payout_failurevalue.Removes the deprecated
obligation_reversal_outboundvalue.Removes
subscription_pausebecause the portal feature to pause subscriptions has been deprecated.Removes
subscription_pausebecause the portal feature to pause subscriptions has been deprecated.Removes
subscription_pausebecause the portal feature to pause subscriptions has been deprecated.Removes the deprecated
variousvalue.Removes the legacy
rendering_optionsfield; userenderinginstead.Removes the deprecated
include_and_requirevalue.Removes the deprecated event.
Renames
InvoiceitemCreatedEventtoInvoiceItemCreatedEvent.Renames
InvoiceitemDeletedEventtoInvoiceItemDeletedEvent.Removes the type for a deprecated event.
Replaces features on ProductCreateOptions, ProductUpdateOptions, and Product.
Removes the deprecated event.
Removes the type for a deprecated event.
Removes
request_incremental_authorization.Removes support for
id_bank_transfer.Removes support for
multibanco.Removes support for
netbanking.Removes support for
pay_by_bank.Removes support for
upi.The pinned API version changes to 2024-04-10; review the API changes before upgrading.
Renames
featurestomarketing_features.Removes the deprecated event.
Removes the deprecated event.
Removes the deprecated event.
Removes the type for a deprecated event.
Removes the type for a deprecated event.
Removes the type for a deprecated event.
Removes the legacy field from Invoice, InvoiceCreateOptions, and InvoiceUpdateOptions; use rendering instead.
Removes the deprecated
obligationvalue.Removes the deprecated
challenge_onlyvalue.Removes the deprecated event.
Removes the deprecated event.
Removes the deprecated event.
Removes the type for a deprecated event.
Removes the type for a deprecated event.
Removes the deprecated
service_taxvalue.
stripe 145 changes
Breaking changes 1
The pinned API version changes to 2023-10-16; review the API changes before upgrading the stripe package.
New APIs and options 4
The enum adds new values for address, business profile, company name, date of birth, product description, statement descriptor, tax ID, and URL validation errors.
The relationship parameter adds support for the legal_guardian value.
TokenCreateParams.person adds support for additional_tos_acceptances.
The enum adds 2023-10-16 as a supported API version.
stripe 1332 changes
Breaking changes 28
The custom_account_update and custom_account_verification enum values are no longer supported because they are not fully operational.
Removes support for the custom_account_update enum value because it is not fully operational.
Removes support for the custom_account_verification enum value because it is not fully operational.
Removes support for available_on; the notes discourage using the parameter and mention AddExtraParam if it is still required.
Removes support for alternate_statement_descriptors; use of this field is discouraged.
Removes support for destination; use transfer_data or on_behalf_of instead.
Removes support for dispute; use of this field is discouraged.
Removes support for shipping_rates; use shipping_options instead.
Removes support for coupon; the notes recommend migrating to the Prices API.
Removes support for trial_from_plan; the notes recommend migrating to the Prices API.
Removes support for the card_present enum value because it was not fully operational.
Removes support for the charge_refunded enum value because it was not fully operational.
Removes support for blik because these fields were mistakenly released.
Removes support for country because the field was not fully operational.
Removes support for acss_debit because these fields are empty.
Removes support for affirm because these fields are empty.
Removes support for au_becs_debit because these fields are empty.
Removes support for bacs_debit because these fields are empty.
Removes support for cashapp because these fields are empty.
Removes support for sepa_debit because these fields are empty.
Removes support for zip because these fields are empty.
The pinned API version changes to 2023-08-16; review the API changes before upgrading stripe-node.
Removes support for recurring; this property should be set on create only.
Removes support for attributes because these fields are not fully operational.
Removes support for caption because these fields are not fully operational.
Removes support for deactivate_on because these fields are not fully operational.
Retryable request failures now receive 1 reattempt by default; previously the default was 0.
The deprecated del method is removed; use cancel instead.
New APIs and options 3
Adds the verification_directors_mismatch, verification_document_directors_mismatch, verification_extraneous_directors, and verification_missing_directors enum values.
Request-level options can now disable retries.
Adds 2023-08-16 as a supported enum value.
Behavior and default changes 1
The default behavior now performs 1 reattempt on retryable request failures; previously the default was 0.
stripe 124 changes
Breaking changes 4
Requests now use Stripe API Version 2022-11-15 by default instead of the Stripe account's default API version.
The default API version changed to 2022-11-15, which may affect the behavior of Stripe API requests.
Removed Stripe.default, which was retained for backwards compatibility during the transition to a dual ES module / CommonJS package.
Removed Stripe.Stripe, which was retained for backwards compatibility during the transition to a dual ES module / CommonJS package.
stripe 1115 changes
Breaking changes 15
The deprecated field is removed from
Checkout.Session.LineItem.The deprecated option name is removed; use
apiKeyinstead.Deprecated basic method definitions are removed; define basic methods on the resource instead.
The
PaymentIntentfield is removed and replaced bylatest_charge.The deprecated
subscription_data.itemsparameter is removed.The deprecated option name is removed; use
idempotencyKeyinstead.The
PaymentIntentfield replaces the removedchargesfield.Node.js 8 and 10 are no longer supported; Node.js 12+ is supported.
The Orders resource is removed.
The deprecated configuration setter is removed; set the option through the config object instead.
The SKU resource is removed.
The deprecated option name is removed; use
stripeAccountinstead.The deprecated option name is removed; use
apiVersioninstead.The error exposes
headerandpayloadinstead ofdetail; access them aserr.headeranderr.payload.Support for this property is removed from Paynow payment method options; it was mistakenly released and never worked.
stripe 1030 changes
Breaking changes 24
The property type is now nullable.
The definition was removed.
The recipient property was removed from Card.
The currency property type changed from string to 'cad' | 'usd'.
The TypeScript definition moved from CreditNoteLineItems.d.ts to CreditNotes.d.ts.
The property type is now nullable.
AlipayAccount and BitcoinReceiver were removed as possible CustomerSource values.
The default API version changed to 2022-08-01.
The method was renamed to listUpcomingLines.
Renamed to InvoiceListUpcomingLinesParams.
This is the new name for InvoiceLineItemListUpcomingParams and InvoiceRetrieveUpcomingParams.
The definition was removed.
Renamed to InvoiceListUpcomingLinesParams.
The definition was removed.
The resource was removed.
The unsupported retrieveDetails method was removed.
The definition was removed.
The unused interface was removed.
The no-longer-supported redirect_url property was removed.
The deprecated event was removed.
Stripe.DeletedAlipayAccount and Stripe.DeletedBitcoinReceiver are no longer possible source values.
The resource was removed.
The deprecated error definition was removed.
The webhook event constant was removed; use treasury.received_credit.returned instead.
New APIs and options 3
The enum now supports the invalid_tos_acceptance value.
Checkout.Session now supports the shipping_cost property.
Checkout.Session now supports the shipping_details property.
Behavior and default changes 2
The property type is now nullable.
The property type is now nullable.
Tooling 1
The TypeScript definition moved from CreditNoteLineItems.d.ts to CreditNotes.d.ts.
stripe 915 changes
Breaking changes 7
Removes the order reference from Charge.
Changes the field type from nullable(string) to string.
The legacy Order API is replaced with the new Order API, requiring developers to update integrations.
Removes the OrderItem resource.
Removes the OrderReturn resource.
Removes the pay method from the Order API.
Removes the return_order method from the Order API.
New APIs and options 7
Adds the cancel method to the new Order API.
Adds amount_discount to LineItem.
Adds amount_tax to LineItem.
Adds product to LineItem.
Adds the list_line_items method to the new Order API.
Adds the reopen method to the new Order API.
Adds the submit method to the new Order API.
Fixes and other changes 1
Retries closed connection errors.