Skip to content

Conversation

stripe-openapi[bot]
Copy link
Contributor

Codegen for openapi v1868 and proto spec 2025-07-30.basil.

Changelog

  • 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

@stripe-openapi stripe-openapi bot requested a review from a team as a code owner July 22, 2025 16:41
@stripe-openapi stripe-openapi bot requested review from mbroshi-stripe and removed request for a team July 22, 2025 16:41
@stripe-openapi stripe-openapi bot enabled auto-merge (squash) July 22, 2025 16:41
@stripe-openapi stripe-openapi bot force-pushed the latest-codegen-master branch from 49db462 to ad0bee7 Compare July 29, 2025 00:00
@stripe-openapi stripe-openapi bot merged commit 13b58a7 into master Jul 30, 2025
14 checks passed
@stripe-openapi stripe-openapi bot deleted the latest-codegen-master branch July 30, 2025 16:21
ramya-stripe added a commit that referenced this pull request Aug 27, 2025
* Update generated code for v1868 and 2025-07-30.basil (#1541)

Co-authored-by: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com>

* Bump version to 12.4.0

* Introduce V1 namespaces in StripeClient (#1549)

* Introduced V1 namespaces

* Updated migration guide link

* Import available http libraries more efficiently (#1553)

* replace import stragety, fix some tests

[skip ci]

* wip fixing tests

[skip ci]

* [claude] fix tests

* formatting

* test cleanup

* tests are fast

* final cleanup

* remove comment

* remove accidential files

* tweak import logic

* Update generated code for v1932 and 2025-08-27.basil (#1544)

Co-authored-by: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com>
Co-authored-by: Ramya Rao <[email protected]>

* Trigger CI after workflow update

* removed manually maintained RateLimitError class as this is now generated

* added private-preview to workflow triggers

* removed duplicate ratelimit import

---------

Co-authored-by: stripe-openapi[bot] <105521251+stripe-openapi[bot]@users.noreply.github.com>
Co-authored-by: Ramya Rao <[email protected]>
Co-authored-by: prathmesh-stripe <[email protected]>
Co-authored-by: David Brownman <[email protected]>
Co-authored-by: Ramya Rao <[email protected]>
Co-authored-by: Michael Broshi <[email protected]>
Co-authored-by: Jesse Rosalia <[email protected]>
helenye-stripe pushed a commit that referenced this pull request Sep 22, 2025
* Update generated code for v1868 and 2025-07-30.basil (#1541)

Co-authored-by: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com>

* Bump version to 12.4.0

* Introduce V1 namespaces in StripeClient (#1549)

* Introduced V1 namespaces

* Updated migration guide link

* Import available http libraries more efficiently (#1553)

* replace import stragety, fix some tests

[skip ci]

* wip fixing tests

[skip ci]

* [claude] fix tests

* formatting

* test cleanup

* tests are fast

* final cleanup

* remove comment

* remove accidential files

* tweak import logic

* Update generated code for v1932 and 2025-08-27.basil (#1544)

Co-authored-by: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com>
Co-authored-by: Ramya Rao <[email protected]>

* Add section on private preview SDKs in readme (#1554)

* Bump version to 12.5.0

* Add private-preview branch to CI workflow triggers

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <[email protected]>

* fix: paginate backwards if `starting_after == None` (#1563)

This fixes the case where `starting_after` is present in
`_retrieve_params` but is `None` so that the `auto_paging_iter`
correctly paginates backwards.

closes #1562

* Bump version to 12.5.1

* add support for v2 deleted objects (#1543)

* add support for v2 deleted objects

* revert event destination return type

* ⚠️ Build SDK w/ V2 OpenAPI spec (#1565)

* generate w/ v2 openapi spec

* gen again

* gen

* Updated stripeclient snippets in Readme.md (#1528)

* Don't use mutable default arguments (#1570)

* generate default assignments

* add mutable args linter and fix errors

* type generated args more accurately

* only initialize optional params when needed

* generate private-preview

---------

Co-authored-by: stripe-openapi[bot] <105521251+stripe-openapi[bot]@users.noreply.github.com>
Co-authored-by: Ramya Rao <[email protected]>
Co-authored-by: prathmesh-stripe <[email protected]>
Co-authored-by: Ramya Rao <[email protected]>
Co-authored-by: Michael Broshi <[email protected]>
Co-authored-by: Claude <[email protected]>
Co-authored-by: Ryan Causey <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant