unstale

pypi / stripe

stripe

What changed in stripe 4 to 17, from its official release notes, upgrade guides and advisories. Sources checked 2026-11-30.

54 breaking6 security3 deprecations360 new APIs and options2 performance35 behavior and defaults1 tooling15 fixes and other

See which of these apply to your code, ranked, in your agent:

npx @unstale/cli init

@unstale/cli on npm

stripe 1771 changes

Breaking changes 7

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

    17.1.0release notes

  • The appeal field is now required.

    17.1.0release notes

  • The delivered_at field is now required.

    17.1.0release notes

  • The shipped_at field is now required.

    17.1.0release notes

  • The stored_credential_usage field is now required.

    17.1.0release notes

  • Rejects header values containing CR, LF or NUL.

    17.0.0release notes

  • Pickles no longer preserve API keys; call reattach_api_key(api_key) before making requests through an unpickled object. This also reattaches keys to nested objects.

    17.0.0release notes

Deprecations 2

  • httpx support for async use is deprecated and will be removed in the next major version; installing httpx2 is recommended.

    17.1.0release notes

  • Sends request bodies as content= instead of data= to avoid httpx's deprecation warning.

    17.1.0release notes

New APIs and options 55

  • Adds support for funding_sources.

    17.1.0release notes

  • Adds tron as a supported network value.

    17.1.0release notes

  • Adds support for fingerprint.

    17.1.0release notes

  • Adds support for address_collection_precision.

    17.1.0release notes

  • Adds address_collection_precision to session creation parameters.

    17.1.0release notes

  • Adds billie_payments, mb_way_payments, nz_bank_account_becs_debit_payments, paypay_payments, and pix_payments as supported updated capability values.

    17.1.0release notes

  • Adds support for this error code on invoice, payment intent, setup, Stripe, and terminal API error types.

    17.1.0release notes

  • Adds support for car_rental_data.

    17.1.0release notes

  • Adds support for lodging_data.

    17.1.0release notes

  • Adds support for car_rental_data and lodging_data in capture parameters.

    17.1.0release notes

  • Adds support for car_rental_data and lodging_data in confirmation parameters.

    17.1.0release notes

  • Adds support for car_rental_data and lodging_data in creation parameters.

    17.1.0release notes

  • Adds support for car_rental_data and lodging_data in modification parameters.

    17.1.0release notes

  • Adds support for capture_method in modification parameters.

    17.1.0release notes

  • Adds support for loss_message.

    17.1.0release notes

  • Adds support for loss_message in product creation parameters.

    17.1.0release notes

  • Adds support for loss_message in product modification parameters.

    17.1.0release notes

  • Adds a keyword-only connection timeout argument in whole seconds, defaulting to 30 seconds.

    17.1.0release notes

  • Adds a keyword-only total request timeout argument in whole seconds, defaulting to 80 seconds.

    17.1.0release notes

  • Adds support for application.

    17.1.0release notes

  • Adds support for bizum and upi destination details.

    17.1.0release notes

  • Adds support for tax_invoice_month.

    17.1.0release notes

  • Adds tax_invoice_month to report run creation parameters.

    17.1.0release notes

  • Adds support for igic.

    17.1.0release notes

  • Adds igic as a supported type value.

    17.1.0release notes

  • Adds support for igic in registration creation parameters.

    17.1.0release notes

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

    17.1.0release notes

  • Adds support for network_details.

    17.1.0release notes

  • Adds network_details to inbound transfer failure parameters.

    17.1.0release notes

  • Adds support for failure_details.

    17.1.0release notes

  • Adds support for billie_payments, mb_way_payments, nz_bank_account_becs_debit_payments, and pix_payments.

    17.1.0release notes

  • Adds support for paypay_payments.

    17.1.0release notes

  • Adds support for additional_material.

    17.1.0release notes

  • Adds billie_payments, mb_way_payments, nz_bank_account_becs_debit_payments, paypay_payments, and pix_payments as supported capability values.

    17.1.0release notes

  • Adds paypay_payments to account creation merchant parameters.

    17.1.0release notes

  • Adds billie_payments, mb_way_payments, nz_bank_account_becs_debit_payments, and pix_payments to account creation capability parameters.

    17.1.0release notes

  • Adds paypay_payments to account creation capability parameters.

    17.1.0release notes

  • Adds additional_material to account creation Konbini payment parameters.

    17.1.0release notes

  • Adds support for account_dashboard.

    17.1.0release notes

  • Adds account_dashboard as a supported type value.

    17.1.0release notes

  • Adds account_dashboard to account link creation parameters.

    17.1.0release notes

  • Adds paypay_payments to account modification merchant parameters.

    17.1.0release notes

  • Adds billie_payments, mb_way_payments, nz_bank_account_becs_debit_payments, and pix_payments to account modification capability parameters.

    17.1.0release notes

  • Adds paypay_payments to account modification capability parameters.

    17.1.0release notes

  • Adds additional_material to account modification Konbini payment parameters.

    17.1.0release notes

  • Adds support for the ClaimableSandbox resource.

    17.1.0release notes

  • Adds the create method for the ClaimableSandbox resource.

    17.1.0release notes

  • Adds the renew_onboarding_link method for the ClaimableSandbox resource.

    17.1.0release notes

  • Adds the retrieve method for the ClaimableSandbox resource.

    17.1.0release notes

  • Adds support for the ClaimableSandbox claimed event notification.

    17.1.0release notes

  • Adds support for the ClaimableSandbox created event notification.

    17.1.0release notes

  • Adds support for the ClaimableSandbox expired event notification.

    17.1.0release notes

  • Adds support for the ClaimableSandbox expiring event notification.

    17.1.0release notes

  • Adds support for the ClaimableSandbox updated event notification.

    17.1.0release notes

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

    17.1.0release notes

