pypi / stripe
stripe
What changed in stripe 15 to 16, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-20.
13 breaking2 security44 new APIs and options4 behavior and defaults2 fixes and other
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli initstripe 1633 changes
Breaking changes 10
The parameter type changes from
stringto an enum.The field type changes from
stringtoexpandable($Mandate).Removes support for
countriesfrom the session filter and its creation parameters.Removes support for this parameter on PaymentIntent, SetupIntent, and Checkout session creation or modification parameters.
Removes support for
paytoon PaymentMethod modification parameters.On resource methods supporting both classmethod and instance-method call styles, path parameters must be passed positionally rather than by keyword.
Path parameters must be passed positionally to service methods; keyword passing is no longer supported. Resource methods are unaffected except for methods supporting both class and instance call styles.
The resource class is renamed to
stripe.TransferReversal; update references and type annotations.The
stripe.Reversalresource class is renamed; update references and type annotations to usestripe.TransferReversal.The deprecated method is removed; use
StripeClient.raw_requestfor custom API requests.
New APIs and options 20
Adds the
apps.Installresource withcreate,list,modify,retrieve, anduninstallmethods.Snapshot events apps.install.created, apps.install.deleted, and apps.install.updated are now supported for apps.Install.
The account requirement capability enums now support blik_recurring_payments and satispay_payments.
Adds
allowed_payment_method_typesto Checkout session objects and creation parameters.Several error codes are now supported on Invoice.LastFinalizationError, PaymentIntent.LastPaymentError, SetupAttempt.SetupError, SetupIntent.LastSetupError, StripeError, and Terminal.Reader.Action.ApiError.
Adds the
countryfilter field.Adds the
payment_recordfield to PaymentIntent.Adds
mandate_optionsto Blik payment method options and the corresponding PaymentIntent parameter types.The Payment Link payment method type enums now accept
paypayandsequra.Adds the
product_catalog.TrialOfferresource withcreate,list,modify, andretrievemethods.Set this environment variable to
trueto 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.Adds the
pausemethod on theSubscriptionresource.Adds
pause_schedulesto subscription schedule creation, modification, and resource objects.Adds the
tax.Locationresource withcreate,list, andretrievemethods.Adds the
requirementsfield to TaxCode.Adds the
three_d_secure.Authenticationresource withcancel,create,list,retrieve, andsubmitmethods.The account capability status updated event now supports blik_recurring_payments, satispay_payments, and sequra_payments.
Support was added for the V1 event notification types listed in the release notes, covering account, billing, payments, subscriptions, and other Stripe resources.
V2.Core.Event now supports snapshot_event.
The enum now accepts
2026-09-30.endive.
Behavior and default changes 2
The pinned API version changes to 2026-09-30.endive.
Event notifications now support singleton related objects.
Fixes and other changes 1
Callback clients use the event's Stripe context while preserving the original client's non-account configuration, fixing API errors when the client is configured with a Stripe account.
stripe 1532 changes
Breaking changes 3
Removes support for cryptogram from the three_d_secure details of PaymentAttemptRecord and PaymentRecord.
Changes PaymentIntent.allowed_payment_method_types to be required.
Changes SetupIntent.allowed_payment_method_types to be required.
Security 2
Hardened API requestor code against malicious URLs.
Uses cryptographically secure boundaries for multipart file uploads.
New APIs and options 24
Adds active_entitlements to CustomerSession.Component and CustomerSessionCreateParamsComponent.
Adds authentication_failure as a supported error code on invoice, payment, setup, Stripe, and Terminal error types.
Adds billie as a payment method option and payment_method_types value for invoices and subscriptions.
Adds the billing.FeedbackOption resource and its create, deactivate, list, modify, and retrieve methods.
Adds capability_not_active as a supported error code on invoice, payment, setup, Stripe, and Terminal error types.
Adds country to FinancialConnections.Session.Filter.
Adds customer_portal to CustomerSession.Component and CustomerSessionCreateParamsComponent.
Adds customer_update as a flow type value and to BillingPortal.Session.Flow.
Adds a handler class for thin event notifications, designed to work with StripeClient and typed thin events.
Adds expired_payment_method as a supported error code on invoice, payment, setup, Stripe, and Terminal error types.
Adds feedback_option to subscription cancellation detail and its cancel and modify parameters.
Adds feedback_options to billing portal subscription cancellation reason types.
Adds frozen_fields to InvoiceItem.
Adds funding_source_group to Link payment method details on Charge.
Adds funding_types_blocked to Checkout card payment method restrictions and create parameters.
Adds igic to the listed Tax.Registration.CountryOption country types and their registration create parameters.
Adds incorrect_postal_code as a supported error code on invoice, payment, setup, Stripe, and Terminal error types.
Adds invalid_canceled_subscription_fields as a supported error code on invoice, payment, setup, Stripe, and Terminal error types.
Adds metadata to ConfirmationToken.
Adds payment_method_restricted as a supported error code on invoice, payment, setup, Stripe, and Terminal error types.
Adds payment_method_settings to AccountSession.Component and AccountSessionCreateParamsComponent.
Adds application_fee_amount, application_fee_percent, on_behalf_of, and transfer_data to PaymentLinkModifyParams.
Adds touch_n_go as an allowed payment method type for PaymentIntent and SetupIntent.
Adds 2026-08-26.dahlia as a supported api_version enum value.
Behavior and default changes 2
The pinned API version changes to 2026-08-26.dahlia.
Some webhook-related methods accept wider types to work better with types commonly returned by popular web frameworks.
Fixes and other changes 1
Dispatches discriminated union fields to their variant class.