Update generated code for private-preview#2586
Merged
stripe-openapi[bot] merged 9 commits intoprivate-previewfrom Mar 4, 2026
Merged
Update generated code for private-preview#2586stripe-openapi[bot] merged 9 commits intoprivate-previewfrom
stripe-openapi[bot] merged 9 commits intoprivate-previewfrom
Conversation
* Add agent information to UserAgent * format
ramya-stripe
approved these changes
Mar 4, 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 v2189 and proto spec .
Changelog
Billing.AlertRecoveredandProfilereauthorizemethod on resourcePaymentIntentsmart_disputesonAccount.settings,AccountCreateParams.settings,AccountUpdateParams.settings,V2.Core.Account.configuration.merchant,V2.Core.AccountCreateParams.configuration.merchant, andV2.Core.AccountUpdateParams.configuration.merchantemail_customers_on_successful_paymentonAccount.settings.payments,AccountCreateParams.settings.payments, andAccountUpdateParams.settings.paymentssettingsonQuoteLine.actions[].add_discount,QuoteLine.actions[].add_item.discounts[],QuoteLine.actions[].set_discounts[],QuoteLine.actions[].set_items[].discounts[],QuotePreviewSubscriptionSchedule.phases[].discounts[],QuotePreviewSubscriptionSchedule.phases[].items[].discounts[],SubscriptionSchedule.phases[].discounts[], andSubscriptionSchedule.phases[].items[].discounts[]balance_update_detailsonBilling.CreditBalanceSummary.balances[]reauthorizationandreauthorize_beforeonCharge.payment_method_details.card_present,Charge.payment_method_details.card,ConfirmationToken.payment_method_preview.card.generated_from.payment_method_details.card_present,PaymentAttemptRecord.payment_method_details.card_present,PaymentMethod.card.generated_from.payment_method_details.card_present, andPaymentRecord.payment_method_details.card_presentlocationandreaderonCharge.payment_method_details.card_present,Charge.payment_method_details.interac_present,ConfirmationToken.payment_method_preview.card.generated_from.payment_method_details.card_present,PaymentAttemptRecord.payment_method_details.card_present,PaymentAttemptRecord.payment_method_details.interac_present,PaymentMethod.card.generated_from.payment_method_details.card_present,PaymentRecord.payment_method_details.card_present, andPaymentRecord.payment_method_details.interac_presentmanaged_paymentsonCheckout.SessionCreateParams,Checkout.Session,PaymentIntent,SetupIntent, andSubscriptionlk_vaton 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.typelk_vaton 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.typedigitalonDelegatedCheckout.RequestedSession.fulfillment_details.fulfillment_options[],DelegatedCheckout.RequestedSession.fulfillment_details.selected_fulfillment_option, andDelegatedCheckout.RequestedSessionUpdateParams.fulfillment_details.selected_fulfillment_optionDelegatedCheckout.RequestedSessionUpdateParams.fulfillment_details.selected_fulfillment_option.shippingto be optionalaffiliate_attributionsonDelegatedCheckout.RequestedSessionConfirmParams,DelegatedCheckout.RequestedSessionCreateParams, andDelegatedCheckout.RequestedSessionfulfillment_typeonDelegatedCheckout.RequestedSession.line_item_details[]marketplace_seller_details,network_profile,privacy_notice_url,return_policy_url,store_policy_url, andterms_of_service_urlonDelegatedCheckout.RequestedSession.seller_detailsamount_to_counteronDisputeUpdateParamsreserve.hold.created,reserve.hold.updated,reserve.plan.created,reserve.plan.disabled,reserve.plan.expired,reserve.plan.updated, andreserve.release.createdon enumEvent.typeterminal_wifi_certificateandterminal_wifi_private_keyon enumsFile.purposeandFileListParams.purposeterminal_wifi_certificateandterminal_wifi_private_keyon enumFileCreateParams.purposepay_by_bankon enumsInvoice.payment_settings.payment_method_types,InvoiceCreateParams.payment_settings.payment_method_types,InvoiceUpdateParams.payment_settings.payment_method_types,QuotePreviewInvoice.payment_settings.payment_method_types,Subscription.payment_settings.payment_method_types,SubscriptionCreateParams.payment_settings.payment_method_types, andSubscriptionUpdateParams.payment_settings.payment_method_typesdisplay_nameandservice_user_numberonMandate.payment_method_details.bacs_debitPaymentAttemptRecord.payment_method_details.boleto.tax_idandPaymentRecord.payment_method_details.boleto.tax_idfromstringtostring | nullPaymentAttemptRecord.payment_method_details.us_bank_account.expected_debit_dateandPaymentRecord.payment_method_details.us_bank_account.expected_debit_datefromstring | nulltostringrequest_reauthorizationonPaymentIntent.payment_method_options.card_present,PaymentIntent.payment_method_options.card,PaymentIntentConfirmParams.payment_method_options.card_present,PaymentIntentConfirmParams.payment_method_options.card,PaymentIntentCreateParams.payment_method_options.card_present,PaymentIntentCreateParams.payment_method_options.card,PaymentIntentUpdateParams.payment_method_options.card_present, andPaymentIntentUpdateParams.payment_method_options.cardtransaction_purposeonPaymentIntent.payment_method_options.us_bank_account,PaymentIntentConfirmParams.payment_method_options.us_bank_account,PaymentIntentCreateParams.payment_method_options.us_bank_account, andPaymentIntentUpdateParams.payment_method_options.us_bank_accountrequires_reauthorizationon enumPaymentIntent.statusoptional_itemsonPaymentLinkUpdateParamsbilling_schedules_invalidon enumQuote.status_details.stale.last_reason.typecard_issuer_declineonRadar.PaymentEvaluation.insightspayment_behavioronSubscriptionItemDeleteParamsbilling_cycle_anchoronSubscription.trial_settings.end_behaviorlkonTax.Registration.country_optionsandTax.RegistrationCreateParams.country_optionscellularandstripe_s710onTerminal.ConfigurationCreateParams,Terminal.ConfigurationUpdateParams, andTerminal.Configurationsimulated_stripe_s710andstripe_s710on enumsTerminal.Reader.device_typeandTerminal.ReaderListParams.device_typereserve.hold.created,reserve.hold.updated,reserve.plan.created,reserve.plan.disabled,reserve.plan.expired,reserve.plan.updated, andreserve.release.createdon enumsWebhookEndpointCreateParams.enabled_eventsandWebhookEndpointUpdateParams.enabled_events2026-02-25.cloveron enumWebhookEndpointCreateParams.api_versionar_bank_account,bt_bank_account,co_bank_account,cr_bank_account,do_bank_account,gt_bank_account,md_bank_account,mk_bank_account,mo_bank_account,mz_bank_account,pe_bank_account,pk_bank_account,tw_bank_account, anduz_bank_accounton enumsV2.Account.configuration.recipient_data.default_outbound_destination.typeandV2.Core.Account.configuration.recipient.default_outbound_destination.typerecipient_onboardingandrecipient_updateonV2.Core.AccountLink.use_caseandV2.Core.AccountLinkCreateParams.use_caserecipient_onboardingandrecipient_updateon enumsV2.Core.AccountLink.use_case.typeandV2.Core.AccountLinkCreateParams.use_case.typeconsumeronV2.Core.Account.configuration.storer.capabilities,V2.Core.AccountCreateParams.configuration.storer.capabilities, andV2.Core.AccountUpdateParams.configuration.storer.capabilitiesconsumer.holds_currencies.usdon enumsV2.Core.Account.future_requirements.entries[].impact.restricts_capabilities[].capabilityandV2.Core.Account.requirements.entries[].impact.restricts_capabilities[].capabilityfunds_usage_typeonV2.MoneyManagement.FinancialAccount.storageandV2.MoneyManagement.FinancialAccountCreateParams.storagepurposeonV2.MoneyManagement.OutboundPaymentCreateParamsandV2.MoneyManagement.OutboundPaymentbranch_numberandswift_codeonV2.MoneyManagement.PayoutMethod.bank_accountdispute,inbound_payment_failure,inbound_payment,india_mdr_processing_fee,payment_method_passthrough_fee,refund, andtax_withholdingon enumsV2.MoneyManagement.Transaction.categoryandV2.MoneyManagement.TransactionEntry.transaction_details.categorycharge_failureandchargefrom enumsV2.MoneyManagement.Transaction.categoryandV2.MoneyManagement.TransactionEntry.transaction_details.categoryV2.MoneyManagement.Transaction.flowandV2.MoneyManagement.TransactionEntry.transaction_details.flowto be optionalconsumer.holds_currencies.usdon enumEventsV2CoreAccountIncludingConfigurationStorerCapabilityStatusUpdatedEvent.updated_capabilityBillingAlertRecoveredEventwith resourceBilling.AlertRecoveredReserveHoldCreatedEventandReserveHoldUpdatedEventwith resourceReserve.HoldReservePlanCreatedEvent,ReservePlanDisabledEvent,ReservePlanExpiredEvent, andReservePlanUpdatedEventwith resourceReserve.PlanReserveReleaseCreatedEventwith resourceReserve.ReleaseV2BillingRateCardCustomPricingUnitOverageRateCreatedEventwith related objectV2.Billing.RateCardCustomPricingUnitOverageRateV2IamStripeAccessGrantApprovedEvent,V2IamStripeAccessGrantCanceledEvent,V2IamStripeAccessGrantDeniedEvent,V2IamStripeAccessGrantRemovedEvent,V2IamStripeAccessGrantRequestedEvent, andV2IamStripeAccessGrantUpdatedEventstorer_capability_missingandstorer_capability_not_activeonInvoice.last_finalization_error,PaymentIntent.last_payment_error,QuotePreviewInvoice.last_finalization_error,SetupAttempt.setup_error,SetupIntent.last_setup_error, andStripeError