Update generated code for beta#1542
Merged
Merged
Conversation
Co-authored-by: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com>
27ce3ff to
673bf2f
Compare
* Introduced V1 namespaces * Updated migration guide link
* 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
ramya-stripe
approved these changes
Aug 27, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Codegen for openapi v1932 and proto spec 2025-08-27.preview.
Changelog
listandretrievemethods on resourceInvoicePaymentlistmethod on resourceMandateappliedonV2.Core.Account.Configuration.Customer,V2.Core.Account.Configuration.Merchant,V2.Core.Account.Configuration.Recipient,V2.Core.Account.Configuration.Storer,v2.core.Account.ModifyParamsConfigurationCustomer,v2.core.Account.ModifyParamsConfigurationMerchant,v2.core.Account.ModifyParamsConfigurationRecipient, andv2.core.Account.ModifyParamsConfigurationStorerao_nif,az_tin,bd_etin,cr_cpj,cr_nite,do_rcn,gt_nit,kz_bin,mz_nuit,pe_ruc,pk_ntn,sa_crn, andsa_tinon enumsV2.Core.Account.Identity.BusinessDetail.IdNumber.type,v2.core.Account.CreateParamsIdentityBusinessDetailIdNumber.type, andv2.core.Account.ModifyParamsIdentityBusinessDetailIdNumber.typeao_nif,az_tin,bd_brc,bd_etin,bd_nid,cr_cpf,cr_dimex,cr_nite,do_rcn,gt_nit,kz_iin,mz_nuit,pe_dni,pk_cnic,pk_snic, andsa_tinon enumsV2.Core.Account.Identity.Individual.IdNumber.type,V2.Core.Person.IdNumber.type,v2.core.Account.CreateParamsIdentityIndividualIdNumber.type,v2.core.Account.ModifyParamsIdentityIndividualIdNumber.type,v2.core.Person.CreateParamsIdNumber.type, andv2.core.Person.ModifyParamsIdNumber.typeBilling.AlertTriggered.valuefromlongIntegertodecimal_stringdisplay_nameonV2.MoneyManagement.FinancialAccountandv2.money_management.FinancialAccount.CreateParamscurrency_conversionon enumsV2.MoneyManagement.Transaction.categoryandV2.MoneyManagement.TransactionEntry.TransactionDetail.categorycurrency_conversiononV2.MoneyManagement.Transaction.FlowandV2.MoneyManagement.TransactionEntry.TransactionDetail.Flowcurrency_conversionon enumsV2.MoneyManagement.Transaction.Flow.typeandV2.MoneyManagement.TransactionEntry.TransactionDetail.Flow.typepaymentsonBalanceSettings.ModifyParamsandBalanceSettingsdebit_negative_balances,payouts, andsettlement_timingonBalanceSettings.ModifyParamsandBalanceSettingsmandateonCharge.PaymentMethodDetail.Pix,PaymentAttemptRecord.PaymentMethodDetail.Pix, andPaymentRecord.PaymentMethodDetail.Pixcoupon_dataoncheckout.Session.CreateParamsDiscountmandate_optionsonCheckout.Session.PaymentMethodOption.Pix,PaymentIntent.ConfirmParamsPaymentMethodOptionPix,PaymentIntent.CreateParamsPaymentMethodOptionPix,PaymentIntent.ModifyParamsPaymentMethodOptionPix,PaymentIntent.PaymentMethodOption.Pix, andcheckout.Session.CreateParamsPaymentMethodOptionPixCheckout.Session.PaymentMethodOption.Pix.setup_future_usage,PaymentIntent.ConfirmParamsPaymentMethodOptionPix.setup_future_usage,PaymentIntent.CreateParamsPaymentMethodOptionPix.setup_future_usage,PaymentIntent.ModifyParamsPaymentMethodOptionPix.setup_future_usage,PaymentIntent.PaymentMethodOption.Pix.setup_future_usage, andcheckout.Session.CreateParamsPaymentMethodOptionPix.setup_future_usagefromliteral('none')toenum('none'|'off_session')amountonMandate.MultiUse,PaymentAttemptRecord, andPaymentRecordcurrencyonMandate.MultiUsepixonMandate.PaymentMethodDetail,SetupAttempt.PaymentMethodDetail,SetupIntent.ConfirmParamsPaymentMethodOption,SetupIntent.CreateParamsPaymentMethodOption,SetupIntent.ModifyParamsPaymentMethodOption, andSetupIntent.PaymentMethodOptionlimitonPaymentAttemptRecord.ListParamsamount_authorized,amount_refunded, andapplicationonPaymentAttemptRecordandPaymentRecordprocessor_detailsonPaymentAttemptRecord,PaymentRecord.ReportPaymentParams, andPaymentRecordpayment_referenceonPaymentAttemptRecord,PaymentRecord.ReportPaymentParams, andPaymentRecordinstallmentsonPaymentAttemptRecord.PaymentMethodDetail.AlmaandPaymentRecord.PaymentMethodDetail.Almatransaction_idonPaymentAttemptRecord.PaymentMethodDetail.Alma,PaymentAttemptRecord.PaymentMethodDetail.AmazonPay,PaymentAttemptRecord.PaymentMethodDetail.Billie,PaymentAttemptRecord.PaymentMethodDetail.KakaoPay,PaymentAttemptRecord.PaymentMethodDetail.KrCard,PaymentAttemptRecord.PaymentMethodDetail.NaverPay,PaymentAttemptRecord.PaymentMethodDetail.Payco,PaymentAttemptRecord.PaymentMethodDetail.RevolutPay,PaymentAttemptRecord.PaymentMethodDetail.SamsungPay,PaymentAttemptRecord.PaymentMethodDetail.Satispay,PaymentRecord.PaymentMethodDetail.Alma,PaymentRecord.PaymentMethodDetail.AmazonPay,PaymentRecord.PaymentMethodDetail.Billie,PaymentRecord.PaymentMethodDetail.KakaoPay,PaymentRecord.PaymentMethodDetail.KrCard,PaymentRecord.PaymentMethodDetail.NaverPay,PaymentRecord.PaymentMethodDetail.Payco,PaymentRecord.PaymentMethodDetail.RevolutPay,PaymentRecord.PaymentMethodDetail.SamsungPay, andPaymentRecord.PaymentMethodDetail.SatispaylocationandreaderonPaymentAttemptRecord.PaymentMethodDetail.PaynowandPaymentRecord.PaymentMethodDetail.Paynowlatest_active_mandateonPaymentMethodPayout.payout_methodto be requiredmetadataandperiodonQuotePreviewSubscriptionSchedule.Phase.AddInvoiceItempix_display_qr_codeonSetupIntent.NextActionreader_securityonTerminal.Configuration,terminal.Configuration.CreateParams, andterminal.Configuration.ModifyParamscustomer_session_expiredandindia_recurring_payment_mandate_canceledonQuotePreviewInvoice.LastFinalizationError