Behavior and default changes 3

  • Async requests use httpx2 when installed and fall back to httpx otherwise.

    17.1.0release notes

  • Changes capture_method to an emptyable enum.

    17.1.0release notes

  • Webhook signature verification error messages use diagnostic metadata to help identify an incorrect signing secret or altered request body.

    17.0.0release notes

Fixes and other changes 4

  • Adds support for this error code on RateLimitError.

    17.1.0release notes

  • Configures proxies on the client rather than passing them on each request, fixing a network error when a proxy is configured.

    17.1.0release notes

  • Uses a separate Curl handle per thread so concurrent requests cannot overwrite one another's URL, body, or headers.

    17.1.0release notes

  • Fixes a stale Stripe-Account header when fetching an object related to a directly-retrieved Event.

    17.0.0release notes

stripe 1656 changes

Breaking changes 17

  • The pinned API version changes to 2026-10-28.endive, affecting the API version used by default.

    16.1.0release notes

  • The pause_schedules field is now required.

    16.1.0release notes

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

    16.1.0release notes

  • The parameter type changes from string to an enum.

    16.0.0release notesupgrade guide

  • The field type changes from string to expandable($Mandate).

    16.0.0release notes

  • Removes support for countries from the session filter and its creation parameters.

    16.0.0release notes

  • Adds country to the session filter parameters; countries is removed from the filter and parameter types.

    16.0.0upgrade guide

  • Removes support for this parameter on PaymentIntent, SetupIntent, and Checkout session creation or modification parameters.

    16.0.0release notesupgrade guide

  • Removes support for payto on PaymentMethod modification parameters.

    16.0.0release notesupgrade guide

  • On resource methods supporting both classmethod and instance-method call styles, path parameters must be passed positionally rather than by keyword.

    16.0.0release notesupgrade guide

  • Path parameters must be passed positionally; passing them by keyword is no longer supported. Resource methods are unaffected.

    16.0.0upgrade guide

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

    16.0.0release notes

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

    16.0.0upgrade guide

  • The resource class is renamed to stripe.TransferReversal; update references and type annotations.

    16.0.0release notesupgrade guide

  • The stripe.Reversal resource class is renamed; update references and type annotations to use stripe.TransferReversal.

    16.0.0release notes

  • The deprecated method is removed; use StripeClient.raw_request for custom API requests.

    16.0.0release notesupgrade guide

  • Removes configurations from the listed V2 account link use-case types and parameters.

    16.0.0upgrade guide

Security 1

New APIs and options 32

  • API v2 search results now support automatic pagination.

    16.1.0release notes

  • Adds generated event notification types across customer, subscription, invoice, product, financial connections, and money-management resources.

    16.1.0release notes

  • Generated types and API surfaces add the listed parameters, fields, enum values, resources, methods, and event notifications across Stripe products.

    16.1.0release notes

  • Adds generated error types and error codes for additional Stripe API failure cases.

    16.1.0release notes

  • Adds API v2 Search result objects and support for automatically paginating search results.

    16.1.0release notes

  • Adds generated GB and US bank account resources and their listed operations.

    16.1.0release notes

  • Adds generated money-management resources and their listed operations, including accounts, transfers, payments, payout intents, and transactions.

    16.1.0release notes

  • Adds the apps.Install resource with create, list, modify, retrieve, and uninstall methods.

    16.0.0release notesupgrade guide

  • Snapshot events apps.install.created, apps.install.deleted, and apps.install.updated are now supported for apps.Install.

    16.0.0release notesupgrade guide

  • The account requirement capability enums now support blik_recurring_payments and satispay_payments.

    16.0.0release notes

  • Adds allowed_payment_method_types to Checkout session objects and creation parameters.

    16.0.0release notesupgrade guide

  • Adds this error code to Invoice.LastFinalizationError, PaymentIntent.LastPaymentError, SetupAttempt.SetupError, SetupIntent.LastSetupError, StripeError, and Terminal.Reader.Action.ApiError.

    16.0.0upgrade guide

  • Several error codes are now supported on Invoice.LastFinalizationError, PaymentIntent.LastPaymentError, SetupAttempt.SetupError, SetupIntent.LastSetupError, StripeError, and Terminal.Reader.Action.ApiError.

    16.0.0release notes

  • Adds this error code to Invoice.LastFinalizationError, PaymentIntent.LastPaymentError, SetupAttempt.SetupError, SetupIntent.LastSetupError, StripeError, and Terminal.Reader.Action.ApiError.

    16.0.0upgrade guide

  • Adds the country filter field.

    16.0.0release notes

  • Adds invoicing_rules to InvoiceItemModifyParams and InvoiceItem.

    16.0.0upgrade guide

  • Adds the payment_record field to PaymentIntent.

    16.0.0release notesupgrade guide

  • Adds mandate_options to Blik payment method options and the corresponding PaymentIntent parameter types.

    16.0.0release notes

  • The Payment Link payment method type enums now accept paypay and sequra.

    16.0.0release notes

  • Adds the product_catalog.TrialOffer resource with create, list, modify, and retrieve methods.

    16.0.0release notesupgrade guide

  • Adds PayPay and Sequra support across payment method types, parameter objects, payment records, PaymentLinks, and related enums.

    16.0.0upgrade guide

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

    16.0.0release notesupgrade guide

  • Adds the pause method on the Subscription resource.

    16.0.0release notesupgrade guide

  • Adds payment_behavior to SubscriptionResumeParams.

    16.0.0upgrade guide

  • Adds pause_schedules to subscription schedule creation, modification, and resource objects.

    16.0.0release notesupgrade guide

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

    16.0.0release notesupgrade guide

  • Adds the requirements field to TaxCode.

    16.0.0release notes

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

    16.0.0release notesupgrade guide

  • The account capability status updated event now supports blik_recurring_payments, satispay_payments, and sequra_payments.

    16.0.0release notesupgrade guide

  • Support was added for the V1 event notification types listed in the release notes, covering account, billing, payments, subscriptions, and other Stripe resources.

    16.0.0release notesupgrade guide

  • V2.Core.Event now supports snapshot_event.

    16.0.0release notesupgrade guide

  • The enum now accepts 2026-09-30.endive.

    16.0.0release notes

