unstale

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 init

@unstale/cli on npm

stripe 23109 changes

Breaking changes 23

  • The pinned API version changes to 2026-11-18.endive.

    23.2.0release notes

  • Changes Dispute.evidence.appeal to be required.

    23.2.0release notes

  • Multipart requests omit undefined parameters, send null as an empty string, and send Date values as Unix timestamps.

    23.2.0release notes

  • Changes Issuing.Card.shipping.delivered_at to be required.

    23.2.0release notes

  • Changes Issuing.Card.shipping.shipped_at to be required.

    23.2.0release notes

  • Changes stored_credential_usage to be required on PaymentAttemptRecord card details.

    23.2.0release notes

  • Changes stored_credential_usage to be required on PaymentRecord card details.

    23.2.0release notes

  • Error message fields are prefixed with requestId when a requestId exists.

    23.2.0release notes

  • The pinned API version changes to 2026-10-28.endive.

    23.1.0release notes

  • pause_schedules is now required.

    23.1.0release notes

  • Secrets made entirely of ASCII whitespace are rejected instead of being used as HMAC keys.

    23.0.1release notes

  • The reason field changes from string to an enum.

    23.0.0release notes

  • Removes payment_method_types support from Checkout Session creation parameters and several PaymentIntent and SetupIntent parameter types.

    23.0.0release notes

  • The top-level ErrorType interface export is removed; use .errors, which works as both a type and a value.

    23.0.0release notes

  • Removes countries from Financial Connections.Session.filters and FinancialConnections.SessionCreateParams.filters.

    23.0.0release notes

  • Adds country to Financial Connections session creation filters; countries is removed from session filters and creation filters.

    23.0.0release notes

  • Node.js 18 is no longer supported; Node.js 20 is the minimum supported version.

    23.0.0release notes

  • Removes support for payto on PaymentMethodUpdateParams.

    23.0.0release notes

  • This mistakenly added function is removed; use stripe.webhooks.constructEventWithoutVerification(payload) for the same functionality.

    23.0.0release notes

  • The V1-only object, has_more, and url fields are removed from Stripe.V2List<T>; they were never populated.

    23.0.0release notes

  • Responses that stall or are severed before the body is complete now throw StripeConnectionError instead of StripeAPIError.

    23.0.0release notes

  • V2 request address properties now use operation-specific V2 interfaces instead of shared V1 address parameter types.

    23.0.0release notes

  • When tolerance is omitted, verifyHeader now uses Webhook.DEFAULT_TOLERANCE for timestamp verification.

    23.0.0release notes

New APIs and options 71

  • Adds funding_sources to the Link wallet details on Charge.

    23.2.0release notes

  • Adds tron as a supported crypto network value.

    23.2.0release notes

  • Adds funding_sources to Charge.payment_method_details.link.

    23.2.0release notes

  • Adds fingerprint to PayPay payment details on Charge.

    23.2.0release notes

  • Adds address_collection_precision to Checkout Session automatic tax details.

    23.2.0release notes

  • Allows address_collection_precision in Checkout Session creation parameters.

    23.2.0release notes

  • Adds this error code to invoice, payment, setup, Stripe, and Terminal API error types.

    23.2.0release notes

  • Adds fingerprint to PayPay payment details on PaymentAttemptRecord.

    23.2.0release notes

  • Adds car_rental_data to PaymentIntent payment details and its capture, confirm, create, and update parameters.

    23.2.0release notes

  • Adds lodging_data to PaymentIntent payment details and its capture, confirm, create, and update parameters.

    23.2.0release notes

  • Adds capture_method to PaymentLink update parameters.

    23.2.0release notes

  • Adds fingerprint to PayPay payment details on PaymentRecord.

    23.2.0release notes

  • Adds loss_message to Product marketing features and its create and update parameters.

    23.2.0release notes

  • Adds claimable_sandbox_creation_rate_limit_exceeded and claimable_sandbox_testing_creation_rate_limit_exceeded error codes.

    23.2.0release notes

  • Adds application to Refund.

    23.2.0release notes

  • Adds bizum and upi as supported Refund destination detail values.

    23.2.0release notes

  • Adds tax_invoice_month to report run parameters and report run creation parameters.

    23.2.0release notes

  • Adds igic support to Spanish tax registration country options and their creation parameters.

    23.2.0release notes

  • Adds five device types: stripe_s700_devkit, stripe_s710_devkit, stripe_t600_devkit, verifone_ux700_devkit, and verifone_v660p_devkit.

    23.2.0release notes

  • Adds network_details to inbound transfer failure details and the related test helper and returned transfer details.

    23.2.0release notes

  • Adds failure_details to the inbound transfer return test helper parameters.

    23.2.0release notes

  • 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.

    23.2.0release notes

  • Adds additional_material to konbini payment configuration on accounts and account create and update parameters.

    23.2.0release notes

  • Adds account_dashboard as a supported use case for AccountLink and AccountLink creation parameters.

    23.2.0release notes

  • Adds the V2.Core.ClaimableSandbox resource and its create, renew_onboarding_link, and retrieve methods.

    23.2.0release notes

  • Adds claimed, created, expired, expiring, and updated event notifications with V2.Core.ClaimableSandbox as the related object.

    23.2.0release notes

  • Adds 2026-11-18.endive as a supported webhook endpoint API version.

    23.2.0release notes

  • Adds wero_payments capability support to account objects and account create and update parameters.

    23.1.0release notes

  • Adds physical_address to account company data and related account and token parameters.

    23.1.0release notes

  • Adds proof_of_business_presence to account create and update document parameters.

    23.1.0release notes

  • Adds subscription_pause support to billing portal configuration and session flow parameters.

    23.1.0release notes

  • Adds after_expiration to session creation parameters and sessions.

    23.1.0release notes

  • Adds payment_intent_data to Checkout session update parameters.

    23.1.0release notes

  • Adds appeal evidence to disputes and dispute update parameters.

    23.1.0release notes

  • Adds appeal_needs_response and appeal_under_review status values.

    23.1.0release notes

  • Adds intended_submission_method to dispute objects and update parameters.

    23.1.0release notes

  • Adds event type values for the listed three_d_secure.authentication lifecycle events.

    23.1.0release notes

  • Adds setup_credential_usage to card payment options across charges, payment intents, and setup intents.

    23.1.0release notes

  • Adds stored_credential_usage to card payment details and payment options.

    23.1.0release notes

  • Adds the listed error types and error codes to Stripe error handling and related resource error fields.

    23.1.0release notes

  • Adds reader_security and stripe_t600 configuration support.

    23.1.0release notes

  • Adds simulated_stripe_t600 and stripe_t600 reader device types.

    23.1.0release notes

  • Adds bank_accounts and cards recipient capabilities to V2 account objects and create and update parameters.

    23.1.0release notes

  • Adds payout_methods to V2 account defaults and account update parameters.

    23.1.0release notes

  • Adds GB and US bank account resources with archive, list, retrieve, and unarchive methods; the US resource also supports microdeposit operations and update.

    23.1.0release notes

  • 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.

    23.1.0release notes

  • Adds 2026-10-28.endive as a supported webhook endpoint API version.

    23.1.0release notes

  • Adds the listed three_d_secure.authentication events to enabled webhook events.

    23.1.0release notes

  • Adds the V2SearchResult<T> type and auto-pagination support for search results.

    23.0.1release notes

  • Adds the Apps.Install resource with create, list, retrieve, uninstall, and update methods.

    23.0.0release notes

  • Snapshot events are now supported for Apps.Install, including created, deleted, and updated events.

    23.0.0release notes

  • Adds allowed_payment_method_types to Checkout Session creation parameters and Checkout.Session.

    23.0.0release notes

  • The updated_capability enum now includes blik_recurring_payments, satispay_payments, and sequra_payments.

    23.0.0release notes

  • Adds pause support to subscription details when creating an invoice preview.

    23.0.0release notes

  • Adds payment_record to PaymentIntent.

    23.0.0release notes

  • Adds PayPay support across payment method data, payment method details and options, and payment method types.

    23.0.0release notes

  • Adds the ProductCatalog.TrialOffer resource with create, list, retrieve, and update methods.

    23.0.0release notes

  • Adds Sequra support across payment method data, payment method details and options, and payment method types.

    23.0.0release notes

  • 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.

    23.0.0release notes

  • Error-code enums on the listed error-bearing fields now support four additional codes.

    23.0.0release notes

  • Adds the pause method to the Subscription resource.

    23.0.0release notes

  • Adds payment_behavior to SubscriptionResumeParams.

    23.0.0release notes

  • Adds pause_schedules to subscription schedule create and update parameters and the SubscriptionSchedule resource.

    23.0.0release notes

  • Adds the Tax.Location resource with create, list, and retrieve methods.

    23.0.0release notes

  • Adds requirements to TaxCode.

    23.0.0release notes

  • Adds the ThreeDSecure.Authentication resource with cancel, create, list, retrieve, and submit methods.

    23.0.0release notes

  • Merchant capabilities now support satispay_payments in account configuration, create parameters, and update parameters.

    23.0.0release notes

  • Capability status code enums now accept eight additional rejection reasons across account capability status details.

    23.0.0release notes

  • Requirement error code enums now accept two additional invalid-address reasons.

    23.0.0release notes

  • Capability restriction enums in current and future requirements now include blik_recurring_payments and satispay_payments.

    23.0.0release notes

  • V2.Core.Event now supports snapshot_event.

    23.0.0release notes

Behavior and default changes 6

  • Changes capture_method to an emptyable enum on PaymentLink creation parameters.

    23.2.0release notes

  • V2 date-time range filters accept RFC 3339 strings; numeric bounds remain in the interface, although the API does not accept them.

    23.2.0release notes

  • When diagnostic metadata is present in the Stripe-Signature header, verification errors help identify an incorrect signing secret or altered request body.

    23.2.0release notes

  • The pinned API version changes to 2026-09-30.endive.

    23.0.0release notes

  • EventNotification now supports singleton related objects.

    23.0.0release notes

  • When tolerance is omitted, verifyHeaderAsync now uses Webhook.DEFAULT_TOLERANCE for timestamp verification.

    23.0.0release notes

