Update generated code for private-preview - #1925
Merged
Merged
Conversation
stripe-openapi
Bot
requested review from
xavdid
and removed request for
a team
September 24, 2026 17:21
stripe-openapi
Bot
force-pushed
the
latest-codegen-private-preview
branch
from
September 24, 2026 17:21
fdea67f to
6e9fb8d
Compare
stripe-openapi
Bot
force-pushed
the
latest-codegen-private-preview
branch
16 times, most recently
from
September 29, 2026 00:22
819739f to
12d2868
Compare
* rename changefiles that don't adhere to new naming rules * Support `EventNotification`s with singleton related objects (#1904) * support related singleton objects * add missing changefile * disabled reportUnnecessaryTypeIgnoreComment (#1912) * Add option to suppress Stripe notices (#1909) * Add option to suppress Stripe notices Committed-By-Agent: codex Co-authored-by: codex <noreply@openai.com> * Add changelog entry for notice suppression Committed-By-Agent: codex Co-authored-by: codex <noreply@openai.com> * Clarify Stripe notice suppression instructions Committed-By-Agent: codex Co-authored-by: codex <noreply@openai.com> --------- Co-authored-by: codex <noreply@openai.com> * Fix event handler account scoping (#1911) * Fix event handler account scoping Committed-By-Agent: codex Co-authored-by: codex <noreply@openai.com> * Add PR URL to changefile Committed-By-Agent: codex Co-authored-by: codex <noreply@openai.com> --------- Co-authored-by: codex <noreply@openai.com> * Remove deprecated StripeObject.request method Committed-By-Agent: codex Co-authored-by: codex <noreply@openai.com> * Add changelog entry for StripeObject.request removal Committed-By-Agent: codex Co-authored-by: codex <noreply@openai.com> * Remove changelog section metadata Committed-By-Agent: codex Co-authored-by: codex <noreply@openai.com> --------- Co-authored-by: David Brownman <xavdid@stripe.com> Co-authored-by: David Brownman <1231935+xavdid@users.noreply.github.com> Co-authored-by: jar-stripe <jar@stripe.com> Co-authored-by: codex <noreply@openai.com>
…e CHANGELOG with changes (#1920)
* Rename Reversal to TransferReversal Committed-By-Agent: codex Co-authored-by: codex <noreply@openai.com> * Document TransferReversal migration Committed-By-Agent: codex Co-authored-by: codex <noreply@openai.com> * Update migration guide --------- Co-authored-by: codex <noreply@openai.com> Co-authored-by: jar-stripe <jar@stripe.com>
…essary suppression comments (#1924) * Make remaining overloaded method args positional only and remove unecessary suppression comments * DEVSDK-3290: Improve changefile and migration guide associated with enforcing positional-only leading params on overloaded methods
Updated the migration guide for SDK v16 to reflect the new API version and included links to the API release process and changelog.
Changes for upcoming major release
stripe-openapi
Bot
force-pushed
the
latest-codegen-private-preview
branch
2 times, most recently
from
September 29, 2026 20:17
4591f4f to
a6f7895
Compare
stripe-openapi
Bot
force-pushed
the
latest-codegen-private-preview
branch
4 times, most recently
from
September 29, 2026 21:40
7080428 to
399f42c
Compare
stripe-openapi
Bot
force-pushed
the
latest-codegen-private-preview
branch
5 times, most recently
from
September 30, 2026 01:05
b2d1d8a to
217ec12
Compare
…80317eac10d8c026b401863f1d
stripe-openapi
Bot
force-pushed
the
latest-codegen-private-preview
branch
from
September 30, 2026 01:05
217ec12 to
8818373
Compare
jar-stripe
approved these changes
Sep 30, 2026
jar-stripe
approved these changes
Sep 30, 2026
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 v2526 and v2 openapi adad04916772f880317eac10d8c026b401863f1d.
Changelog
v2.data.QueryRun,v2.data.ReportRun,v2.data.Report,v2.data.Schema,v2.money_management.EarnedCreditSimulation,v2.money_management.EarnedCredit, andv2.provisioning.ResourceAccessConfigurationearned_creditsmethod on resourcev2.money_management.EarnedCreditSimulationlistandretrievemethods on resourcesv2.data.Report,v2.data.Schema, andv2.money_management.EarnedCreditcreateandretrievemethods on resourcesv2.data.QueryRunandv2.data.ReportRunreveal_access_configurationmethod on resourcev2.provisioning.Resourcerefresh_regulatory_receiptmethod on resourcev2.money_management.Transactioncapital_financing_manual_paymentonAccountSessionCreateParamsComponentauthorized_content_security_policy,authorized_endpoints,authorized_permissions, andstateonApps.InstallApps.Install.channelfromstringtoenumApps.Install.content_security_policy_grantedfromnullable(AppServiceResourceInstallContentSecurityPolicy)toAppServiceResourceInstallContentSecurityPolicyApps.Install.endpoints_grantedfromnullable(array(string))toarray(string)Apps.Install.permissions_grantedfromnullable(array(string))toarray(string)Apps.Install.statusfromnullable(enum)toenumfinancing_documentsonCapital.FinancingOfferenabled_payment_typesandoverdue_amountonCapital.FinancingSummary.Detailcard_account_updateonCharge.PaymentMethodDetail.Cardon_behalf_ofoncheckout.SessionCreateParamsbilling_cycle_anchoronCheckout.Session.Item.Subscription.TrialSetting.EndBehavior,PaymentLink.SubscriptionDatum.TrialSetting.EndBehavior,PaymentLinkCreateParamsSubscriptionDatumTrialSettingEndBehavior,PaymentLinkModifyParamsSubscriptionDatumTrialSettingEndBehavior,checkout.SessionCreateParamsItemSubscriptionTrialSettingEndBehavior, andcheckout.SessionCreateParamsSubscriptionDatumTrialSettingEndBehaviorpayment_method_preselectonCheckout.Session.SavedPaymentMethodOptionandcheckout.SessionCreateParamsSavedPaymentMethodOptionesonCustomerCreateCustomerTaxExemptionParamsandCustomerTaxExemptionfinancial_activityonFinancialConnections.Transaction.Classificationenablement_detailsonInvoice.AutomaticTaxandQuotePreviewInvoice.AutomaticTaxsquadson enumsIssuing.Card.CryptoWallet.typeandissuing.CardCreateParamsCryptoWallet.typereroutedon enumsPaymentAttemptRecordReportCanceledParams.reason,PaymentRecordReportPaymentAttemptCanceledParams.reason,PaymentRecordReportPaymentAttemptParamsCanceled.reason, andPaymentRecordReportPaymentParamsCanceled.reasonreturn_codeonPaymentAttemptRecord.PaymentMethodDetail.UsBankAccountandPaymentRecord.PaymentMethodDetail.UsBankAccountrequest_card_account_updateonPaymentIntent.PaymentMethodOption.Card,PaymentIntentConfirmParamsPaymentMethodOptionCard,PaymentIntentCreateParamsPaymentMethodOptionCard, andPaymentIntentModifyParamsPaymentMethodOptionCardnameonProductCatalog.TrialOfferRadar.PaymentEvaluation.Signal.EarlyFraudWarning.scoreandRadar.PaymentEvaluation.Signal.FraudulentDispute.scorefromnumbertonullable(number)statusonTax.Formandtax.FormListParamscard_not_present_transactions,gross_amount_of_transactions_decimal,monthly_volumes,payment_transactions_count, andstate_income_tax_withheldonTax.Form.Us1099Kcash_tips,currency, andfederal_income_tax_withheldonTax.Form.Us1099K,Tax.Form.Us1099Misc, andTax.Form.Us1099Neccrop_insurance_proceeds,direct_sales_for_resale,excess_golden_parachute_payments,fatca_filing_required,fish_purchased_for_resale,fishing_boat_proceeds,gross_proceeds_paid_to_an_attorney,medical_and_health_care_payments,nonqualified_deferred_compensation,other_income,rents,royalties,section_409a_deferrals, andsubstitute_paymentsonTax.Form.Us1099Miscovertime_compensation,state_income, andstate_tax_withheldonTax.Form.Us1099MiscandTax.Form.Us1099Necdirect_sales_indicator,fatca_filing_requirement, andnonemployee_compensationonTax.Form.Us1099Nectamper_stateonterminal.ReaderListParamsconfigurationsonV2.Core.AccountLink.UseCase.RecipientOnboarding,V2.Core.AccountLink.UseCase.RecipientUpdate,v2.core.AccountLinkCreateParamsUseCaseRecipientOnboarding, andv2.core.AccountLinkCreateParamsUseCaseRecipientUpdaterejectedon enumsV2.Core.Account.Configuration.CardCreator.Capability.Commercial.Celtic.ChargeCard.status,V2.Core.Account.Configuration.CardCreator.Capability.Commercial.Celtic.SpendCard.status,V2.Core.Account.Configuration.CardCreator.Capability.Commercial.CrossRiverBank.ChargeCard.status,V2.Core.Account.Configuration.CardCreator.Capability.Commercial.CrossRiverBank.PrepaidCard.status,V2.Core.Account.Configuration.CardCreator.Capability.Commercial.CrossRiverBank.SpendCard.status,V2.Core.Account.Configuration.CardCreator.Capability.Commercial.FifthThird.ChargeCard.status,V2.Core.Account.Configuration.CardCreator.Capability.Commercial.Lead.PrepaidCard.status,V2.Core.Account.Configuration.CardCreator.Capability.Commercial.Stripe.ChargeCard.status,V2.Core.Account.Configuration.CardCreator.Capability.Commercial.Stripe.PrepaidCard.status,V2.Core.Account.Configuration.CardCreator.Capability.Commercial.Stripe.SpendCard.status,V2.Core.Account.Configuration.CardCreator.Capability.Consumer.Celtic.RevolvingCreditCard.status,V2.Core.Account.Configuration.CardCreator.Capability.Consumer.CrossRiverBank.PrepaidCard.status,V2.Core.Account.Configuration.CardCreator.Capability.Consumer.Lead.DebitCard.status,V2.Core.Account.Configuration.CardCreator.Capability.Consumer.Lead.PrepaidCard.status,V2.Core.Account.Configuration.Developer.Capability.Project.status,V2.Core.Account.Configuration.Merchant.Capability.BlikRecurringPayment.status,V2.Core.Account.Configuration.MoneyManager.Capability.BusinessStorage.Inbound.Usdc.status,V2.Core.Account.Configuration.MoneyManager.Capability.BusinessStorage.Outbound.Usdc.status,V2.Core.Account.Configuration.MoneyManager.Capability.ConsumerStorage.Inbound.Usd.status,V2.Core.Account.Configuration.MoneyManager.Capability.ConsumerStorage.Inbound.Usdc.status,V2.Core.Account.Configuration.MoneyManager.Capability.ConsumerStorage.Outbound.Usd.status,V2.Core.Account.Configuration.MoneyManager.Capability.ConsumerStorage.Outbound.Usdc.status,V2.Core.Account.Configuration.MoneyManager.Capability.OutboundPayment.CryptoWallet.status,V2.Core.Account.Configuration.MoneyManager.Capability.OutboundPayment.PaperCheck.status,V2.Core.Account.Configuration.MoneyManager.Capability.OutboundTransfer.CryptoWallet.status,V2.Core.Account.Configuration.MoneyManager.Capability.ReceivedCredit.CryptoWallet.status,V2.Core.Account.Configuration.Recipient.Capability.BankAccount.Ach.status,V2.Core.Account.Configuration.Recipient.Capability.BankAccount.Bec.status,V2.Core.Account.Configuration.Recipient.Capability.BankAccount.Eft.status,V2.Core.Account.Configuration.Recipient.Capability.BankAccount.Fedwire.status,V2.Core.Account.Configuration.Recipient.Capability.BankAccount.Fp.status,V2.Core.Account.Configuration.Recipient.Capability.BankAccount.Instant.status,V2.Core.Account.Configuration.Recipient.Capability.BankAccount.Npp.status,V2.Core.Account.Configuration.Recipient.Capability.BankAccount.Rtp.status,V2.Core.Account.Configuration.Recipient.Capability.BankAccount.SepaCredit.status,V2.Core.Account.Configuration.Recipient.Capability.BankAccount.SepaInstant.status,V2.Core.Account.Configuration.Recipient.Capability.BankAccount.Swift.status,V2.Core.Account.Configuration.Recipient.Capability.CryptoWallet.status, andV2.Core.Account.Configuration.Recipient.Capability.PaperCheck.statusrejected_fraud,rejected_incomplete_verification,rejected_listed,rejected_other,rejected_platform_fraud,rejected_platform_other,rejected_platform_terms_of_service, andrejected_terms_of_serviceon enumsV2.Core.Account.Configuration.CardCreator.Capability.Commercial.Celtic.ChargeCard.StatusDetail.code,V2.Core.Account.Configuration.CardCreator.Capability.Commercial.Celtic.SpendCard.StatusDetail.code,V2.Core.Account.Configuration.CardCreator.Capability.Commercial.CrossRiverBank.ChargeCard.StatusDetail.code,V2.Core.Account.Configuration.CardCreator.Capability.Commercial.CrossRiverBank.PrepaidCard.StatusDetail.code,V2.Core.Account.Configuration.CardCreator.Capability.Commercial.CrossRiverBank.SpendCard.StatusDetail.code,V2.Core.Account.Configuration.CardCreator.Capability.Commercial.FifthThird.ChargeCard.StatusDetail.code,V2.Core.Account.Configuration.CardCreator.Capability.Commercial.Lead.PrepaidCard.StatusDetail.code,V2.Core.Account.Configuration.CardCreator.Capability.Commercial.Stripe.ChargeCard.StatusDetail.code,V2.Core.Account.Configuration.CardCreator.Capability.Commercial.Stripe.PrepaidCard.StatusDetail.code,V2.Core.Account.Configuration.CardCreator.Capability.Commercial.Stripe.SpendCard.StatusDetail.code,V2.Core.Account.Configuration.CardCreator.Capability.Consumer.Celtic.RevolvingCreditCard.StatusDetail.code,V2.Core.Account.Configuration.CardCreator.Capability.Consumer.CrossRiverBank.PrepaidCard.StatusDetail.code,V2.Core.Account.Configuration.CardCreator.Capability.Consumer.Lead.DebitCard.StatusDetail.code,V2.Core.Account.Configuration.CardCreator.Capability.Consumer.Lead.PrepaidCard.StatusDetail.code,V2.Core.Account.Configuration.Developer.Capability.Project.StatusDetail.code,V2.Core.Account.Configuration.Merchant.Capability.BlikRecurringPayment.StatusDetail.code,V2.Core.Account.Configuration.MoneyManager.Capability.BusinessStorage.Inbound.Usdc.StatusDetail.code,V2.Core.Account.Configuration.MoneyManager.Capability.BusinessStorage.Outbound.Usdc.StatusDetail.code,V2.Core.Account.Configuration.MoneyManager.Capability.ConsumerStorage.Inbound.Usd.StatusDetail.code,V2.Core.Account.Configuration.MoneyManager.Capability.ConsumerStorage.Inbound.Usdc.StatusDetail.code,V2.Core.Account.Configuration.MoneyManager.Capability.ConsumerStorage.Outbound.Usd.StatusDetail.code,V2.Core.Account.Configuration.MoneyManager.Capability.ConsumerStorage.Outbound.Usdc.StatusDetail.code,V2.Core.Account.Configuration.MoneyManager.Capability.OutboundPayment.CryptoWallet.StatusDetail.code,V2.Core.Account.Configuration.MoneyManager.Capability.OutboundPayment.PaperCheck.StatusDetail.code,V2.Core.Account.Configuration.MoneyManager.Capability.OutboundTransfer.CryptoWallet.StatusDetail.code,V2.Core.Account.Configuration.MoneyManager.Capability.ReceivedCredit.CryptoWallet.StatusDetail.code,V2.Core.Account.Configuration.Recipient.Capability.BankAccount.Ach.StatusDetail.code,V2.Core.Account.Configuration.Recipient.Capability.BankAccount.Bec.StatusDetail.code,V2.Core.Account.Configuration.Recipient.Capability.BankAccount.Eft.StatusDetail.code,V2.Core.Account.Configuration.Recipient.Capability.BankAccount.Fedwire.StatusDetail.code,V2.Core.Account.Configuration.Recipient.Capability.BankAccount.Fp.StatusDetail.code,V2.Core.Account.Configuration.Recipient.Capability.BankAccount.Instant.StatusDetail.code,V2.Core.Account.Configuration.Recipient.Capability.BankAccount.Npp.StatusDetail.code,V2.Core.Account.Configuration.Recipient.Capability.BankAccount.Rtp.StatusDetail.code,V2.Core.Account.Configuration.Recipient.Capability.BankAccount.SepaCredit.StatusDetail.code,V2.Core.Account.Configuration.Recipient.Capability.BankAccount.SepaInstant.StatusDetail.code,V2.Core.Account.Configuration.Recipient.Capability.BankAccount.Swift.StatusDetail.code,V2.Core.Account.Configuration.Recipient.Capability.CryptoWallet.StatusDetail.code, andV2.Core.Account.Configuration.Recipient.Capability.PaperCheck.StatusDetail.codeousdonV2.Core.Account.Configuration.MoneyManager.Capability.BusinessStorage.Inbound,V2.Core.Account.Configuration.MoneyManager.Capability.BusinessStorage.Outbound,v2.core.AccountCreateParamsConfigurationMoneyManagerCapabilityBusinessStorageInbound,v2.core.AccountCreateParamsConfigurationMoneyManagerCapabilityBusinessStorageOutbound,v2.core.AccountModifyParamsConfigurationMoneyManagerCapabilityBusinessStorageInbound, andv2.core.AccountModifyParamsConfigurationMoneyManagerCapabilityBusinessStorageOutboundoriginonV2.Core.Vault.NetworkTokenaccount_security,authentication,issuing,payout,scim,sso, anduser_profileon enumV2.Iam.ActivityLog.Detail.typebiconV2.MoneyManagement.FinancialAddress.BankAccount.Aba,V2.MoneyManagement.FinancialAddress.BankAccount.Cpa,V2.MoneyManagement.FinancialAddress.BankAccount.Iban, andV2.MoneyManagement.FinancialAddress.BankAccount.SortCodeibanonV2.MoneyManagement.FinancialAddress.BankAccount.SortCodestatement_descriptoronV2.MoneyManagement.InboundTransferandv2.money_management.InboundTransferCreateParamsnetwork_fee_detailsonV2.MoneyManagement.PayoutIntent.EstimatedFeenetwork_feeon enumV2.MoneyManagement.PayoutIntent.EstimatedFee.typearchivedonV2.MoneyManagement.PayoutMethod.CryptoWalletswifton enumsV2.MoneyManagement.ReceivedCredit.BankTransfer.CaBankAccount.networkandV2.MoneyManagement.ReceivedCredit.BankTransfer.OriginatingBankAccount.Cpa.networkswifton enumsV2.MoneyManagement.ReceivedCredit.BankTransfer.GbBankAccount.networkandV2.MoneyManagement.ReceivedCredit.BankTransfer.OriginatingBankAccount.SortCode.networkswifton enumsV2.MoneyManagement.ReceivedCredit.BankTransfer.OriginatingBankAccount.Aba.networkandV2.MoneyManagement.ReceivedCredit.BankTransfer.UsBankAccount.networkswifton enumsV2.MoneyManagement.ReceivedCredit.BankTransfer.OriginatingBankAccount.Iban.networkandV2.MoneyManagement.ReceivedCredit.BankTransfer.SepaBankAccount.networknetwork_detailsonV2.MoneyManagement.ReceivedDebit.BankTransferearned_crediton enumsV2.MoneyManagement.Transaction.categoryandV2.MoneyManagement.TransactionEntry.TransactionDetail.categoryearned_creditonV2.MoneyManagement.Transaction.FlowandV2.MoneyManagement.TransactionEntry.TransactionDetail.Flowearned_crediton enumsV2.MoneyManagement.Transaction.Flow.typeandV2.MoneyManagement.TransactionEntry.TransactionDetail.Flow.typeregulatory_receiptonV2.MoneyManagement.Transactionretry_untilonV2.Payments.OffSessionPayment.RetryDetailcvconv2.payments.OffSessionPaymentCreateParamsPaymentMethodDatumCardfrom_resourceonv2.money_management.OutboundSetupIntentCreateParamsstorage.deposit_insurance_eligibilityon enumsv2.money_management.FinancialAccountListParams.includeandv2.money_management.FinancialAccountRetrieveParams.includeaccount_security,authentication,issuing,payout,scim,sso, anduser_profileon enumv2.iam.ActivityLogListParams.action_groupsv2.core.vault.NetworkTokenCreateFromCredentialParamsCard.originandv2.core.vault.NetworkTokenCreateParamsCard.originfromliteral('card_on_file')toenum('card_on_file'|'wallet')v2.core.vault.NetworkTokenCreateFromCredentialParams.typeandv2.core.vault.NetworkTokenCreateParams.typefromliteral('card')toenum('card')v2.core.vault.NetworkTokenGenerateCryptogramParams.typefromliteral('token_cryptogram')toenum('token_cryptogram')v2.billing.ContractCreateParamsPricingLinePricingPriceDetailPricingOverrideOverwritePrice.unit_amount,v2.billing.ContractModifyParamsPricingLineActionAddPricingPriceDetailPricingOverrideOverwritePrice.unit_amount, andv2.billing.ContractModifyParamsPricingLineActionUpdatePricingPriceDetailPricingOverrideActionAddOverwritePrice.unit_amountfromstringtodecimal_stringv2.billing.ContractCreateParamsPricingOverrideMultiplyPricing.factorfromstringtodecimal_stringbilling_settingsonv2.billing.ContractModifyParamsbusiness_storage.inbound.ousdandbusiness_storage.outbound.ousdon enumEventsV2CoreAccountIncludingConfigurationMoneyManagerCapabilityStatusUpdatedEvent.updated_capabilityaccount,evaluated_at,fraudulent_merchant, andtypeonEventsV2SignalsAccountSignalFraudulentMerchantReadyEventV2DataQueryRunCreatedEvent,V2DataQueryRunFailedEvent,V2DataQueryRunSucceededEvent, andV2DataQueryRunUpdatedEventwith related objectv2.data.QueryRunV2DataReportRunCreatedEvent,V2DataReportRunFailedEvent,V2DataReportRunSucceededEvent, andV2DataReportRunUpdatedEventwith related objectv2.data.ReportRunV2MoneyManagementEarnedCreditSucceededEventwith related objectv2.money_management.EarnedCreditcontract_test_clock_advancingonCannotProceedError