Releases of stripe
603 stable releases, newest first. Release notes are kept for the last 90 days; older ones link to where they were published.
23.0.0
1 October 2026This release changes the pinned API version to
2026-09-30.endive.Support
EventNotifications with singleton related objectsAllow suppressing Stripe notices
Set the
STRIPE_SUPPRESS_NOTICESenvironment variable totrueto suppress Stripe notices in test and sandbox environments when not running under a detected AI agent. Notices remain enabled by default and continue to be shown to AI agents.Fix account scoping for
EventNotificationHandlercallback clientsFix callback clients to use the event's Stripe context and preserve client telemetry.
Fix 400 errors when using an
EventNotificationHandlerwith aStripeClientconfigured withstripeAccount.
22.6.2
9 September 2026Validate that webhook secrets are non-empty
22.6.1
1 September 2026Use cryptographically secure boundaries for multipart file uploads
update OtherString docstring
Fix request coercion for GET and DELETE parameters
Fixes serialization of schema-coerced values, including
Decimal, in GET and DELETE query parameters.
Harden API requestor code against malicious URLs
22.6.0
27 August 2026This release changes the pinned API version to 2026-08-26.dahlia.
Add discriminatedUnion kind to V2RuntimeSchema coercion
Adds runtime support for coercing int64/decimal fields within discriminated union variants in V2 API requests and responses.
⚠️ Throws when serializing a discriminated union parameter whose discriminator is missing or is not a string. This avoids skipping coercion entirely which could silently truncate
int64fields aboveNumber.MAX_SAFE_INTEGER.
Add new
EventNotificationHandlerclass for better thin event managementWe've been putting a lot of time into rethinking the event handling experience in the SDKs. This new class is the culmination of that effort.
They're designed for a tight coupling with both
StripeClientand the fully-typed nature of thin events. This delivers painless event destination upgrades, in-editor checks for common mistakes, and better code modularity.Now that we've released thin event notifications for v1 objects, these new handlers are our recommended path for all integrations using thin event notifications.
See more detailed docs here: docs.stripe.com/webhooks/event-notification-han…
correctly throw connection errors if the server drops while sending the HTTP response body
This change results in new exceptions being thrown instead of hanging indefinitely
in an effort to make this change backwards compatible, it doesn't affect a case that was already throwing an error: if the stripe API sends invalid JSON, we were treating it as an API error instead of a connection error.
In the next major version, we'll change the exception thrown from
StripeAPIErrortoStripeConnectionErrorand document it accordingly.
22.5.0
10 August 2026Emit Claude Code plugin hint at module load time
Emits new Claude Code plugin hint when
CLAUDECODEorCLAUDE_CODE_CHILD_SESSIONenvironment variables are detected.
add/adjust event parsing helpers
Added methods that return their respective
Event/EventNotificationobjects without verifying authenticity. Use them when you've previously verified an event (e.g. you verified, put the event in a queue, and are now processing). Supports events from AWS EventBridge and Azure Event Grid natively.stripe.webhooks.constructEventWithoutVerification(payload)stripe.constructEventWithoutVerification(payload)stripe.parseEventNotificationWithoutVerification(payload)
Add
stripe.major_api_versionconstant
22.4.0
29 July 2026This release changes the pinned API version to 2026-07-29.dahlia.
Update generated code
Add support for new resource
FinancialConnections.AuthorizationAdd support for
unrejectmethod on resourceAccountAdd support for
listmethod on resourcePaymentRecordAdd support for
administrative_addressandprincipal_place_of_businessonAccount.company,AccountCreateParams.company,AccountUpdateParams.company, andTokenCreateParams.account.companyAdd support for
sepa_debit_paymentsonAccountUpdateParams.settingsRemove support for
proof_of_registrationonAccountCreateParams.documents. This field was limited-use and is being deprecated.Add support for
payouts_actiononAccountRejectParamsAdd support for new values
mass_transit_parking_taxandparking_taxon enumsTax.Calculation.shipping_cost.tax_breakdown.tax_rate_details.tax_type,Tax.Calculation.tax_breakdown.tax_rate_details.tax_type,Tax.CalculationLineItem.tax_breakdown.tax_rate_details.tax_type, andTax.Transaction.shipping_cost.tax_breakdown.tax_rate_details.tax_typeAdd support for new value
chapson enumsFundingInstructions.bank_transfer.financial_addresses.supported_networksandPaymentIntent.next_action.display_bank_transfer_instructions.financial_addresses.supported_networksAdd support for
smart_disputes_managementonAccountSession.components.disputes_list.features,AccountSession.components.payment_details.features,AccountSession.components.payment_disputes.features,AccountSession.components.payments.features,AccountSessionCreateParams.components.disputes_list.features,AccountSessionCreateParams.components.payment_details.features,AccountSessionCreateParams.components.payment_disputes.features, andAccountSessionCreateParams.components.payments.featuresAdd support for new value
data_share_onlyon enumsCharge.payment_method_details.card.three_d_secure.result,PaymentAttemptRecord.payment_method_details.card.three_d_secure.result,PaymentRecord.payment_method_details.card.three_d_secure.result, andSetupAttempt.payment_method_details.card.three_d_secure.resultAdd support for new values
bnp_paribas,citibank, andmbsb_bankon enumsCharge.payment_method_details.fpx.bank,ConfirmationToken.payment_method_preview.fpx.bank,PaymentAttemptRecord.payment_method_details.fpx.bank,PaymentMethod.fpx.bank, andPaymentRecord.payment_method_details.fpx.bankRemove support for
dynamic_tax_ratesonCheckout.SessionCreateParams.line_items. This field was limited-use and is being deprecated.Add support for
setup_future_usageonCheckout.Session.payment_method_options.payco,Checkout.Session.payment_method_options.samsung_pay,Checkout.SessionCreateParams.payment_method_options.payco,Checkout.SessionCreateParams.payment_method_options.samsung_pay,PaymentIntent.payment_method_options.payco,PaymentIntent.payment_method_options.samsung_pay,PaymentIntentConfirmParams.payment_method_options.payco,PaymentIntentConfirmParams.payment_method_options.samsung_pay,PaymentIntentCreateParams.payment_method_options.payco,PaymentIntentCreateParams.payment_method_options.samsung_pay,PaymentIntentUpdateParams.payment_method_options.payco,PaymentIntentUpdateParams.payment_method_options.samsung_pay, andPaymentLinkUpdateParams.payment_intent_dataAdd support for new value
ic_nifon enumsCheckout.Session.customer_details.tax_ids.type,Invoice.customer_tax_ids.type,Tax.Calculation.customer_details.tax_ids.type,Tax.Transaction.customer_details.tax_ids.type, andTaxId.typeAdd support for new values
bnp_paribas,citibank, andmbsb_bankon enumsConfirmationTokenCreateParams.testHelpers.payment_method_data.fpx.bank,PaymentIntentConfirmParams.payment_method_data.fpx.bank,PaymentIntentCreateParams.payment_method_data.fpx.bank,PaymentIntentUpdateParams.payment_method_data.fpx.bank,PaymentMethodCreateParams.fpx.bank,SetupIntentConfirmParams.payment_method_data.fpx.bank,SetupIntentCreateParams.payment_method_data.fpx.bank, andSetupIntentUpdateParams.payment_method_data.fpx.bankAdd support for new value
ic_nifon enumsCustomerCreateParams.tax_id_data.type,CustomerCreateTaxIdParams.type,InvoiceCreatePreviewParams.customer_details.tax_ids.type,Tax.CalculationCreateParams.customer_details.tax_ids.type, andTaxIdCreateParams.typeAdd support for
networkonDispute.payment_method_details.cardAdd support for new values
financial_connections.account.expected_deactivation_date_updated,financial_connections.account.supported_payment_method_types_updated,financial_connections.account.upcoming_deactivation,financial_connections.authorization.expected_deactivation_date_updated, andfinancial_connections.authorization.upcoming_deactivationon enumEvent.typeAdd support for
limitsandmanual_entryonFinancialConnections.SessionCreateParamsandFinancialConnections.SessionAdd support for
require_payment_method_supportonFinancialConnections.Session.filtersandFinancialConnections.SessionCreateParams.filtersAdd support for
bank_account_tokenonFinancialConnections.SessionAdd support for new values
alipayandmb_wayon enumsInvoice.payment_settings.payment_method_types,InvoiceCreateParams.payment_settings.payment_method_types,InvoiceUpdateParams.payment_settings.payment_method_types,Subscription.payment_settings.payment_method_types,SubscriptionCreateParams.payment_settings.payment_method_types, andSubscriptionUpdateParams.payment_settings.payment_method_typesAdd support for new values
mass_transit_parking_taxandparking_taxon enumsInvoiceAddLinesParams.lines.tax_amounts.tax_rate_data.tax_type,InvoiceLineItemUpdateParams.tax_amounts.tax_rate_data.tax_type,InvoiceUpdateLinesParams.lines.tax_amounts.tax_rate_data.tax_type,TaxRate.tax_type,TaxRateCreateParams.tax_type, andTaxRateUpdateParams.tax_typeAdd support for
metadataonInvoiceCreatePreviewParams.subscription_detailsAdd support for new value
stripe_internal_erroron enumIssuing.Authorization.request_history.reasonAdd support for
business_nameonIssuing.Card.shipping,Issuing.CardCreateParams.shipping, andIssuing.CardUpdateParams.shippingAdd support for new value
correoson enumIssuing.Card.shipping.carrierAdd support for
allowed_payment_method_typesonPaymentIntentConfirmParams,PaymentIntentCreateParams,PaymentIntentUpdateParams,PaymentIntent,SetupIntentConfirmParams,SetupIntentCreateParams,SetupIntentUpdateParams, andSetupIntentAdd support for
referreronPaymentIntentConfirmParams.radar_optionsandPaymentIntentCreateParams.radar_optionsAdd support for
consent_collectionandshipping_optionsonPaymentLinkUpdateParamsAdd support for
custom_fields,description, andfooteronQuote.invoice_settings,QuoteCreateParams.invoice_settings,QuoteUpdateParams.invoice_settings,SubscriptionSchedule.default_settings.invoice_settings,SubscriptionSchedule.phases.invoice_settings,SubscriptionScheduleCreateParams.default_settings.invoice_settings,SubscriptionScheduleCreateParams.phases.invoice_settings,SubscriptionScheduleUpdateParams.default_settings.invoice_settings, andSubscriptionScheduleUpdateParams.phases.invoice_settingsAdd support for
customer_accountandcustomeronRefundAdd support for
payment_methodonRefundandTopupAdd support for
trialonSubscriptionSchedule.phasesAdd support for
mass_transit_parking_taxandparking_taxonTax.Registration.country_options.usandTax.RegistrationCreateParams.country_options.usAdd support for new values
mass_transit_parking_taxandparking_taxon enumTax.RegistrationCreateParams.country_options.us.typeAdd support for new values
mass_transit_parking_taxandparking_taxon enumTax.Registration.country_options.us.typeAdd support for
initiated_byandpayment_method_optionsonTopupAdd support for new values
financial_connections.account.expected_deactivation_date_updated,financial_connections.account.supported_payment_method_types_updated,financial_connections.account.upcoming_deactivation,financial_connections.authorization.expected_deactivation_date_updated, andfinancial_connections.authorization.upcoming_deactivationon enumsWebhookEndpointCreateParams.enabled_eventsandWebhookEndpointUpdateParams.enabled_eventsAdd support for new value
2026-07-29.dahliaon enumWebhookEndpointCreateParams.api_versionAdd support for
additional_addressesonV2.Core.Account.identity.business_details,V2.Core.AccountCreateParams.identity.business_details,V2.Core.AccountTokenCreateParams.identity.business_details, andV2.Core.AccountUpdateParams.identity.business_detailsAdd support for snapshot events
FinancialConnectionsAccountExpectedDeactivationDateUpdatedEvent,FinancialConnectionsAccountSupportedPaymentMethodTypesUpdatedEvent, andFinancialConnectionsAccountUpcomingDeactivationEventwith resourceFinancialConnections.AccountAdd support for snapshot events
FinancialConnectionsAuthorizationExpectedDeactivationDateUpdatedEventandFinancialConnectionsAuthorizationUpcomingDeactivationEventwith resourceFinancialConnections.Authorization
Adds shared OtherString type to better annotate non-exhaustive enums
22.3.2
16 July 202622.3.1
9 July 202622.3.0
24 June 202622.2.3
22 June 202622.2.2
18 June 202622.2.1
12 June 202622.2.0
27 May 202622.1.1
6 May 202622.1.0
24 April 202622.0.2
16 April 202622.0.1
8 April 202622.0.0
3 April 202621.0.1
26 March 202621.0.0
26 March 202620.4.1
6 March 202620.4.0
25 February 202620.3.1
5 February 202620.3.0
28 January 202620.2.0
16 January 202620.1.2
7 January 202620.1.1
6 January 202620.1.0
16 December 202520.0.0
18 November 202519.3.1
12 November 202519.3.0
5 November 202519.2.1
4 November 202519.2.0
29 October 202519.1.0
3 October 202519.0.0
30 September 202518.5.0
27 August 202518.4.0
30 July 202518.3.0
1 July 202518.2.1
2 June 202518.2.0
28 May 202518.1.1
19 May 202518.1.0
30 April 202518.0.0
1 April 202517.7.0
24 February 202517.6.0
27 January 202517.5.0
18 December 202417.4.0
20 November 202417.3.1
1 November 202417.3.0
29 October 202417.2.1
18 October 2024