Behavior and default changes 3

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

    16.0.0release notes

  • Event notifications now support singleton related objects.

    16.0.0release notesupgrade guide

  • missing_payment_method becomes optional on subscription create and modify trial end behavior parameters.

    16.0.0upgrade guide

Fixes and other changes 3

  • Fetched related objects now preserve event context.

    16.1.0release notes

  • Exceptions can be pickled and serialized with Celery JSON result serialization without losing their type or attributes.

    16.1.0release notes

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

    16.0.0release notesupgrade guide

stripe 15197 changes

Breaking changes 21

  • Removes support for cryptogram from the three_d_secure details of PaymentAttemptRecord and PaymentRecord.

    15.6.0release notes

  • Changes PaymentIntent.allowed_payment_method_types to be required.

    15.6.0release notes

  • Changes SetupIntent.allowed_payment_method_types to be required.

    15.6.0release notes

  • Removes the limited-use field, which is being deprecated.

    15.4.0release notes

  • Removes this limited-use field, which is being deprecated.

    15.4.0release notes

  • Unused support for the Retry-After header was removed.

    15.3.1release notes

  • priority is now required.

    15.3.0release notes

  • Removes stored_credential_usage from PaymentAttemptRecord and PaymentRecord card details.

    15.3.0release notes

  • Removes crypto_storer and storer terms of service values.

    15.3.0release notes

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

    15.1.0release notes

  • All decimal_string fields in v1 and v2 request params and response objects now use decimal.Decimal instead of str.

    15.0.0release notesupgrade guide

  • Removes insights from Radar.PaymentEvaluation.

    15.0.0upgrade guide

  • card_reference_id changes from string to nullable(string).

    15.0.0upgrade guide

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

    15.0.0upgrade guide

  • Python 3.7 is no longer supported.

    15.0.0upgrade guide

  • Python 3.7 and 3.8 are no longer supported.

    15.0.0release notes

  • Python 3.8 is no longer supported.

    15.0.0upgrade guide

  • Removes risk_level from issuing authorization risk assessment card testing and merchant dispute risk params.

    15.0.0upgrade guide

  • StripeObject no longer inherits from dict, so dict methods such as .get(), .update(), and .items() are unavailable. Use to_dict() for a read-only native-Python representation.

    15.0.0release notesupgrade guide

  • events_from changes from an enum to string on event destinations and their create params.

    15.0.0upgrade guide

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

    15.0.0release notesupgrade guide

Security 3

Deprecations 1

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

    15.2.0release notes

New APIs and options 150

  • Adds active_entitlements to CustomerSession.Component and CustomerSessionCreateParamsComponent.

    15.6.0release notes

  • Adds authentication_failure as a supported error code on invoice, payment, setup, Stripe, and Terminal error types.

    15.6.0release notes

  • Adds billie as a payment method option and payment_method_types value for invoices and subscriptions.

    15.6.0release notes

  • Adds the billing.FeedbackOption resource and its create, deactivate, list, modify, and retrieve methods.

    15.6.0release notes

  • Adds capability_not_active as a supported error code on invoice, payment, setup, Stripe, and Terminal error types.

    15.6.0release notes

  • Adds country to FinancialConnections.Session.Filter.

    15.6.0release notes

  • Adds customer_portal to CustomerSession.Component and CustomerSessionCreateParamsComponent.

    15.6.0release notes

  • Adds customer_update as a flow type value and to BillingPortal.Session.Flow.

    15.6.0release notes

  • Adds a handler class for thin event notifications, designed to work with StripeClient and typed thin events.

    15.6.0release notes

  • Adds expired_payment_method as a supported error code on invoice, payment, setup, Stripe, and Terminal error types.

    15.6.0release notes

  • Adds feedback_option to subscription cancellation detail and its cancel and modify parameters.

    15.6.0release notes

  • Adds feedback_options to billing portal subscription cancellation reason types.

    15.6.0release notes

  • Adds frozen_fields to InvoiceItem.

    15.6.0release notes

  • Adds funding_source_group to Link payment method details on Charge.

    15.6.0release notes

  • Adds funding_types_blocked to Checkout card payment method restrictions and create parameters.

    15.6.0release notes

  • Adds igic to the listed Tax.Registration.CountryOption country types and their registration create parameters.

    15.6.0release notes

  • Adds incorrect_postal_code as a supported error code on invoice, payment, setup, Stripe, and Terminal error types.

    15.6.0release notes

  • Adds invalid_canceled_subscription_fields as a supported error code on invoice, payment, setup, Stripe, and Terminal error types.

    15.6.0release notes

  • Adds metadata to ConfirmationToken.

    15.6.0release notes

  • Adds payment_method_restricted as a supported error code on invoice, payment, setup, Stripe, and Terminal error types.

    15.6.0release notes

  • Adds payment_method_settings to AccountSession.Component and AccountSessionCreateParamsComponent.

    15.6.0release notes

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

    15.6.0release notes

  • Adds touch_n_go as an allowed payment method type for PaymentIntent and SetupIntent.

    15.6.0release notes

  • Adds 2026-08-26.dahlia as a supported api_version enum value.

    15.6.0release notes

  • Surfaces the object property on EventNotification.

    15.5.0release notes

  • Supports async iteration with async for.

    15.5.0release notes

  • Adds a constant for the major API version.

    15.5.0release notes

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

    15.5.0release notes

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

    15.5.0release notes

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

    15.5.0release notes

  • Computes a full Stripe-Signature header for a payload, with an optional timestamp.

    15.5.0release notes

  • Adds the unreject method to Account.

    15.4.0release notes

  • Adds this company field to Account and the related create, modify, and token-create parameters; principal_place_of_business is also added to those types.

    15.4.0release notes

  • Adds this field to PaymentIntent and SetupIntent resources and their confirm, create, and modify parameters.

    15.4.0release notes

  • Adds data_share_only as an enum value for this result and the corresponding PaymentAttemptRecord, PaymentRecord, and SetupAttempt fields.

    15.4.0release notes

  • Adds bnp_paribas, citibank, and mbsb_bank as enum values for this bank field and related FPX bank fields.

    15.4.0release notes

  • Adds ic_nif as an enum value for this type and related Invoice, Tax, and TaxId fields.

    15.4.0release notes

  • Adds bnp_paribas, citibank, and mbsb_bank as enum values for this bank field and related FPX parameter fields.

    15.4.0release notes

  • Adds ic_nif as an enum value for this type and related customer, invoice preview, TaxId, and tax calculation parameter fields.

    15.4.0release notes

  • Adds the network field to the card payment method details.

    15.4.0release notes

  • Adds five financial connections account and authorization deactivation or supported-payment-method event types.

    15.4.0release notes

  • Adds support for the new Authorization resource.

    15.4.0release notes

  • Adds limits and manual_entry to Session and SessionCreateParams, require_payment_method_support to its filter and filter parameters, and bank_account_token to Session.

    15.4.0release notes

  • Adds chaps as a supported network, also in PaymentIntent.NextAction.DisplayBankTransferInstruction.FinancialAddress.supported_networks.

    15.4.0release notes

  • Adds alipay and mb_way as enum values for this field and related invoice and subscription payment setting fields.

    15.4.0release notes

  • Adds mass_transit_parking_tax and parking_tax as enum values for this field and related invoice line and TaxRate fields.

    15.4.0release notes

  • Adds metadata to subscription details in invoice preview parameters.

    15.4.0release notes

  • Adds stripe_internal_error as an enum value.

    15.4.0release notes

  • Adds business_name to card shipping details and the card create and modify parameters.

    15.4.0release notes

  • Adds correos as a carrier enum value.

    15.4.0release notes

  • Adds referrer to PaymentIntent create and confirm Radar options.

    15.4.0release notes

  • Adds consent_collection and shipping_options to payment link modification parameters.

    15.4.0release notes

  • Adds the list method to PaymentRecord.

    15.4.0release notes

  • Adds this field to AccountRejectParams.

    15.4.0release notes

  • Adds custom_fields, description, and footer to quote and subscription schedule invoice setting resource and parameter types.

    15.4.0release notes

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

    15.4.0release notes

  • Adds this setting to AccountModifyParamsSetting.

    15.4.0release notes

  • Adds this field to Payco and SamsungPay payment method options in Checkout, PaymentIntent, and PaymentLink parameter and resource types.

    15.4.0release notes

  • Adds this feature to AccountSession dispute, payment, payment detail, and payment dispute components and their create parameters.

    15.4.0release notes

  • Adds trial to SubscriptionSchedule.Phase.

    15.4.0release notes

  • Adds the mass_transit_parking_tax and parking_tax enum values to this tax_type field and related tax breakdown tax_type fields.

    15.4.0release notes

  • Adds mass_transit_parking_tax and parking_tax support to this country option and its create parameters and type enums.

    15.4.0release notes

  • Adds initiated_by and payment_method_options to Topup.

    15.4.0release notes

  • Adds additional_addresses to business details and the v2 account create, modify, and token-create parameters.

    15.4.0release notes

  • Adds 2026-07-29.dahlia as an API version enum value.

    15.4.0release notes

  • Adds five financial connections account and authorization deactivation or supported-payment-method events to enabled_events on webhook create and modify parameters.

    15.4.0release notes

  • The enum adds the tax_fund value.

    15.3.0release notes

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

    15.3.0release notes

  • Adds transaction_link_id to card payment-method details.

    15.3.0release notes

  • Adds wechat_pay as a Checkout session payment-method option.

    15.3.0release notes

  • Adds billing_cycle_anchor_config to subscription data in Checkout session creation parameters.

    15.3.0release notes

  • Adds sunbit_payments to account merchant capabilities in response, create, and modify types.

    15.3.0release notes

  • The network enums add sui for Charge, PaymentAttemptRecord, and PaymentRecord crypto payment details.

    15.3.0release notes

  • The token_currency enums add usdsui for Charge, PaymentAttemptRecord, and PaymentRecord crypto payment details.

    15.3.0release notes

  • The enum adds mastercard_compliance.

    15.3.0release notes

  • Adds mastercard_compliance evidence fields to dispute evidence and enhanced eligibility types.

    15.3.0release notes

  • The updated_capability enum adds sunbit_payments.

    15.3.0release notes

  • Adds status_details to FinancialConnections.Account.

    15.3.0release notes

  • The status enum adds validated.

    15.3.0release notes

  • Adds custom_fields, description, and footer to Subscription invoice settings and their create and modify parameters.

    15.3.0release notes

  • Adds five error codes to Invoice.LastFinalizationError, PaymentIntent.LastPaymentError, SetupAttempt.SetupError, SetupIntent.LastSetupError, StripeError, and Terminal.Reader.Action.ApiError.

    15.3.0release notes

  • Invoice and Subscription payment-setting enums add satispay in create, modify, and response types.

    15.3.0release notes

  • Adds sunbit payment-method options to Checkout sessions and PaymentIntent option and parameter types.

    15.3.0release notes

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

    15.3.0release notes

  • Invoice and Subscription payment-setting enums add satispay.

    15.3.0release notes

  • Adds fingerprint to Pix payment details, previews, and payment methods.

    15.3.0release notes

  • The feed_type enums add promotion for product catalog import types.

    15.3.0release notes

  • Adds support for release_details on Reserve.Hold.

    15.3.0release notes

  • Adds Satispay payment-method details to SetupAttempt.

    15.3.0release notes

  • Adds payment_method_options and payment_method to TopupCreateParams.

    15.3.0release notes

  • Adds mode to V2.Commerce.ProductCatalogImport.

    15.3.0release notes

  • The feed_type enum adds promotion.

    15.3.0release notes

  • Adds crypto_money_manager and money_manager terms of service values.

    15.3.0release notes

  • The api_version enum adds 2026-06-24.dahlia.

    15.3.0release notes

  • Adds bizum_payments and scalapay_payments capability support to account capability objects and create/modify parameters.

    15.2.0release notes

  • Adds automatic_transfer_rules_by_currency to payout balance settings and its modify parameters.

    15.2.0release notes

  • Adds start_of_day to settlement timing settings and their modify parameters.

    15.2.0release notes

  • Adds billing_schedules to invoice preview subscription details and subscription create, modify, and response types.

    15.2.0release notes

  • Adds Bizum support across payment method parameters, objects, and payment method type enums.

    15.2.0release notes

  • Adds max_billed_until as a supported cancel_at value in invoice preview and subscription create/modify parameters.

    15.2.0release notes

  • Changes the type from literal('none') to enum('none'|'off_session'), allowing off_session.

    15.2.0release notes

  • Adds metadata to transfer data on PaymentIntent and its create and modify parameters.

    15.2.0release notes

  • Adds payment_data to transfer data on PaymentIntent and its create and modify parameters.

    15.2.0release notes

  • Adds payment_method_options to PaymentLink create and modify parameters and the PaymentLink object.

    15.2.0release notes

  • Adds Scalapay support across payment method parameters, objects, and payment method type enums.

    15.2.0release notes

  • Adds the ProductCatalogImport resource with create and retrieve methods.

    15.2.0release notes

  • Adds Azure Event Grid as an event destination type, including create parameters.

    15.2.0release notes

  • Adds product catalog import event notifications for failed, processing, succeeded, and succeeded-with-errors outcomes.

    15.2.0release notes

  • Adds the app_distribution and sunbit_payments capabilities.

    15.1.0release notes

  • Adds support for the balance_report and payout_reconciliation_report components.

    15.1.0release notes

  • Accepts the fee_credit_funding, inbound_transfer_reversal, and inbound_transfer enum values.

    15.1.0release notes

  • Accepts the phantom_cash and usdt token currency values in payment detail objects.

    15.1.0release notes

  • Adds card_presence support to issuing authorizations.

    15.1.0release notes

  • Accepts fulfillment_error as a card cancellation reason.

    15.1.0release notes

  • Accepts fulfillment_error as a card replacement reason.

    15.1.0release notes

  • Adds location and reader fields to Klarna payment details.

    15.1.0release notes

  • Adds managed_payments support to Checkout sessions, payment intents and links, setup intents, and subscriptions.

    15.1.0release notes

  • Adds amount and currency fields to multi-use mandates.

    15.1.0release notes

  • Adds klarna_display_qr_code support to next actions.

    15.1.0release notes

  • Adds the amount_to_confirm parameter.

    15.1.0release notes

  • Adds support for the sunbit payment method.

    15.1.0release notes

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

    15.1.0release notes

  • Adds mandate support to Pix payment details.

    15.1.0release notes

  • Accepts account as a value list item type.

    15.1.0release notes

  • Pix setup_future_usage now accepts none or off_session instead of only none.

    15.1.0release notes

  • Adds moto support to card setup attempt details.

    15.1.0release notes

  • Adds pix_display_qr_code support to setup intent next actions.

    15.1.0release notes

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

    15.1.0release notes

  • Adds support for the action_blocked and approval_required error codes.

    15.1.0release notes

  • Adds fo_vat, gi_tin, it_cf, and py_ruc tax ID type values across tax ID APIs and objects.

    15.1.0release notes

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

    15.1.0release notes

  • Adds canceled_by_retention_policy as a subscription cancellation reason.

    15.0.0upgrade guide

  • Adds crypto_fingerprint as a Radar value list item_type enum value.

    15.0.0upgrade guide

  • Adds crypto support to checkout.SessionCreateParamsPaymentMethodOption.

    15.0.0upgrade guide

  • Adds integration_identifier to Checkout.Session and checkout.SessionCreateParams.

    15.0.0upgrade guide

  • Adds level to issuing authorization risk assessment card testing and merchant dispute risk params.

    15.0.0upgrade guide

  • Adds lifecycle_controls to Issuing.Card and issuing.CardCreateParams.

    15.0.0upgrade guide

  • Adds marine_carbon_removal as a Climate.Supplier.removal_pathway enum value.

    15.0.0upgrade guide

  • Adds metadata support to credit note line and preview parameter objects.

    15.0.0upgrade guide

  • Adds cryptogram, electronic_commerce_indicator, exemption_indicator_applied, and exemption_indicator to ThreeDSecure details in payment attempt and payment records.

    15.0.0upgrade guide

  • Adds pending_invoice_item_interval to checkout session subscription parameters.

    15.0.0upgrade guide

  • Adds recommended_action to Radar.PaymentEvaluation.

    15.0.0upgrade guide

  • Adds this error code to invoice finalization, payment and setup error objects, and StripeError.

    15.0.0upgrade guide

  • Adds signals to Radar.PaymentEvaluation.

    15.0.0upgrade guide

  • Adds tempo as a supported crypto network enum value in charge, payment attempt record, and payment record details.

    15.0.0upgrade guide

  • Adds elements, embedded_page, form, and hosted_page as supported ui_mode values for Checkout.Session and session creation params.

    15.0.0upgrade guide

  • Adds UPI payment method support across payment method details, options, params, objects, and related enums, including payment intents, setup intents, checkout, and payment links.

    15.0.0upgrade guide

  • Adds UPI redirect or QR code next actions to PaymentIntent and SetupIntent.

    15.0.0upgrade guide

  • Adds support for upi_payments on Account capability objects and their create and modify params.

    15.0.0upgrade guide

  • Adds 2026-03-25.dahlia as a supported webhook endpoint API version.

    15.0.0upgrade guide

