Skip to content

Conversation

@stripe-openapi
Copy link
Contributor

@stripe-openapi stripe-openapi bot commented Nov 5, 2025

Codegen for openapi v2124 and proto spec .

Changelog

  • Add support for new resources v2.core.AccountPersonToken and v2.core.AccountToken
  • Remove support for resource v2.payments.OffSessionPayment
  • Add support for create and retrieve methods on resources v2.core.AccountPersonToken and v2.core.AccountToken
  • Remove support for cancel, capture, create, list, and retrieve methods on resource v2.payments.OffSessionPayment
  • Change Tax.Association.tax_transaction_attempts to be required
  • Add support for specified_commercial_transactions_act_url on Account.BusinessProfile, AccountCreateParamsBusinessProfile, and AccountModifyParamsBusinessProfile
  • Add support for paypay_payments on Account.Setting, AccountCreateParamsSetting, and AccountModifyParamsSetting
  • Change type of billing.analytics.MeterUsageRetrieveParamsMeter.dimension_filters from string to array(string)
  • Change type of billing.analytics.MeterUsageRetrieveParamsMeter.tenant_filters from string to array(string)
  • Add support for car_rental_data, flight_data, and lodging_data on ChargeCaptureParamsPaymentDetail, ChargeModifyParamsPaymentDetail, PaymentIntentCaptureParamsPaymentDetail, PaymentIntentConfirmParamsPaymentDetail, PaymentIntentCreateParamsPaymentDetail, and PaymentIntentModifyParamsPaymentDetail
  • Add support for supplementary_purchase_data on OrderCreateParamsPaymentSettingPaymentMethodOptionKlarna, OrderModifyParamsPaymentSettingPaymentMethodOptionKlarna, PaymentIntentConfirmParamsPaymentMethodOptionKlarna, PaymentIntentCreateParamsPaymentMethodOptionKlarna, and PaymentIntentModifyParamsPaymentMethodOptionKlarna
  • Add support for allow_redisplay and customer_account on PaymentMethodListParams
  • Add support for future_requirements on V2.Core.Account
  • Add support for konbini_payments and script_statement_descriptor on V2.Core.Account.Configuration.Merchant, v2.core.AccountCreateParamsConfigurationMerchant, and v2.core.AccountModifyParamsConfigurationMerchant
  • Add support for eur on V2.Core.Account.Configuration.Storer.Capability.HoldsCurrency, v2.core.AccountCreateParamsConfigurationStorerCapabilityHoldsCurrency, and v2.core.AccountModifyParamsConfigurationStorerCapabilityHoldsCurrency
  • Add support for requirements_collector on V2.Core.Account.Default.Responsibility
  • Add support for new value ar_cuit on enums V2.Core.Account.Identity.BusinessDetail.IdNumber.type, v2.core.AccountCreateParamsIdentityBusinessDetailIdNumber.type, and v2.core.AccountModifyParamsIdentityBusinessDetailIdNumber.type
  • Add support for new value ar_dni on enums V2.Core.Account.Identity.Individual.IdNumber.type, V2.Core.AccountPerson.IdNumber.type, v2.core.AccountCreateParamsIdentityIndividualIdNumber.type, v2.core.AccountModifyParamsIdentityIndividualIdNumber.type, v2.core.AccountPersonCreateParamsIdNumber.type, and v2.core.AccountPersonModifyParamsIdNumber.type
  • Remove support for collector on V2.Core.Account.Requirement
  • Add support for new value holds_currencies.eur on enum V2.Core.Account.Requirement.Entry.Impact.RestrictsCapability.capability
  • Add support for new values payment_method and person on enum V2.Core.Account.Requirement.Entry.Reference.type
  • Remove support for value resource from enum V2.Core.Account.Requirement.Entry.Reference.type
  • Remove support for value future_requirements from enum V2.Core.Account.Requirement.Entry.RequestedReason.code
  • Add support for changes on V2.Core.Event
  • Remove support for value sepa_bank_account from enums V2.MoneyManagement.FinancialAddress.Credential.type and v2.money_management.FinancialAddressCreateParams.type
  • Add support for account_token on v2.core.AccountCreateParams and v2.core.AccountModifyParams
  • Add support for new value future_requirements on enums v2.core.AccountCreateParams.include, v2.core.AccountModifyParams.include, and v2.core.AccountRetrieveParams.include
  • Add support for person_token on v2.core.AccountPersonCreateParams and v2.core.AccountPersonModifyParams
  • Add support for thin event V2CoreHealthEventGenerationFailureResolvedEvent
  • Remove support for thin events V2PaymentsOffSessionPaymentAuthorizationAttemptFailedEvent, V2PaymentsOffSessionPaymentAuthorizationAttemptStartedEvent, V2PaymentsOffSessionPaymentCanceledEvent, V2PaymentsOffSessionPaymentCreatedEvent, V2PaymentsOffSessionPaymentFailedEvent, V2PaymentsOffSessionPaymentRequiresCaptureEvent, and V2PaymentsOffSessionPaymentSucceededEvent with related object v2.payments.OffSessionPayment

@stripe-openapi stripe-openapi bot requested a review from a team as a code owner November 5, 2025 17:42
@stripe-openapi stripe-openapi bot requested review from jar-stripe and removed request for a team and jar-stripe November 5, 2025 17:42
@stripe-openapi stripe-openapi bot enabled auto-merge November 5, 2025 17:43
@stripe-openapi stripe-openapi bot force-pushed the latest-codegen-beta branch from d152340 to 7acdb73 Compare November 12, 2025 01:15
stripe-openapi bot and others added 7 commits November 12, 2025 01:49
* Update generated code for v2113 and

* Update generated code for v2114 and

* Update generated code for v2117 and

* Update generated code for v2119 and

* Update generated code for v2121 and

---------

Co-authored-by: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com>
Co-authored-by: Ramya Rao <100975018+ramya-stripe@users.noreply.github.com>
* Update v2 array parameter serialization to use indexed format

Change array parameter serialization for v2 endpoints to use indexed
format (e.g., ?include[0]=foo&include[1]=bar) instead of the repeated
parameter format (e.g., ?include=foo&include=bar). This aligns v2
behavior with v1 for consistency.

Changes:
- Modified _encode.py _api_encode to always use indexed format
- Updated tests to expect indexed format for v2 arrays

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

Co-Authored-By: Claude <noreply@anthropic.com>
Committed-By-Agent: claude

* Remove unneeded api_mode arg

* Fix linting error

---------

Co-authored-by: Claude <noreply@anthropic.com>
* Update generated code for v2123 and

* Update generated code for v2124 and

---------

Co-authored-by: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com>
Co-authored-by: Ramya Rao <100975018+ramya-stripe@users.noreply.github.com>
@stripe-openapi stripe-openapi bot merged commit 3653119 into beta Nov 17, 2025
19 checks passed
@stripe-openapi stripe-openapi bot deleted the latest-codegen-beta branch November 17, 2025 21:03
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.

3 participants