Skip to content

chore(deps): update stripe requirement from ~=14.4.1 to ~=15.0.1 in /backend#21

Open
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/pip/backend/stripe-approx-eq-15.0.1
Open

chore(deps): update stripe requirement from ~=14.4.1 to ~=15.0.1 in /backend#21
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/pip/backend/stripe-approx-eq-15.0.1

Conversation

@dependabot
Copy link
Copy Markdown

@dependabot dependabot bot commented on behalf of github Apr 8, 2026

Updates the requirements on stripe to permit the latest version.

Release notes

Sourced from stripe's releases.

v15.0.1

  • #1786 Fix encoding two-dimensional array request params
  • #1785 Improve types for metadata and other dict-like types
  • #1780 Fix str / repr for StripeObjects with decimals & add support for plain dicts

See the changelog for more details.

Changelog

Sourced from stripe's changelog.

15.0.1 - 2026-04-01

  • #1786 Fix encoding two-dimensional array request params
  • #1785 Improve types for metadata and other dict-like types
  • #1780 Fix str / repr for StripeObjects with decimals & add support for plain dicts

15.0.0 - 2026-03-25

This release changes the pinned API version to 2026-03-25.dahlia and contains breaking changes (prefixed with ⚠️ below). There's also a detailed migration guide to simplify your upgrade process.

