Update generated code for private-preview#2695
Merged
stripe-openapi[bot] merged 2 commits intoprivate-previewfrom Apr 28, 2026
Merged
Update generated code for private-preview#2695stripe-openapi[bot] merged 2 commits intoprivate-previewfrom
stripe-openapi[bot] merged 2 commits intoprivate-previewfrom
Conversation
xavdid
approved these changes
Apr 28, 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 v2254 and proto spec .
Changelog
V2.Data.Analytics.MetricQueryResultcreate,retrieve, andrevokemethods on resourceSharedPayment.IssuedTokencreatemethod on resourceV2.Data.Analytics.MetricQueryResultapp_distributionandsunbit_paymentsonAccount.capabilities,AccountCreateParams.capabilities, andAccountUpdateParams.capabilitiesbalance_reportandpayout_reconciliation_reportonAccountSession.componentsandAccountSessionCreateParams.componentsfee_credit_funding,inbound_transfer_reversal, andinbound_transferon enumBalanceTransaction.typesunbitonCharge.payment_method_details,ConfirmationToken.payment_method_preview,ConfirmationTokenCreateParams.testHelpers.payment_method_data,PaymentAttemptRecord.payment_method_details,PaymentIntentConfirmParams.payment_method_data,PaymentIntentCreateParams.payment_method_data,PaymentIntentUpdateParams.payment_method_data,PaymentMethodConfigurationCreateParams,PaymentMethodConfigurationUpdateParams,PaymentMethodConfiguration,PaymentMethodCreateParams,PaymentMethod,PaymentRecord.payment_method_details,SetupIntentConfirmParams.payment_method_data,SetupIntentCreateParams.payment_method_data, andSetupIntentUpdateParams.payment_method_dataphantom_cashandusdton enumsCharge.payment_method_details.crypto.token_currency,PaymentAttemptRecord.payment_method_details.crypto.token_currency, andPaymentRecord.payment_method_details.crypto.token_currencylast4onCharge.payment_method_details.gift_card,PaymentAttemptRecord.payment_method_details.gift_card, andPaymentRecord.payment_method_details.gift_cardlocationandreaderonCharge.payment_method_details.klarna,PaymentAttemptRecord.payment_method_details.klarna, andPaymentRecord.payment_method_details.klarnasunbiton enumCheckout.SessionCreateParams.excluded_payment_method_typesblikonCheckout.SessionCreateParams.payment_method_options,Invoice.payment_settings.payment_method_options,InvoiceCreateParams.payment_settings.payment_method_options,InvoiceUpdateParams.payment_settings.payment_method_options,QuotePreviewInvoice.payment_settings.payment_method_options,Subscription.payment_settings.payment_method_options,SubscriptionCreateParams.payment_settings.payment_method_options, andSubscriptionUpdateParams.payment_settings.payment_method_optionssunbiton enumCheckout.SessionCreateParams.payment_method_typesfo_vat,gi_tin,it_cf, andpy_rucon enumsCheckout.Session.collected_information.tax_ids[].type,Checkout.Session.customer_details.tax_ids[].type,Invoice.customer_tax_ids[].type,Order.tax_details.tax_ids[].type,QuotePreviewInvoice.customer_tax_ids[].type,Tax.Calculation.customer_details.tax_ids[].type,Tax.Transaction.customer_details.tax_ids[].type, andTaxId.typeCheckout.Session.managed_payments,PaymentIntent.managed_payments,PaymentLink.managed_payments, andSubscription.managed_paymentsto be requiredshared_payment_granted_tokenonConfirmationTokenCreateParams.testHelpers.payment_method_data,PaymentIntentConfirmParams.payment_method_data,PaymentIntentCreateParams.payment_method_data,PaymentIntentUpdateParams.payment_method_data,PaymentMethod,SetupIntentConfirmParams.payment_method_data,SetupIntentCreateParams.payment_method_data, andSetupIntentUpdateParams.payment_method_datasunbiton enumsConfirmationTokenCreateParams.testHelpers.payment_method_data.type,PaymentIntentConfirmParams.payment_method_data.type,PaymentIntentCreateParams.payment_method_data.type,PaymentIntentUpdateParams.payment_method_data.type,SetupIntentConfirmParams.payment_method_data.type,SetupIntentCreateParams.payment_method_data.type, andSetupIntentUpdateParams.payment_method_data.typesunbiton enumsConfirmationToken.payment_method_preview.typeandPaymentMethod.typeCreditNote.total_taxes[].tax_rate_details.tax_rate,CreditNoteLineItem.taxes[].tax_rate_details.tax_rate,Invoice.total_taxes[].tax_rate_details.tax_rate,InvoiceLineItem.taxes[].tax_rate_details.tax_rate, andQuotePreviewInvoice.total_taxes[].tax_rate_details.tax_ratefromstringtoexpandable(TaxRate)fo_vat,gi_tin,it_cf, andpy_rucon enumsCustomerCreateParams.tax_id_data[].type,CustomerCreateTaxIdParams.type,InvoiceCreatePreviewParams.customer_details.tax_ids[].type,OrderCreateParams.tax_details.tax_ids[].type,OrderUpdateParams.tax_details.tax_ids[].type,Tax.CalculationCreateParams.customer_details.tax_ids[].type, andTaxIdCreateParams.typesunbiton enumsCustomerListPaymentMethodsParams.type,PaymentMethodCreateParams.type, andPaymentMethodListParams.typebuyer_consentsonDelegatedCheckout.RequestedSessionConfirmParamsconsentsonDelegatedCheckout.RequestedSession.buyer_consents.marketingblikon enumsInvoiceCreateParams.payment_settings.payment_method_types,InvoiceUpdateParams.payment_settings.payment_method_types,SubscriptionCreateParams.payment_settings.payment_method_types, andSubscriptionUpdateParams.payment_settings.payment_method_typesblikon enumsInvoice.payment_settings.payment_method_types,QuotePreviewInvoice.payment_settings.payment_method_types, andSubscription.payment_settings.payment_method_typesInvoice.payment_settings.payment_method_options.pix,QuotePreviewInvoice.payment_settings.payment_method_options.pix, andSubscription.payment_settings.payment_method_options.pixto be requiredInvoice.payment_settings.payment_method_options.upi,QuotePreviewInvoice.payment_settings.payment_method_options.upi, andSubscription.payment_settings.payment_method_options.upito be requiredpayment_facilitator_idandsub_merchant_idonIssuing.AuthorizationCreateParams.testHelpers.merchant_data,Issuing.TransactionCreateForceCaptureParams.testHelpers.merchant_data, andIssuing.TransactionCreateUnlinkedRefundParams.testHelpers.merchant_datacard_presenceonIssuing.Authorizationallowed_card_presencesandblocked_card_presencesonIssuing.Card.spending_controls,Issuing.CardCreateParams.spending_controls,Issuing.CardUpdateParams.spending_controls,Issuing.Cardholder.spending_controls,Issuing.CardholderCreateParams.spending_controls, andIssuing.CardholderUpdateParams.spending_controlsfulfillment_erroron enumIssuing.Card.cancellation_reasonfulfillment_erroron enumIssuing.Card.replacement_reasonPaymentAttemptRecord.payment_method_details.gift_card.balanceandPaymentRecord.payment_method_details.gift_card.balancefromPaymentFlowsPrivatePaymentMethodsGiftCardDeprecatedDetailsResourceBalanceAmounttoPaymentsPrimitivesPaymentRecordsResourcePaymentMethodGiftCardDetailsResourceBalance | nullPaymentAttemptRecord.payment_method_details.gift_card.brandandPaymentRecord.payment_method_details.gift_card.brandfromenum('fiserv_valuelink'|'givex'|'svs')toenum('fiserv_valuelink'|'givex'|'svs') | nullPaymentAttemptRecord.payment_method_details.gift_card.first6andPaymentRecord.payment_method_details.gift_card.first6fromstringtostring | nullPaymentAttemptRecord.payment_method_details.gift_card.transaction_idandPaymentRecord.payment_method_details.gift_card.transaction_idfromstringtostring | nullsunbiton enumsPaymentIntentConfirmParams.excluded_payment_method_types,PaymentIntentCreateParams.excluded_payment_method_types,PaymentIntentUpdateParams.excluded_payment_method_types,SetupIntentCreateParams.excluded_payment_method_types, andSetupIntentUpdateParams.excluded_payment_method_typesamount_to_confirmonPaymentIntentConfirmParamssunbiton enumsPaymentIntent.excluded_payment_method_typesandSetupIntent.excluded_payment_method_typesklarna_display_qr_codeonPaymentIntent.next_actionsunbiton enumsPaymentLinkCreateParams.payment_method_typesandPaymentLinkUpdateParams.payment_method_typessunbiton enumPaymentLink.payment_method_typesvalidation_errorsonPrivacy.RedactionJobtax_detailsonProductRadar.PaymentEvaluation.client_device_metadata_details.radar_sessionfromstringtostring | nulllow,not_assessed, andunknownon enumRadar.PaymentEvaluation.signals.fraudulent_payment.risk_levelaccounton enumRadar.ValueListCreateParams.item_typeaccounton enumRadar.ValueList.item_typemotoonSetupAttempt.payment_method_details.cardSetupIntent.next_action.pix_display_qr_code.datato be requiredSetupIntent.next_action.pix_display_qr_code.expires_atto be requiredSetupIntent.next_action.pix_display_qr_code.hosted_instructions_urlto be requiredSetupIntent.next_action.pix_display_qr_code.image_url_pngto be requiredSetupIntent.next_action.pix_display_qr_code.image_url_svgto be requiredadmissions_tax,attendance_tax,entertainment_tax,gross_receipts_tax,hospitality_tax,luxury_tax,resort_tax, andtourism_taxonTax.RegistrationCreateParams.country_options.uspurposeonTreasury.OutboundPaymentCreateParamsandTreasury.OutboundPayment2026-04-22.dahliaon enumWebhookEndpointCreateParams.api_versioncrypto_walletonV2.MoneyManagement.FinancialAddress.credentialsmx_bank_accountonV2.MoneyManagement.FinancialAddress.credentialsandV2.MoneyManagement.ReceivedCredit.bank_transfercrypto_walletandmx_bank_accounton enumV2.MoneyManagement.FinancialAddress.credentials.typecrypto_wallet_transferonV2.MoneyManagement.ReceivedCrediteu_bank_accountonV2.MoneyManagement.ReceivedCredit.bank_transfercrypto_wallet,eu_bank_account, andmx_bank_accounton enumV2.MoneyManagement.ReceivedCredit.bank_transfer.origin_typecrypto_wallet_transferon enumV2.MoneyManagement.ReceivedCredit.typeV2.Payments.OffSessionPaymentCaptureParams.metadataandV2.Payments.OffSessionPaymentCreateParams.metadatato be optionalcrypto_propertiesandsettlement_currencyonV2.MoneyManagement.FinancialAddressCreateParamscrypto_walletandmx_bank_accounton enumV2.MoneyManagement.FinancialAddressCreateParams.typeV2CoreApprovalRequestCreatedEventandV2CoreApprovalRequestExpiredEventwith related objectV2.Core.ApprovalRequestV2ExtendExtensionRunFailedEventaction_blockedandapproval_requiredonInvoice.last_finalization_error,PaymentIntent.last_payment_error,QuotePreviewInvoice.last_finalization_error,SetupAttempt.setup_error,SetupIntent.last_setup_error, andStripeError