Fixes and other changes 9

  • Uses the same Stripe-Context and Stripe-Account handling for event-related objects retrieved through events.retrieve() and list().

    23.2.0release notes

  • Calls withStripeContext before fetching an event, fixing Stripe-Context and Stripe-Account handling for event notification fetch helpers.

    23.2.0release notes

  • Verifies signatures asynchronously so the handler works with async crypto providers, such as the web platform.

    23.0.1release notes

  • Disposes discarded fetch responses before retrying by aborting the fetch and closing the unread body.

    23.0.1release notes

  • Populates statusCode with the HTTP status for successful JSON responses when using the fetch HTTP client.

    23.0.1release notes

  • When a specific notification type cannot be narrowed, callbacks use the full EventNotification union type instead of resolving to never.

    23.0.1release notes

  • Callback clients now use the event's Stripe context and preserve client telemetry, fixing 400 errors when the StripeClient is configured with stripeAccount.

    23.0.0release notes

  • Requests no longer hang when NodeHttpClient is used with Nock 14 or MSW HTTP request interceptors.

    23.0.0release notes

  • Passing 0 now properly skips timestamp tolerance verification instead of applying the default tolerance.

    23.0.0release notes

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.

    22.6.0release notes

  • Removes support for cryptogram on three_d_secure for PaymentAttemptRecord and PaymentRecord.

    22.6.0release notes

  • PaymentIntent.allowed_payment_method_types and SetupIntent.allowed_payment_method_types are now required.

    22.6.0release notes

  • 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.

    22.6.0release notes

  • The pinned API version changes to 2026-07-29.dahlia.

    22.4.0release notes

  • Removes support for this limited-use field from Checkout.SessionCreateParams.line_items because it is being deprecated.

    22.4.0release notes

  • Removes support for this limited-use field from AccountCreateParams.documents because it is being deprecated.

    22.4.0release notes

  • Unused Retry-After header support was removed.

    22.3.1release notes

  • The pinned API version changes to 2026-06-24.dahlia.

    22.3.0release notes

  • priority is now required.

    22.3.0release notes

  • Removes stored_credential_usage from PaymentAttemptRecord and PaymentRecord card payment method details.

    22.3.0release notes

  • Removes the crypto_storer and storer terms of service values.

    22.3.0release notes

  • Calling rawRequest with absolute URLs now throws a more descriptive error.

    22.0.1release notes

  • API methods no longer support callbacks; use async / await instead.

    22.0.0release notesupgrade guide

  • The CJS entry point no longer exports .default or .Stripe as separate properties.

    22.0.0release notes

  • The type of constructEvent.tolerance was updated.

    22.0.0upgrade guide

  • This StripeResource method was removed.

    22.0.0upgrade guide

  • Per-request host overrides were removed; set a custom host in client configuration so all requests from that client use it.

    22.0.0release notesupgrade guide

  • This StripeResource method was removed.

    22.0.0upgrade guide

  • A per-request API key can no longer be passed as a plain function argument; supply it in RequestOptions under apiKey.

    22.0.0release notesupgrade guide

  • When a method accepts params and options, RequestParams must come first and RequestOptions second; pass undefined first to supply options without params.

    22.0.0upgrade guide

  • The top-level ambient module was removed, allowing import aliasing for the stripe package.

    22.0.0release notes

  • Stripe.errors.StripeError is no longer a type; use typeof Stripe.errors.StripeError or Stripe.ErrorType instead.

    22.0.0release notes

  • Stripe.StripeContext is no longer exported as a type; use Stripe.StripeContextType instead.

    22.0.0release notes

  • Stripe is now a true ES6 class; create a StripeClient with new Stripe() instead of calling Stripe().

    22.0.0release notes

  • stripeMethod was removed as part of standardizing how function arguments are handled.

    22.0.0upgrade guide

  • The file was renamed to V2/V2Amount.ts.

    22.0.0release notes

Security 3

  • Webhook secrets are validated as non-empty, so empty secrets are rejected.

    22.6.2release notes

  • Hardens API requestor code against malicious URLs.

    22.6.1release notes

  • Multipart file uploads use cryptographically secure boundaries.

    22.6.1release notes

New APIs and options 153

  • Adds support for payment_method_settings on AccountSession components and their create parameters.

    22.6.0release notes

  • Adds touch_n_go as an allowed payment method type for PaymentIntent and SetupIntent objects and their confirm, create, and update parameters.

    22.6.0release notes

  • Adds the Billing.FeedbackOption resource and its create, deactivate, list, retrieve, and update methods.

    22.6.0release notes

  • Adds feedback_options support for billing portal subscription cancellation reasons in configuration objects and create and update parameters.

    22.6.0release notes

  • Adds the customer_update value to the flow type enums and supports customer_update on BillingPortal.Session.flow.

    22.6.0release notes

  • Adds funding_source_group to Link payment method details on charges and to Charge.payment_method_details.link.

    22.6.0release notes

  • Adds funding_types_blocked to card restrictions on Checkout sessions and session creation parameters.

    22.6.0release notes

  • Adds metadata support to ConfirmationToken.

    22.6.0release notes

  • Adds igic support to tax registration country options and tax registration creation parameters across the listed countries.

    22.6.0release notes

  • Adds active_entitlements and customer_portal support on CustomerSession components and their create parameters.

    22.6.0release notes

  • A new class provides typed thin event notification handling, tighter coupling with StripeClient, and a recommended path for integrations using thin event notifications.

    22.6.0release notes

  • Adds country filtering support to FinancialConnections.Session.filters.

    22.6.0release notes

  • Adds frozen_fields to InvoiceItem.

    22.6.0release notes

  • Adds billie payment method options for invoices and subscriptions, including their create and update parameters.

    22.6.0release notes

  • Adds billie as a payment method type for invoices and subscriptions, including their create and update parameters.

    22.6.0release notes

  • Adds application_fee_amount, application_fee_percent, on_behalf_of, and transfer_data to PaymentLinkUpdateParams.

    22.6.0release notes

  • 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.

    22.6.0release notes

  • Adds feedback_option to subscription cancellation details and the corresponding cancel and update parameters.

    22.6.0release notes

  • Adds 2026-08-26.dahlia as a supported api_version value for webhook endpoint creation.

    22.6.0release notes

  • Returns an Event object without verifying authenticity, for events whose authenticity was previously verified.

    22.5.0release notes

  • Adds the stripe.major_api_version constant.

    22.5.0release notes

  • Returns an EventNotification object without verifying authenticity, for events whose authenticity was previously verified.

    22.5.0release notes

  • Returns an Event object without verifying authenticity, for events whose authenticity was previously verified.

    22.5.0release notes

  • Adds the unreject method to the Account resource.

    22.4.0release notes

  • Adds additional_addresses to V2 Core Account business details and the related create, token-create, and update parameters.

    22.4.0release notes

  • Adds administrative_address to Account company data and the corresponding Account, Token creation, and Account update parameters.

    22.4.0release notes

  • Adds alipay as a payment method type for Invoice and Subscription payment settings.

    22.4.0release notes

  • Adds allowed_payment_method_types to PaymentIntent and SetupIntent objects and their confirm, create, and update parameters.

    22.4.0release notes

  • Adds bnp_paribas as an FPX bank value in payment and confirmation APIs.

    22.4.0release notes

  • Adds business_name to Issuing card shipping data and its create and update parameters.

    22.4.0release notes

  • Adds chaps as a supported network in FundingInstructions and PaymentIntent bank transfer financial addresses.

    22.4.0release notes

  • Adds citibank as an FPX bank value in payment and confirmation APIs.

    22.4.0release notes

  • Adds correos as an Issuing card shipping carrier value.

    22.4.0release notes

  • Adds data_share_only as a three_d_secure result value for Charge, PaymentAttemptRecord, PaymentRecord, and SetupAttempt.

    22.4.0release notes

  • Adds Financial Connections account and authorization deactivation-related event type values.

    22.4.0release notes

  • Adds support for the new Financial Connections Authorization resource.

    22.4.0release notes

  • Adds limits, manual_entry, require_payment_method_support, and bank_account_token support to FinancialConnections.Session and its creation parameters where applicable.

    22.4.0release notes

  • Adds a snapshot event for FinancialConnections.Account expected deactivation date updates.

    22.4.0release notes

  • Adds a snapshot event for FinancialConnections.Account supported payment method type updates.

    22.4.0release notes

  • Adds a snapshot event for upcoming deactivation of FinancialConnections.Account.

    22.4.0release notes

  • Adds a snapshot event for FinancialConnections.Authorization expected deactivation date updates.

    22.4.0release notes

  • Adds a snapshot event for upcoming deactivation of FinancialConnections.Authorization.

    22.4.0release notes

  • Adds ic_nif as a tax ID type in Checkout, Invoice, Tax Calculation, Tax Transaction, Customer, and TaxId APIs.

    22.4.0release notes

  • Adds metadata to subscription_details in InvoiceCreatePreviewParams.

    22.4.0release notes

  • Adds this tax type to tax breakdown, invoice line, tax rate, and US tax registration APIs.

    22.4.0release notes

  • Adds mb_way as a payment method type for Invoice and Subscription payment settings.

    22.4.0release notes

  • Adds mbsb_bank as an FPX bank value in payment and confirmation APIs.

    22.4.0release notes

  • Adds network to Dispute.payment_method_details.card.

    22.4.0release notes

  • Adds a shared OtherString type to better annotate non-exhaustive enums.

    22.4.0release notes

  • Adds consent_collection and shipping_options to PaymentLinkUpdateParams.

    22.4.0release notes

  • Adds a list method to the PaymentRecord resource.

    22.4.0release notes

  • Adds payouts_action to AccountRejectParams.

    22.4.0release notes

  • Adds principal_place_of_business to Account company data and the corresponding Account, Token creation, and Account update parameters.

    22.4.0release notes

  • Adds custom_fields, description, and footer to invoice_settings on Quote and SubscriptionSchedule objects and their create and update parameters.

    22.4.0release notes

  • Adds referrer to radar_options in PaymentIntent confirmation and creation parameters.

    22.4.0release notes

  • Adds customer_account and customer to Refund, and payment_method to Refund and Topup.

    22.4.0release notes

  • Adds sepa_debit_payments to AccountUpdateParams.settings.

    22.4.0release notes

  • Adds setup_future_usage to Payco and Samsung Pay payment method options for Checkout Sessions and PaymentIntents, and to PaymentLinkUpdateParams.payment_intent_data.

    22.4.0release notes

  • Adds smart_disputes_management to the listed AccountSession component feature fields and their creation parameters.

    22.4.0release notes

  • Adds stripe_internal_error as an Issuing.Authorization request history reason.

    22.4.0release notes

  • Adds trial to SubscriptionSchedule.phases[].

    22.4.0release notes

  • Adds initiated_by and payment_method_options to Topup.

    22.4.0release notes

  • Adds 2026-07-29.dahlia as an API version value for webhook endpoint creation.

    22.4.0release notes

  • Adds Financial Connections account and authorization deactivation-related event values to enabled_events on webhook endpoint create and update parameters.

    22.4.0release notes

  • The enum gains the tax_fund value.

    22.3.0release notes

  • Adds buyer_id to Bizum and Blik payment method details and previews, and to PaymentMethod.bizum and PaymentMethod.blik.

    22.3.0release notes

  • Adds transaction_link_id to card payment method details.

    22.3.0release notes

  • Adds wechat_pay to Checkout Session payment method options.

    22.3.0release notes

  • Adds billing_cycle_anchor_config to subscription data when creating a Checkout Session.

    22.3.0release notes

  • Crypto network enums on Charge, PaymentAttemptRecord, and PaymentRecord gain the sui value.

    22.3.0release notes

  • Crypto token currency enums on Charge, PaymentAttemptRecord, and PaymentRecord gain the usdsui value.

    22.3.0release notes

  • The enum gains the mastercard_compliance value.

    22.3.0release notes

  • The updated_capability enum gains the sunbit_payments value.

    22.3.0release notes

  • Adds status_details to Financial Connections accounts.

    22.3.0release notes

  • Adds fingerprint to Pix payment method details and previews.

    22.3.0release notes

  • The enum gains the validated value.

    22.3.0release notes

  • Adds custom_fields, description, and footer to invoice_settings on Subscription and its create and update parameters.

    22.3.0release notes

  • Adds Mastercard compliance evidence and eligibility support for disputes.

    22.3.0release notes

  • Adds Sunbit payment method options to Checkout Sessions and PaymentIntents and their parameter types.

    22.3.0release notes

  • Invoice and Subscription payment method type enums gain the satispay value, including create and update parameters.

    22.3.0release notes

  • Adds setup_future_usage to Satispay options on PaymentIntent and its confirm, create, and update parameters.

    22.3.0release notes

  • Adds support for release_details on Reserve.Hold.

    22.3.0release notes

  • Adds Satispay to SetupAttempt payment method details.

    22.3.0release notes

  • Adds five error codes to StripeError and the listed invoice, payment, setup, and Terminal error fields.

    22.3.0release notes

  • Adds the sunbit_payments capability to V2 Core account configuration and create and update parameters.

    22.3.0release notes

  • Adds payment_method to TopupCreateParams.

    22.3.0release notes

  • Adds payment_method_options to TopupCreateParams.

    22.3.0release notes

  • The feed_type enum gains the promotion value.

    22.3.0release notes

  • Adds mode to V2 Commerce product catalog imports.

    22.3.0release notes

  • The feed_type enum gains the promotion value.

    22.3.0release notes

  • Adds crypto_money_manager and money_manager terms of service values.

    22.3.0release notes

  • The api_version enum gains the 2026-06-24.dahlia value.

    22.3.0release notes

  • Adds active to PaymentMethodConfigurationListParams.

    22.2.0release notes

  • Adds amount_paid_off_stripe to Invoice.

    22.2.0release notes

  • Adds automatic_transfer_rules_by_currency to balance payout settings and update parameters.

    22.2.0release notes

  • Adds Azure Event Grid as a V2 event destination type.

    22.2.0release notes

  • Adds billed_until to SubscriptionItem.

    22.2.0release notes

  • Adds billing_schedules to invoice preview subscription details, subscription create and update parameters, and Subscription.

    22.2.0release notes

  • Adds Bizum support across payment method types, payment data and options, account capabilities, and payment method configuration.

    22.2.0release notes

  • Adds blik_authorize to PaymentIntent.next_action and SetupIntent.next_action.

    22.2.0release notes

  • Adds credited_items to InvoiceItem.proration_details.

    22.2.0release notes

  • Adds discountable to invoice items added through subscription and subscription schedule parameters and phases.

    22.2.0release notes

  • Adds max_billed_until as a cancel_at enum value for invoice preview and subscription create and update parameters.

    22.2.0release notes

  • Adds payment_method_microdeposit_processing_error and siret_invalid to supported error codes.

    22.2.0release notes

  • Adds payment_method_options to PaymentLink create and update parameters and PaymentLink.

    22.2.0release notes

  • Adds discount and discounts to Subscription.pending_update.

    22.2.0release notes

  • Adds print_content to Terminal.Reader actions and the action type enum.

    22.2.0release notes

  • Adds Scalapay support across payment method types, payment data and options, account capabilities, and payment method configuration.

    22.2.0release notes

  • The Twint setup_future_usage type changes from literal('none') to enum('none'|'off_session') in relevant Checkout and PaymentIntent parameters and objects.

    22.2.0release notes

  • Adds signer to proof-of-registration and proof-of-ultimate-beneficial-ownership documents in V2 account objects and parameters.

    22.2.0release notes

  • Adds start_of_day to balance settlement timing settings and update parameters.

    22.2.0release notes

  • Adds customer to TestClockCreateParams.

    22.2.0release notes

  • Adds description to transfer_data on charge creation and PaymentIntent objects and parameters.

    22.2.0release notes

  • Adds metadata to PaymentIntent transfer_data and to Subscription.pending_update.

    22.2.0release notes

  • Adds payment_data to PaymentIntent transfer_data and its create and update parameters.

    22.2.0release notes

  • Adds Twint support to invoice and subscription payment settings, mandate and setup attempt details, and payment settings.

    22.2.0release notes

  • Adds the ProductCatalogImport resource and its create and retrieve methods.

    22.2.0release notes

  • Adds notifications for ProductCatalogImport failed, processing, succeeded, and succeeded-with-errors events.

    22.2.0release notes

  • Adds Verifone M425, P630, UX700, and V660p devices and simulated device types to Terminal configuration and reader APIs.

    22.2.0release notes

  • Exported Decimal as a usable type in the Stripe namespace, enabling type annotations such as Stripe.Decimal.

    22.1.1release notes

  • Adds app_distribution and sunbit_payments capabilities to account capability fields.

    22.1.0release notes

  • Adds balance_report and payout_reconciliation_report components.

    22.1.0release notes

  • Adds action_blocked and approval_required error codes to invoice, payment, setup, and Stripe errors.

    22.1.0release notes

  • Adds fee_credit_funding, inbound_transfer_reversal, and inbound_transfer enum values.

    22.1.0release notes

  • Adds phantom_cash and usdt token currency values to crypto payment details.

    22.1.0release notes

  • Adds sunbit as a supported payment method type for listing and creating payment methods.

    22.1.0release notes

  • Adds card_presence to Issuing authorization data.

    22.1.0release notes

  • Adds fulfillment_error as a card cancellation reason.

    22.1.0release notes

  • Adds fulfillment_error as a card replacement reason.

    22.1.0release notes

  • Adds managed_payments support to Checkout sessions, PaymentIntents, PaymentLinks, SetupIntents, and Subscriptions.

    22.1.0release notes

  • Adds amount and currency to multi-use mandates.

    22.1.0release notes

  • Adds location and reader fields to Klarna payment details.

    22.1.0release notes

  • Adds mandate to Pix payment details.

    22.1.0release notes

  • Adds mandate_options to Pix payment method options for Checkout sessions and PaymentIntents.

    22.1.0release notes

  • Adds Pix payment method options across invoices, mandates, setup attempts and intents, and subscriptions; adds UPI options for invoices and subscriptions.

    22.1.0release notes

  • Adds sunbit to Checkout session payment method types.

    22.1.0release notes

  • Adds pix and upi as payment method types for invoice and subscription payment settings.

    22.1.0release notes

  • Adds klarna_display_qr_code as a PaymentIntent next action.

    22.1.0release notes

  • Adds amount_to_confirm to PaymentIntent confirmation parameters.

    22.1.0release notes

  • Adds low, not_assessed, and unknown risk level values.

    22.1.0release notes

  • Adds account as a value list item type.

    22.1.0release notes

  • Pix setup_future_usage accepts none or off_session instead of only none across Checkout and PaymentIntent fields.

    22.1.0release notes

  • Adds moto to SetupAttempt card payment method details.

    22.1.0release notes

  • Adds pix_display_qr_code as a SetupIntent next action.

    22.1.0release notes

  • Adds allowed_card_presences and blocked_card_presences to Issuing card and cardholder spending controls.

    22.1.0release notes

  • Adds sunbit payment method support across payment method details, creation and update parameters, intents, confirmation tokens, and payment method configurations.

    22.1.0release notes

  • Adds sunbit to excluded payment method types, payment method types, and payment method type enums across Checkout, PaymentIntents, SetupIntents, PaymentLinks, ConfirmationTokens, and PaymentMethods.

    22.1.0release notes

  • Adds fo_vat, gi_tin, it_cf, and py_ruc tax ID types to customer, invoice preview, tax calculation, and TaxId creation parameters.

    22.1.0release notes

  • Adds fo_vat, gi_tin, it_cf, and py_ruc tax ID types across Checkout, Invoice, Tax, and TaxId fields.

    22.1.0release notes

  • Adds 2026-04-22.dahlia as a supported webhook endpoint API version.

    22.1.0release notes

  • Adds a config option to include request and response bodies in request and response events.

    22.0.2release notes

  • Adds an asynchronous event notification parser to match the existing synchronous function.

    22.0.2release notes

  • The StripeConfig type now includes the authenticator property.

    22.0.1release notes

Behavior and default changes 15

  • The pinned API version changes to 2026-08-26.dahlia.

    22.6.0release notes

  • Emits a Claude Code plugin hint at module load time when CLAUDECODE or CLAUDE_CODE_CHILD_SESSION is detected.

    22.5.0release notes

  • The type now reflects the minimal interface contract rather than the concrete class, making custom HTTP client implementations easier to type correctly.

    22.3.1release notes

  • description becomes optional on PaymentAttemptRecord and PaymentRecord card payment method details.

    22.3.0release notes

  • iin becomes optional on PaymentAttemptRecord and PaymentRecord card payment method details.

    22.3.0release notes

  • issuer becomes optional on PaymentAttemptRecord and PaymentRecord card payment method details.

    22.3.0release notes

  • refunded becomes optional.

    22.3.0release notes

  • The pinned API version changes to 2026-05-27.dahlia.

    22.2.0release notes

  • Emits a warning when the stripe-notify header is present in a response.

    22.2.0release notes

  • The pinned API version changes to 2026-04-22.dahlia.

    22.1.0release notes

  • The config type changes from the HttpClient class to the HttpClientInterface interface.

    22.0.2release notes

  • The receivedAt field in Webhook.ts is now optional.

    22.0.2release notes

  • The timestamp field in Webhook.ts is now optional.

    22.0.2release notes

  • The tolerance field in Webhook.ts is now optional.

    22.0.2release notes

  • When a method accepts params and options, RequestParams must come first and RequestOptions second; pass undefined first to supply options without params.

    22.0.0release notes

Tooling 2

  • Exports manually maintained types for OAuthToken and OAuth parameter classes.

    22.2.0release notes

  • TypeScript support in the Node SDK was improved.

    22.0.0upgrade guide

Fixes and other changes 30

  • Fixes serialization of schema-coerced values, including Decimal, in GET and DELETE query parameters.

    22.6.1release notes

  • The Stripe.CryptoProvider type export was restored to the Stripe namespace.

    22.3.1release notes

  • The Stripe.HttpAgent type export was restored to the Stripe namespace.

    22.3.1release notes

  • The Stripe.HttpClient type export was restored to the Stripe namespace.

    22.3.1release notes

  • The Stripe.HttpClientResponse type export was restored to the Stripe namespace.

    22.3.1release notes

  • The Stripe.HttpProtocol type export was restored to the Stripe namespace.

    22.3.1release notes

  • The Stripe.LatestApiVersion type export was restored to the Stripe namespace.

    22.3.1release notes

  • The Stripe.RawErrorType type export was restored to the Stripe namespace.

    22.3.1release notes

  • The Stripe.Signature type export was restored to the Stripe namespace.

    22.3.1release notes

  • The Stripe.StripeConfig type export was restored to the Stripe namespace.

    22.3.1release notes

  • The Stripe.StripeResource type export was restored to the Stripe namespace.

    22.3.1release notes

  • The Stripe.Webhooks type export was restored to the Stripe namespace.

    22.3.1release notes

  • The Stripe.WebhookTestHeaderOptions type export was restored to the Stripe namespace.

    22.3.1release notes

  • Fixes TypeScript access to nested namespace and resource types in CJS and ESM modes.

    22.3.0release notes

  • URI path parameters passed to accounts.retrieve are now encoded.

    22.2.3release notes

  • Fixes CommonJS type exports for the stripe package.

    22.2.2release notes

  • Handles shadowed namespaces.

    22.2.2release notes

  • Fixes Stripe.ErrorType.StripeError incorrectly being usable as a runtime class.

    22.2.2release notes

  • Path parameters are URI encoded.

    22.2.1release notes

  • Fixes concurrency guarding and handling of empty pages.

    22.2.1release notes

  • Makes types inside nested parameter class namespaces accessible, including Configuration and Dashboard.

    22.2.0release notes

  • Restored multipart request data processing to fix file uploads failing with StripeInvalidRequestError.

    22.1.1release notes

  • Preserves stack traces for async operations.

    22.1.0release notes

  • Fixes the named export for Bun, enabling import { Stripe } from 'stripe';.

    22.0.2release notes

  • The constructor config parameter now uses StripeConfig instead of Record<string, unknown>, restoring compile-time type safety.

    22.0.1release notes

  • Stripe.API_VERSION retains its literal API version type.

    22.0.1release notes

  • CJS-based TypeScript projects can initialize Stripe with the new keyword as well as by calling Stripe.

    22.0.1release notes

  • Nested service parameter exports in the Stripe namespace are fixed.

    22.0.1release notes

  • stripeContext now accepts StripeContext objects as well as strings.

    22.0.1release notes

  • The signature parameter type in stripe.webhooks.construct_event now includes string[] for compatibility with express.

    22.0.1release notes

stripe 2132 changes

Breaking changes 11

  • The pinned API version changes to 2026-03-25.dahlia, which is also accepted by WebhookEndpointCreateParams.api_version.

    21.0.0upgrade guide

  • Risk assessment card_testing_risk and merchant_dispute_risk now use level; risk_level is no longer supported.

    21.0.0upgrade guide

  • risk_level is no longer supported on card_testing_risk and merchant_dispute_risk.

    21.0.0upgrade guide

  • card_reference_id is now nullable.

    21.0.0upgrade guide

  • Node 16 is no longer supported.

    21.0.0release notesupgrade guide

  • The card brand, exp_month, exp_year, funding, last4, and moto fields on PaymentAttemptRecord and PaymentRecord are now nullable.

    21.0.0upgrade guide

  • insights is no longer supported on PaymentEvaluation.

    21.0.0upgrade guide

  • PaymentEvaluation adds recommended_action and signals and removes insights.

    21.0.0upgrade guide

  • 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().

    21.0.0release notesupgrade guide

  • events_from on EventDestination and its create parameters changes from the other_accounts/self enum to string.

    21.0.0upgrade guide

  • Using the wrong webhook parsing method now throws an error.

    21.0.0release notesupgrade guide

New APIs and options 19

  • Checkout Session ui_mode and its create parameter accept elements, embedded_page, form, and hosted_page.

    21.0.0upgrade guide

  • The removal_pathway enum accepts the new value marine_carbon_removal.

    21.0.0upgrade guide

  • Credit note line items and the corresponding create and preview line parameters now support metadata.

    21.0.0upgrade guide

  • Checkout Session creation parameters now support crypto payment method options.

    21.0.0upgrade guide

  • The Radar.ValueList item_type enum and its create parameter accept crypto_fingerprint.

    21.0.0upgrade guide

  • Checkout Session creation parameters and Session objects now support integration_identifier.

    21.0.0upgrade guide

  • Issuing card create parameters and Card objects now support lifecycle_controls.

    21.0.0upgrade guide

  • A manual amount type is added.

    21.0.0release notesupgrade guide

  • New OAuth Error classes are added.

    21.0.0release notesupgrade guide

  • PaymentAttemptRecord and PaymentRecord three_d_secure details now support cryptogram, electronic_commerce_indicator, exemption_indicator_applied, and exemption_indicator.

    21.0.0upgrade guide

  • PaymentIntent and SetupIntent next_action now support upi_handle_redirect_or_display_qr_code.

    21.0.0upgrade guide

  • Checkout subscription data now supports pending_invoice_item_interval.

    21.0.0upgrade guide

  • Invoice line and item create, update, and preview parameters and objects gain quantity_decimal support.

    21.0.0upgrade guide

  • This error code is added to invoice, payment, setup, and Stripe error fields.

    21.0.0upgrade guide

  • The cancellation reason enum accepts canceled_by_retention_policy.

    21.0.0upgrade guide

  • The crypto network enums on Charge, PaymentAttemptRecord, and PaymentRecord accept the new value tempo.

    21.0.0upgrade guide

  • UPI support is added across payment method details, options, parameters, types, excluded payment method types, and PaymentLink payment method types.

    21.0.0upgrade guide

  • Support is added for the upi_payments capability on Account and its create and update parameters.

    21.0.0upgrade guide

  • Runtime support is added for V2 int64 string-encoded fields.

    21.0.0release notesupgrade guide

Behavior and default changes 1

  • The pinned API version changes to 2026-03-25.dahlia.

    21.0.0release notes

Fixes and other changes 1

  • Fixed the export for Stripe.Decimal in CJS and ESM.

    21.0.1release notes

stripe 20117 changes

Breaking changes 11

  • The expected_debit_date type changes from nullable to non-nullable string.

    20.4.0release notes

  • Removes support for the unused card_issuer_decline value.

    20.4.0release notes

  • The pinned API version changes to 2026-01-28.clover.

    20.3.0release notes

  • The field is now required on Invoice and Subscription payment settings.

    20.3.0release notes

  • Removes support for bgn from tipping on Terminal.Configuration and its create and update parameters.

    20.3.0release notes

  • Changes the price field type from string to expandable(Price).

    20.1.0release notes

  • Changes the type of client_secret from string to string | null.

    20.0.0release notesupgrade guide

  • The pinned API version changes to 2025-11-17.clover.

    20.0.0upgrade guide

  • The pinned API version changes to 2025-11-17.clover.

    20.0.0release notes

  • Retrieve and List calls for /v2 endpoints serialize array parameters using indexed format instead of repeated parameters.

    20.0.0release notesupgrade guide

  • Support for gt, gte, lt, and lte is removed in favor of created.

    20.0.0release notesupgrade guide

