Update generated code for private-preview#1776
Merged
stripe-openapi[bot] merged 3 commits intoprivate-previewfrom Mar 25, 2026
Merged
Update generated code for private-preview#1776stripe-openapi[bot] merged 3 commits intoprivate-previewfrom
stripe-openapi[bot] merged 3 commits intoprivate-previewfrom
Conversation
* Update generated code for v2205 and * Update generated code for v2206 and --------- Co-authored-by: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com> Co-authored-by: David Brownman <109395161+xavdid-stripe@users.noreply.github.com>
xavdid-stripe
approved these changes
Mar 25, 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 v2207 and proto spec .
Changelog
RiskSignalsfinancial_account_rewardsandnesting_demoonAccountSession.Componentupi_paymentsonAccount.Capability,AccountCreateParamsCapability, andAccountModifyParamsCapabilityrisk_signalsonAccountfraud_intentonAccountSignalsrelated_accountson enumAccountSignals.Delinquency.Indicator.indicatorrisk_reservedonBalancebillable_itemsonBilling.Alert.SpendThreshold.FilterupionCharge.PaymentMethodDetail,Checkout.Session.PaymentMethodOption,ConfirmationToken.PaymentMethodPreview,ConfirmationTokenCreateParamsPaymentMethodDatum,Mandate.PaymentMethodDetail,PaymentAttemptRecord.PaymentMethodDetail,PaymentIntent.PaymentMethodOption,PaymentIntentConfirmParamsPaymentMethodDatum,PaymentIntentConfirmParamsPaymentMethodOption,PaymentIntentCreateParamsPaymentMethodDatum,PaymentIntentCreateParamsPaymentMethodOption,PaymentIntentModifyParamsPaymentMethodDatum,PaymentIntentModifyParamsPaymentMethodOption,PaymentMethodConfigurationCreateParams,PaymentMethodConfigurationModifyParams,PaymentMethodConfiguration,PaymentMethodCreateParams,PaymentMethod,PaymentRecord.PaymentMethodDetail,SetupAttempt.PaymentMethodDetail,SetupIntent.PaymentMethodOption,SetupIntentConfirmParamsPaymentMethodDatum,SetupIntentConfirmParamsPaymentMethodOption,SetupIntentCreateParamsPaymentMethodDatum,SetupIntentCreateParamsPaymentMethodOption,SetupIntentModifyParamsPaymentMethodDatum,SetupIntentModifyParamsPaymentMethodOption, andcheckout.SessionCreateParamsPaymentMethodOptiontempoon enumsCharge.PaymentMethodDetail.Crypto.network,PaymentAttemptRecord.PaymentMethodDetail.Crypto.network, andPaymentRecord.PaymentMethodDetail.Crypto.networksource_typeonCharge.PaymentMethodDetail.StripeBalance,ConfirmationToken.PaymentMethodPreview.StripeBalance,ConfirmationTokenCreateParamsPaymentMethodDatumStripeBalance,PaymentAttemptRecord.PaymentMethodDetail.StripeBalance,PaymentIntentConfirmParamsPaymentMethodDatumStripeBalance,PaymentIntentCreateParamsPaymentMethodDatumStripeBalance,PaymentIntentModifyParamsPaymentMethodDatumStripeBalance,PaymentMethod.StripeBalance,PaymentMethodCreateParamsStripeBalance,PaymentRecord.PaymentMethodDetail.StripeBalance,SetupIntentConfirmParamsPaymentMethodDatumStripeBalance,SetupIntentCreateParamsPaymentMethodDatumStripeBalance, andSetupIntentModifyParamsPaymentMethodDatumStripeBalanceintegration_identifieronCheckout.Sessionandcheckout.SessionCreateParamsapplicationon enumsCheckout.Session.AutomaticTax.Liability.type,Checkout.Session.InvoiceCreation.InvoiceDatum.Issuer.type,Invoice.AutomaticTax.Liability.type,Invoice.Issuer.type,InvoiceCreateParamsAutomaticTaxLiability.type,InvoiceCreateParamsIssuer.type,InvoiceCreatePreviewParamsAutomaticTaxLiability.type,InvoiceCreatePreviewParamsIssuer.type,InvoiceCreatePreviewParamsScheduleDetailPhaseAutomaticTaxLiability.type,InvoiceCreatePreviewParamsScheduleDetailPhaseInvoiceSettingIssuer.type,InvoiceModifyParamsAutomaticTaxLiability.type,InvoiceModifyParamsIssuer.type,PaymentLink.AutomaticTax.Liability.type,PaymentLink.InvoiceCreation.InvoiceDatum.Issuer.type,PaymentLink.SubscriptionDatum.InvoiceSetting.Issuer.type,PaymentLinkCreateParamsAutomaticTaxLiability.type,PaymentLinkCreateParamsInvoiceCreationInvoiceDatumIssuer.type,PaymentLinkCreateParamsSubscriptionDatumInvoiceSettingIssuer.type,PaymentLinkModifyParamsAutomaticTaxLiability.type,PaymentLinkModifyParamsInvoiceCreationInvoiceDatumIssuer.type,PaymentLinkModifyParamsSubscriptionDatumInvoiceSettingIssuer.type,Quote.AutomaticTax.Liability.type,Quote.InvoiceSetting.Issuer.type,QuoteCreateParamsAutomaticTaxLiability.type,QuoteCreateParamsInvoiceSettingIssuer.type,QuoteModifyParamsAutomaticTaxLiability.type,QuoteModifyParamsInvoiceSettingIssuer.type,QuotePreviewInvoice.AutomaticTax.Liability.type,QuotePreviewInvoice.Issuer.type,QuotePreviewSubscriptionSchedule.DefaultSetting.AutomaticTax.Liability.type,QuotePreviewSubscriptionSchedule.DefaultSetting.InvoiceSetting.Issuer.type,QuotePreviewSubscriptionSchedule.Phase.AutomaticTax.Liability.type,QuotePreviewSubscriptionSchedule.Phase.InvoiceSetting.Issuer.type,Subscription.AutomaticTax.Liability.type,Subscription.InvoiceSetting.Issuer.type,SubscriptionCreateParamsAutomaticTaxLiability.type,SubscriptionCreateParamsInvoiceSettingIssuer.type,SubscriptionModifyParamsAutomaticTaxLiability.type,SubscriptionModifyParamsInvoiceSettingIssuer.type,SubscriptionSchedule.DefaultSetting.AutomaticTax.Liability.type,SubscriptionSchedule.DefaultSetting.InvoiceSetting.Issuer.type,SubscriptionSchedule.Phase.AutomaticTax.Liability.type,SubscriptionSchedule.Phase.InvoiceSetting.Issuer.type,SubscriptionScheduleCreateParamsDefaultSettingAutomaticTaxLiability.type,SubscriptionScheduleCreateParamsDefaultSettingInvoiceSettingIssuer.type,SubscriptionScheduleCreateParamsPhaseAutomaticTaxLiability.type,SubscriptionScheduleCreateParamsPhaseInvoiceSettingIssuer.type,SubscriptionScheduleModifyParamsDefaultSettingAutomaticTaxLiability.type,SubscriptionScheduleModifyParamsDefaultSettingInvoiceSettingIssuer.type,SubscriptionScheduleModifyParamsPhaseAutomaticTaxLiability.type,SubscriptionScheduleModifyParamsPhaseInvoiceSettingIssuer.type,checkout.SessionCreateParamsAutomaticTaxLiability.type,checkout.SessionCreateParamsInvoiceCreationInvoiceDatumIssuer.type,checkout.SessionCreateParamsSubscriptionDatumInvoiceSettingIssuer.type,checkout.SessionModifyParamsAutomaticTaxLiability.type,checkout.SessionModifyParamsInvoiceCreationInvoiceDatumIssuer.type, andcheckout.SessionModifyParamsSubscriptionDatumInvoiceSettingIssuer.typeupion enumcheckout.SessionCreateParams.excluded_payment_method_typesInvoiceAddLinesParamsLinePriceDatumProductDatumTaxDetail.tax_code,InvoiceLineItemModifyParamsPriceDatumProductDatumTaxDetail.tax_code,InvoiceUpdateLinesParamsLinePriceDatumProductDatumTaxDetail.tax_code,PaymentLinkCreateParamsLineItemPriceDatumProductDatumTaxDetail.tax_code,PlanCreateParamsProductTaxDetail.tax_code,PriceCreateParamsProductDatumTaxDetail.tax_code,ProductCreateParamsTaxDetail.tax_code,ProductModifyParamsTaxDetail.tax_code,checkout.SessionCreateParamsLineItemPriceDatumProductDatumTaxDetail.tax_code, andcheckout.SessionModifyParamsLineItemPriceDatumProductDatumTaxDetail.tax_codefromstringtoemptyable(string)cryptooncheckout.SessionCreateParamsPaymentMethodOptionupion enumcheckout.SessionCreateParams.payment_method_typespending_invoice_item_intervaloncheckout.SessionCreateParamsSubscriptionDatumandcheckout.SessionModifyParamsSubscriptionDatumelements,embedded_page,form, andhosted_pageon enumsCheckout.Session.ui_modeandcheckout.SessionCreateParams.ui_modecustom,embedded, andhostedfrom enumsCheckout.Session.ui_modeandcheckout.SessionCreateParams.ui_modeInvoiceAddLinesParamsLinePriceDatumProductDatumTaxDetail.tax_code,InvoiceLineItemModifyParamsPriceDatumProductDatumTaxDetail.tax_code,InvoiceUpdateLinesParamsLinePriceDatumProductDatumTaxDetail.tax_code,PaymentLinkCreateParamsLineItemPriceDatumProductDatumTaxDetail.tax_code,PlanCreateParamsProductTaxDetail.tax_code,PriceCreateParamsProductDatumTaxDetail.tax_code,ProductCreateParamsTaxDetail.tax_code,ProductModifyParamsTaxDetail.tax_code,checkout.SessionCreateParamsLineItemPriceDatumProductDatumTaxDetail.tax_code, andcheckout.SessionModifyParamsLineItemPriceDatumProductDatumTaxDetail.tax_codeto be optionalau_becs_debit,bacs_debit,boleto,link,sepa_debit, andus_bank_accountonCheckout.Session.CurrentAttempt.PaymentMethodDetailmarine_carbon_removalon enumClimate.Supplier.removal_pathwayupion enumsConfirmationTokenCreateParamsPaymentMethodDatum.type,PaymentIntentConfirmParamsPaymentMethodDatum.type,PaymentIntentCreateParamsPaymentMethodDatum.type,PaymentIntentModifyParamsPaymentMethodDatum.type,SetupIntentConfirmParamsPaymentMethodDatum.type,SetupIntentCreateParamsPaymentMethodDatum.type, andSetupIntentModifyParamsPaymentMethodDatum.typeupion enumsConfirmationToken.PaymentMethodPreview.typeandPaymentMethod.typemetadataonCreditNoteCreateParamsLine,CreditNoteLineItem,CreditNotePreviewLinesParamsLine, andCreditNotePreviewParamsLineupion enumsCustomerListPaymentMethodsParams.type,PaymentMethodCreateParams.type, andPaymentMethodListParams.typeselected_fulfillment_option_overridesonDelegatedCheckout.RequestedSession.FulfillmentDetailline_item_keysonDelegatedCheckout.RequestedSession.FulfillmentDetail.FulfillmentOption.Digital.DigitalOptionandDelegatedCheckout.RequestedSession.FulfillmentDetail.FulfillmentOption.Shipping.ShippingOptionquantity_decimalonInvoiceAddLinesParamsLine,InvoiceCreatePreviewParamsInvoiceItem,InvoiceItemCreateParams,InvoiceItemModifyParams,InvoiceItem,InvoiceLineItemModifyParams,InvoiceLineItem, andInvoiceUpdateLinesParamsLineexpires_after_secondsonInvoice.PaymentSetting.PaymentMethodOption.Pix,InvoiceCreateParamsPaymentSettingPaymentMethodOptionPix,InvoiceModifyParamsPaymentSettingPaymentMethodOptionPix,QuotePreviewInvoice.PaymentSetting.PaymentMethodOption.Pix,Subscription.PaymentSetting.PaymentMethodOption.Pix,SubscriptionCreateParamsPaymentSettingPaymentMethodOptionPix, andSubscriptionModifyParamsPaymentSettingPaymentMethodOptionPixlevelonissuing.AuthorizationCreateParamsRiskAssessmentCardTestingRiskandissuing.AuthorizationCreateParamsRiskAssessmentMerchantDisputeRiskrisk_levelonissuing.AuthorizationCreateParamsRiskAssessmentCardTestingRiskandissuing.AuthorizationCreateParamsRiskAssessmentMerchantDisputeRiskda,pl, andsvon enumsIssuing.Cardholder.preferred_locales,issuing.CardholderCreateParams.preferred_locales, andissuing.CardholderModifyParams.preferred_localeslifecycle_controlsonIssuing.Cardandissuing.CardCreateParamsIssuing.Token.NetworkDatum.Visa.card_reference_idfromstringtonullable(string)PaymentAttemptRecord.PaymentMethodDetail.Card.brandandPaymentRecord.PaymentMethodDetail.Card.brandfromenumtonullable(enum)PaymentAttemptRecord.PaymentMethodDetail.Card.exp_monthandPaymentRecord.PaymentMethodDetail.Card.exp_monthfromlongIntegertonullable(longInteger)PaymentAttemptRecord.PaymentMethodDetail.Card.exp_yearandPaymentRecord.PaymentMethodDetail.Card.exp_yearfromlongIntegertonullable(longInteger)PaymentAttemptRecord.PaymentMethodDetail.Card.fundingandPaymentRecord.PaymentMethodDetail.Card.fundingfromenum('credit'|'debit'|'prepaid'|'unknown')tonullable(enum('credit'|'debit'|'prepaid'|'unknown'))PaymentAttemptRecord.PaymentMethodDetail.Card.last4andPaymentRecord.PaymentMethodDetail.Card.last4fromstringtonullable(string)PaymentAttemptRecord.PaymentMethodDetail.Card.motoandPaymentRecord.PaymentMethodDetail.Card.motofrombooleantonullable(boolean)cryptogram,electronic_commerce_indicator,exemption_indicator_applied, andexemption_indicatoronPaymentAttemptRecord.PaymentMethodDetail.Card.ThreeDSecureandPaymentRecord.PaymentMethodDetail.Card.ThreeDSecuresurchargeonPaymentIntent.AmountDetail,PaymentIntentCaptureParamsAmountDetail,PaymentIntentConfirmParamsAmountDetail,PaymentIntentCreateParamsAmountDetail,PaymentIntentIncrementAuthorizationParamsAmountDetail, andPaymentIntentModifyParamsAmountDetailupion enumsPaymentIntent.excluded_payment_method_types,PaymentIntentConfirmParams.excluded_payment_method_types,PaymentIntentCreateParams.excluded_payment_method_types,PaymentIntentModifyParams.excluded_payment_method_types,SetupIntent.excluded_payment_method_types,SetupIntentCreateParams.excluded_payment_method_types, andSetupIntentModifyParams.excluded_payment_method_typesmandate_optionsonPaymentIntent.PaymentMethodOption.StripeBalance,PaymentIntentConfirmParamsPaymentMethodOptionStripeBalance,PaymentIntentCreateParamsPaymentMethodOptionStripeBalance, andPaymentIntentModifyParamsPaymentMethodOptionStripeBalanceamount_detailsandpayment_detailsonPaymentIntentDecrementAuthorizationParamsupi_handle_redirect_or_display_qr_codeonPaymentIntent.NextActionandSetupIntent.NextActionmanaged_paymentsonPaymentLinkCreateParamsandPaymentLinkupion enumsPaymentLink.payment_method_types,PaymentLinkCreateParams.payment_method_types, andPaymentLinkModifyParams.payment_method_typesrecommended_actionandsignalsonRadar.PaymentEvaluationinsightsonRadar.PaymentEvaluationcrypto_fingerprinton enumsRadar.ValueList.item_typeandradar.ValueListCreateParams.item_typestripe_balanceonSetupIntent.PaymentMethodOption,SetupIntentConfirmParamsPaymentMethodOption,SetupIntentCreateParamsPaymentMethodOption, andSetupIntentModifyParamsPaymentMethodOptionresolvedon enumSharedPayment.GrantedToken.deactivated_reasonrecurring_intervalonSharedPayment.GrantedToken.UsageLimitSharedPayment.GrantedToken.UsageLimit.expires_atfromDateTimetonullable(DateTime)presentment_detailsonSubscriptioncanceled_by_retention_policyon enumSubscription.CancellationDetail.reason2026-03-25.dahliaon enumWebhookEndpointCreateParams.api_versioninvoice_resourcesonV2.Billing.Intentamount_dueandcustomer_balance_appliedonV2.Billing.Intent.AmountDetailrecurring_credit_grantonV2.Billing.IntentAction.Modify.PricingPlanSubscriptionDetail.Override.PartialPeriodBehavior,V2.Billing.IntentAction.Subscribe.PricingPlanSubscriptionDetail.Override.PartialPeriodBehavior,v2.billing.IntentCreateParamsActionModifyPricingPlanSubscriptionDetailOverridePartialPeriodBehavior, andv2.billing.IntentCreateParamsActionSubscribePricingPlanSubscriptionDetailOverridePartialPeriodBehaviorconsumer_privacy_disclosuresandconsumer_storeronV2.Core.Account.Identity.Attestation.TermsOfService,v2.core.AccountCreateParamsIdentityAttestationTermsOfService, andv2.core.AccountModifyParamsIdentityAttestationTermsOfServiceincludeonv2.billing.IntentCreateParamsandv2.billing.IntentReserveParamsservice_period_coupon_with_metered_tiered_item_unsupportedonInvoice.LastFinalizationError,PaymentIntent.LastPaymentError,QuotePreviewInvoice.LastFinalizationError,SetupAttempt.SetupError,SetupIntent.LastSetupError, andStripeError