Update generated code for private-preview#1795
Merged
stripe-openapi[bot] merged 10 commits intoprivate-previewfrom Apr 24, 2026
Merged
Update generated code for private-preview#1795stripe-openapi[bot] merged 10 commits intoprivate-previewfrom
stripe-openapi[bot] merged 10 commits intoprivate-previewfrom
Conversation
* Update generated code for v2240 and * Update generated code for v2249 and * Update generated code for v2252 and * Update generated code for v2252 and --------- Co-authored-by: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com>
mbroshi-stripe
approved these changes
Apr 24, 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 v2253 and proto spec .
Changelog
v2.commerce.ProductCatalogImport,v2.core.ApprovalRequest,v2.extend.WorkflowRun,v2.extend.Workflow,v2.iam.ActivityLog,v2.network.BusinessProfile, andv2.orchestrated_commerce.Agreementv2.core.WorkflowRunandv2.core.Workflowconfirm,create,list,retrieve, andterminatemethods on resourcev2.orchestrated_commerce.Agreementmeandretrievemethods on resourcev2.network.BusinessProfilelistmethod on resourcev2.iam.ActivityLoglistandretrievemethods on resourcev2.extend.WorkflowRuninvoke,list, andretrievemethods on resourcev2.extend.Workflowcancel,execute,list,retrieve, andsubmitmethods on resourcev2.core.ApprovalRequestcreateandretrievemethods on resourcev2.commerce.ProductCatalogImportlistandretrievemethods on resourcev2.core.WorkflowRuninvoke,list, andretrievemethods on resourcev2.core.Workflowrenew_onboarding_linkmethod on resourcev2.core.ClaimableSandboxcustomeronSharedPayment.IssuedTokenSharedPayment.IssuedToken.payment_methodfromnullable(string)tostringbill_managementandsend_moneyonAccountSession.Component.Bill.Featuregift_cardonCharge.PaymentMethodDetail,PaymentAttemptRecord.PaymentMethodDetail, andPaymentRecord.PaymentMethodDetailcustom_payment_method_typesonCheckout.Sessionandcheckout.SessionCreateParamspayment_recordonCheckout.Sessionshared_payment_granted_tokenonConfirmationTokenCreateParamsPaymentMethodDatum,PaymentIntentConfirmParamsPaymentMethodDatum,PaymentIntentCreateParamsPaymentMethodDatum,PaymentIntentModifyParamsPaymentMethodDatum,PaymentIntent,PaymentMethod,SetupIntentConfirmParamsPaymentMethodDatum,SetupIntentCreateParamsPaymentMethodDatum, andSetupIntentModifyParamsPaymentMethodDatumpayment_methodonConfirmationToken.PaymentMethodPreview.SepaDebit.GeneratedFrom,PaymentMethod.SepaDebit.GeneratedFrom, andSharedPayment.GrantedToken.PaymentMethodDetail.SepaDebit.GeneratedFromDelegatedCheckout.RequestedSession.FulfillmentDetail.FulfillmentOption.type,DelegatedCheckout.RequestedSession.FulfillmentDetail.SelectedFulfillmentOption.type,DelegatedCheckout.RequestedSession.FulfillmentDetail.SelectedFulfillmentOptionOverride.type,delegated_checkout.RequestedSessionModifyParamsFulfillmentDetailSelectedFulfillmentOption.type, anddelegated_checkout.RequestedSessionModifyParamsFulfillmentDetailSelectedFulfillmentOptionOverride.typefromstringtoenum('digital'|'shipping')return_urlondelegated_checkout.RequestedSessionConfirmParamsbuyer_consentsonDelegatedCheckout.RequestedSessioncrypto_transactionsonIssuing.Authorization,Issuing.Dispute, andIssuing.Transactionpayment_facilitator_idandsub_merchant_idonIssuing.Authorization.MerchantDatumandIssuing.Transaction.MerchantDatumidentifiersonOrderCreateParamsLineItemProductDatum,OrderModifyParamsLineItemProductDatum,ProductCreateParams,ProductModifyParams, andProductagent_detailsonPaymentIntentexternal_referenceonPriceCreateParamsandPriceModifyParamslogin_succeededandregistration_succeededonRadar.AccountEvaluation.Eventandradar.AccountEvaluationModifyParamsprint_contentonTerminal.Reader.Actionprint_contenton enumTerminal.Reader.Action.typecn_bank_accountandjp_bank_accounton enumV2.Core.Account.Configuration.Recipient.DefaultOutboundDestination.typebm_crn,bo_tin,bt_tpn,co_nit,ec_ruc,eg_tin,gh_tin,gy_tin,hn_rtn,jm_trn,jo_crn,ke_pin,ky_crn,lk_tin,mo_tin,mv_tin,ng_tin,pa_ruc,ph_tin,py_ruc,sl_tin,sv_nit,uy_ruc,vg_cn, andza_tinon enumV2.Core.Account.Identity.BusinessDetail.IdNumber.typebm_pp,bo_ci,bt_cid,eg_tin,gh_pin,gy_tin,hn_rtn,jm_trn,jo_pin,ky_pp,lk_nic,mo_bir,mt_nic,mv_tin,pa_ruc,ph_tin,py_ruc,si_pin,sv_nit, andvg_ppon enumsV2.Core.Account.Identity.Individual.IdNumber.typeandV2.Core.AccountPerson.IdNumber.typeapp_channelonV2.Core.ClaimableSandboxandv2.core.ClaimableSandboxCreateParamsonboarding_link_detailsandowner_detailsonV2.Core.ClaimableSandboxclaim_urlonV2.Core.ClaimableSandboxowner_accountonV2.Core.ClaimableSandbox.SandboxDetailliveon enumV2.Core.ClaimableSandbox.statussnapshot_eventonV2.Core.Eventfutsuandtozaon enumsV2.Core.Vault.GbBankAccount.bank_account_typeandV2.MoneyManagement.PayoutMethod.BankAccount.bank_account_typeV2.MoneyManagement.CurrencyConversion.financial_accountto be optionalmultiprocessor_settlementonV2.MoneyManagement.FinancialAccountmultiprocessor_settlementon enumV2.MoneyManagement.FinancialAccount.typeca_bank_accountonV2.MoneyManagement.FinancialAddress.CredentialandV2.MoneyManagement.ReceivedCredit.BankTransferca_bank_accounton enumV2.MoneyManagement.FinancialAddress.Credential.typetempoon enumV2.MoneyManagement.PayoutMethod.CryptoWallet.networkca_bank_accounton enumV2.MoneyManagement.ReceivedCredit.BankTransfer.origin_typereturnfrom enumsV2.MoneyManagement.Transaction.categoryandV2.MoneyManagement.TransactionEntry.TransactionDetail.categoryamount_detailsandpayment_detailsonV2.Payments.OffSessionPayment,v2.payments.OffSessionPaymentCaptureParams, andv2.payments.OffSessionPaymentCreateParamsdescriptiononV2.Payments.OffSessionPaymentandv2.payments.OffSessionPaymentCreateParamsacsson enumv2.FinancialAddressCreditSimulationCreditParams.networkmcconv2.payments.OffSessionPaymentCreateParamsPaymentMethodOptionCardv2.payments.OffSessionPaymentCreateParamsPaymentMethodOptionCard.network_transaction_idto be optionalfutsuandtozaon enumsv2.core.vault.GbBankAccountCreateParams.bank_account_type,v2.money_management.OutboundSetupIntentCreateParamsPayoutMethodDatumBankAccount.bank_account_type, andv2.money_management.OutboundSetupIntentModifyParamsPayoutMethodDatumBankAccount.bank_account_typetempoon enumv2.money_management.OutboundSetupIntentCreateParamsPayoutMethodDatumCryptoWallet.networkcredentials.ca_bank_account.account_numberon enumsv2.money_management.FinancialAddressListParams.includeandv2.money_management.FinancialAddressRetrieveParams.includeca_bank_accounton enumv2.money_management.FinancialAddressCreateParams.typemultiprocessor_settlementon enumv2.money_management.FinancialAccountListParams.typesstorageonv2.money_management.FinancialAccountModifyParamsfx_quoteonv2.money_management.CurrencyConversionCreateParamsv2.money_management.CurrencyConversionCreateParams.financial_accountto be optionalonboarding_link_detailsonv2.core.ClaimableSandboxCreateParamsv2.core.BatchJobCreateParamsEndpoint.http_methodfromliteral('post')toenum('delete'|'post')bm_crn,bo_tin,bt_tpn,co_nit,ec_ruc,eg_tin,gh_tin,gy_tin,hn_rtn,jm_trn,jo_crn,ke_pin,ky_crn,lk_tin,mo_tin,mv_tin,ng_tin,pa_ruc,ph_tin,py_ruc,sl_tin,sv_nit,uy_ruc,vg_cn, andza_tinon enumsv2.core.AccountCreateParamsIdentityBusinessDetailIdNumber.type,v2.core.AccountModifyParamsIdentityBusinessDetailIdNumber.type, andv2.core.AccountTokenCreateParamsIdentityBusinessDetailIdNumber.typebm_pp,bo_ci,bt_cid,eg_tin,gh_pin,gy_tin,hn_rtn,jm_trn,jo_pin,ky_pp,lk_nic,mo_bir,mt_nic,mv_tin,pa_ruc,ph_tin,py_ruc,si_pin,sv_nit, andvg_ppon enumsv2.core.AccountCreateParamsIdentityIndividualIdNumber.type,v2.core.AccountModifyParamsIdentityIndividualIdNumber.type,v2.core.AccountPersonCreateParamsIdNumber.type,v2.core.AccountPersonModifyParamsIdNumber.type,v2.core.AccountPersonTokenCreateParamsIdNumber.type, andv2.core.AccountTokenCreateParamsIdentityIndividualIdNumber.typemeter_event_value_too_many_digitson enumsEventsV1BillingMeterErrorReportTriggeredEvent.Reason.ErrorType.codeandEventsV1BillingMeterNoMeterFoundEvent.Reason.ErrorType.codetreasury_transactiononEventsV2MoneyManagementTransactionCreatedEventV1AccountApplicationAuthorizedEvent,V1AccountApplicationDeauthorizedEvent,V1AccountExternalAccountCreatedEvent,V1AccountExternalAccountDeletedEvent,V1AccountExternalAccountUpdatedEvent,V1BillingPortalSessionCreatedEvent,V1EntitlementsActiveEntitlementSummaryUpdatedEvent,V2CoreHealthMeterEventSummariesDelayedFiringEvent, andV2CoreHealthMeterEventSummariesDelayedResolvedEventV1AccountUpdatedEventwith related objectAccountV1ApplicationFeeCreatedEventandV1ApplicationFeeRefundedEventwith related objectApplicationFeeV1ApplicationFeeRefundUpdatedEventwith related objectApplicationFeeRefundV1BalanceAvailableEventwith related objectBalanceV1BillingAlertTriggeredEventwith related objectbilling.AlertV1BillingPortalConfigurationCreatedEventandV1BillingPortalConfigurationUpdatedEventwith related objectbilling_portal.ConfigurationV1CapabilityUpdatedEventwith related objectCapabilityV1CashBalanceFundsAvailableEventwith related objectCashBalanceV1ChargeCapturedEvent,V1ChargeExpiredEvent,V1ChargeFailedEvent,V1ChargePendingEvent,V1ChargeRefundedEvent,V1ChargeSucceededEvent, andV1ChargeUpdatedEventwith related objectChargeV1ChargeDisputeClosedEvent,V1ChargeDisputeCreatedEvent,V1ChargeDisputeFundsReinstatedEvent,V1ChargeDisputeFundsWithdrawnEvent, andV1ChargeDisputeUpdatedEventwith related objectDisputeV1ChargeRefundUpdatedEvent,V1RefundCreatedEvent,V1RefundFailedEvent, andV1RefundUpdatedEventwith related objectRefundV1CheckoutSessionAsyncPaymentFailedEvent,V1CheckoutSessionAsyncPaymentSucceededEvent,V1CheckoutSessionCompletedEvent, andV1CheckoutSessionExpiredEventwith related objectcheckout.SessionV1ClimateOrderCanceledEvent,V1ClimateOrderCreatedEvent,V1ClimateOrderDelayedEvent,V1ClimateOrderDeliveredEvent, andV1ClimateOrderProductSubstitutedEventwith related objectclimate.OrderV1ClimateProductCreatedEventandV1ClimateProductPricingUpdatedEventwith related objectclimate.ProductV1CouponCreatedEvent,V1CouponDeletedEvent, andV1CouponUpdatedEventwith related objectCouponV1CreditNoteCreatedEvent,V1CreditNoteUpdatedEvent, andV1CreditNoteVoidedEventwith related objectCreditNoteV1CustomerCreatedEvent,V1CustomerDeletedEvent, andV1CustomerUpdatedEventwith related objectCustomerV1CustomerSubscriptionCreatedEvent,V1CustomerSubscriptionDeletedEvent,V1CustomerSubscriptionPausedEvent,V1CustomerSubscriptionPendingUpdateAppliedEvent,V1CustomerSubscriptionPendingUpdateExpiredEvent,V1CustomerSubscriptionResumedEvent,V1CustomerSubscriptionTrialWillEndEvent, andV1CustomerSubscriptionUpdatedEventwith related objectSubscriptionV1CustomerTaxIdCreatedEvent,V1CustomerTaxIdDeletedEvent, andV1CustomerTaxIdUpdatedEventwith related objectTaxIdV1CustomerCashBalanceTransactionCreatedEventwith related objectCustomerCashBalanceTransactionV1FileCreatedEventwith related objectFileV1FinancialConnectionsAccountCreatedEvent,V1FinancialConnectionsAccountDeactivatedEvent,V1FinancialConnectionsAccountDisconnectedEvent,V1FinancialConnectionsAccountReactivatedEvent,V1FinancialConnectionsAccountRefreshedBalanceEvent,V1FinancialConnectionsAccountRefreshedOwnershipEvent, andV1FinancialConnectionsAccountRefreshedTransactionsEventwith related objectfinancial_connections.AccountV1IdentityVerificationSessionCanceledEvent,V1IdentityVerificationSessionCreatedEvent,V1IdentityVerificationSessionProcessingEvent,V1IdentityVerificationSessionRedactedEvent,V1IdentityVerificationSessionRequiresInputEvent, andV1IdentityVerificationSessionVerifiedEventwith related objectidentity.VerificationSessionV1InvoiceCreatedEvent,V1InvoiceDeletedEvent,V1InvoiceFinalizationFailedEvent,V1InvoiceFinalizedEvent,V1InvoiceMarkedUncollectibleEvent,V1InvoiceOverdueEvent,V1InvoiceOverpaidEvent,V1InvoicePaidEvent,V1InvoicePaymentActionRequiredEvent,V1InvoicePaymentFailedEvent,V1InvoicePaymentSucceededEvent,V1InvoiceSentEvent,V1InvoiceUpcomingEvent,V1InvoiceUpdatedEvent,V1InvoiceVoidedEvent, andV1InvoiceWillBeDueEventwith related objectInvoiceV1InvoicePaymentPaidEventwith related objectInvoicePaymentV1InvoiceitemCreatedEventandV1InvoiceitemDeletedEventwith related objectInvoiceItemV1IssuingAuthorizationCreatedEvent,V1IssuingAuthorizationRequestEvent, andV1IssuingAuthorizationUpdatedEventwith related objectissuing.AuthorizationV1IssuingCardCreatedEventandV1IssuingCardUpdatedEventwith related objectissuing.CardV1IssuingCardholderCreatedEventandV1IssuingCardholderUpdatedEventwith related objectissuing.CardholderV1IssuingDisputeClosedEvent,V1IssuingDisputeCreatedEvent,V1IssuingDisputeFundsReinstatedEvent,V1IssuingDisputeFundsRescindedEvent,V1IssuingDisputeSubmittedEvent, andV1IssuingDisputeUpdatedEventwith related objectissuing.DisputeV1IssuingPersonalizationDesignActivatedEvent,V1IssuingPersonalizationDesignDeactivatedEvent,V1IssuingPersonalizationDesignRejectedEvent, andV1IssuingPersonalizationDesignUpdatedEventwith related objectissuing.PersonalizationDesignV1IssuingTokenCreatedEventandV1IssuingTokenUpdatedEventwith related objectissuing.TokenV1IssuingTransactionCreatedEvent,V1IssuingTransactionPurchaseDetailsReceiptUpdatedEvent, andV1IssuingTransactionUpdatedEventwith related objectissuing.TransactionV1MandateUpdatedEventwith related objectMandateV1PaymentIntentAmountCapturableUpdatedEvent,V1PaymentIntentCanceledEvent,V1PaymentIntentCreatedEvent,V1PaymentIntentPartiallyFundedEvent,V1PaymentIntentPaymentFailedEvent,V1PaymentIntentProcessingEvent,V1PaymentIntentRequiresActionEvent, andV1PaymentIntentSucceededEventwith related objectPaymentIntentV1PaymentLinkCreatedEventandV1PaymentLinkUpdatedEventwith related objectPaymentLinkV1PaymentMethodAttachedEvent,V1PaymentMethodAutomaticallyUpdatedEvent,V1PaymentMethodDetachedEvent, andV1PaymentMethodUpdatedEventwith related objectPaymentMethodV1PayoutCanceledEvent,V1PayoutCreatedEvent,V1PayoutFailedEvent,V1PayoutPaidEvent,V1PayoutReconciliationCompletedEvent, andV1PayoutUpdatedEventwith related objectPayoutV1PersonCreatedEvent,V1PersonDeletedEvent, andV1PersonUpdatedEventwith related objectPersonV1PlanCreatedEvent,V1PlanDeletedEvent, andV1PlanUpdatedEventwith related objectPlanV1PriceCreatedEvent,V1PriceDeletedEvent, andV1PriceUpdatedEventwith related objectPriceV1ProductCreatedEvent,V1ProductDeletedEvent, andV1ProductUpdatedEventwith related objectProductV1PromotionCodeCreatedEventandV1PromotionCodeUpdatedEventwith related objectPromotionCodeV1QuoteAcceptedEvent,V1QuoteCanceledEvent,V1QuoteCreatedEvent, andV1QuoteFinalizedEventwith related objectQuoteV1RadarEarlyFraudWarningCreatedEventandV1RadarEarlyFraudWarningUpdatedEventwith related objectradar.EarlyFraudWarningV1ReviewClosedEventandV1ReviewOpenedEventwith related objectReviewV1SetupIntentCanceledEvent,V1SetupIntentCreatedEvent,V1SetupIntentRequiresActionEvent,V1SetupIntentSetupFailedEvent, andV1SetupIntentSucceededEventwith related objectSetupIntentV1SigmaScheduledQueryRunCreatedEventwith related objectsigma.ScheduledQueryRunV1SourceCanceledEvent,V1SourceChargeableEvent,V1SourceFailedEvent, andV1SourceRefundAttributesRequiredEventwith related objectSourceV1SubscriptionScheduleAbortedEvent,V1SubscriptionScheduleCanceledEvent,V1SubscriptionScheduleCompletedEvent,V1SubscriptionScheduleCreatedEvent,V1SubscriptionScheduleExpiringEvent,V1SubscriptionScheduleReleasedEvent, andV1SubscriptionScheduleUpdatedEventwith related objectSubscriptionScheduleV1TaxSettingsUpdatedEventwith related objecttax.SettingsV1TaxRateCreatedEventandV1TaxRateUpdatedEventwith related objectTaxRateV1TerminalReaderActionFailedEvent,V1TerminalReaderActionSucceededEvent, andV1TerminalReaderActionUpdatedEventwith related objectterminal.ReaderV1TestHelpersTestClockAdvancingEvent,V1TestHelpersTestClockCreatedEvent,V1TestHelpersTestClockDeletedEvent,V1TestHelpersTestClockInternalFailureEvent, andV1TestHelpersTestClockReadyEventwith related objecttest_helpers.TestClockV1TopupCanceledEvent,V1TopupCreatedEvent,V1TopupFailedEvent,V1TopupReversedEvent, andV1TopupSucceededEventwith related objectTopupV1TransferCreatedEvent,V1TransferReversedEvent, andV1TransferUpdatedEventwith related objectTransferV2CommerceProductCatalogImportsFailedEvent,V2CommerceProductCatalogImportsProcessingEvent,V2CommerceProductCatalogImportsSucceededEvent, andV2CommerceProductCatalogImportsSucceededWithErrorsEventwith related objectv2.commerce.ProductCatalogImportV2CoreApprovalRequestApprovedEvent,V2CoreApprovalRequestCanceledEvent,V2CoreApprovalRequestFailedEvent,V2CoreApprovalRequestRejectedEvent, andV2CoreApprovalRequestSucceededEventwith related objectv2.core.ApprovalRequestV2CoreClaimableSandboxUpdatedEventwith related objectv2.core.ClaimableSandboxV2ExtendWorkflowRunFailedEvent,V2ExtendWorkflowRunStartedEvent, andV2ExtendWorkflowRunSucceededEventwith related objectv2.extend.WorkflowRunV2OrchestratedCommerceAgreementConfirmedEvent,V2OrchestratedCommerceAgreementCreatedEvent,V2OrchestratedCommerceAgreementPartiallyConfirmedEvent, andV2OrchestratedCommerceAgreementTerminatedEventwith related objectv2.orchestrated_commerce.AgreementV2CoreClaimableSandboxSandboxDetailsOwnerAccountUpdatedEventwith related objectv2.core.ClaimableSandboxFxQuoteExpiredErrorinvalid_workflow_input_parametersandworkflow_not_invokableonCannotProceedError