Please review details for the breaking changes and alternatives in the Stripe API changelog before upgrading.

  • ⚠️ Breaking change: #1769 Add decimal_string coercion for v1 and v2 API fields

    • All decimal_string fields changed type from str to decimal.Decimal in both request params and response objects. Code that reads or writes these fields as str will need to use Decimal instead. Affected fields across v1 and v2 APIs:
      • checkout.Session: fx_rate
      • climate.Order: metric_tons; climate.Product: metric_tons_available
      • CreditNoteLineItem: unit_amount_decimal
      • InvoiceItem: quantity_decimal, unit_amount_decimal
      • InvoiceLineItem: quantity_decimal, unit_amount_decimal
      • issuing.Authorization / issuing.Transaction (and TestHelpers): quantity_decimal, unit_cost_decimal, gross_amount_decimal, local_amount_decimal, national_amount_decimal
      • Plan: amount_decimal, flat_amount_decimal, unit_amount_decimal
      • Price: unit_amount_decimal, flat_amount_decimal (including currency_options and tiers)
      • v2.core.Account / v2.core.AccountPerson: percent_ownership
      • Request params on Invoice, Product, Quote, Subscription, SubscriptionItem, SubscriptionSchedule, PaymentLink: unit_amount_decimal, flat_amount_decimal, quantity_decimal (where applicable)
  • [⚠️ Breaking change:#1767](stripe/stripe-python#1767) Throw an error when using the wrong webhook parsing method

  • ⚠️ Breaking change: #1764 Drop support for Python 3.7 & 3.8

  • ⚠️ Breaking change: #1762 StripeObject no longer inherits from dict

    • StripeObject no longer inherits from dict, so any dict methods will no longer exist, including .get() and notably, .items().
      • For convenience, it's still possible to check key presence with 'some_key' in some_obj. To replicate .get() behavior, use getattr(obj, 'some_key', None) for now. We've got some improvements around accessing properties that may not be present planned, but getattr works for now.
      • .update() has been retained for easier interaction with metadata, but it's not really intended for use on full objects.
      • Equality between StripeObjects still works: it checks for equality between the same class and underlying data.
    • To access the underlying data as a dict, call some_obj.to_dict(), which recursively dumps all stripe-provided classes into native Python types. This is a read-only view; changes to the output of to_dict() won't affect the original object.
    • Write operations can still be done with dot notation (some_obj.val = 123) or bracket notation (some_obj["val"] = 123). Do that instead of trying to interact with the underlying data store, as the implementation is considered private and may change without warning in the future.

⚠️ Breaking changes due to changes in the Stripe API

  • Generated changes from #1749, #1771, #1773, #1775
    • Add support for upi_payments on Account.Capability, AccountCreateParamsCapability, and AccountModifyParamsCapability
    • Add support for upi on Charge.PaymentMethodDetail, Checkout.Session.PaymentMethodOption, ConfirmationToken.PaymentMethodPreview, ConfirmationTokenCreateParamsPaymentMethodDatum, Mandate.PaymentMethodDetail, PaymentAttemptRecord.PaymentMethodDetail, PaymentIntent.PaymentMethodOption, PaymentIntentConfirmParamsPaymentMethodDatum, PaymentIntentConfirmParamsPaymentMethodOption, PaymentIntentCreateParamsPaymentMethodDatum, PaymentIntentCreateParamsPaymentMethodOption, PaymentIntentModifyParamsPaymentMethodDatum, PaymentIntentModifyParamsPaymentMethodOption, PaymentMethodConfigurationCreateParams, PaymentMethodConfigurationModifyParams, PaymentMethodConfiguration, PaymentMethodCreateParams, PaymentMethod, PaymentRecord.PaymentMethodDetail, SetupAttempt.PaymentMethodDetail, SetupIntent.PaymentMethodOption, SetupIntentConfirmParamsPaymentMethodDatum, SetupIntentConfirmParamsPaymentMethodOption, SetupIntentCreateParamsPaymentMethodDatum, SetupIntentCreateParamsPaymentMethodOption, SetupIntentModifyParamsPaymentMethodDatum, SetupIntentModifyParamsPaymentMethodOption, and checkout.SessionCreateParamsPaymentMethodOption
    • Add support for new value tempo on enums Charge.PaymentMethodDetail.Crypto.network, PaymentAttemptRecord.PaymentMethodDetail.Crypto.network, and PaymentRecord.PaymentMethodDetail.Crypto.network
    • Add support for integration_identifier on Checkout.Session and checkout.SessionCreateParams
    • Add support for new value upi on enums PaymentIntent.excluded_payment_method_types, PaymentIntentConfirmParams.excluded_payment_method_types, PaymentIntentCreateParams.excluded_payment_method_types, PaymentIntentModifyParams.excluded_payment_method_types, SetupIntent.excluded_payment_method_types, SetupIntentCreateParams.excluded_payment_method_types, SetupIntentModifyParams.excluded_payment_method_types, and checkout.SessionCreateParams.excluded_payment_method_types
    • Add support for crypto on checkout.SessionCreateParamsPaymentMethodOption
    • Add support for new value upi on enum checkout.SessionCreateParams.payment_method_types
    • Add support for pending_invoice_item_interval on checkout.SessionCreateParamsSubscriptionDatum
    • Add support for new values elements, embedded_page, form, and hosted_page on enums Checkout.Session.ui_mode and checkout.SessionCreateParams.ui_mode
    • Add support for new value marine_carbon_removal on enum Climate.Supplier.removal_pathway
    • Add support for new value upi on enums ConfirmationTokenCreateParamsPaymentMethodDatum.type, PaymentIntentConfirmParamsPaymentMethodDatum.type, PaymentIntentCreateParamsPaymentMethodDatum.type, PaymentIntentModifyParamsPaymentMethodDatum.type, SetupIntentConfirmParamsPaymentMethodDatum.type, SetupIntentCreateParamsPaymentMethodDatum.type, and SetupIntentModifyParamsPaymentMethodDatum.type
    • Add support for new value upi on enums ConfirmationToken.PaymentMethodPreview.type and PaymentMethod.type
    • Add support for metadata on CreditNoteCreateParamsLine, CreditNoteLineItem, CreditNotePreviewLinesParamsLine, and CreditNotePreviewParamsLine

... (truncated)

Commits
  • e3ee617 Bump version to 15.0.1
  • f6b17f7 Fix 2D array parameter encoding (#1786)
  • 628da69 improve types for metadata and other dict-like types (#1785)
  • 601875a tweak changelog
  • 38deb0b Fix JSON serialization (and str / repr) for objects with decimals & add s...
  • 04d8bfd Bump version to 15.0.0
  • 03b1d60 Update generated code (#1775)
  • 618d3b3 Add decimal_string coercion for v1 and v2 API fields (#1769)
  • 18f4f88 ⚠️ Throw an error when using the wrong webhook parsing method (#1767)
  • 8841462 Update generated code for v2205 and (#1773)
  • Additional commits viewable in compare view

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Updates the requirements on [stripe](https://github.com/stripe/stripe-python) to permit the latest version.
- [Release notes](https://github.com/stripe/stripe-python/releases)
- [Changelog](https://github.com/stripe/stripe-python/blob/master/CHANGELOG.md)
- [Commits](stripe/stripe-python@v14.4.1...v15.0.1)

---
updated-dependencies:
- dependency-name: stripe
  dependency-version: 15.0.1
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file python Pull requests that update python code labels Apr 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file python Pull requests that update python code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants