Python bindings for the Stripe API.
Provides
Requires
License
MIT
Changelog
* Tue Jan 27 2026 Dirk Müller <dmueller@suse.com>
- update to 14.2.0:
* Update generated code
* Add support for event notifications
`V2CoreAccountClosedEvent`, `V2CoreAccountCreatedEvent`, `V2C
oreAccountIncludingConfigurationCustomerCapabilityStatusUpdat
edEvent`,
`V2CoreAccountIncludingConfigurationCustomerUpdatedEvent`, `V
2CoreAccountIncludingConfigurationMerchantCapabilityStatusUpd
atedEvent`,
`V2CoreAccountIncludingConfigurationMerchantUpdatedEvent`, `V
2CoreAccountIncludingConfigurationRecipientCapabilityStatusUp
datedEvent`,
`V2CoreAccountIncludingConfigurationRecipientUpdatedEvent`,
`V2CoreAccountIncludingDefaultsUpdatedEvent`,
`V2CoreAccountIncludingFutureRequirementsUpdatedEvent`,
`V2CoreAccountIncludingIdentityUpdatedEvent`,
`V2CoreAccountIncludingRequirementsUpdatedEvent`, and
`V2CoreAccountUpdatedEvent` with related object
`v2.core.Account`
* Add support for event notification
`V2CoreAccountLinkReturnedEvent`
* Add support for event notifications
`V2CoreAccountPersonCreatedEvent`,
`V2CoreAccountPersonDeletedEvent`, and
`V2CoreAccountPersonUpdatedEvent` with related object
`v2.core.AccountPerson`
* Fix DeprecationWarning when encoding StripeObject
metadata (fixes #1651)
* Update ci to run on Python 3.14 as well
* Wed Dec 17 2025 Steve Kowalik <steven.kowalik@suse.com>
- Update to 14.1.0:
* Update generated code based on incoming API changes in the
2025-12-15.clover API version.
* Updated bundled CA certificates
* Add create_async method to EphemeralKey
- Dropped patch suport-pytest-9.patch, included upstream.
* Tue Dec 16 2025 Steve Kowalik <steven.kowalik@suse.com>
- Update to 14.0.1:
* Update generated code based on incoming API changes in the
2025-11-17.clover API version.
* stripe.error module is now accessible globally
* Dramatically improve performance by lazily loading most imports
* Re-add tests to our sdist
* Add strongly typed EventNotifications
* drop support for Python 3.6
* migrate from setup.py to pyproject.toml
* Deprecated the V1 service accessors living directly under StripeClient
* Remove deprecated compatibility exports
- Add patch suport-pytest-9.patch:
* Do not apply marks to a fixture.
* Thu Sep 25 2025 John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- Update to 12.5.1
* #1563 fix: Paginate backwards if `starting_after == None`
* Addresses an #1562 where List iteration would be forwards when
`starting_after` was set to `None` but backwards if it was not
set at all. Now, it will paginate backwards in both cases.
- Use Python 3.11 on SLE-15 by default
* Fri Sep 05 2025 Dirk Müller <dmueller@suse.com>
- update to 12.5.0:
* #1554 Add section on private preview SDKs in readme
* #1544 Update generated code. This release changes the pinned
API version to `2025-08-27.basil`.
* Add support for `balance_report`, `payout_details`, and
`payout_reconciliation_report` on `AccountSession.Component`
and `AccountSession.CreateParamsComponent`
* Add support for `name` on `BillingPortal.Configuration`,
`billing_portal.Configuration.CreateParams`, and
`billing_portal.Configuration.ModifyParams`
* Add support for `installments` on
`Charge.PaymentMethodDetail.Alma`
* Add support for `transaction_id` on
`Charge.PaymentMethodDetail.Alma`,
`Charge.PaymentMethodDetail.AmazonPay`,
`Charge.PaymentMethodDetail.Billie`,
`Charge.PaymentMethodDetail.KakaoPay`,
`Charge.PaymentMethodDetail.KrCard`,
`Charge.PaymentMethodDetail.NaverPay`,
`Charge.PaymentMethodDetail.Payco`,
`Charge.PaymentMethodDetail.RevolutPay`,
`Charge.PaymentMethodDetail.SamsungPay`, and
`Charge.PaymentMethodDetail.Satispay`
* Add support for `location` and `reader` on
`Charge.PaymentMethodDetail.Paynow`
* Add support for `amount_includes_iof` on
`Checkout.Session.PaymentMethodOption.Pix`,
`PaymentIntent.ConfirmParamsPaymentMethodOptionPix`,
`PaymentIntent.CreateParamsPaymentMethodOptionPix`,
`PaymentIntent.ModifyParamsPaymentMethodOptionPix`,
`PaymentIntent.PaymentMethodOption.Pix`, and
`checkout.Session.CreateParamsPaymentMethodOptionPix`
* Add support for new values `block` and `resolution` on enum
`Dispute.PaymentMethodDetail.Card.case_type`
* Add support for new value `terminal_android_apk` on enums
`File.ListParams.purpose` and `File.purpose`
* Add support for new value `terminal_android_apk` on enum
`File.CreateParams.purpose`
* Add support for `metadata` and `period` on `Invoice.CreatePre
viewParamsScheduleDetailPhaseAddInvoiceItem`,
`Subscription.CreateParamsAddInvoiceItem`,
`Subscription.ModifyParamsAddInvoiceItem`,
`SubscriptionSchedule.CreateParamsPhaseAddInvoiceItem`,
`SubscriptionSchedule.ModifyParamsPhaseAddInvoiceItem`, and
`SubscriptionSchedule.Phase.AddInvoiceItem`
* Add support for `exp_month` and `exp_year` on
`issuing.Card.CreateParams`
* Add support for `excluded_payment_method_types` on
`PaymentIntent.CreateParams` and `PaymentIntent`
* Add support for `payout_method` on `Payout.CreateParams` and
`Payout`
* Add support for `mxn` on `Terminal.Configuration.Tipping`,
`terminal.Configuration.CreateParamsTipping`, and
`terminal.Configuration.ModifyParamsTipping`
* Add support for `card` on
`terminal.Reader.PresentPaymentMethodParams`
* Add support for new value `card` on enum
`terminal.Reader.PresentPaymentMethodParams.type`
* Add support for new value `2025-08-27.basil` on enum
`WebhookEndpoint.CreateParams.api_version`
* Add support for error codes `customer_session_expired` and
`india_recurring_payment_mandate_canceled` on
`Invoice.LastFinalizationError`,
`PaymentIntent.LastPaymentError`, `SetupAttempt.SetupError`,
`SetupIntent.LastSetupError`, and `StripeError`
* #1553 Import available http libraries more efficiently
* #1549 Introduce V1 namespaces in StripeClient
* All the top level non-namespaced services under StripeClient
services(eg. customers, products) are copied under the new V1
namespace. These top level non-namespaced services will be
marked as deprecated in the next major release and will be
removed in a future release. Eg.
* ```diff
* client = StripeClient("sk_test...")
* # Accessing V1 Stripe services on a StripeClient should be
through the V1 namespace
* client.customers.list()
* + client.v1.customers.list()
* ```
* Refer to the migration guide for help upgrading.
* ## 12.4.0 - 2025-07-30
* This release changes the pinned API version to
`2025-07-30.basil`.
* #1541 Update generated code
* Add support for `instant_payouts_promotion` on
`AccountSession.Component` and
`AccountSession.CreateParamsComponent`
* Add support for `adjustable_quantity` on `BillingPortal.Confi
guration.Feature.SubscriptionUpdate.Product`, `billing_portal
.Configuration.CreateParamsFeatureSubscriptionUpdateProduct`,
and `billing_portal.Configuration.ModifyParamsFeatureSubscrip
tionUpdateProduct`
* Remove support for value `disabled` from enum
`Capability.status`
* Add support for `transaction_id` on
`Charge.PaymentMethodDetail.Cashapp`
* Add support for `origin_context` on `Checkout.Session` and
`checkout.Session.CreateParams`
* Add support for `template` on `Checkout.Session.InvoiceCreati
on.InvoiceDatum.RenderingOption`, `PaymentLink.CreateParamsIn
voiceCreationInvoiceDatumRenderingOption`,
`PaymentLink.InvoiceCreation.InvoiceDatum.RenderingOption`, `
PaymentLink.ModifyParamsInvoiceCreationInvoiceDatumRenderingO
ption`, and `checkout.Session.CreateParamsInvoiceCreationInvo
iceDatumRenderingOption`
* Add support for `setup_future_usage` on
`Checkout.Session.PaymentMethodOption.Pix` and
`checkout.Session.CreateParamsPaymentMethodOptionPix`
* Add support for new value `nz_bank_account` on enum
`checkout.Session.CreateParams.payment_method_types`
* Change `Identity.VerificationSession.RelatedPerson.account`
to be required
* Change `Identity.VerificationSession.RelatedPerson.person` to
be required
* Add support for `duration` on
`Invoice.CreatePreviewParamsScheduleDetailPhase`,
`SubscriptionSchedule.CreateParamsPhase`, and
`SubscriptionSchedule.ModifyParamsPhase`
* Change type of
`Invoice.Cre