Update generated code for private-preview#1800
Merged
stripe-openapi[bot] merged 2 commits intoprivate-previewfrom Apr 28, 2026
Merged
Update generated code for private-preview#1800stripe-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 resourceshared_payment.IssuedTokencreatemethod on resourcev2.data.analytics.MetricQueryResultbalance_reportandpayout_reconciliation_reportonAccountSession.ComponentandAccountSessionCreateParamsComponentapp_distributionandsunbit_paymentsonAccount.Capability,AccountCreateParamsCapability, andAccountModifyParamsCapabilityfee_credit_funding,inbound_transfer_reversal, andinbound_transferon enumBalanceTransaction.typesunbitonCharge.PaymentMethodDetail,ConfirmationToken.PaymentMethodPreview,ConfirmationTokenCreateParamsPaymentMethodDatum,PaymentAttemptRecord.PaymentMethodDetail,PaymentIntentConfirmParamsPaymentMethodDatum,PaymentIntentCreateParamsPaymentMethodDatum,PaymentIntentModifyParamsPaymentMethodDatum,PaymentMethodConfigurationCreateParams,PaymentMethodConfigurationModifyParams,PaymentMethodConfiguration,PaymentMethodCreateParams,PaymentMethod,PaymentRecord.PaymentMethodDetail,SetupIntentConfirmParamsPaymentMethodDatum,SetupIntentCreateParamsPaymentMethodDatum, andSetupIntentModifyParamsPaymentMethodDatumphantom_cashandusdton enumsCharge.PaymentMethodDetail.Crypto.token_currency,PaymentAttemptRecord.PaymentMethodDetail.Crypto.token_currency, andPaymentRecord.PaymentMethodDetail.Crypto.token_currencylast4onCharge.PaymentMethodDetail.GiftCard,PaymentAttemptRecord.PaymentMethodDetail.GiftCard, andPaymentRecord.PaymentMethodDetail.GiftCardlocationandreaderonCharge.PaymentMethodDetail.Klarna,PaymentAttemptRecord.PaymentMethodDetail.Klarna, andPaymentRecord.PaymentMethodDetail.Klarnasunbiton enumcheckout.SessionCreateParams.excluded_payment_method_typesblikonInvoice.PaymentSetting.PaymentMethodOption,InvoiceCreateParamsPaymentSettingPaymentMethodOption,InvoiceModifyParamsPaymentSettingPaymentMethodOption,QuotePreviewInvoice.PaymentSetting.PaymentMethodOption,Subscription.PaymentSetting.PaymentMethodOption,SubscriptionCreateParamsPaymentSettingPaymentMethodOption,SubscriptionModifyParamsPaymentSettingPaymentMethodOption, andcheckout.SessionCreateParamsPaymentMethodOptionsunbiton enumcheckout.SessionCreateParams.payment_method_typesfo_vat,gi_tin,it_cf, andpy_rucon enumsCheckout.Session.CollectedInformation.TaxId.type,Checkout.Session.CustomerDetail.TaxId.type,Invoice.CustomerTaxId.type,Order.TaxDetail.TaxId.type,QuotePreviewInvoice.CustomerTaxId.type,Tax.Calculation.CustomerDetail.TaxId.type,Tax.Transaction.CustomerDetail.TaxId.type, andTaxId.typeCheckout.Session.managed_payments,PaymentIntent.managed_payments,PaymentLink.managed_payments, andSubscription.managed_paymentsto be requiredshared_payment_granted_tokenonConfirmationTokenCreateParamsPaymentMethodDatum,PaymentIntentConfirmParamsPaymentMethodDatum,PaymentIntentCreateParamsPaymentMethodDatum,PaymentIntentModifyParamsPaymentMethodDatum,PaymentMethod,SetupIntentConfirmParamsPaymentMethodDatum,SetupIntentCreateParamsPaymentMethodDatum, andSetupIntentModifyParamsPaymentMethodDatumsunbiton enumsConfirmationTokenCreateParamsPaymentMethodDatum.type,PaymentIntentConfirmParamsPaymentMethodDatum.type,PaymentIntentCreateParamsPaymentMethodDatum.type,PaymentIntentModifyParamsPaymentMethodDatum.type,SetupIntentConfirmParamsPaymentMethodDatum.type,SetupIntentCreateParamsPaymentMethodDatum.type, andSetupIntentModifyParamsPaymentMethodDatum.typesunbiton enumsConfirmationToken.PaymentMethodPreview.typeandPaymentMethod.typeCreditNote.TotalTax.TaxRateDetail.tax_rate,CreditNoteLineItem.Tax.TaxRateDetail.tax_rate,Invoice.TotalTax.TaxRateDetail.tax_rate,InvoiceLineItem.Tax.TaxRateDetail.tax_rate, andQuotePreviewInvoice.TotalTax.TaxRateDetail.tax_ratefromstringtoexpandable($TaxRate)fo_vat,gi_tin,it_cf, andpy_rucon enumsCustomerCreateParamsTaxIdDatum.type,CustomerCreateTaxIdParams.type,InvoiceCreatePreviewParamsCustomerDetailTaxId.type,OrderCreateParamsTaxDetailTaxId.type,OrderModifyParamsTaxDetailTaxId.type,TaxIdCreateParams.type, andtax.CalculationCreateParamsCustomerDetailTaxId.typesunbiton enumsCustomerListPaymentMethodsParams.type,PaymentMethodCreateParams.type, andPaymentMethodListParams.typebuyer_consentsondelegated_checkout.RequestedSessionConfirmParamsconsentsonDelegatedCheckout.RequestedSession.BuyerConsent.Marketingblikon enumsInvoiceCreateParamsPaymentSetting.payment_method_types,InvoiceModifyParamsPaymentSetting.payment_method_types,SubscriptionCreateParamsPaymentSetting.payment_method_types, andSubscriptionModifyParamsPaymentSetting.payment_method_typesblikon enumsInvoice.PaymentSetting.payment_method_types,QuotePreviewInvoice.PaymentSetting.payment_method_types, andSubscription.PaymentSetting.payment_method_typesInvoice.PaymentSetting.PaymentMethodOption.pix,QuotePreviewInvoice.PaymentSetting.PaymentMethodOption.pix, andSubscription.PaymentSetting.PaymentMethodOption.pixto be requiredInvoice.PaymentSetting.PaymentMethodOption.upi,QuotePreviewInvoice.PaymentSetting.PaymentMethodOption.upi, andSubscription.PaymentSetting.PaymentMethodOption.upito be requiredpayment_facilitator_idandsub_merchant_idonissuing.AuthorizationCreateParamsMerchantDatum,issuing.TransactionCreateForceCaptureParamsMerchantDatum, andissuing.TransactionCreateUnlinkedRefundParamsMerchantDatumcard_presenceonIssuing.Authorizationallowed_card_presencesandblocked_card_presencesonIssuing.Card.SpendingControl,Issuing.Cardholder.SpendingControl,issuing.CardCreateParamsSpendingControl,issuing.CardModifyParamsSpendingControl,issuing.CardholderCreateParamsSpendingControl, andissuing.CardholderModifyParamsSpendingControlfulfillment_erroron enumIssuing.Card.cancellation_reasonfulfillment_erroron enumIssuing.Card.replacement_reasonPaymentAttemptRecord.PaymentMethodDetail.GiftCard.balanceandPaymentRecord.PaymentMethodDetail.GiftCard.balancefromPaymentFlowsPrivatePaymentMethodsGiftCardDeprecatedDetailsResourceBalanceAmounttonullable(PaymentsPrimitivesPaymentRecordsResourcePaymentMethodGiftCardDetailsResourceBalance)PaymentAttemptRecord.PaymentMethodDetail.GiftCard.brandandPaymentRecord.PaymentMethodDetail.GiftCard.brandfromenum('fiserv_valuelink'|'givex'|'svs')tonullable(enum('fiserv_valuelink'|'givex'|'svs'))PaymentAttemptRecord.PaymentMethodDetail.GiftCard.first6andPaymentRecord.PaymentMethodDetail.GiftCard.first6fromstringtonullable(string)PaymentAttemptRecord.PaymentMethodDetail.GiftCard.transaction_idandPaymentRecord.PaymentMethodDetail.GiftCard.transaction_idfromstringtonullable(string)sunbiton enumsPaymentIntentConfirmParams.excluded_payment_method_types,PaymentIntentCreateParams.excluded_payment_method_types,PaymentIntentModifyParams.excluded_payment_method_types,SetupIntentCreateParams.excluded_payment_method_types, andSetupIntentModifyParams.excluded_payment_method_typesamount_to_confirmonPaymentIntentConfirmParamssunbiton enumsPaymentIntent.excluded_payment_method_typesandSetupIntent.excluded_payment_method_typesklarna_display_qr_codeonPaymentIntent.NextActionsunbiton enumsPaymentLinkCreateParams.payment_method_typesandPaymentLinkModifyParams.payment_method_typessunbiton enumPaymentLink.payment_method_typesvalidation_errorsonPrivacy.RedactionJobtax_detailsonProductRadar.PaymentEvaluation.ClientDeviceMetadataDetail.radar_sessionfromstringtonullable(string)low,not_assessed, andunknownon enumRadar.PaymentEvaluation.Signal.FraudulentPayment.risk_levelaccounton enumradar.ValueListCreateParams.item_typeaccounton enumRadar.ValueList.item_typemotoonSetupAttempt.PaymentMethodDetail.CardSetupIntent.NextAction.PixDisplayQrCode.datato be requiredSetupIntent.NextAction.PixDisplayQrCode.expires_atto be requiredSetupIntent.NextAction.PixDisplayQrCode.hosted_instructions_urlto be requiredSetupIntent.NextAction.PixDisplayQrCode.image_url_pngto be requiredSetupIntent.NextAction.PixDisplayQrCode.image_url_svgto be requiredadmissions_tax,attendance_tax,entertainment_tax,gross_receipts_tax,hospitality_tax,luxury_tax,resort_tax, andtourism_taxontax.RegistrationCreateParamsCountryOptionMepurposeonTreasury.OutboundPaymentandtreasury.OutboundPaymentCreateParams2026-04-22.dahliaon enumWebhookEndpointCreateParams.api_versioncrypto_walletonV2.MoneyManagement.FinancialAddress.Credentialmx_bank_accountonV2.MoneyManagement.FinancialAddress.CredentialandV2.MoneyManagement.ReceivedCredit.BankTransfercrypto_walletandmx_bank_accounton enumV2.MoneyManagement.FinancialAddress.Credential.typecrypto_wallet_transferonV2.MoneyManagement.ReceivedCrediteu_bank_accountonV2.MoneyManagement.ReceivedCredit.BankTransfercrypto_wallet,eu_bank_account, andmx_bank_accounton enumV2.MoneyManagement.ReceivedCredit.BankTransfer.origin_typecrypto_wallet_transferon enumV2.MoneyManagement.ReceivedCredit.typev2.payments.OffSessionPaymentCaptureParams.metadataandv2.payments.OffSessionPaymentCreateParams.metadatato be optionalcrypto_propertiesandsettlement_currencyonv2.money_management.FinancialAddressCreateParamscrypto_walletandmx_bank_accounton enumv2.money_management.FinancialAddressCreateParams.typeV2CoreApprovalRequestCreatedEventandV2CoreApprovalRequestExpiredEventwith related objectv2.core.ApprovalRequestV2ExtendExtensionRunFailedEventaction_blockedandapproval_requiredonInvoice.LastFinalizationError,PaymentIntent.LastPaymentError,QuotePreviewInvoice.LastFinalizationError,SetupAttempt.SetupError,SetupIntent.LastSetupError, andStripeError