New APIs and options 96

  • Adds support for location and reader details on card_present payment method details.

    20.4.0release notes

  • Adds event type values for Reserve hold, plan, and release lifecycle events.

    20.4.0release notes

  • Adds terminal Wi-Fi certificate and private key purposes to file purpose enums.

    20.4.0release notes

  • Allows terminal Wi-Fi certificates and private keys as file creation purposes.

    20.4.0release notes

  • Adds lk_vat as a supported tax ID type for tax ID fields and creation parameters.

    20.4.0release notes

  • Adds display_name and service_user_number to Bacs debit mandate details.

    20.4.0release notes

  • Adds pay_by_bank as a supported invoice and subscription payment method type.

    20.4.0release notes

  • Adds transaction_purpose to US bank account payment method options.

    20.4.0release notes

  • Adds optional_items to payment link update parameters.

    20.4.0release notes

  • Adds support for the Reserve.Hold resource and its created and updated snapshot events.

    20.4.0release notes

  • Adds support for the Reserve.Plan resource and its created, disabled, expired, and updated snapshot events.

    20.4.0release notes

  • Adds support for the Reserve.Release resource and its created snapshot event.

    20.4.0release notes

  • Adds the storer_capability_missing error code to relevant payment and invoice errors.

    20.4.0release notes

  • Adds the storer_capability_not_active error code to relevant payment and invoice errors.

    20.4.0release notes

  • Adds payment_behavior to subscription item deletion parameters.

    20.4.0release notes

  • Adds lk as a supported country option.

    20.4.0release notes

  • Adds lk as a supported country option for registration creation.

    20.4.0release notes

  • Adds cellular and stripe_s710 configuration support.

    20.4.0release notes

  • Adds cellular and stripe_s710 configuration options.

    20.4.0release notes

  • Adds simulated_stripe_s710 and stripe_s710 device types.

    20.4.0release notes

  • Adds simulated_stripe_s710 and stripe_s710 device type filters.

    20.4.0release notes

  • Adds 2026-02-25.clover as a supported webhook endpoint API version.

    20.4.0release notes

  • Adds Reserve hold, plan, and release lifecycle events as selectable webhook events.

    20.4.0release notes

  • Adds enforce_arithmetic_validation to PaymentIntent capture, confirm, create, increment authorization, and update amount_details parameters.

    20.3.0release notes

  • Adds the risk_reserved enum value.

    20.3.0release notes

  • Adds the reserve_hold and reserve_release enum values.

    20.3.0release notes

  • Adds contact_phone to V2.Core account create, token create, update, and account types.

    20.3.0release notes

  • Adds the gb_vat enum value to business identity ID numbers on V2.Core account and account parameter types.

    20.3.0release notes

  • Adds the adyen enum value across iDEAL payment method, payment intent, confirmation token, attempt, and record types and parameters.

    20.3.0release notes

  • Adds the ADYBNL2A enum value across iDEAL charge, confirmation token, payment attempt, payment method, payment record, and setup attempt types.

    20.3.0release notes

  • Adds support for adjustable_quantity on LineItem.

    20.3.0release notes

  • Adds support for the error field on PaymentIntent amount_details.

    20.3.0release notes

  • Adds support for the Radar.PaymentEvaluation resource and its create method.

    20.3.0release notes

  • Adds the create method on the Radar.PaymentEvaluation resource.

    20.3.0release notes

  • Adds registration_date to business_details on V2.Core account, create, token create, and update types.

    20.3.0release notes

  • Adds the request_blocked error code to invoice, payment intent, setup attempt, setup intent, and StripeError error types.

    20.3.0release notes

  • Adds the pl_nip enum value to customer, invoice preview, and tax calculation tax ID creation parameters.

    20.3.0release notes

  • Adds the pl_nip enum value to customer tax ID types in checkout, invoice, tax calculation, tax transaction, and tax ID objects and parameters.

    20.3.0release notes

  • Adds enum values 2.3.0 and 2.3.1 across charge, payment intent, setup attempt, and setup intent types and parameters.

    20.3.0release notes

  • Adds support for topup on linked_flows.

    20.3.0release notes

  • Adds support for this event notification with related object V2.Core.Account.

    20.2.0release notes

  • Adds support for this event notification.

    20.2.0release notes

  • Adds support for this event notification with related object V2.Core.AccountPerson.

    20.2.0release notes

  • Adds the account_token_required_for_v2_account error code to invoice, payment intent, setup attempt, setup intent, and Stripe errors.

    20.1.0release notes

  • Adds allow_redisplay to PaymentMethodListParams.

    20.1.0release notes

  • Adds billing_cycle_anchor to subscription_update in billing portal configuration and its create and update parameters.

    20.1.0release notes

  • Adds customer_account support across billing, checkout, customer, invoice, payment, subscription, tax ID, and related APIs.

    20.1.0release notes

  • Adds expected_debit_date to bank debit payment details in charge, payment attempt, and payment record responses.

    20.1.0release notes

  • Adds invoice to customer balance transaction list parameters.

    20.1.0release notes

  • Adds line_items to checkout session update parameters.

    20.1.0release notes

  • Adds metadata to checkout session line items and LineItem.

    20.1.0release notes

  • Adds MLLENL2A as an allowed ideal BIC enum value.

    20.1.0release notes

  • Adds mollie as an allowed ideal bank enum value across payment-related types.

    20.1.0release notes

  • Adds authorization, description, issuer, network, installment, IIN, and stored credential details to card payment attempt records.

    20.1.0release notes

  • Adds authorization, description, issuer, network, installment, IIN, and stored credential details to card payment records.

    20.1.0release notes

  • Adds payto payment method support across payment details, options, data, configurations, and create and update parameters.

    20.1.0release notes

  • Adds payto as an allowed excluded payment method type for checkout, payment intents, and setup intents.

    20.1.0release notes

  • Adds payto as an allowed payment method data type for confirmation tokens, payment intents, and setup intents.

    20.1.0release notes

  • Adds payto as an allowed checkout session payment method type.

    20.1.0release notes

  • Adds payto as an allowed invoice and subscription payment method type.

    20.1.0release notes

  • Adds payto as an allowed payment method type for payment links.

    20.1.0release notes

  • Adds payto_payments to account capabilities and account create and update parameters.

    20.1.0release notes

  • Adds payto as an allowed payment method preview and payment method type.

    20.1.0release notes

  • Adds payto as an allowed customer payment method and payment method create and list type.

    20.1.0release notes

  • Adds related_customer_account to identity verification session create and list parameters and session responses.

    20.1.0release notes

  • Adds reported_by to PaymentRecord.

    20.1.0release notes

  • Adds signer to proof-of-registration and proof-of-ultimate-beneficial-ownership documents in account create and update parameters.

    20.1.0release notes

  • Adds subtotal to InvoiceLineItem.

    20.1.0release notes

  • Adds the resource with close, create, list, retrieve, and update methods.

    20.1.0release notes

  • Adds the resource, including a create method.

    20.1.0release notes

  • Adds the resource with create, delete, list, retrieve, and update methods.

    20.1.0release notes

  • Adds the resource with create and retrieve methods.

    20.1.0release notes

  • Adds 2025-12-15.clover and 2026-01-28.clover as allowed webhook endpoint API version values.

    20.1.0release notes

  • Adds support for payment_method_configuration on the payment method update feature.

    20.0.0release notesupgrade guide

  • Adds created support to CustomerListCustomerBalanceTransactionsParams and InvoicePaymentListParams.

    20.0.0upgrade guide

  • Adds support for the created parameter when listing customer balance transactions.

    20.0.0release notes

  • Adds two Financial Connections account-number events to the Event type enum.

    20.0.0release notes

  • Adds the account_numbers field to FinancialConnections.Account.

    20.0.0release notesupgrade guide

  • Adds the snapshot event type for account-number updates, using FinancialConnections.Account as its resource.

    20.0.0release notesupgrade guide

  • Adds this snapshot event with FinancialConnections.Account as its resource.

    20.0.0upgrade guide

  • Adds the snapshot event type for upcoming account-number expiry, using FinancialConnections.Account as its resource.

    20.0.0release notesupgrade guide

  • Adds the finom bank value across ideal payment method, confirmation, and payment parameter types.

    20.0.0release notesupgrade guide

  • Adds the FNOMNL22 value to ideal BIC enums.

    20.0.0release notesupgrade guide

  • Adds transaction_id to ideal payment method details on Charge, PaymentAttemptRecord, and PaymentRecord.

    20.0.0release notesupgrade guide

  • Adds support for the created parameter when listing invoice payments.

    20.0.0release notes

  • Adds support for fraud_risk in Issuing authorization test helper risk assessments.

    20.0.0release notesupgrade guide

  • Adds latest_fraud_warning to Issuing.Card.

    20.0.0release notesupgrade guide

  • Adds mb_way as a supported Refund.destination_details value.

    20.0.0upgrade guide

  • Adds hooks to PaymentIntent and its capture, confirm, create, increment authorization, and update parameters.

    20.0.0release notesupgrade guide

  • Adds mb_way and twint as supported refund destination details.

    20.0.0release notes

  • Adds the Tax.Association resource and its find method.

    20.0.0release notesupgrade guide

  • Adds the Terminal.OnboardingLink resource and its create method.

    20.0.0release notesupgrade guide

  • Adds twint as a supported Refund.destination_details value.

    20.0.0upgrade guide

  • Adds tokenized_account_number_deactivated as a blocked reason for US bank accounts.

    20.0.0release notesupgrade guide

  • Adds changes to V2.Core.Event.

    20.0.0release notesupgrade guide

  • Adds two Financial Connections account-number events as supported enabled events.

    20.0.0release notes

Behavior and default changes 8

  • Adds the Stripe-Request-Trigger header to requests.

    20.4.1release notes

  • Adds agent information to UserAgent.

    20.4.1release notes

  • The tax_id type now allows null.

    20.4.0release notes

  • The pinned API version changes to 2026-02-25.clover.

    20.4.0release notes

  • Makes customer optional on the listed billing, billing portal, customer session, invoice item, payment method attach, and subscription create parameters.

    20.1.0release notes

  • Makes transfer_data optional.

    20.1.0release notes

  • The pinned API version changes to 2025-12-15.clover.

    20.1.0release notes

  • Makes tax_code optional.

    20.1.0release notes

Fixes and other changes 2

  • Errors returned by the Stripe API on a V2 List call no longer crash Node with an UnhandledPromiseRejection.

    20.3.1release notes

  • Fixes content length calculations for multipart file uploads, addressing a reported file upload bug.

    20.1.2release notes

stripe 19136 changes

