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 initstripe 1771 changes
Breaking changes 7
The pinned API version changes to 2026-11-18.endive.
The appeal field is now required.
The delivered_at field is now required.
The shipped_at field is now required.
The stored_credential_usage field is now required.
Rejects header values containing CR, LF or NUL.
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.
Deprecations 2
httpx support for async use is deprecated and will be removed in the next major version; installing httpx2 is recommended.
Sends request bodies as content= instead of data= to avoid httpx's deprecation warning.
New APIs and options 55
Adds support for funding_sources.
Adds tron as a supported network value.
Adds support for fingerprint.
Adds support for address_collection_precision.
Adds address_collection_precision to session creation parameters.
Adds billie_payments, mb_way_payments, nz_bank_account_becs_debit_payments, paypay_payments, and pix_payments as supported updated capability values.
Adds support for this error code on invoice, payment intent, setup, Stripe, and terminal API error types.
Adds support for car_rental_data.
Adds support for lodging_data.
Adds support for car_rental_data and lodging_data in capture parameters.
Adds support for car_rental_data and lodging_data in confirmation parameters.
Adds support for car_rental_data and lodging_data in creation parameters.
Adds support for car_rental_data and lodging_data in modification parameters.
Adds support for capture_method in modification parameters.
Adds support for loss_message.
Adds support for loss_message in product creation parameters.
Adds support for loss_message in product modification parameters.
Adds a keyword-only connection timeout argument in whole seconds, defaulting to 30 seconds.
Adds a keyword-only total request timeout argument in whole seconds, defaulting to 80 seconds.
Adds support for application.
Adds support for bizum and upi destination details.
Adds support for tax_invoice_month.
Adds tax_invoice_month to report run creation parameters.
Adds support for igic.
Adds igic as a supported type value.
Adds support for igic in registration creation parameters.
Adds five supported device types: stripe_s700_devkit, stripe_s710_devkit, stripe_t600_devkit, verifone_ux700_devkit, and verifone_v660p_devkit.
Adds support for network_details.
Adds network_details to inbound transfer failure parameters.
Adds support for failure_details.
Adds support for billie_payments, mb_way_payments, nz_bank_account_becs_debit_payments, and pix_payments.
Adds support for paypay_payments.
Adds support for additional_material.
Adds billie_payments, mb_way_payments, nz_bank_account_becs_debit_payments, paypay_payments, and pix_payments as supported capability values.
Adds paypay_payments to account creation merchant parameters.
Adds billie_payments, mb_way_payments, nz_bank_account_becs_debit_payments, and pix_payments to account creation capability parameters.
Adds paypay_payments to account creation capability parameters.
Adds additional_material to account creation Konbini payment parameters.
Adds support for account_dashboard.
Adds account_dashboard as a supported type value.
Adds account_dashboard to account link creation parameters.
Adds paypay_payments to account modification merchant parameters.
Adds billie_payments, mb_way_payments, nz_bank_account_becs_debit_payments, and pix_payments to account modification capability parameters.
Adds paypay_payments to account modification capability parameters.
Adds additional_material to account modification Konbini payment parameters.
Adds support for the ClaimableSandbox resource.
Adds the create method for the ClaimableSandbox resource.
Adds the renew_onboarding_link method for the ClaimableSandbox resource.
Adds the retrieve method for the ClaimableSandbox resource.
Adds support for the ClaimableSandbox claimed event notification.
Adds support for the ClaimableSandbox created event notification.
Adds support for the ClaimableSandbox expired event notification.
Adds support for the ClaimableSandbox expiring event notification.
Adds support for the ClaimableSandbox updated event notification.
Adds 2026-11-18.endive as a supported API version value.
Behavior and default changes 3
Async requests use httpx2 when installed and fall back to httpx otherwise.
Changes capture_method to an emptyable enum.
Webhook signature verification error messages use diagnostic metadata to help identify an incorrect signing secret or altered request body.
Fixes and other changes 4
Adds support for this error code on RateLimitError.
Configures proxies on the client rather than passing them on each request, fixing a network error when a proxy is configured.
Uses a separate Curl handle per thread so concurrent requests cannot overwrite one another's URL, body, or headers.
Fixes a stale Stripe-Account header when fetching an object related to a directly-retrieved Event.
stripe 1656 changes
Breaking changes 17
The pinned API version changes to 2026-10-28.endive, affecting the API version used by default.
The pause_schedules field is now required.
Secrets made entirely of ASCII whitespace are rejected instead of being used as HMAC keys.
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.Adds country to the session filter parameters; countries is removed from the filter and parameter types.
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; passing them by keyword is no longer supported. Resource methods are unaffected.
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 pinned API version changes to 2026-09-30.endive.
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.Removes configurations from the listed V2 account link use-case types and parameters.
Security 1
Replaces the bundled CA certificates with Stripe's updated trusted root certificates; the previous bundle included certificates not used by Stripe, including one whose intermediate CAs were compromised.
New APIs and options 32
API v2 search results now support automatic pagination.
Adds generated event notification types across customer, subscription, invoice, product, financial connections, and money-management resources.
Generated types and API surfaces add the listed parameters, fields, enum values, resources, methods, and event notifications across Stripe products.
Adds generated error types and error codes for additional Stripe API failure cases.
Adds API v2 Search result objects and support for automatically paginating search results.
Adds generated GB and US bank account resources and their listed operations.
Adds generated money-management resources and their listed operations, including accounts, transfers, payments, payout intents, and transactions.
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.Adds this error code to Invoice.LastFinalizationError, PaymentIntent.LastPaymentError, SetupAttempt.SetupError, SetupIntent.LastSetupError, StripeError, and Terminal.Reader.Action.ApiError.
Several error codes are now supported on Invoice.LastFinalizationError, PaymentIntent.LastPaymentError, SetupAttempt.SetupError, SetupIntent.LastSetupError, StripeError, and Terminal.Reader.Action.ApiError.
Adds this error code to Invoice.LastFinalizationError, PaymentIntent.LastPaymentError, SetupAttempt.SetupError, SetupIntent.LastSetupError, StripeError, and Terminal.Reader.Action.ApiError.
Adds the
countryfilter field.Adds invoicing_rules to InvoiceItemModifyParams and InvoiceItem.
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.Adds PayPay and Sequra support across payment method types, parameter objects, payment records, PaymentLinks, and related enums.
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 payment_behavior to SubscriptionResumeParams.
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 3
The pinned API version changes to 2026-09-30.endive.
Event notifications now support singleton related objects.
missing_payment_method becomes optional on subscription create and modify trial end behavior parameters.
Fixes and other changes 3
Fetched related objects now preserve event context.
Exceptions can be pickled and serialized with Celery JSON result serialization without losing their type or attributes.
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 15197 changes
Breaking changes 21
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.
Removes the limited-use field, which is being deprecated.
Removes this limited-use field, which is being deprecated.
Unused support for the Retry-After header was removed.
priority is now required.
Removes stored_credential_usage from PaymentAttemptRecord and PaymentRecord card details.
Removes crypto_storer and storer terms of service values.
The pinned API version changes to 2026-04-22.dahlia.
All decimal_string fields in v1 and v2 request params and response objects now use decimal.Decimal instead of str.
Removes insights from Radar.PaymentEvaluation.
card_reference_id changes from string to nullable(string).
The brand, exp_month, exp_year, funding, last4, and moto fields become nullable on PaymentAttemptRecord and PaymentRecord card details.
Python 3.7 is no longer supported.
Python 3.7 and 3.8 are no longer supported.
Python 3.8 is no longer supported.
Removes risk_level from issuing authorization risk assessment card testing and merchant dispute risk params.
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.
events_from changes from an enum to string on event destinations and their create params.
Using the wrong webhook parsing method now throws an error.
Security 3
The bundled CA certificates were replaced with Stripe's updated trusted root certificates, removing certificates not used by Stripe, including one whose intermediate CAs were compromised.
Hardened API requestor code against malicious URLs.
Uses cryptographically secure boundaries for multipart file uploads.
Deprecations 1
Emits a warning when the stripe-notify header is present in a response.
New APIs and options 150
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.
Surfaces the object property on EventNotification.
Supports async iteration with async for.
Adds a constant for the major API version.
Returns an Event instance without verifying authenticity, for events whose authenticity was previously verified.
Returns an EventNotification instance without verifying authenticity, for events whose authenticity was previously verified.
Returns an Event instance without verifying authenticity, for events whose authenticity was previously verified.
Computes a full Stripe-Signature header for a payload, with an optional timestamp.
Adds the unreject method to Account.
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.
Adds this field to PaymentIntent and SetupIntent resources and their confirm, create, and modify parameters.
Adds data_share_only as an enum value for this result and the corresponding PaymentAttemptRecord, PaymentRecord, and SetupAttempt fields.
Adds bnp_paribas, citibank, and mbsb_bank as enum values for this bank field and related FPX bank fields.
Adds ic_nif as an enum value for this type and related Invoice, Tax, and TaxId fields.
Adds bnp_paribas, citibank, and mbsb_bank as enum values for this bank field and related FPX parameter fields.
Adds ic_nif as an enum value for this type and related customer, invoice preview, TaxId, and tax calculation parameter fields.
Adds the network field to the card payment method details.
Adds five financial connections account and authorization deactivation or supported-payment-method event types.
Adds support for the new Authorization resource.
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.
Adds chaps as a supported network, also in PaymentIntent.NextAction.DisplayBankTransferInstruction.FinancialAddress.supported_networks.
Adds alipay and mb_way as enum values for this field and related invoice and subscription payment setting fields.
Adds mass_transit_parking_tax and parking_tax as enum values for this field and related invoice line and TaxRate fields.
Adds metadata to subscription details in invoice preview parameters.
Adds stripe_internal_error as an enum value.
Adds business_name to card shipping details and the card create and modify parameters.
Adds correos as a carrier enum value.
Adds referrer to PaymentIntent create and confirm Radar options.
Adds consent_collection and shipping_options to payment link modification parameters.
Adds the list method to PaymentRecord.
Adds this field to AccountRejectParams.
Adds custom_fields, description, and footer to quote and subscription schedule invoice setting resource and parameter types.
Adds customer_account and customer to Refund, and payment_method to Refund and Topup.
Adds this setting to AccountModifyParamsSetting.
Adds this field to Payco and SamsungPay payment method options in Checkout, PaymentIntent, and PaymentLink parameter and resource types.
Adds this feature to AccountSession dispute, payment, payment detail, and payment dispute components and their create parameters.
Adds trial to SubscriptionSchedule.Phase.
Adds the mass_transit_parking_tax and parking_tax enum values to this tax_type field and related tax breakdown tax_type fields.
Adds mass_transit_parking_tax and parking_tax support to this country option and its create parameters and type enums.
Adds initiated_by and payment_method_options to Topup.
Adds additional_addresses to business details and the v2 account create, modify, and token-create parameters.
Adds 2026-07-29.dahlia as an API version enum value.
Adds five financial connections account and authorization deactivation or supported-payment-method events to enabled_events on webhook create and modify parameters.
The enum adds the tax_fund value.
Adds buyer_id to Bizum and Blik payment-method details and previews, and to PaymentMethod.Bizum and PaymentMethod.Blik.
Adds transaction_link_id to card payment-method details.
Adds wechat_pay as a Checkout session payment-method option.
Adds billing_cycle_anchor_config to subscription data in Checkout session creation parameters.
Adds sunbit_payments to account merchant capabilities in response, create, and modify types.
The network enums add sui for Charge, PaymentAttemptRecord, and PaymentRecord crypto payment details.
The token_currency enums add usdsui for Charge, PaymentAttemptRecord, and PaymentRecord crypto payment details.
The enum adds mastercard_compliance.
Adds mastercard_compliance evidence fields to dispute evidence and enhanced eligibility types.
The updated_capability enum adds sunbit_payments.
Adds status_details to FinancialConnections.Account.
The status enum adds validated.
Adds custom_fields, description, and footer to Subscription invoice settings and their create and modify parameters.
Adds five error codes to Invoice.LastFinalizationError, PaymentIntent.LastPaymentError, SetupAttempt.SetupError, SetupIntent.LastSetupError, StripeError, and Terminal.Reader.Action.ApiError.
Invoice and Subscription payment-setting enums add satispay in create, modify, and response types.
Adds sunbit payment-method options to Checkout sessions and PaymentIntent option and parameter types.
Adds setup_future_usage to Satispay options on PaymentIntent and its confirm, create, and modify parameters.
Invoice and Subscription payment-setting enums add satispay.
Adds fingerprint to Pix payment details, previews, and payment methods.
The feed_type enums add promotion for product catalog import types.
Adds support for release_details on Reserve.Hold.
Adds Satispay payment-method details to SetupAttempt.
Adds payment_method_options and payment_method to TopupCreateParams.
Adds mode to V2.Commerce.ProductCatalogImport.
The feed_type enum adds promotion.
Adds crypto_money_manager and money_manager terms of service values.
The api_version enum adds 2026-06-24.dahlia.
Adds bizum_payments and scalapay_payments capability support to account capability objects and create/modify parameters.
Adds automatic_transfer_rules_by_currency to payout balance settings and its modify parameters.
Adds start_of_day to settlement timing settings and their modify parameters.
Adds billing_schedules to invoice preview subscription details and subscription create, modify, and response types.
Adds Bizum support across payment method parameters, objects, and payment method type enums.
Adds max_billed_until as a supported cancel_at value in invoice preview and subscription create/modify parameters.
Changes the type from literal('none') to enum('none'|'off_session'), allowing off_session.
Adds metadata to transfer data on PaymentIntent and its create and modify parameters.
Adds payment_data to transfer data on PaymentIntent and its create and modify parameters.
Adds payment_method_options to PaymentLink create and modify parameters and the PaymentLink object.
Adds Scalapay support across payment method parameters, objects, and payment method type enums.
Adds the ProductCatalogImport resource with create and retrieve methods.
Adds Azure Event Grid as an event destination type, including create parameters.
Adds product catalog import event notifications for failed, processing, succeeded, and succeeded-with-errors outcomes.
Adds the app_distribution and sunbit_payments capabilities.
Adds support for the balance_report and payout_reconciliation_report components.
Accepts the fee_credit_funding, inbound_transfer_reversal, and inbound_transfer enum values.
Accepts the phantom_cash and usdt token currency values in payment detail objects.
Adds card_presence support to issuing authorizations.
Accepts fulfillment_error as a card cancellation reason.
Accepts fulfillment_error as a card replacement reason.
Adds location and reader fields to Klarna payment details.
Adds managed_payments support to Checkout sessions, payment intents and links, setup intents, and subscriptions.
Adds amount and currency fields to multi-use mandates.
Adds klarna_display_qr_code support to next actions.
Adds the amount_to_confirm parameter.
Adds support for the sunbit payment method.
Adds mandate_options to Pix payment options for Checkout and PaymentIntents.
Adds mandate support to Pix payment details.
Accepts account as a value list item type.
Pix setup_future_usage now accepts none or off_session instead of only none.
Adds moto support to card setup attempt details.
Adds pix_display_qr_code support to setup intent next actions.
Adds allowed_card_presences and blocked_card_presences to card and cardholder spending controls.
Adds support for the action_blocked and approval_required error codes.
Adds fo_vat, gi_tin, it_cf, and py_ruc tax ID type values across tax ID APIs and objects.
Accepts 2026-04-22.dahlia as a webhook endpoint API version.
Adds canceled_by_retention_policy as a subscription cancellation reason.
Adds crypto_fingerprint as a Radar value list item_type enum value.
Adds crypto support to checkout.SessionCreateParamsPaymentMethodOption.
Adds integration_identifier to Checkout.Session and checkout.SessionCreateParams.
Adds level to issuing authorization risk assessment card testing and merchant dispute risk params.
Adds lifecycle_controls to Issuing.Card and issuing.CardCreateParams.
Adds marine_carbon_removal as a Climate.Supplier.removal_pathway enum value.
Adds metadata support to credit note line and preview parameter objects.
Adds cryptogram, electronic_commerce_indicator, exemption_indicator_applied, and exemption_indicator to ThreeDSecure details in payment attempt and payment records.
Adds pending_invoice_item_interval to checkout session subscription parameters.
Adds recommended_action to Radar.PaymentEvaluation.
Adds this error code to invoice finalization, payment and setup error objects, and StripeError.
Adds signals to Radar.PaymentEvaluation.
Adds tempo as a supported crypto network enum value in charge, payment attempt record, and payment record details.
Adds elements, embedded_page, form, and hosted_page as supported ui_mode values for Checkout.Session and session creation params.
Adds UPI payment method support across payment method details, options, params, objects, and related enums, including payment intents, setup intents, checkout, and payment links.
Adds UPI redirect or QR code next actions to PaymentIntent and SetupIntent.
Adds support for upi_payments on Account capability objects and their create and modify params.
Adds 2026-03-25.dahlia as a supported webhook endpoint API version.
Performance 1
StripeClient() cold start latency is reduced for serverless environments, including AWS Lambda.
Behavior and default changes 15
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.
Emits a plugin hint at module load time when CLAUDECODE or CLAUDE_CODE_CHILD_SESSION is detected.
The pinned API version changes to 2026-07-29.dahlia.
description becomes optional on PaymentAttemptRecord and PaymentRecord card details.
iin becomes optional on PaymentAttemptRecord and PaymentRecord card details.
issuer becomes optional on PaymentAttemptRecord and PaymentRecord card details.
refunded becomes optional.
The pinned API version changes to 2026-06-24.dahlia.
The user-agent header now includes a source field.
The release changes Stripe's pinned API version to 2026-05-27.dahlia.
Support for plain dicts is added to str and repr handling.
The pinned API version changes to 2026-03-25.dahlia.
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.
Adds runtime support for V2 int64 string-encoded fields.
Tooling 1
Types for metadata and other dict-like types are improved.
Fixes and other changes 5
Dispatches discriminated union fields to their variant class.
Error fields are now generated.
Representation of StripeObjects with decimals is fixed.
String representation of StripeObjects with decimals is fixed.
Encoding of two-dimensional array request params is fixed.
stripe 14102 changes
Breaking changes 8
The tax_id type changes from string to nullable(string) on payment attempt and payment records.
The expected_debit_date type changes from nullable(string) to string on payment attempt and payment records.
Removes support for the unused card_issuer_decline value.
Invoice and Subscription payto payment method options are now required.
Removes support for bgn on Terminal tipping configuration types.
Changes the price field type from string to expandable($Price).
Accessing the payment_intent property on an Invoice object now throws a specific error to ease debugging.
Support for gt, gte, lt, and lte is removed in favor of created.
Security 1
Updates the bundled CA certificates.
New APIs and options 80
AIOHTTPClient can accept a user-provided session or connector.
Adds support for location and reader on several card-present payment detail objects.
Adds the lk_vat enum value to tax ID type fields across response and parameter objects.
Adds reserve hold, plan, and release event values.
Adds terminal Wi-Fi certificate and private key purpose values to file purpose enums.
Adds pay_by_bank to invoice and subscription payment method type enums.
Adds display_name and service_user_number to Bacs debit mandate details.
Adds transaction_purpose to US bank account payment method options and related create, confirm, and modify parameters.
Adds optional_items to payment link modification parameters.
Adds support for the reserve.Hold resource and its snapshot events.
Adds support for the reserve.Plan resource and its snapshot events.
Adds support for the reserve.Release resource and its snapshot event.
Adds the storer_capability_missing error code to Stripe error-related objects.
Adds the storer_capability_not_active error code to Stripe error-related objects.
Adds payment_behavior to subscription item deletion parameters.
Adds lk to tax registration country options.
Adds cellular and stripe_s710 configuration support for Terminal.
Adds simulated_stripe_s710 and stripe_s710 device type values.
Adds the release's API version as a supported webhook endpoint API version.
Adds reserve hold, plan, and release events as enabled webhook event values.
Adds the risk_reserved enum value.
Adds the reserve_hold and reserve_release enum values.
Adds the adyen enum value to the listed Ideal bank fields.
Adds the ADYBNL2A enum value to the listed Ideal bic fields.
Adds support for adjustable_quantity on LineItem.
Adds enforce_arithmetic_validation to the listed PaymentIntent amount detail parameters.
Adds support for error on PaymentIntent.AmountDetail.
Adds the radar.PaymentEvaluation resource and its create method.
Adds the request_blocked error code to the listed invoice, payment, setup, and Stripe error types.
Adds the pl_nip enum value to the listed tax ID type fields and parameters.
Adds the pl_nip enum value to additional tax ID creation and calculation parameters.
Adds enum values 2.3.0 and 2.3.1 to the listed Charge, PaymentIntent, SetupAttempt, and SetupIntent three_d_secure version fields.
Adds support for topup on Treasury.ReceivedDebit.LinkedFlow.
Adds contact_phone to V2.Core.Account and its create, modify, and token creation parameters.
Adds registration_date to business details and the corresponding account create, modify, and token creation parameters.
Adds the gb_vat enum value to the listed V2 account business identity number type fields.
Adds support for this event notification with related object v2.core.Account.
Adds support for this event notification.
Adds support for this event notification with related object v2.core.AccountPerson.
Adds the account_token_required_for_v2_account error code to invoice, payment intent, setup attempt, setup intent, and Stripe errors.
Adds allow_redisplay to PaymentMethodListParams.
Adds billing_cycle_anchor to subscription-update feature configuration in billing portal parameters and resources.
Adds customer_account support across billing, checkout, customer, invoice, payment, subscription, tax, and related parameter and resource types.
Adds the create_async method to EphemeralKey.
Adds expected_debit_date to supported bank debit payment details on charges, payment attempt records, and payment records.
Adds invoice support to CustomerListCustomerBalanceTransactionParams.
Adds line_items support to checkout.SessionModifyParams.
Adds metadata support to LineItem and checkout.SessionCreateParamsLineItem.
Adds MLLENL2A as an allowed Ideal BIC enum value.
Adds mollie as an allowed Ideal bank enum value across payment-related types.
Adds authorization_code, description, iin, installments, issuer, network advice and decline codes, and stored credential usage to card payment details.
Adds payto_payments support to Account capability data and account create and modify parameters.
Adds payto payment-method support across payment details, payment method options and parameters, intents, setup intents, subscriptions, invoices, checkout, and payment links.
Adds related_customer_account to identity verification session resources and create and list parameters.
Adds reported_by to PaymentRecord.
Adds signer to proof-of-registration and proof-of-ultimate-beneficial-ownership document parameters for account creation and modification.
Adds subtotal to InvoiceLineItem.
Adds the Account resource with close, create, list, modify, and retrieve methods.
Adds the AccountLink resource and its create method.
Adds the AccountPerson resource with create, delete, list, modify, and retrieve methods.
Adds the AccountPersonToken resource with create and retrieve methods.
Adds the AccountToken resource with create and retrieve methods.
Adds changes to V2.Core.Event.
Adds 2025-12-15.clover and 2026-01-28.clover as allowed api_version enum values.
Adds payment_method_configuration support to PaymentMethodUpdate.
Adds transaction_id to the Ideal payment method details on Charge, PaymentAttemptRecord, and PaymentRecord.
Adds created support to customer balance transaction listing parameters and InvoicePaymentListParams.
Adds financial_connections.account.account_numbers_updated and financial_connections.account.upcoming_account_number_expiry event types.
Adds snapshot event support for the two financial connections account-number events with resource financial_connections.Account.
Adds account_numbers to FinancialConnections.Account.
Adds the finom bank enum value across the listed Ideal payment method and parameter types.
Adds the FNOMNL22 enum value to the listed Ideal BIC fields.
Adds fraud_risk support to authorization risk assessment parameters.
Adds latest_fraud_warning to Issuing.Card.
Adds hooks to PaymentIntent and its capture, confirm, create, increment authorization, and modify parameters.
Adds mb_way and twint support to Refund.DestinationDetail.
Adds the tax.Association resource and its find method.
Adds the terminal.OnboardingLink resource and its create method.
Adds tokenized_account_number_deactivated as a blocked-reason enum value.
Adds the two financial connections account-number event values to enabled_events; WebhookEndpointModifyParams.enabled_events supports them as well.
Behavior and default changes 11
The SDK adds the Stripe-Request-Trigger header to requests.
The SDK adds agent information to UserAgent.
The release changes the pinned API version to 2026-02-25.clover.
The release changes the pinned API version to 2026-01-28.clover.
The pinned API version changes to 2025-12-15.clover.
Makes customer optional in the listed customer, invoice item, payment method, subscription, credit balance, credit grant, and billing portal create or retrieve parameters.
Makes transfer_data optional.
Makes tax_code optional.
Changes client_secret from string to nullable(string).
The pinned API version changes to 2025-11-17.clover.
Retrieve and List calls for /v2 endpoints serialize array parameters using indexed format rather than repeated parameters.
Fixes and other changes 2
Fixes a DeprecationWarning when encoding StripeObject metadata.
The stripe.error module is now accessible globally, fixing an accessibility issue.
stripe 1349 changes
Breaking changes 1
The pinned API version changes to 2025-10-29.clover.
New APIs and options 43
Adds support for capture_method on this PaymentIntent card-present payment method option.
Adds support for capture_method on this PaymentIntent confirmation parameter.
Adds support for capture_method on this PaymentIntent creation parameter.
Adds support for capture_method on this PaymentIntent modification parameter.
Adds support for the payment_record value in the InvoicePayment.payment.type enum.
Adds amount_details to PaymentIntent capture, confirm, create, increment authorization, and modify parameters.
Adds support for the balance_settings.updated snapshot event with the BalanceSettings resource.
The crypto network enum gains the solana value.
The excluded payment method types enum gains mb_way.
The Checkout session payment method types enum gains mb_way.
Adds crypto support to payment method configuration create, modify, and response objects, and refund destination details.
Adds custom as a supported payment method type for confirmation token previews and PaymentMethod.
Adds custom as a supported type in customer payment-method listing and PaymentMethod create and list parameters.
Adds the provider field to Customer.Tax.
Adds customer_sheet and mobile_payment_element to CustomerSession components and component creation parameters.
The event type enum gains balance_settings.updated and invoice.payment_attempt_required.
Adds excluded_payment_method_types to SetupIntent and its create and modify parameters.
The file purpose enums gain platform_terms_of_service for file objects and list parameters.
The file creation purpose enum gains platform_terms_of_service.
Adds support for the invoice.payment_attempt_required snapshot event with the Invoice resource.
The type parameter now accepts payment_intent or payment_record instead of only payment_intent.
Adds mb_way support to payment method configuration create, modify, and response objects.
Adds name_collection to PaymentLink and its create and modify parameters.
Adds payment_details to PaymentIntent and its capture, confirm, create, increment authorization, and modify parameters.
Adds this error code to invoice finalization, PaymentIntent, SetupAttempt, SetupIntent, and StripeError error objects.
Adds payment_method_configuration to billing portal payment method update configuration parameters.
Adds custom as a supported payment method type for Invoice and Subscription payment settings and their create and modify parameters.
Adds payment_record support to invoice payment attachment, payment objects, and payment listing parameters; the payment type accepts payment_intent or payment_record.
Adds payment_record_refund support to CreditNote refund objects and related create and preview parameters.
Adds the PaymentAttemptRecord resource with list and retrieve methods.
Adds discount_amount, line_items, shipping, and tax fields to PaymentIntent.AmountDetail.
Adds the PaymentIntentAmountDetailsLineItem resource with a list method.
The payment method types enums on PaymentLink and its create and modify parameters gain mb_way.
Adds custom support to PaymentMethod and PaymentMethodCreateParams.
Adds the PaymentRecord resource and methods for reporting payment attempts, payments, refunds, and retrieving records.
Adds representative_declaration support to company fields on Account and account creation or modification parameters, and token creation parameters.
Adds tw as a supported country option for Tax registrations.
Adds gip to tipping settings on Terminal configurations and their create and modify parameters.
Adds last_seen_at to Terminal.Reader.
Adds twint support to Checkout session payment method options and their creation parameters.
Adds gt, gte, lt, lte, and types filters; object_id is now optional.
The webhook endpoint API version enum gains 2025-10-29.clover.
The enabled events enum gains balance_settings.updated and invoice.payment_attempt_required.
Performance 1
Lazily loads most imports and initializes subservices to dramatically improve performance.
Behavior and default changes 3
The category parameter is now optional when creating a billing credit grant.
The flow_directions field on SetupIntent is now optional.
The object_id parameter is now optional when listing v2 core events.
Fixes and other changes 1
Paged list requests now include the stripe-context header.
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.