Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
13b58a7
Update generated code for v1868 and 2025-07-30.basil (#1541)
stripe-openapi[bot] Jul 30, 2025
68adcec
Bump version to 12.4.0
ramya-stripe Jul 30, 2025
673bf2f
Merge upstream and update generated code for v1892 and 2025-07-30.pre…
stripe-openapi[bot] Aug 8, 2025
ad7548f
Update generated code for v1895 and 2025-07-30.preview
stripe-openapi[bot] Aug 8, 2025
8f576af
Update generated code for v1896 and 2025-07-30.preview
stripe-openapi[bot] Aug 11, 2025
f865f4a
Update generated code for v1897 and 2025-07-30.preview
stripe-openapi[bot] Aug 11, 2025
193b290
Update generated code for v1898 and 2025-07-30.preview
stripe-openapi[bot] Aug 11, 2025
8517dda
Update generated code for v1900 and 2025-07-30.preview
stripe-openapi[bot] Aug 12, 2025
43b8dc7
Update generated code for v1902 and 2025-07-30.preview
stripe-openapi[bot] Aug 12, 2025
6021d6e
Update generated code for v1905 and 2025-07-30.preview
stripe-openapi[bot] Aug 13, 2025
de43409
Update generated code for v1908 and 2025-07-30.preview
stripe-openapi[bot] Aug 13, 2025
7d9441c
Update generated code for v1909 and 2025-07-30.preview
stripe-openapi[bot] Aug 13, 2025
747288d
Update generated code for v1909 and 2025-08-27.preview
stripe-openapi[bot] Aug 13, 2025
cb47fca
Update generated code for v1910 and 2025-08-27.preview
stripe-openapi[bot] Aug 13, 2025
f03ebd4
Update generated code for v1911 and 2025-08-27.preview
stripe-openapi[bot] Aug 14, 2025
f7be785
Update generated code for v1913 and 2025-08-27.preview
stripe-openapi[bot] Aug 14, 2025
366692e
Update generated code for v1915 and 2025-08-27.preview
stripe-openapi[bot] Aug 15, 2025
676903f
Update generated code for v1916 and 2025-08-27.preview
stripe-openapi[bot] Aug 15, 2025
b22bc64
Update generated code for v1918 and 2025-08-27.preview
stripe-openapi[bot] Aug 15, 2025
ff183a2
Update generated code for v1920 and 2025-08-27.preview
stripe-openapi[bot] Aug 15, 2025
854532e
Update generated code for v1922 and 2025-08-27.preview
stripe-openapi[bot] Aug 18, 2025
e77dcc4
Update generated code for v1923 and 2025-08-27.preview
stripe-openapi[bot] Aug 18, 2025
4c550e7
Update generated code for v1925 and 2025-08-27.preview
stripe-openapi[bot] Aug 18, 2025
a817e1d
Update generated code for v1926 and 2025-08-27.preview
stripe-openapi[bot] Aug 18, 2025
03249f1
Update generated code for v1927 and 2025-08-27.preview
stripe-openapi[bot] Aug 18, 2025
2f16b33
Update generated code for v1929 and 2025-08-27.preview
stripe-openapi[bot] Aug 19, 2025
b8e632b
Update generated code for v1930 and 2025-08-27.preview
stripe-openapi[bot] Aug 19, 2025
df9ce2b
Update generated code for v1931 and 2025-08-27.preview
stripe-openapi[bot] Aug 19, 2025
343d3d2
Update generated code for v1932 and 2025-08-27.preview
stripe-openapi[bot] Aug 20, 2025
5974991
Introduce V1 namespaces in StripeClient (#1549)
prathmesh-stripe Aug 21, 2025
0ee5f52
Merge upstream and update generated code for v1932 and 2025-08-27.pre…
stripe-openapi[bot] Aug 21, 2025
8a97915
Update generated code for v1932 and 2025-08-27.preview
stripe-openapi[bot] Aug 25, 2025
98ce25a
Import available http libraries more efficiently (#1553)
xavdid-stripe Aug 27, 2025
0b95c3f
Merge upstream and update generated code for v1932 and 2025-08-27.pre…
stripe-openapi[bot] Aug 27, 2025
f25ad44
Merge branch 'beta' into latest-codegen-beta
ramya-stripe Aug 27, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion API_VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2025-07-30.preview
2025-08-27.preview
30 changes: 27 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,31 @@ This release changes the pinned API version to `2025-07-30.preview`.
* Remove support for thin event `V2CoreAccountLinkCompletedEvent`
* Remove support for thin event `V2OffSessionPaymentRequiresCaptureEvent` with related object `v2.payments.OffSessionPayment`

## 12.4.0 - 2025-07-30
This release changes the pinned API version to `2025-07-30.basil`.

* [#1541](https://github.com/stripe/stripe-python/pull/1541) Update generated code
* Add support for `instant_payouts_promotion` on `AccountSession.Component` and `AccountSession.CreateParamsComponent`
* Add support for `adjustable_quantity` on `BillingPortal.Configuration.Feature.SubscriptionUpdate.Product`, `billing_portal.Configuration.CreateParamsFeatureSubscriptionUpdateProduct`, and `billing_portal.Configuration.ModifyParamsFeatureSubscriptionUpdateProduct`
* 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.InvoiceCreation.InvoiceDatum.RenderingOption`, `PaymentLink.CreateParamsInvoiceCreationInvoiceDatumRenderingOption`, `PaymentLink.InvoiceCreation.InvoiceDatum.RenderingOption`, `PaymentLink.ModifyParamsInvoiceCreationInvoiceDatumRenderingOption`, and `checkout.Session.CreateParamsInvoiceCreationInvoiceDatumRenderingOption`
* 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.CreatePreviewParamsSubscriptionDetail.cancel_at`, `Subscription.CreateParams.cancel_at`, and `Subscription.ModifyParams.cancel_at` from `DateTime` to `DateTime | enum('max_period_end'|'min_period_end')`
* Add support for `price_data` on `PaymentLink.CreateParamsLineItem`
* Change `PaymentLink.CreateParamsLineItem.price` to be optional
* Add support for new value `America/Coyhaique` on enum `reporting.ReportRun.CreateParamsParameter.timezone`
* Add support for `standard` on `Tax.Registration.CountryOption.Ae`, `Tax.Registration.CountryOption.Au`, `Tax.Registration.CountryOption.Ch`, `Tax.Registration.CountryOption.Gb`, `Tax.Registration.CountryOption.Jp`, `Tax.Registration.CountryOption.No`, `Tax.Registration.CountryOption.Nz`, `Tax.Registration.CountryOption.Sg`, `tax.Registration.CreateParamsCountryOptionAe`, `tax.Registration.CreateParamsCountryOptionAl`, `tax.Registration.CreateParamsCountryOptionAo`, `tax.Registration.CreateParamsCountryOptionAu`, `tax.Registration.CreateParamsCountryOptionAw`, `tax.Registration.CreateParamsCountryOptionB`, `tax.Registration.CreateParamsCountryOptionBa`, `tax.Registration.CreateParamsCountryOptionBb`, `tax.Registration.CreateParamsCountryOptionBd`, `tax.Registration.CreateParamsCountryOptionBf`, `tax.Registration.CreateParamsCountryOptionBh`, `tax.Registration.CreateParamsCountryOptionCd`, `tax.Registration.CreateParamsCountryOptionCh`, `tax.Registration.CreateParamsCountryOptionEt`, `tax.Registration.CreateParamsCountryOptionGb`, `tax.Registration.CreateParamsCountryOptionGn`, `tax.Registration.CreateParamsCountryOptionIs`, `tax.Registration.CreateParamsCountryOptionJp`, `tax.Registration.CreateParamsCountryOptionMe`, `tax.Registration.CreateParamsCountryOptionMk`, `tax.Registration.CreateParamsCountryOptionMr`, `tax.Registration.CreateParamsCountryOptionNo`, `tax.Registration.CreateParamsCountryOptionNz`, `tax.Registration.CreateParamsCountryOptionOm`, `tax.Registration.CreateParamsCountryOptionR`, `tax.Registration.CreateParamsCountryOptionSg`, `tax.Registration.CreateParamsCountryOptionSr`, `tax.Registration.CreateParamsCountryOptionUy`, `tax.Registration.CreateParamsCountryOptionZa`, and `tax.Registration.CreateParamsCountryOptionZw`
* Add support for new value `inbound_goods` on enums `Tax.Registration.CountryOption.At.Standard.place_of_supply_scheme`, `Tax.Registration.CountryOption.Be.Standard.place_of_supply_scheme`, `Tax.Registration.CountryOption.Bg.Standard.place_of_supply_scheme`, `Tax.Registration.CountryOption.Cy.Standard.place_of_supply_scheme`, `Tax.Registration.CountryOption.Cz.Standard.place_of_supply_scheme`, `Tax.Registration.CountryOption.De.Standard.place_of_supply_scheme`, `Tax.Registration.CountryOption.Dk.Standard.place_of_supply_scheme`, `Tax.Registration.CountryOption.E.Standard.place_of_supply_scheme`, `Tax.Registration.CountryOption.Ee.Standard.place_of_supply_scheme`, `Tax.Registration.CountryOption.Fi.Standard.place_of_supply_scheme`, `Tax.Registration.CountryOption.Fr.Standard.place_of_supply_scheme`, `Tax.Registration.CountryOption.Gr.Standard.place_of_supply_scheme`, `Tax.Registration.CountryOption.Hr.Standard.place_of_supply_scheme`, `Tax.Registration.CountryOption.Hu.Standard.place_of_supply_scheme`, `Tax.Registration.CountryOption.Ie.Standard.place_of_supply_scheme`, `Tax.Registration.CountryOption.It.Standard.place_of_supply_scheme`, `Tax.Registration.CountryOption.Lt.Standard.place_of_supply_scheme`, `Tax.Registration.CountryOption.Lu.Standard.place_of_supply_scheme`, `Tax.Registration.CountryOption.Lv.Standard.place_of_supply_scheme`, `Tax.Registration.CountryOption.Mt.Standard.place_of_supply_scheme`, `Tax.Registration.CountryOption.Nl.Standard.place_of_supply_scheme`, `Tax.Registration.CountryOption.Pl.Standard.place_of_supply_scheme`, `Tax.Registration.CountryOption.Pt.Standard.place_of_supply_scheme`, `Tax.Registration.CountryOption.Ro.Standard.place_of_supply_scheme`, `Tax.Registration.CountryOption.Se.Standard.place_of_supply_scheme`, `Tax.Registration.CountryOption.Si.Standard.place_of_supply_scheme`, `Tax.Registration.CountryOption.Sk.Standard.place_of_supply_scheme`, `tax.Registration.CreateParamsCountryOptionAtStandard.place_of_supply_scheme`, `tax.Registration.CreateParamsCountryOptionBeStandard.place_of_supply_scheme`, `tax.Registration.CreateParamsCountryOptionBgStandard.place_of_supply_scheme`, `tax.Registration.CreateParamsCountryOptionCyStandard.place_of_supply_scheme`, `tax.Registration.CreateParamsCountryOptionCzStandard.place_of_supply_scheme`, `tax.Registration.CreateParamsCountryOptionDeStandard.place_of_supply_scheme`, `tax.Registration.CreateParamsCountryOptionDkStandard.place_of_supply_scheme`, `tax.Registration.CreateParamsCountryOptionEStandard.place_of_supply_scheme`, `tax.Registration.CreateParamsCountryOptionEeStandard.place_of_supply_scheme`, `tax.Registration.CreateParamsCountryOptionFiStandard.place_of_supply_scheme`, `tax.Registration.CreateParamsCountryOptionFrStandard.place_of_supply_scheme`, `tax.Registration.CreateParamsCountryOptionGrStandard.place_of_supply_scheme`, `tax.Registration.CreateParamsCountryOptionHrStandard.place_of_supply_scheme`, `tax.Registration.CreateParamsCountryOptionHuStandard.place_of_supply_scheme`, `tax.Registration.CreateParamsCountryOptionIeStandard.place_of_supply_scheme`, `tax.Registration.CreateParamsCountryOptionItStandard.place_of_supply_scheme`, `tax.Registration.CreateParamsCountryOptionLtStandard.place_of_supply_scheme`, `tax.Registration.CreateParamsCountryOptionLuStandard.place_of_supply_scheme`, `tax.Registration.CreateParamsCountryOptionLvStandard.place_of_supply_scheme`, `tax.Registration.CreateParamsCountryOptionMtStandard.place_of_supply_scheme`, `tax.Registration.CreateParamsCountryOptionNlStandard.place_of_supply_scheme`, `tax.Registration.CreateParamsCountryOptionPlStandard.place_of_supply_scheme`, `tax.Registration.CreateParamsCountryOptionPtStandard.place_of_supply_scheme`, `tax.Registration.CreateParamsCountryOptionRoStandard.place_of_supply_scheme`, `tax.Registration.CreateParamsCountryOptionSeStandard.place_of_supply_scheme`, `tax.Registration.CreateParamsCountryOptionSiStandard.place_of_supply_scheme`, and `tax.Registration.CreateParamsCountryOptionSkStandard.place_of_supply_scheme`
* Add support for `aed`, `bgn`, `huf`, and `ron` on `Terminal.Configuration.Tipping`, `terminal.Configuration.CreateParamsTipping`, and `terminal.Configuration.ModifyParamsTipping`
* Add support for new value `2025-07-30.basil` on enum `WebhookEndpoint.CreateParams.api_version`
* [#1537](https://github.com/stripe/stripe-python/pull/1537) Fix timeout type hint in RequestsClient

## 12.4.0b2 - 2025-07-09
* [#1536](https://github.com/stripe/stripe-python/pull/1536) Pull in V2 FinancialAccount changes for June release
* Add support for `close` and `create` methods on resource `v2.money_management.FinancialAccount`
Expand Down Expand Up @@ -86,6 +111,8 @@ This release changes the pinned API version to `2025-06-30.preview`.
* Remove support for error code `outbound_payment_recipient_email_does_not_exist` on `RecipientNotNotifiableError`

## 12.3.0 - 2025-07-01
This release changes the pinned API version to `2025-06-30.basil`.

* [#1526](https://github.com/stripe/stripe-python/pull/1526) Update generated code
* Add support for `migrate` method on resource `Subscription`
* Add support for `collect_payment_method` and `confirm_payment_intent` methods on resource `terminal.Reader`
Expand Down Expand Up @@ -121,9 +148,6 @@ This release changes the pinned API version to `2025-06-30.preview`.
* Add support for new value `2025-06-30.basil` on enum `WebhookEndpoint.CreateParams.api_version`
* Add support for snapshot event `terminal.reader.action_updated` with resource `terminal.Reader`
* [#1534](https://github.com/stripe/stripe-python/pull/1534) Fix the link to releases page from readme
* [#1532](https://github.com/stripe/stripe-python/pull/1532) Added lint ignore instruction for deprecated import
* [#1524](https://github.com/stripe/stripe-python/pull/1524) Added import for the new deprecated services in stripe_client
* [#1522](https://github.com/stripe/stripe-python/pull/1522) Add a new deprecated v1 services section

## 12.3.0b2 - 2025-06-26
* [#1531](https://github.com/stripe/stripe-python/pull/1531) Pull in OffSessionPayment changes for the May release
Expand Down
2 changes: 1 addition & 1 deletion OPENAPI_VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v1868
v1932
3 changes: 2 additions & 1 deletion justfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,10 @@ _default:
just --list --unsorted

# ⭐ run all unit tests
[positional-arguments]
test *args: install-test-deps
# configured in pyproject.toml
pytest {{ args }}
pytest "$@"

# ⭐ check for potential mistakes
lint: install-dev-deps
Expand Down
1 change: 1 addition & 0 deletions stripe/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -667,6 +667,7 @@ def __getattr__(name):
)
from stripe._transfer_service import TransferService as TransferService
from stripe._treasury_service import TreasuryService as TreasuryService
from stripe._v1_services import V1Services as V1Services
from stripe._v2_services import V2Services as V2Services
from stripe._webhook_endpoint import WebhookEndpoint as WebhookEndpoint
from stripe._webhook_endpoint_service import (
Expand Down
4 changes: 2 additions & 2 deletions stripe/_account.py
Original file line number Diff line number Diff line change
Expand Up @@ -642,7 +642,7 @@ class Verification(StripeObject):
class Document(StripeObject):
back: Optional[ExpandableField["File"]]
"""
The back of a document returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `additional_verification`.
The back of a document returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `additional_verification`. Note that `additional_verification` files are [not downloadable](https://docs.stripe.com/file-upload#uploading-a-file).
"""
details: Optional[str]
"""
Expand All @@ -654,7 +654,7 @@ class Document(StripeObject):
"""
front: Optional[ExpandableField["File"]]
"""
The front of a document returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `additional_verification`.
The front of a document returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `additional_verification`. Note that `additional_verification` files are [not downloadable](https://docs.stripe.com/file-upload#uploading-a-file).
"""

document: Document
Expand Down
Loading