Breaking changes 27

  • The pinned API version changes to 2025-09-30.basil, affecting the API version used by the SDK.

    19.0.0upgrade guide

  • The saturday and sunday enum values are no longer supported.

    19.0.0upgrade guiderelease notes

  • Support for balance_report and payout_reconciliation_report is removed.

    19.0.0upgrade guide

  • Support for balance_report and payout_reconciliation_report is removed from AccountSession.components and AccountSessionCreateParams.components.

    19.0.0release notes

  • Releases are no longer tagged with the beta npm tag; latest, public-preview, or private-preview are used instead.

    19.0.0upgrade guiderelease notes

  • The coupon property is removed from Discount, PromotionCodeCreateParams, and PromotionCode; use the documented nested paths instead.

    19.0.0upgrade guide

  • Use this path for the coupon on Discount after the former coupon property is removed.

    19.0.0upgrade guiderelease notes

  • The context property changes from string to StripeContext.

    19.0.0upgrade guiderelease notes

  • Invoice.id is now required.

    19.0.0upgrade guiderelease notes

  • Support for iterations is removed from the listed invoice preview and subscription schedule phase parameters.

    19.0.0upgrade guiderelease notes

  • Support for Node versions below 16 is dropped.

    19.0.0upgrade guiderelease notes

  • Support for link and pay_by_bank is removed.

    19.0.0upgrade guiderelease notes

  • The coupon field is removed; use PromotionCode.coupon instead.

    19.0.0release notes

  • The coupon field is removed; use PromotionCodeCreateParams.promotion.coupon instead.

    19.0.0release notes

  • The SDK no longer removes the stripe-account header from v2 requests; if sending both headers, remove references to stripeAccount because context is preferred.

    19.0.0upgrade guide

  • The SDK no longer removes the stripe-context header from v1 requests; sending it together with stripe-account may cause server rejection.

    19.0.0upgrade guiderelease notes

  • The ThinEvent interface is removed; parseEventNotification returns Stripe.V2.EventNotification instead.

    19.0.0upgrade guiderelease notes

  • Event moves from Stripe.V2 to Stripe.V2.Core; update references to the new type namespace.

    19.0.0upgrade guiderelease notes

  • EventBase moves from Stripe.V2 to Stripe.V2.Core; update references to the new type namespace.

    19.0.0upgrade guiderelease notes

  • EventDestination moves from Stripe.V2 to Stripe.V2.Core; update references to the new type namespace.

    19.0.0upgrade guiderelease notes

  • RelatedObject moves from Stripe.V2.Events to Stripe.V2.Core.Events; update references to the new type namespace.

    19.0.0upgrade guiderelease notes

  • A union of possible event notifications replaces ThinEvent and provides more information at authoring and compile time.

    19.0.0upgrade guiderelease notes

  • Replaces parseThinEvent and returns a typed Stripe.V2.EventNotification union with event-fetching methods and, when applicable, related-object access.

    19.0.0upgrade guiderelease notes

  • This function is renamed to parseEventNotification; update callers to use the new name.

    19.0.0upgrade guiderelease notes

  • V2 delete methods now return V2DeletedObject containing the deleted object's id and type.

    19.0.0upgrade guide

  • Nullable properties on objects returned by v2 APIs change from null unions to optional properties.

    19.0.0upgrade guiderelease notes

  • The return type for v2 delete methods includes the id and a string representing the deleted object's type.

    19.0.0upgrade guiderelease notes

Deprecations 1

  • Node 16 support is deprecated and will be removed in the next scheduled major release.

    19.0.0release notes

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.

    19.3.0release notes

  • Adds support for the payment_record value to the InvoicePayment.payment.type enum.

    19.2.1release notes

  • Adds representative_declaration to company fields on Account and account creation and update parameters, and token account creation parameters.

    19.2.0release notes

  • Adds the BalanceSettingsUpdatedEvent snapshot event with a BalanceSettings resource.

    19.2.0release notes

  • Adds payment_method_configuration to the payment_method_update feature in billing portal configuration creation and updates.

    19.2.0release notes

  • Adds solana as a supported crypto network value.

    19.2.0release notes

  • Adds twint payment method options to Checkout Session objects and creation parameters.

    19.2.0release notes

  • Adds mb_way as an excluded payment method type.

    19.2.0release notes

  • Adds mb_way as a supported payment method type.

    19.2.0release notes

  • Adds payment_record_refund and type fields to refund entries on credit notes and related create and preview parameters.

    19.2.0release notes

  • Adds a type field to refund entries on credit notes and related create and preview parameters.

    19.2.0release notes

  • Adds the provider field to Customer.tax.

    19.2.0release notes

  • Adds custom as a supported payment method type in customer payment-method listing and PaymentMethod creation and listing parameters.

    19.2.0release notes

  • Adds customer_sheet and mobile_payment_element components to CustomerSession objects and creation parameters.

    19.2.0release notes

  • Adds balance_settings.updated and invoice.payment_attempt_required as event types.

    19.2.0release notes

  • Adds platform_terms_of_service as a supported file purpose.

    19.2.0release notes

  • Adds platform_terms_of_service as a supported file creation purpose.

    19.2.0release notes

  • Adds custom as a supported payment method type for invoice and subscription payment settings.

    19.2.0release notes

  • Adds payment_record support to invoice payment attachment, InvoicePayment.payment, and payment listing parameters.

    19.2.0release notes

  • Adds the InvoicePaymentAttemptRequiredEvent snapshot event with an Invoice resource.

    19.2.0release notes

  • Changes the payment type from the payment_intent literal to an enum accepting payment_intent or payment_record.

    19.2.0release notes

  • Adds the payment_intent_rate_limit_exceeded error code to invoice finalization, payment intent, setup attempt, setup intent, and Stripe errors.

    19.2.0release notes

  • Adds the PaymentAttemptRecord resource, with list and retrieve methods.

    19.2.0release notes

  • Adds the list method on PaymentAttemptRecord.

    19.2.0release notes

  • Adds the retrieve method on PaymentAttemptRecord.

    19.2.0release notes

  • Adds discount_amount, line_items, shipping, and tax to PaymentIntent.amount_details.

    19.2.0release notes

  • Adds the PaymentIntentAmountDetailsLineItem resource and its list method.

    19.2.0release notes

  • Adds a list method for PaymentIntentAmountDetailsLineItem.

    19.2.0release notes

  • Adds amount_details to PaymentIntent capture, confirm, create, incremental authorization, and update parameters.

    19.2.0release notes

  • Adds payment_details to PaymentIntent capture, confirm, create, incremental authorization, and update parameters, and PaymentIntent objects.

    19.2.0release notes

  • Adds name_collection to PaymentLink objects and create and update parameters.

    19.2.0release notes

  • Adds mb_way as a supported payment method type for PaymentLinks.

    19.2.0release notes

  • Adds custom as a supported payment method type for ConfirmationToken previews and PaymentMethod objects.

    19.2.0release notes

  • Adds crypto support to payment method configuration creation, updates, and objects, and to Refund.destination_details.

    19.2.0release notes

  • Adds mb_way support to payment method configuration creation, updates, and objects.

    19.2.0release notes

  • Adds custom support to PaymentMethod creation parameters and PaymentMethod objects.

    19.2.0release notes

  • Adds the PaymentRecord resource and its payment and refund reporting methods.

    19.2.0release notes

  • Adds the report_payment method on PaymentRecord.

    19.2.0release notes

  • Adds the report_payment_attempt method on PaymentRecord.

    19.2.0release notes

  • Adds the report_payment_attempt_canceled method on PaymentRecord.

    19.2.0release notes

  • Adds the report_payment_attempt_failed method on PaymentRecord.

    19.2.0release notes

  • Adds the report_payment_attempt_guaranteed method on PaymentRecord.

    19.2.0release notes

  • Adds the report_payment_attempt_informational method on PaymentRecord.

    19.2.0release notes

  • Adds the report_refund method on PaymentRecord.

    19.2.0release notes

  • Adds the retrieve method on PaymentRecord.

    19.2.0release notes

  • Adds excluded_payment_method_types to SetupIntent creation and update parameters and SetupIntent objects.

    19.2.0release notes

  • Adds tw country options to Tax.Registration and registration creation parameters.

    19.2.0release notes

  • Adds gip tipping support to Terminal.Configuration and its create and update parameters.

    19.2.0release notes

  • Adds the last_seen_at field to Terminal.Reader.

    19.2.0release notes

  • Adds gt, gte, lt, lte, and types filters to V2.Core.EventListParams, and makes object_id optional.

    19.2.0release notes

  • Adds 2025-10-29.clover as a supported webhook endpoint API version.

    19.2.0release notes

  • Adds balance_settings.updated and invoice.payment_attempt_required as enabled webhook event values.

    19.2.0release notes

  • Adds external_request and unsupported_business_type error codes across account, bank account, capability, and person future and current requirements.

    19.0.0release notes

  • Terminal location create, update, and returned types gain address_kana, address_kanji, display_name_kana, display_name_kanji, and phone.

    19.0.0upgrade guide

  • Terminal location create, update, and returned types gain address_kanji and related location fields.

    19.0.0upgrade guide

  • Checkout Session payment_method_options and its create parameters gain support for alma, billie, and satispay.

    19.0.0upgrade guide

  • A new resource is supported, with retrieve and update methods.

    19.0.0upgrade guiderelease notes

  • A retrieve method is available on the BalanceSettings resource.

    19.0.0upgrade guiderelease notes

  • An update method is available on the BalanceSettings resource.

    19.0.0upgrade guiderelease notes

  • Terminal configuration create, update, and returned configuration types gain bbpos_wisepad3.

    19.0.0upgrade guiderelease notes

  • Checkout Session and Checkout SessionCreateParams gain branding_settings.

    19.0.0upgrade guide

  • Customer and Checkout collected information and customer details gain business_name.

    19.0.0upgrade guide

  • Adds business_name and individual_name to Checkout customer information and Customer create, update, and resource fields.

    19.0.0release notes

  • Checkout Session payment method options gain capture_method for the listed payment methods and create parameters.

    19.0.0upgrade guiderelease notes

  • Dispute payment method details for Klarna gain chargeback_loss_reason_code.

    19.0.0upgrade guiderelease notes

  • Adds alma, billie, and satispay payment method options to Checkout sessions and their create parameters; demo_pay is added to create parameters.

    19.0.0release notes

  • Adds branding_settings and name_collection to Checkout Session and its create parameters.

    19.0.0release notes

  • Checkout SessionCreateParams.payment_method_options gains demo_pay.

    19.0.0upgrade guide

  • Terminal location create, update, and returned types gain display_name_kana and related location fields.

    19.0.0upgrade guide

  • Terminal location create, update, and returned types gain display_name_kanji and related location fields.

    19.0.0upgrade guide

  • The enum gains the prevented value.

    19.0.0upgrade guiderelease notes

  • This field is added to Checkout Session and its create parameters, as well as PaymentIntent confirm and update parameters.

    19.0.0upgrade guiderelease notes

  • This error code is added to the listed invoice, payment intent, setup attempt, setup intent, and StripeError error fields.

    19.0.0upgrade guide

  • This error code is added to the listed invoice, payment intent, setup attempt, setup intent, and StripeError error fields.

    19.0.0upgrade guide

  • Billing mode gains the flexible value across subscription, invoice preview, quote, and subscription schedule APIs.

    19.0.0upgrade guiderelease notes

  • Payment method configuration create and update parameters gain fr_meal_voucher_conecs.

    19.0.0upgrade guiderelease notes

  • Issuing.AuthorizationCreateParams.testHelpers gains fraud_disputability_likelihood and risk_assessment.

    19.0.0upgrade guide

  • Customer and Checkout collected information and customer details gain individual_name.

    19.0.0upgrade guide

  • Adds fraud_disputability_likelihood and risk_assessment to test helpers.

    19.0.0release notes

  • This capability is supported on account capabilities and account create and update parameters.

    19.0.0upgrade guiderelease notes

  • Adds mb_way as a supported type in payment-method data, previews, payment methods, and list parameter enums.

    19.0.0release notes

  • mb_way payment method support is added across payment method details, intents, setup intents, payment methods, and related parameter types and enums.

    19.0.0upgrade guiderelease notes

  • Checkout Session and Checkout SessionCreateParams gain name_collection.

    19.0.0upgrade guiderelease notes

  • InvoiceItem gains net_amount and proration_details.

    19.0.0upgrade guiderelease notes

  • Adds mb_way as an excluded payment method type on PaymentIntent and its create parameters.

    19.0.0release notes

  • Terminal location create, update, and returned types gain phone and related location fields.

    19.0.0upgrade guide

  • PromotionCodeCreateParams and PromotionCode gain promotion.

    19.0.0upgrade guiderelease notes

  • Use this path for the coupon on PromotionCode.

    19.0.0upgrade guide

  • Use this path for the coupon when creating a promotion code.

    19.0.0upgrade guide

  • Tax.Settings.defaults gains provider.

    19.0.0upgrade guiderelease notes

  • The enum gains acknowledged and payment_never_settled.

    19.0.0upgrade guiderelease notes

  • Issuing.Card gains second_line.

    19.0.0upgrade guiderelease notes

  • Discount gains support for source.

    19.0.0upgrade guiderelease notes

  • A class usable wherever the context option is supplied; it is serialized to a string when making requests.

    19.0.0upgrade guiderelease notes

  • 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.

    19.0.0release notes

  • Adds address_kana, address_kanji, display_name_kana, display_name_kanji, and phone to Terminal location create and update parameters and the resource.

    19.0.0release notes

  • Billing Portal subscription_update configuration gains trial_update_behavior on the object and its create and update parameters.

    19.0.0upgrade guiderelease notes

  • Product data in Checkout, invoice line items, and payment links gains unit_label.

    19.0.0upgrade guiderelease notes

  • Cast an unrecognized parsed event notification to this type to access relatedObject and fetchRelatedObject().

    19.0.0upgrade guiderelease notes

  • The enum gains the 2025-09-30.clover value.

    19.0.0upgrade guiderelease notes

Behavior and default changes 5

Fixes and other changes 3

  • Uses TextEncoder instead of Buffer to avoid Buffer.byteLength errors in some JavaScript runtime environments.

    19.3.1release notes

  • Correctly calculates content-length for JSON request bodies that contain unicode.

    19.2.1release notes

  • File uploading is fixed in runtimes using FetchHttpClient, including Bun.

    19.0.0upgrade guiderelease notes

stripe 1897 changes

Breaking changes 48

  • The pinned Stripe API version changes to 2025-03-31.basil.

    18.0.0upgrade guiderelease notes

  • Removes the deprecated AccountDebitSource type in favor of Account.

    18.0.0upgrade guide

  • Removes billing_thresholds support from the listed invoice preview, subscription, subscription item, and subscription schedule APIs.

    18.0.0upgrade guiderelease notes

  • Removes the deprecated type in favor of AccountListCapabilitiesParams.

    18.0.0upgrade guide

  • Support for the invoice field is removed from Charge and PaymentIntent.

    18.0.0release notes

  • The collected_information field becomes required.

    18.0.0upgrade guiderelease notes

  • The shipping_details field becomes required, and carrier, phone, and tracking_number are no longer supported; name and address are required.

    18.0.0upgrade guiderelease notes

  • collected_information.shipping_details is now required.

    18.0.0release notes

  • The shipping_details address is now required.

    18.0.0release notes

  • The shipping_details name is now required.

    18.0.0release notes

  • Support for shipping_details is removed from Checkout.Session.

    18.0.0release notes

  • Removes coupon support from the listed customer, invoice preview, subscription, and subscription schedule parameters.

    18.0.0upgrade guide

  • Adds refunds support to CreditNote and its create, preview, and line-item preview parameters; the refund field is removed.

    18.0.0upgrade guide

  • Support for refund is removed from the listed credit note parameters and resource.

    18.0.0release notes

  • tax_amounts is removed from CreditNoteLineItem, CreditNote, and InvoiceLineItem.

    18.0.0release notes

  • amount_excluding_tax is removed from CreditNoteLineItem and InvoiceLineItem.

    18.0.0release notes

  • unit_amount_excluding_tax is removed from CreditNoteLineItem and InvoiceLineItem.

    18.0.0release notes

  • coupon support is removed from the listed customer, invoice preview, and subscription parameters.

    18.0.0release notes

  • Removes discount support from Invoice and Subscription.

    18.0.0upgrade guiderelease notes

  • Removes listUpcomingLines and retrieveUpcoming methods from Invoice.

    18.0.0upgrade guide

  • Removes multiple legacy fields from Invoice, including subscription, payment_intent, charge, and tax-related fields.

    18.0.0upgrade guide

  • Adds total_taxes to Invoice and CreditNote, replacing the removed tax_amounts field.

    18.0.0upgrade guide

  • The listed fields are no longer supported on Invoice.

    18.0.0release notes

  • The listUpcomingLines method is no longer supported on Invoice.

    18.0.0release notes

  • The retrieveUpcoming method is no longer supported on Invoice.

    18.0.0release notes

  • plan and subscription_item support is removed from InvoiceItem and InvoiceLineItem.

    18.0.0release notes

  • subscription and unit_amount_decimal support is removed from InvoiceItem.

    18.0.0release notes

  • Adds pricing support to invoice item and invoice line APIs; the legacy price field is removed from the listed APIs.

    18.0.0upgrade guiderelease notes

  • unit_amount support is removed from the listed invoice item APIs.

    18.0.0release notes

  • Adds taxes to InvoiceLineItem and CreditNoteLineItem.

    18.0.0upgrade guide

  • The listed fields are no longer supported on InvoiceLineItem.

    18.0.0release notes

  • Removes the deprecated type in favor of InvoiceListLineItemsParams.

    18.0.0upgrade guide

  • Removes the deprecated type in favor of InvoiceUpdateLineItemParams.

    18.0.0upgrade guide

  • Removes naver_pay support from PaymentMethodUpdateParams.

    18.0.0upgrade guiderelease notes

  • The page parameter is removed from all V2 list method params; use the auto paginator or next_page_url and previous_page_url instead.

    18.0.0upgrade guiderelease notes

  • aggregate_usage support is removed from plans and recurring price fields.

    18.0.0release notes

  • Changes from string to the enum existing or none on Person, Token, and Token.CreateParams.

    18.0.0upgrade guiderelease notes

  • Removes price support from the listed invoice line and invoice item APIs; use pricing instead.

    18.0.0upgrade guiderelease notes

  • Removes promotion_code support from customer and subscription create and update parameters.

    18.0.0upgrade guiderelease notes

  • Stripe.webhooks and Stripe().webhooks are now plain objects rather than factory functions; call methods directly on the property.

    18.0.0upgrade guide

  • Call webhook methods directly on Stripe.webhooks rather than invoking it as a factory.

    18.0.0upgrade guide

  • current_period_end and current_period_start are removed from Subscription.

    18.0.0release notes

  • Adds current_period_end and current_period_start to SubscriptionItem; those fields are removed from Subscription.

    18.0.0upgrade guide

  • Removes createUsageRecord and listUsageRecordSummaries methods.

    18.0.0upgrade guide

  • The createUsageRecord method is no longer supported on SubscriptionItems.

    18.0.0release notes

  • The listUsageRecordSummaries method is no longer supported on SubscriptionItems.

    18.0.0release notes

  • Removes support for SubscriptionItemUsageRecord and SubscriptionItemUsageRecordSummary resources.

    18.0.0upgrade guiderelease notes

  • Support for this resource is removed.

    18.0.0release notes

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.

    18.0.0release notes

  • Adds four error code values across Account, AccountCapability, AccountPerson, and BankAccount requirement error enums.

    18.0.0release notes

  • Adds hosted_payment_method_save to Account invoice settings and AccountUpdateParams.

    18.0.0release notes

  • Adds invoices to AccountCreateParams.settings.

    18.0.0release notes

  • Adds stripe_balance_payment_debit_reversal and stripe_balance_payment_debit as transaction type values.

    18.0.0release notes

  • Adds last as a formula value for meter default aggregation.

    18.0.0release notes

  • Adds billie and satispay support across the listed payment method details, resources, and parameters.

    18.0.0release notes

  • Adds nz_bank_account support across the listed payment method resources and parameters.

    18.0.0release notes

  • Adds billie and satispay as supported payment method type values for Checkout Sessions.

    18.0.0upgrade guiderelease notes

  • Adds custom as a ui_mode value on Checkout.Session and its create parameters.

    18.0.0release notes

  • Adds shipping_options to Checkout Session update parameters.

    18.0.0upgrade guiderelease notes

  • Adds buyer_id to naver_pay details on ConfirmationToken, CustomerPaymentMethod, and PaymentMethod.

    18.0.0release notes

  • Adds billie, nz_bank_account, and satispay as payment method type values.

    18.0.0release notes

  • Adds total_taxes to CreditNote and Invoice.

    18.0.0release notes

  • Adds refunds to the listed credit note parameters and resource.

    18.0.0release notes

  • Adds taxes to CreditNoteLineItem and InvoiceLineItem.

    18.0.0release notes

  • Adds checkout_session to CustomerBalanceTransaction.

    18.0.0release notes

  • Adds checkout_session_subscription_payment_canceled and checkout_session_subscription_payment as transaction type values.

    18.0.0release notes

  • Adds billie, nz_bank_account, and satispay as payment method type values in the listed APIs.

    18.0.0release notes

  • Adds invoice.overpaid as an event type.

    18.0.0release notes

  • Adds amount_overpaid, confirmation_secret, and payments fields to Invoice.

    18.0.0upgrade guide

  • Adds amount_overpaid, confirmation_secret, and payments to Invoice.

    18.0.0release notes

  • Adds forwarding_api_retryable_upstream_error and setup_intent_mobile_wallet_unsupported enum values to the listed error-code enums.

    18.0.0upgrade guiderelease notes

  • Adds klarna and nz_bank_account as payment method type values for invoices and subscriptions.

    18.0.0upgrade guiderelease notes

  • Adds jurisdiction_level to the listed invoice tax rate data parameters.

    18.0.0release notes

  • Adds taxability_reason to the listed invoice line tax amount parameters.

    18.0.0release notes

  • Adds the parent field to InvoiceItem, InvoiceLineItem, and Invoice.

    18.0.0upgrade guiderelease notes

  • Adds the InvoicePayment resource with list and retrieve methods.

    18.0.0upgrade guiderelease notes

  • Adds list and retrieve methods for the InvoicePayment resource.

    18.0.0upgrade guiderelease notes

  • A retrieve method is added to InvoicePayment.

    18.0.0release notes

  • Adds network_fallback as an authorization request history reason.

    18.0.0release notes

  • Adds expired as a status value for Issuing.Authorization and its list parameters.

    18.0.0release notes

  • Adds naver_pay to Mandate and SetupAttempt payment method details.

    18.0.0release notes

  • Adds optional_items support to Checkout Sessions and Payment Links.

    18.0.0upgrade guiderelease notes

  • Adds expired as a cancellation reason.

    18.0.0release notes

  • Adds setup_future_usage to naver_pay options on PaymentIntent and its confirm, create, and update parameters.

    18.0.0release notes

  • Adds billie, nz_bank_account, and satispay as payment method data type values for the listed intent parameters.

    18.0.0release notes

  • Adds default_value to dropdown, numeric, and text custom fields across PaymentLink resources and parameters.

    18.0.0release notes

  • Adds billie and satispay as PaymentLink payment method type values.

    18.0.0release notes

  • Adds nz_bank_account payment-method support across PaymentMethod, PaymentIntent, SetupIntent, mandates, and related parameters.

    18.0.0upgrade guide

  • Adds permissions support to Checkout Session creation params and Session objects.

    18.0.0upgrade guiderelease notes

  • Adds presentment_details to Charge, Checkout.Session, PaymentIntent, and Refund.

    18.0.0upgrade guiderelease notes

  • Adds nz_bank_transfer to Refund destination details.

    18.0.0release notes

  • Adds canceled as a closed reason value.

    18.0.0release notes

  • Adds current_period_end and current_period_start to SubscriptionItem.

    18.0.0release notes

  • Adds wifi to Terminal.Configuration and its create and update parameters.

    18.0.0release notes

  • Adds 2025-03-01.dashboard and 2025-03-31.basil as webhook endpoint API version values.

    18.0.0release notes

  • Adds invoice.overpaid as an enabled event value for webhook endpoint create and update parameters.

    18.0.0upgrade guiderelease notes

