Update generated code for private-preview#1856
Merged
stripe-openapi[bot] merged 2 commits intoprivate-previewfrom Apr 28, 2026
Merged
Update generated code for private-preview#1856stripe-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::MetricQueryResultbalance_reportandpayout_reconciliation_reportonAccountSession::ComponentandAccountSessionCreateParams::Componentapp_distributionandsunbit_paymentsonAccount::Capability,AccountCreateParams::Capability, andAccountUpdateParams::CapabilitysunbitonCharge::PaymentMethodDetail,ConfirmationToken::PaymentMethodPreview,ConfirmationTokenCreateParams::PaymentMethodDatum,PaymentAttemptRecord::PaymentMethodDetail,PaymentIntentConfirmParams::PaymentMethodDatum,PaymentIntentCreateParams::PaymentMethodDatum,PaymentIntentUpdateParams::PaymentMethodDatum,PaymentMethodConfigurationCreateParams,PaymentMethodConfigurationUpdateParams,PaymentMethodConfiguration,PaymentMethodCreateParams,PaymentMethod,PaymentRecord::PaymentMethodDetail,SetupIntentConfirmParams::PaymentMethodDatum,SetupIntentCreateParams::PaymentMethodDatum, andSetupIntentUpdateParams::PaymentMethodDatumlast4onCharge::PaymentMethodDetail::GiftCard,PaymentAttemptRecord::PaymentMethodDetail::GiftCard, andPaymentRecord::PaymentMethodDetail::GiftCardlocationandreaderonCharge::PaymentMethodDetail::Klarna,PaymentAttemptRecord::PaymentMethodDetail::Klarna, andPaymentRecord::PaymentMethodDetail::KlarnablikonCheckout::SessionCreateParams::PaymentMethodOption,Invoice::PaymentSetting::PaymentMethodOption,InvoiceCreateParams::PaymentSetting::PaymentMethodOption,InvoiceUpdateParams::PaymentSetting::PaymentMethodOption,QuotePreviewInvoice::PaymentSetting::PaymentMethodOption,Subscription::PaymentSetting::PaymentMethodOption,SubscriptionCreateParams::PaymentSetting::PaymentMethodOption, andSubscriptionUpdateParams::PaymentSetting::PaymentMethodOptionCheckout::Session.managed_payments,PaymentIntent.managed_payments,PaymentLink.managed_payments, andSubscription.managed_paymentsto be requiredshared_payment_granted_tokenonConfirmationTokenCreateParams::PaymentMethodDatum,PaymentIntentConfirmParams::PaymentMethodDatum,PaymentIntentCreateParams::PaymentMethodDatum,PaymentIntentUpdateParams::PaymentMethodDatum,PaymentMethod,SetupIntentConfirmParams::PaymentMethodDatum,SetupIntentCreateParams::PaymentMethodDatum, andSetupIntentUpdateParams::PaymentMethodDatumCreditNote::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)buyer_consentsonDelegatedCheckout::RequestedSessionConfirmParamsconsentsonDelegatedCheckout::RequestedSession::BuyerConsent::MarketingInvoice::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::AuthorizationCreateParams::MerchantDatum,Issuing::TransactionCreateForceCaptureParams::MerchantDatum, andIssuing::TransactionCreateUnlinkedRefundParams::MerchantDatumcard_presenceonIssuing::Authorizationallowed_card_presencesandblocked_card_presencesonIssuing::Card::SpendingControl,Issuing::CardCreateParams::SpendingControl,Issuing::CardUpdateParams::SpendingControl,Issuing::Cardholder::SpendingControl,Issuing::CardholderCreateParams::SpendingControl, andIssuing::CardholderUpdateParams::SpendingControlPaymentAttemptRecord::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)amount_to_confirmonPaymentIntentConfirmParamsklarna_display_qr_codeonPaymentIntent::NextActionvalidation_errorsonPrivacy::RedactionJobtax_detailsonProductRadar::PaymentEvaluation::ClientDeviceMetadataDetail.radar_sessionfromstringtonullable(string)motoonSetupAttempt::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::RegistrationCreateParams::CountryOption::MepurposeonTreasury::OutboundPaymentCreateParamsandTreasury::OutboundPaymentcrypto_walletonV2::MoneyManagement::FinancialAddress::Credentialmx_bank_accountonV2::MoneyManagement::FinancialAddress::CredentialandV2::MoneyManagement::ReceivedCredit::BankTransfercrypto_wallet_transferonV2::MoneyManagement::ReceivedCrediteu_bank_accountonV2::MoneyManagement::ReceivedCredit::BankTransferV2::Payments::OffSessionPaymentCaptureParams.metadataandV2::Payments::OffSessionPaymentCreateParams.metadatato be optionalcrypto_propertiesandsettlement_currencyonV2::MoneyManagement::FinancialAddressCreateParamsV2CoreApprovalRequestCreatedEventandV2CoreApprovalRequestExpiredEventwith related objectV2::Core::ApprovalRequestV2ExtendExtensionRunFailedEvent