Performance 1

  • StripeClient() cold start latency is reduced for serverless environments, including AWS Lambda.

    15.3.1release notes

Behavior and default changes 15

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

    15.6.0release notes

  • Some webhook-related methods accept wider types to work better with types commonly returned by popular web frameworks.

    15.6.0release notes

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

    15.5.0release notes

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

    15.4.0release notes

  • description becomes optional on PaymentAttemptRecord and PaymentRecord card details.

    15.3.0release notes

  • iin becomes optional on PaymentAttemptRecord and PaymentRecord card details.

    15.3.0release notes

  • issuer becomes optional on PaymentAttemptRecord and PaymentRecord card details.

    15.3.0release notes

  • refunded becomes optional.

    15.3.0release notes

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

    15.3.0release notes

  • The user-agent header now includes a source field.

    15.2.1release notes

  • The release changes Stripe's pinned API version to 2026-05-27.dahlia.

    15.2.0release notes

  • Support for plain dicts is added to str and repr handling.

    15.0.1release notes

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

    15.0.0release notesupgrade guide

  • Use to_dict() to recursively dump Stripe-provided classes into native Python types; the returned view is read-only and does not modify the original object.

    15.0.0upgrade guide

  • Adds runtime support for V2 int64 string-encoded fields.

    15.0.0upgrade guide