Behavior and default changes 1

stripe 1721 changes

Breaking changes 9

  • The filter field is no longer supported; use the filters on usage_threshold instead.

    17.0.0upgrade guiderelease notes

  • The filter parameter is no longer supported; use the filters on usage_threshold instead.

    17.0.0upgrade guiderelease notes

  • Rename usage_threshold_config to usage_threshold.

    17.0.0upgrade guiderelease notes

  • The default maximum retries for HTTP requests increases from 1 to 2; the old default can be restored by setting it explicitly.

    17.0.0upgrade guiderelease notes

  • The default maximum timeout for HTTP requests increases from 2 to 5 seconds; the old default can be restored by setting it explicitly.

    17.0.0upgrade guiderelease notes

  • The parseSnapshotEvent method is removed.

    17.0.0upgrade guide

  • The pinned API version changes to 2024-09-30.acacia; review the Stripe API changes before upgrading.

    17.0.0release notes

  • The pinned API version changes to 2024-09-30.acacia; review the API changes before upgrading.

    17.0.0upgrade guide

  • Support for customer_consent_collected is removed.

    17.0.0upgrade guiderelease notes

New APIs and options 10

Behavior and default changes 2

stripe 1615 changes

Breaking changes 5

New APIs and options 9

  • The tax ID type enums add ch_uid across Checkout, Invoice, Tax, Customer, and TaxId types and parameters.

    16.0.0upgrade guiderelease notes

  • Issuing authorization and transaction purchase details add support for fleet.

    16.0.0upgrade guide

  • Adds fleet purchase details support to authorization, transaction, force-capture, and unlinked-refund APIs.

    16.0.0release notes

  • Issuing authorization creation test helpers and Authorization add support for fuel.

    16.0.0upgrade guiderelease notes

  • This fuel field is added to the listed Issuing authorization and transaction purchase details.

    16.0.0upgrade guide

  • Adds industry_product_code to fuel purchase details for authorization capture, transactions, force captures, and unlinked refunds.

    16.0.0release notes

  • The reason enum adds card_canceled, card_expired, cardholder_blocked, insecure_authorization_method, and pin_blocked.

    16.0.0upgrade guiderelease notes

  • The fuel unit enum adds charging_minute, imperial_gallon, kilogram, kilowatt_hour, and pound.

    16.0.0upgrade guiderelease notes

  • The api_version enum adds 2024-06-20.

    16.0.0upgrade guiderelease notes

Tooling 1

stripe 1540 changes

Breaking changes 40

stripe 145 changes

Breaking changes 1

  • The pinned API version changes to 2023-10-16; review the API changes before upgrading the stripe package.

    14.0.0upgrade guiderelease notes

New APIs and options 4

stripe 1332 changes

Breaking changes 28

New APIs and options 3

Behavior and default changes 1

  • The default behavior now performs 1 reattempt on retryable request failures; previously the default was 0.

    13.0.0upgrade guide

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.

    12.0.0release notes

  • The default API version changed to 2022-11-15, which may affect the behavior of Stripe API requests.

    11.0.0, 12.0.0release notesupgrade guide

  • Removed Stripe.default, which was retained for backwards compatibility during the transition to a dual ES module / CommonJS package.

    12.0.0upgrade guiderelease notes

  • Removed Stripe.Stripe, which was retained for backwards compatibility during the transition to a dual ES module / CommonJS package.

    12.0.0upgrade guiderelease notes

stripe 1115 changes

Breaking changes 15

  • The deprecated field is removed from Checkout.Session.LineItem.

    11.0.0upgrade guide

  • The deprecated option name is removed; use apiKey instead.

    11.0.0upgrade guide

  • Deprecated basic method definitions are removed; define basic methods on the resource instead.

    11.0.0upgrade guide

  • The PaymentIntent field is removed and replaced by latest_charge.

    11.0.0upgrade guide

  • The deprecated subscription_data.items parameter is removed.

    11.0.0upgrade guide

  • The deprecated option name is removed; use idempotencyKey instead.

    11.0.0upgrade guide

  • The PaymentIntent field replaces the removed charges field.

    11.0.0upgrade guide

  • Node.js 8 and 10 are no longer supported; Node.js 12+ is supported.

    11.0.0upgrade guide

  • The Orders resource is removed.

    11.0.0upgrade guide

  • The deprecated configuration setter is removed; set the option through the config object instead.

    11.0.0upgrade guide

  • The SKU resource is removed.

    11.0.0upgrade guide

  • The deprecated option name is removed; use stripeAccount instead.

    11.0.0upgrade guide

  • The deprecated option name is removed; use apiVersion instead.

    11.0.0upgrade guide

  • The error exposes header and payload instead of detail; access them as err.header and err.payload.

    11.0.0upgrade guide

  • Support for this property is removed from Paynow payment method options; it was mistakenly released and never worked.

    11.0.0upgrade guide

stripe 1030 changes

Breaking changes 24

  • The property type is now nullable.

    10.0.0upgrade guide

  • The definition was removed.

    10.0.0upgrade guide

  • The recipient property was removed from Card.

    10.0.0upgrade guide

  • The currency property type changed from string to 'cad' | 'usd'.

    10.0.0upgrade guide

  • The TypeScript definition moved from CreditNoteLineItems.d.ts to CreditNotes.d.ts.

    10.0.0upgrade guide

  • The property type is now nullable.

    10.0.0upgrade guide

  • AlipayAccount and BitcoinReceiver were removed as possible CustomerSource values.

    10.0.0upgrade guide

  • The default API version changed to 2022-08-01.

    10.0.0upgrade guiderelease notes

  • The method was renamed to listUpcomingLines.

    10.0.0upgrade guide

  • Renamed to InvoiceListUpcomingLinesParams.

    10.0.0upgrade guide

  • This is the new name for InvoiceLineItemListUpcomingParams and InvoiceRetrieveUpcomingParams.

    10.0.0upgrade guide

  • The definition was removed.

    10.0.0upgrade guide

  • Renamed to InvoiceListUpcomingLinesParams.

    10.0.0upgrade guide

  • The definition was removed.

    10.0.0upgrade guide

  • The resource was removed.

    10.0.0upgrade guide

  • The unsupported retrieveDetails method was removed.

    10.0.0upgrade guide

  • The definition was removed.

    10.0.0upgrade guide

  • The unused interface was removed.

    10.0.0upgrade guide

  • The no-longer-supported redirect_url property was removed.

    10.0.0upgrade guide

  • The deprecated event was removed.

    10.0.0upgrade guide

  • Stripe.DeletedAlipayAccount and Stripe.DeletedBitcoinReceiver are no longer possible source values.

    10.0.0upgrade guide

  • The resource was removed.

    10.0.0upgrade guide

  • The deprecated error definition was removed.

    10.0.0upgrade guide

  • The webhook event constant was removed; use treasury.received_credit.returned instead.

    10.0.0upgrade guide

New APIs and options 3

  • The enum now supports the invalid_tos_acceptance value.

    10.0.0upgrade guide

  • Checkout.Session now supports the shipping_cost property.

    10.0.0upgrade guide

  • Checkout.Session now supports the shipping_details property.

    10.0.0upgrade guide

Behavior and default changes 2

Tooling 1

  • The TypeScript definition moved from CreditNoteLineItems.d.ts to CreditNotes.d.ts.

    10.0.0upgrade guide

stripe 915 changes

Breaking changes 7

New APIs and options 7

Fixes and other changes 1