Tooling 1

  • Types for metadata and other dict-like types are improved.

    15.0.1release notes

Fixes and other changes 5

  • Dispatches discriminated union fields to their variant class.

    15.6.1release notes

  • Error fields are now generated.

    15.3.1release notes

  • Representation of StripeObjects with decimals is fixed.

    15.0.1release notes

  • String representation of StripeObjects with decimals is fixed.

    15.0.1release notes

  • Encoding of two-dimensional array request params is fixed.

    15.0.1release notes

stripe 14102 changes

Breaking changes 8

  • The tax_id type changes from string to nullable(string) on payment attempt and payment records.

    14.4.0release notes

  • The expected_debit_date type changes from nullable(string) to string on payment attempt and payment records.

    14.4.0release notes

  • Removes support for the unused card_issuer_decline value.

    14.4.0release notes

  • Invoice and Subscription payto payment method options are now required.

    14.3.0release notes

  • Removes support for bgn on Terminal tipping configuration types.

    14.3.0release notes

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

    14.1.0release notes

  • Accessing the payment_intent property on an Invoice object now throws a specific error to ease debugging.

    14.0.1release notes

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

    14.0.0release notes

Security 1

New APIs and options 80

  • AIOHTTPClient can accept a user-provided session or connector.

    14.4.0release notes

  • Adds support for location and reader on several card-present payment detail objects.

    14.4.0release notes

  • Adds the lk_vat enum value to tax ID type fields across response and parameter objects.

    14.4.0release notes

  • Adds reserve hold, plan, and release event values.

    14.4.0release notes

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

    14.4.0release notes

  • Adds pay_by_bank to invoice and subscription payment method type enums.

    14.4.0release notes

  • Adds display_name and service_user_number to Bacs debit mandate details.

    14.4.0release notes

  • Adds transaction_purpose to US bank account payment method options and related create, confirm, and modify parameters.

    14.4.0release notes

  • Adds optional_items to payment link modification parameters.

    14.4.0release notes

  • Adds support for the reserve.Hold resource and its snapshot events.

    14.4.0release notes

  • Adds support for the reserve.Plan resource and its snapshot events.

    14.4.0release notes

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

    14.4.0release notes

  • Adds the storer_capability_missing error code to Stripe error-related objects.

    14.4.0release notes

  • Adds the storer_capability_not_active error code to Stripe error-related objects.

    14.4.0release notes

  • Adds payment_behavior to subscription item deletion parameters.

    14.4.0release notes

  • Adds lk to tax registration country options.

    14.4.0release notes

  • Adds cellular and stripe_s710 configuration support for Terminal.

    14.4.0release notes

  • Adds simulated_stripe_s710 and stripe_s710 device type values.

    14.4.0release notes

  • Adds the release's API version as a supported webhook endpoint API version.

    14.4.0release notes

  • Adds reserve hold, plan, and release events as enabled webhook event values.

    14.4.0release notes

  • Adds the risk_reserved enum value.

    14.3.0release notes

  • Adds the reserve_hold and reserve_release enum values.

    14.3.0release notes

  • Adds the adyen enum value to the listed Ideal bank fields.

    14.3.0release notes

  • Adds the ADYBNL2A enum value to the listed Ideal bic fields.

    14.3.0release notes

  • Adds support for adjustable_quantity on LineItem.

    14.3.0release notes

  • Adds enforce_arithmetic_validation to the listed PaymentIntent amount detail parameters.

    14.3.0release notes

  • Adds support for error on PaymentIntent.AmountDetail.

    14.3.0release notes

  • Adds the radar.PaymentEvaluation resource and its create method.

    14.3.0release notes

  • Adds the request_blocked error code to the listed invoice, payment, setup, and Stripe error types.

    14.3.0release notes

  • Adds the pl_nip enum value to the listed tax ID type fields and parameters.

    14.3.0release notes

  • Adds the pl_nip enum value to additional tax ID creation and calculation parameters.

    14.3.0release notes

  • Adds enum values 2.3.0 and 2.3.1 to the listed Charge, PaymentIntent, SetupAttempt, and SetupIntent three_d_secure version fields.

    14.3.0release notes

  • Adds support for topup on Treasury.ReceivedDebit.LinkedFlow.

    14.3.0release notes

  • Adds contact_phone to V2.Core.Account and its create, modify, and token creation parameters.

    14.3.0release notes

  • Adds registration_date to business details and the corresponding account create, modify, and token creation parameters.

    14.3.0release notes

  • Adds the gb_vat enum value to the listed V2 account business identity number type fields.

    14.3.0release notes

  • Adds support for this event notification with related object v2.core.Account.

    14.2.0release notes

  • Adds support for this event notification.

    14.2.0release notes

  • Adds support for this event notification with related object v2.core.AccountPerson.

    14.2.0release notes

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

    14.1.0release notes

  • Adds allow_redisplay to PaymentMethodListParams.

    14.1.0release notes

  • Adds billing_cycle_anchor to subscription-update feature configuration in billing portal parameters and resources.

    14.1.0release notes

  • Adds customer_account support across billing, checkout, customer, invoice, payment, subscription, tax, and related parameter and resource types.

    14.1.0release notes

  • Adds the create_async method to EphemeralKey.

    14.1.0release notes

  • Adds expected_debit_date to supported bank debit payment details on charges, payment attempt records, and payment records.

    14.1.0release notes

  • Adds invoice support to CustomerListCustomerBalanceTransactionParams.

    14.1.0release notes

  • Adds line_items support to checkout.SessionModifyParams.

    14.1.0release notes

  • Adds metadata support to LineItem and checkout.SessionCreateParamsLineItem.

    14.1.0release notes

  • Adds MLLENL2A as an allowed Ideal BIC enum value.

    14.1.0release notes

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

    14.1.0release notes

  • Adds authorization_code, description, iin, installments, issuer, network advice and decline codes, and stored credential usage to card payment details.

    14.1.0release notes

  • Adds payto_payments support to Account capability data and account create and modify parameters.

    14.1.0release notes

  • Adds payto payment-method support across payment details, payment method options and parameters, intents, setup intents, subscriptions, invoices, checkout, and payment links.

    14.1.0release notes

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

    14.1.0release notes

  • Adds reported_by to PaymentRecord.

    14.1.0release notes

  • Adds signer to proof-of-registration and proof-of-ultimate-beneficial-ownership document parameters for account creation and modification.

    14.1.0release notes

  • Adds subtotal to InvoiceLineItem.

    14.1.0release notes

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

    14.1.0release notes

  • Adds the AccountLink resource and its create method.

    14.1.0release notes

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

    14.1.0release notes

  • Adds the AccountPersonToken resource with create and retrieve methods.

    14.1.0release notes

  • Adds the AccountToken resource with create and retrieve methods.

    14.1.0release notes

  • Adds changes to V2.Core.Event.

    14.1.0release notes

  • Adds 2025-12-15.clover and 2026-01-28.clover as allowed api_version enum values.

    14.1.0release notes

  • Adds payment_method_configuration support to PaymentMethodUpdate.

    14.0.0release notes

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

    14.0.0release notes

  • Adds created support to customer balance transaction listing parameters and InvoicePaymentListParams.

    14.0.0release notes

  • Adds financial_connections.account.account_numbers_updated and financial_connections.account.upcoming_account_number_expiry event types.

    14.0.0release notes

  • Adds snapshot event support for the two financial connections account-number events with resource financial_connections.Account.

    14.0.0release notes

  • Adds account_numbers to FinancialConnections.Account.

    14.0.0release notes

  • Adds the finom bank enum value across the listed Ideal payment method and parameter types.

    14.0.0release notes

  • Adds the FNOMNL22 enum value to the listed Ideal BIC fields.

    14.0.0release notes

  • Adds fraud_risk support to authorization risk assessment parameters.

    14.0.0release notes

  • Adds latest_fraud_warning to Issuing.Card.

    14.0.0release notes

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

    14.0.0release notes

  • Adds mb_way and twint support to Refund.DestinationDetail.

    14.0.0release notes

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

    14.0.0release notes

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

    14.0.0release notes

  • Adds tokenized_account_number_deactivated as a blocked-reason enum value.

    14.0.0release notes

  • Adds the two financial connections account-number event values to enabled_events; WebhookEndpointModifyParams.enabled_events supports them as well.

    14.0.0release notes

Behavior and default changes 11

  • The SDK adds the Stripe-Request-Trigger header to requests.

    14.4.1release notes

  • The SDK adds agent information to UserAgent.

    14.4.1release notes

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

    14.4.0release notes

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

    14.3.0release notes

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

    14.1.0release notes

  • Makes customer optional in the listed customer, invoice item, payment method, subscription, credit balance, credit grant, and billing portal create or retrieve parameters.

    14.1.0release notes

  • Makes transfer_data optional.

    14.1.0release notes

  • Makes tax_code optional.

    14.1.0release notes

  • Changes client_secret from string to nullable(string).

    14.0.0release notes

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

    14.0.0release notes

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

    14.0.0release notes

Fixes and other changes 2

  • Fixes a DeprecationWarning when encoding StripeObject metadata.

    14.2.0release notes

  • The stripe.error module is now accessible globally, fixing an accessibility issue.

    14.0.1release notes

stripe 1349 changes

Breaking changes 1

  • The pinned API version changes to 2025-10-29.clover.

    13.1.0release notes

New APIs and options 43

  • Adds support for capture_method on this PaymentIntent card-present payment method option.

    13.2.0release notes

  • Adds support for capture_method on this PaymentIntent confirmation parameter.

    13.2.0release notes

  • Adds support for capture_method on this PaymentIntent creation parameter.

    13.2.0release notes

  • Adds support for capture_method on this PaymentIntent modification parameter.

    13.2.0release notes

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

    13.1.2release notes

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

    13.1.0release notes

  • Adds support for the balance_settings.updated snapshot event with the BalanceSettings resource.

    13.1.0release notes

  • The crypto network enum gains the solana value.

    13.1.0release notes

  • The excluded payment method types enum gains mb_way.

    13.1.0release notes

  • The Checkout session payment method types enum gains mb_way.

    13.1.0release notes

  • Adds crypto support to payment method configuration create, modify, and response objects, and refund destination details.

    13.1.0release notes

  • Adds custom as a supported payment method type for confirmation token previews and PaymentMethod.

    13.1.0release notes

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

    13.1.0release notes

  • Adds the provider field to Customer.Tax.

    13.1.0release notes

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

    13.1.0release notes

  • The event type enum gains balance_settings.updated and invoice.payment_attempt_required.

    13.1.0release notes

  • Adds excluded_payment_method_types to SetupIntent and its create and modify parameters.

    13.1.0release notes

  • The file purpose enums gain platform_terms_of_service for file objects and list parameters.

    13.1.0release notes

  • The file creation purpose enum gains platform_terms_of_service.

    13.1.0release notes

  • Adds support for the invoice.payment_attempt_required snapshot event with the Invoice resource.

    13.1.0release notes

  • The type parameter now accepts payment_intent or payment_record instead of only payment_intent.

    13.1.0release notes

  • Adds mb_way support to payment method configuration create, modify, and response objects.

    13.1.0release notes

  • Adds name_collection to PaymentLink and its create and modify parameters.

    13.1.0release notes

  • Adds payment_details to PaymentIntent and its capture, confirm, create, increment authorization, and modify parameters.

    13.1.0release notes

  • Adds this error code to invoice finalization, PaymentIntent, SetupAttempt, SetupIntent, and StripeError error objects.

    13.1.0release notes

  • Adds payment_method_configuration to billing portal payment method update configuration parameters.

    13.1.0release notes

  • Adds custom as a supported payment method type for Invoice and Subscription payment settings and their create and modify parameters.

    13.1.0release notes

  • Adds payment_record support to invoice payment attachment, payment objects, and payment listing parameters; the payment type accepts payment_intent or payment_record.

    13.1.0release notes

  • Adds payment_record_refund support to CreditNote refund objects and related create and preview parameters.

    13.1.0release notes

  • Adds the PaymentAttemptRecord resource with list and retrieve methods.

    13.1.0release notes

  • Adds discount_amount, line_items, shipping, and tax fields to PaymentIntent.AmountDetail.

    13.1.0release notes

  • Adds the PaymentIntentAmountDetailsLineItem resource with a list method.

    13.1.0release notes

  • The payment method types enums on PaymentLink and its create and modify parameters gain mb_way.

    13.1.0release notes

  • Adds custom support to PaymentMethod and PaymentMethodCreateParams.

    13.1.0release notes

  • Adds the PaymentRecord resource and methods for reporting payment attempts, payments, refunds, and retrieving records.

    13.1.0release notes

  • Adds representative_declaration support to company fields on Account and account creation or modification parameters, and token creation parameters.

    13.1.0release notes

  • Adds tw as a supported country option for Tax registrations.

    13.1.0release notes

  • Adds gip to tipping settings on Terminal configurations and their create and modify parameters.

    13.1.0release notes

  • Adds last_seen_at to Terminal.Reader.

    13.1.0release notes

  • Adds twint support to Checkout session payment method options and their creation parameters.

    13.1.0release notes

  • Adds gt, gte, lt, lte, and types filters; object_id is now optional.

    13.1.0release notes

  • The webhook endpoint API version enum gains 2025-10-29.clover.

    13.1.0release notes

  • The enabled events enum gains balance_settings.updated and invoice.payment_attempt_required.

    13.1.0release notes

Performance 1

  • Lazily loads most imports and initializes subservices to dramatically improve performance.

    13.1.0release notes

Behavior and default changes 3

  • The category parameter is now optional when creating a billing credit grant.

    13.1.0release notes

  • The flow_directions field on SetupIntent is now optional.

    13.1.0release notes

  • The object_id parameter is now optional when listing v2 core events.

    13.1.0release notes

Fixes and other changes 1

  • Paged list requests now include the stripe-context header.

    13.1.1release notes

stripe 41 changes

Security 1

  • The bundled CA certificates are replaced with Stripe's root certificates because the previous bundle trusted emSign ECC Root CA - G3, whose intermediate CAs were compromised.

    4.2.1release notes