This release changes the pinned API version to 2025-07-30.basil.
instant_payouts_promotion on AccountSession.Component and AccountSession.CreateParamsComponentadjustable_quantity on BillingPortal.Configuration.Feature.SubscriptionUpdate.Product, billing_portal.Configuration.CreateParamsFeatureSubscriptionUpdateProduct, and billing_portal.Configuration.ModifyParamsFeatureSubscriptionUpdateProductdisabled from enum Capability.statustransaction_id on Charge.PaymentMethodDetail.Cashapporigin_context on Checkout.Session and checkout.Session.CreateParamstemplate on Checkout.Session.InvoiceCreation.InvoiceDatum.RenderingOption, PaymentLink.CreateParamsInvoiceCreationInvoiceDatumRenderingOption, PaymentLink.InvoiceCreation.InvoiceDatum.RenderingOption, PaymentLink.ModifyParamsInvoiceCreationInvoiceDatumRenderingOption, and checkout.Session.CreateParamsInvoiceCreationInvoiceDatumRenderingOptionsetup_future_usage on Checkout.Session.PaymentMethodOption.Pix and checkout.Session.CreateParamsPaymentMethodOptionPixnz_bank_account on enum checkout.Session.CreateParams.payment_method_typesIdentity.VerificationSession.RelatedPerson.account to be requiredIdentity.VerificationSession.RelatedPerson.person to be requiredduration on Invoice.CreatePreviewParamsScheduleDetailPhase, SubscriptionSchedule.CreateParamsPhase, and SubscriptionSchedule.ModifyParamsPhaseInvoice.CreatePreviewParamsSubscriptionDetail.cancel_at, Subscription.CreateParams.cancel_at, and Subscription.ModifyParams.cancel_at from DateTime to DateTime | enum('max_period_end'|'min_period_end')price_data on PaymentLink.CreateParamsLineItemPaymentLink.CreateParamsLineItem.price to be optionalAmerica/Coyhaique on enum reporting.ReportRun.CreateParamsParameter.timezonestandard on Tax.Registration.CountryOption.Ae, Tax.Registration.CountryOption.Au, Tax.Registration.CountryOption.Ch, Tax.Registration.CountryOption.Gb, Tax.Registration.CountryOption.Jp, Tax.Registration.CountryOption.No, Tax.Registration.CountryOption.Nz, Tax.Registration.CountryOption.Sg, tax.Registration.CreateParamsCountryOptionAe, tax.Registration.CreateParamsCountryOptionAl, tax.Registration.CreateParamsCountryOptionAo, tax.Registration.CreateParamsCountryOptionAu, tax.Registration.CreateParamsCountryOptionAw, tax.Registration.CreateParamsCountryOptionB, tax.Registration.CreateParamsCountryOptionBa, tax.Registration.CreateParamsCountryOptionBb, tax.Registration.CreateParamsCountryOptionBd, tax.Registration.CreateParamsCountryOptionBf, tax.Registration.CreateParamsCountryOptionBh, tax.Registration.CreateParamsCountryOptionCd, tax.Registration.CreateParamsCountryOptionCh, tax.Registration.CreateParamsCountryOptionEt, tax.Registration.CreateParamsCountryOptionGb, tax.Registration.CreateParamsCountryOptionGn, tax.Registration.CreateParamsCountryOptionIs, tax.Registration.CreateParamsCountryOptionJp, tax.Registration.CreateParamsCountryOptionMe, tax.Registration.CreateParamsCountryOptionMk, tax.Registration.CreateParamsCountryOptionMr, tax.Registration.CreateParamsCountryOptionNo, tax.Registration.CreateParamsCountryOptionNz, tax.Registration.CreateParamsCountryOptionOm, tax.Registration.CreateParamsCountryOptionR, tax.Registration.CreateParamsCountryOptionSg, tax.Registration.CreateParamsCountryOptionSr, tax.Registration.CreateParamsCountryOptionUy, tax.Registration.CreateParamsCountryOptionZa, and tax.Registration.CreateParamsCountryOptionZwinbound_goods on enums Tax.Registration.CountryOption.At.Standard.place_of_supply_scheme, Tax.Registration.CountryOption.Be.Standard.place_of_supply_scheme, Tax.Registration.CountryOption.Bg.Standard.place_of_supply_scheme, Tax.Registration.CountryOption.Cy.Standard.place_of_supply_scheme, Tax.Registration.CountryOption.Cz.Standard.place_of_supply_scheme, Tax.Registration.CountryOption.De.Standard.place_of_supply_scheme, Tax.Registration.CountryOption.Dk.Standard.place_of_supply_scheme, Tax.Registration.CountryOption.E.Standard.place_of_supply_scheme, Tax.Registration.CountryOption.Ee.Standard.place_of_supply_scheme, Tax.Registration.CountryOption.Fi.Standard.place_of_supply_scheme, Tax.Registration.CountryOption.Fr.Standard.place_of_supply_scheme, Tax.Registration.CountryOption.Gr.Standard.place_of_supply_scheme, Tax.Registration.CountryOption.Hr.Standard.place_of_supply_scheme, Tax.Registration.CountryOption.Hu.Standard.place_of_supply_scheme, Tax.Registration.CountryOption.Ie.Standard.place_of_supply_scheme, Tax.Registration.CountryOption.It.Standard.place_of_supply_scheme, Tax.Registration.CountryOption.Lt.Standard.place_of_supply_scheme, Tax.Registration.CountryOption.Lu.Standard.place_of_supply_scheme, Tax.Registration.CountryOption.Lv.Standard.place_of_supply_scheme, Tax.Registration.CountryOption.Mt.Standard.place_of_supply_scheme, Tax.Registration.CountryOption.Nl.Standard.place_of_supply_scheme, Tax.Registration.CountryOption.Pl.Standard.place_of_supply_scheme, Tax.Registration.CountryOption.Pt.Standard.place_of_supply_scheme, Tax.Registration.CountryOption.Ro.Standard.place_of_supply_scheme, Tax.Registration.CountryOption.Se.Standard.place_of_supply_scheme, Tax.Registration.CountryOption.Si.Standard.place_of_supply_scheme, Tax.Registration.CountryOption.Sk.Standard.place_of_supply_scheme, tax.Registration.CreateParamsCountryOptionAtStandard.place_of_supply_scheme, tax.Registration.CreateParamsCountryOptionBeStandard.place_of_supply_scheme, tax.Registration.CreateParamsCountryOptionBgStandard.place_of_supply_scheme, tax.Registration.CreateParamsCountryOptionCyStandard.place_of_supply_scheme, tax.Registration.CreateParamsCountryOptionCzStandard.place_of_supply_scheme, tax.Registration.CreateParamsCountryOptionDeStandard.place_of_supply_scheme, tax.Registration.CreateParamsCountryOptionDkStandard.place_of_supply_scheme, tax.Registration.CreateParamsCountryOptionEStandard.place_of_supply_scheme, tax.Registration.CreateParamsCountryOptionEeStandard.place_of_supply_scheme, tax.Registration.CreateParamsCountryOptionFiStandard.place_of_supply_scheme, tax.Registration.CreateParamsCountryOptionFrStandard.place_of_supply_scheme, tax.Registration.CreateParamsCountryOptionGrStandard.place_of_supply_scheme, tax.Registration.CreateParamsCountryOptionHrStandard.place_of_supply_scheme, tax.Registration.CreateParamsCountryOptionHuStandard.place_of_supply_scheme, tax.Registration.CreateParamsCountryOptionIeStandard.place_of_supply_scheme, tax.Registration.CreateParamsCountryOptionItStandard.place_of_supply_scheme, tax.Registration.CreateParamsCountryOptionLtStandard.place_of_supply_scheme, tax.Registration.CreateParamsCountryOptionLuStandard.place_of_supply_scheme, tax.Registration.CreateParamsCountryOptionLvStandard.place_of_supply_scheme, tax.Registration.CreateParamsCountryOptionMtStandard.place_of_supply_scheme, tax.Registration.CreateParamsCountryOptionNlStandard.place_of_supply_scheme, tax.Registration.CreateParamsCountryOptionPlStandard.place_of_supply_scheme, tax.Registration.CreateParamsCountryOptionPtStandard.place_of_supply_scheme, tax.Registration.CreateParamsCountryOptionRoStandard.place_of_supply_scheme, tax.Registration.CreateParamsCountryOptionSeStandard.place_of_supply_scheme, tax.Registration.CreateParamsCountryOptionSiStandard.place_of_supply_scheme, and tax.Registration.CreateParamsCountryOptionSkStandard.place_of_supply_schemeaed, bgn, huf, and ron on Terminal.Configuration.Tipping, terminal.Configuration.CreateParamsTipping, and terminal.Configuration.ModifyParamsTipping2025-07-30.basil on enum WebhookEndpoint.CreateParams.api_versionclose and create methods on resource v2.money_management.FinancialAccountstorer on enums V2.Core.Account.applied_configurations and v2.core.Account.CloseParams.applied_configurationsstorer on V2.Core.Account.Configuration, v2.core.Account.CreateParamsConfiguration, and v2.core.Account.ModifyParamsConfigurationfinancial_addresses.bank_accounts, holds_currencies.gbp, inbound_transfers.financial_accounts, outbound_payments.bank_accounts, outbound_payments.cards, outbound_payments.financial_accounts, outbound_transfers.bank_accounts, and outbound_transfers.financial_accounts on enum V2.Core.Account.Requirement.Entry.Impact.RestrictsCapability.capabilitystorer on enum V2.Core.Account.Requirement.Entry.Impact.RestrictsCapability.configurationstatus_details on V2.MoneyManagement.FinancialAccountstatus on v2.money_management.FinancialAccount.ListParamsconfiguration.storer on enums v2.core.Account.CreateParams.include, v2.core.Account.ModifyParams.include, and v2.core.Account.RetrieveParams.includeV2CoreAccountIncludingConfigurationStorerCapabilityStatusUpdatedEvent and V2CoreAccountIncludingConfigurationStorerUpdatedEvent with related object v2.core.AccountAlreadyExistsError and NonZeroBalanceErrorInvoice.CreatePreviewParamsScheduleDetail.billing_mode, Invoice.CreatePreviewParamsSubscriptionDetail.billing_mode, Quote.CreateParamsSubscriptionDatum.billing_mode, Quote.SubscriptionDatum.billing_mode, Subscription.CreateParams.billing_mode, SubscriptionSchedule.CreateParams.billing_mode, and checkout.Session.CreateParamsSubscriptionDatum.billing_mode from enum('classic'|'flexible') to billing_modesubmission_method on Dispute.EvidenceDetailon_demand and subscriptions on Order.CreateParamsPaymentSettingPaymentMethodOptionKlarna and Order.ModifyParamsPaymentSettingPaymentMethodOptionKlarnaOrder.CreateParamsPaymentSettingPaymentMethodOptionKlarna.setup_future_usage, Order.ModifyParamsPaymentSettingPaymentMethodOptionKlarna.setup_future_usage, and Order.Payment.Setting.PaymentMethodOption.Klarna.setup_future_usage from literal('none') to enum('none'|'off_session'|'on_session')crypto on PaymentAttemptRecord.PaymentMethodDetail and PaymentRecord.PaymentMethodDetailbuut on enums PaymentAttemptRecord.PaymentMethodDetail.Ideal.bank and PaymentRecord.PaymentMethodDetail.Ideal.bankBUUTNL2A on enums PaymentAttemptRecord.PaymentMethodDetail.Ideal.bic and PaymentRecord.PaymentMethodDetail.Ideal.bicPaymentIntent.ConfirmParamsPaymentMethodOptionGopay.setup_future_usage, PaymentIntent.CreateParamsPaymentMethodOptionGopay.setup_future_usage, PaymentIntent.ModifyParamsPaymentMethodOptionGopay.setup_future_usage, and PaymentIntent.PaymentMethodOption.Gopay.setup_future_usage from literal('none') to enum('none'|'off_session')Quote.SubscriptionDatum.billing_mode, QuotePreviewSubscriptionSchedule.billing_mode, Subscription.billing_mode, and SubscriptionSchedule.billing_mode to be requiredcrypto on enum QuotePreviewInvoice.PaymentSetting.payment_method_typesQuotePreviewSubscriptionSchedule.billing_mode, Subscription.billing_mode, and SubscriptionSchedule.billing_mode from enum('classic'|'flexible') to SubscriptionsResourceBillingModeSubscription.MigrateParams.billing_mode from literal('flexible') to billing_mode_migratebilling_mode_details on Subscriptionxx on enums V2.Core.Account.Configuration.Customer.AutomaticIndirectTax.Location.country, V2.Core.Account.Configuration.Customer.Shipping.Address.country, V2.Core.Account.Configuration.Merchant.Support.Address.country, V2.Core.Account.Identity.BusinessDetail.Address.country, V2.Core.Account.Identity.BusinessDetail.ScriptAddress.Kana.country, V2.Core.Account.Identity.BusinessDetail.ScriptAddress.Kanji.country, V2.Core.Account.Identity.Individual.AdditionalAddress.country, V2.Core.Account.Identity.Individual.Address.country, V2.Core.Account.Identity.Individual.ScriptAddress.Kana.country, V2.Core.Account.Identity.Individual.ScriptAddress.Kanji.country, V2.Core.Account.Identity.country, V2.Core.Person.AdditionalAddress.country, V2.Core.Person.Address.country, V2.Core.Person.ScriptAddress.Kana.country, V2.Core.Person.ScriptAddress.Kanji.country, V2.MoneyManagement.FinancialAccount.country, v2.core.Account.CreateParamsConfigurationCustomerShippingAddress.country, v2.core.Account.CreateParamsConfigurationMerchantSupportAddress.country, v2.core.Account.CreateParamsIdentity.country, v2.core.Account.CreateParamsIdentityBusinessDetailAddress.country, v2.core.Account.CreateParamsIdentityBusinessDetailScriptAddressKana.country, v2.core.Account.CreateParamsIdentityBusinessDetailScriptAddressKanji.country, v2.core.Account.CreateParamsIdentityIndividualAdditionalAddress.country, v2.core.Account.CreateParamsIdentityIndividualAddress.country, v2.core.Account.CreateParamsIdentityIndividualScriptAddressKana.country, v2.core.Account.CreateParamsIdentityIndividualScriptAddressKanji.country, v2.core.Account.ModifyParamsConfigurationCustomerShippingAddress.country, v2.core.Account.ModifyParamsConfigurationMerchantSupportAddress.country, v2.core.Account.ModifyParamsIdentity.country, v2.core.Account.ModifyParamsIdentityBusinessDetailAddress.country, v2.core.Account.ModifyParamsIdentityBusinessDetailScriptAddressKana.country, v2.core.Account.ModifyParamsIdentityBusinessDetailScriptAddressKanji.country, v2.core.Account.ModifyParamsIdentityIndividualAdditionalAddress.country, v2.core.Account.ModifyParamsIdentityIndividualAddress.country, v2.core.Account.ModifyParamsIdentityIndividualScriptAddressKana.country, v2.core.Account.ModifyParamsIdentityIndividualScriptAddressKanji.country, v2.core.Person.CreateParamsAdditionalAddress.country, v2.core.Person.CreateParamsAddress.country, v2.core.Person.CreateParamsScriptAddressKana.country, v2.core.Person.CreateParamsScriptAddressKanji.country, v2.core.Person.ModifyParamsAdditionalAddress.country, v2.core.Person.ModifyParamsAddress.country, v2.core.Person.ModifyParamsScriptAddressKana.country, and v2.core.Person.ModifyParamsScriptAddressKanji.countryunsupported_entity_type on enums V2.Core.Account.Configuration.Customer.Capability.AutomaticIndirectTax.StatusDetail.code, V2.Core.Account.Configuration.Merchant.Capability.AchDebitPayment.StatusDetail.code, V2.Core.Account.Configuration.Merchant.Capability.AcssDebitPayment.StatusDetail.code, V2.Core.Account.Configuration.Merchant.Capability.AffirmPayment.StatusDetail.code, V2.Core.Account.Configuration.Merchant.Capability.AfterpayClearpayPayment.StatusDetail.code, V2.Core.Account.Configuration.Merchant.Capability.AlmaPayment.StatusDetail.code, V2.Core.Account.Configuration.Merchant.Capability.AmazonPayPayment.StatusDetail.code, V2.Core.Account.Configuration.Merchant.Capability.AuBecsDebitPayment.StatusDetail.code, V2.Core.Account.Configuration.Merchant.Capability.BacsDebitPayment.StatusDetail.code, V2.Core.Account.Configuration.Merchant.Capability.BancontactPayment.StatusDetail.code, V2.Core.Account.Configuration.Merchant.Capability.BlikPayment.StatusDetail.code, V2.Core.Account.Configuration.Merchant.Capability.BoletoPayment.StatusDetail.code, V2.Core.Account.Configuration.Merchant.Capability.CardPayment.StatusDetail.code, V2.Core.Account.Configuration.Merchant.Capability.CartesBancairesPayment.StatusDetail.code, V2.Core.Account.Configuration.Merchant.Capability.CashappPayment.StatusDetail.code, V2.Core.Account.Configuration.Merchant.Capability.EpsPayment.StatusDetail.code, V2.Core.Account.Configuration.Merchant.Capability.FpxPayment.StatusDetail.code, V2.Core.Account.Configuration.Merchant.Capability.GbBankTransferPayment.StatusDetail.code, V2.Core.Account.Configuration.Merchant.Capability.GrabpayPayment.StatusDetail.code, V2.Core.Account.Configuration.Merchant.Capability.IdealPayment.StatusDetail.code, V2.Core.Account.Configuration.Merchant.Capability.JcbPayment.StatusDetail.code, V2.Core.Account.Configuration.Merchant.Capability.JpBankTransferPayment.StatusDetail.code, V2.Core.Account.Configuration.Merchant.Capability.KakaoPayPayment.StatusDetail.code, V2.Core.Account.Configuration.Merchant.Capability.KlarnaPayment.StatusDetail.code, V2.Core.Account.Configuration.Merchant.Capability.KonbiniPayment.StatusDetail.code, V2.Core.Account.Configuration.Merchant.Capability.KrCardPayment.StatusDetail.code, V2.Core.Account.Configuration.Merchant.Capability.LinkPayment.StatusDetail.code, V2.Core.Account.Configuration.Merchant.Capability.MobilepayPayment.StatusDetail.code, V2.Core.Account.Configuration.Merchant.Capability.MultibancoPayment.StatusDetail.code, V2.Core.Account.Configuration.Merchant.Capability.MxBankTransferPayment.StatusDetail.code, V2.Core.Account.Configuration.Merchant.Capability.NaverPayPayment.StatusDetail.code, V2.Core.Account.Configuration.Merchant.Capability.OxxoPayment.StatusDetail.code, V2.Core.Account.Configuration.Merchant.Capability.P24Payment.StatusDetail.code, V2.Core.Account.Configuration.Merchant.Capability.PayByBankPayment.StatusDetail.code, V2.Core.Account.Configuration.Merchant.Capability.PaycoPayment.StatusDetail.code, V2.Core.Account.Configuration.Merchant.Capability.PaynowPayment.StatusDetail.code, V2.Core.Account.Configuration.Merchant.Capability.PromptpayPayment.StatusDetail.code, V2.Core.Account.Configuration.Merchant.Capability.RevolutPayPayment.StatusDetail.code, V2.Core.Account.Configuration.Merchant.Capability.SamsungPayPayment.StatusDetail.code, V2.Core.Account.Configuration.Merchant.Capability.SepaBankTransferPayment.StatusDetail.code, V2.Core.Account.Configuration.Merchant.Capability.SepaDebitPayment.StatusDetail.code, V2.Core.Account.Configuration.Merchant.Capability.StripeBalance.Payout.StatusDetail.code, V2.Core.Account.Configuration.Merchant.Capability.SwishPayment.StatusDetail.code, V2.Core.Account.Configuration.Merchant.Capability.TwintPayment.StatusDetail.code, V2.Core.Account.Configuration.Merchant.Capability.UsBankTransferPayment.StatusDetail.code, V2.Core.Account.Configuration.Merchant.Capability.ZipPayment.StatusDetail.code, V2.Core.Account.Configuration.Recipient.Capability.BankAccount.Local.StatusDetail.code, V2.Core.Account.Configuration.Recipient.Capability.BankAccount.Wire.StatusDetail.code, V2.Core.Account.Configuration.Recipient.Capability.Card.StatusDetail.code, V2.Core.Account.Configuration.Recipient.Capability.StripeBalance.Payout.StatusDetail.code, and V2.Core.Account.Configuration.Recipient.Capability.StripeBalance.StripeTransfer.StatusDetail.codeproof_of_address on V2.Core.Account.Identity.BusinessDetail.Document, v2.core.Account.CreateParamsIdentityBusinessDetailDocument, and v2.core.Account.ModifyParamsIdentityBusinessDetailDocumentxx on enums V2.Core.Account.Identity.Individual.nationalities, V2.Core.Person.nationalities, v2.core.Account.CreateParamsIdentityIndividual.nationalities, v2.core.Account.ModifyParamsIdentityIndividual.nationalities, v2.core.Person.CreateParams.nationalities, and v2.core.Person.ModifyParams.nationalitiesmetadata on V2.MoneyManagement.FinancialAccountdescription on V2.MoneyManagement.FinancialAccountpending on enum V2.MoneyManagement.FinancialAccount.statusattempts on V2.Payments.OffSessionPaymentV2.Payments.OffSessionPayment.TransferDatum.amount from integer to nullable(integer)from_account, outbound_payment, and outbound_transfer on V2.MoneyManagement.ReceivedCredit.BalanceTransferV2.MoneyManagement.ReceivedCredit.BalanceTransfer.type from literal('payout_v1') to enum('outbound_payment'|'outbound_transfer'|'payout_v1')V2.MoneyManagement.ReceivedCredit.BalanceTransfer.payout_v1 from string to nullable(string)v2.payments.OffSessionPayment.CreateParamsTransferDatum.amount to be optionalrecipient_feature_not_active, storer_capability_missing, and storer_capability_not_active on FeatureNotEnabledErroroutbound_payment_recipient_feature_not_active on FeatureNotEnabledErrorinsufficient_funds on InsufficientFundsErroroutbound_payment_insufficient_funds and outbound_transfer_insufficient_funds on InsufficientFundsErrorrecipient_amount_limit_exceeded and recipient_count_limit_exceeded on QuotaExceededErroroutbound_payment_recipient_amount_limit_exceeded and outbound_payment_recipient_count_limit_exceeded on QuotaExceededErrorrecipient_email_does_not_exist on RecipientNotNotifiableErroroutbound_payment_recipient_email_does_not_exist on RecipientNotNotifiableErrormigrate method on resource Subscriptioncollect_payment_method and confirm_payment_intent methods on resource terminal.Readercrypto_payments on Account.Capability, Account.CreateParamsCapability, and Account.ModifyParamsCapabilityproof_of_address on Account.CreateParamsDocument and Account.ModifyParamsDocumentmonthly_payout_days and weekly_payout_days on Account.CreateParamsSettingPayoutSchedule, Account.ModifyParamsSettingPayoutSchedule, and Account.Setting.Payout.ScheduleAccount.Setting.Invoice.hosted_payment_method_save to be requiredcrypto on Charge.PaymentMethodDetail, ConfirmationToken.CreateParamsPaymentMethodDatum, ConfirmationToken.PaymentMethodPreview, PaymentIntent.ConfirmParamsPaymentMethodDatum, PaymentIntent.ConfirmParamsPaymentMethodOption, PaymentIntent.CreateParamsPaymentMethodDatum, PaymentIntent.CreateParamsPaymentMethodOption, PaymentIntent.ModifyParamsPaymentMethodDatum, PaymentIntent.ModifyParamsPaymentMethodOption, PaymentIntent.PaymentMethodOption, PaymentMethod.CreateParams, PaymentMethod, SetupIntent.ConfirmParamsPaymentMethodDatum, SetupIntent.CreateParamsPaymentMethodDatum, and SetupIntent.ModifyParamsPaymentMethodDatumCharge.PaymentMethodDetail.Card.Installment.Plan.type, ConfirmationToken.CreateParamsPaymentMethodOptionCardInstallmentPlan.type, ConfirmationToken.PaymentMethodOption.Card.Installment.Plan.type, Invoice.CreateParamsPaymentSettingPaymentMethodOptionCardInstallmentPlan.type, Invoice.ModifyParamsPaymentSettingPaymentMethodOptionCardInstallmentPlan.type, PaymentIntent.ConfirmParamsPaymentMethodOptionCardInstallmentPlan.type, PaymentIntent.CreateParamsPaymentMethodOptionCardInstallmentPlan.type, PaymentIntent.ModifyParamsPaymentMethodOptionCardInstallmentPlan.type, PaymentIntent.PaymentMethodOption.Card.Installment.AvailablePlan.type, and PaymentIntent.PaymentMethodOption.Card.Installment.Plan.type from literal('fixed_count') to enum('bonus'|'fixed_count'|'revolving')buut on enums Charge.PaymentMethodDetail.Ideal.bank, ConfirmationToken.CreateParamsPaymentMethodDatumIdeal.bank, ConfirmationToken.PaymentMethodPreview.Ideal.bank, PaymentIntent.ConfirmParamsPaymentMethodDatumIdeal.bank, PaymentIntent.CreateParamsPaymentMethodDatumIdeal.bank, PaymentIntent.ModifyParamsPaymentMethodDatumIdeal.bank, PaymentMethod.CreateParamsIdeal.bank, PaymentMethod.Ideal.bank, SetupAttempt.PaymentMethodDetail.Ideal.bank, SetupIntent.ConfirmParamsPaymentMethodDatumIdeal.bank, SetupIntent.CreateParamsPaymentMethodDatumIdeal.bank, and SetupIntent.ModifyParamsPaymentMethodDatumIdeal.bankBUUTNL2A on enums Charge.PaymentMethodDetail.Ideal.bic, ConfirmationToken.PaymentMethodPreview.Ideal.bic, PaymentMethod.Ideal.bic, and SetupAttempt.PaymentMethodDetail.Ideal.bicsubscriptions on PaymentIntent.ConfirmParamsPaymentMethodOptionKlarna, PaymentIntent.CreateParamsPaymentMethodOptionKlarna, PaymentIntent.ModifyParamsPaymentMethodOptionKlarna, and checkout.Session.CreateParamsPaymentMethodOptionKlarnacrypto on enum checkout.Session.CreateParams.payment_method_typesbilling_mode on Invoice.CreatePreviewParamsScheduleDetail, Invoice.CreatePreviewParamsSubscriptionDetail, Quote.CreateParamsSubscriptionDatum, Quote.SubscriptionDatum, Subscription.CreateParams, SubscriptionSchedule.CreateParams, SubscriptionSchedule, Subscription, and checkout.Session.CreateParamsSubscriptionDatumcrypto on enums ConfirmationToken.CreateParamsPaymentMethodDatum.type, PaymentIntent.ConfirmParamsPaymentMethodDatum.type, PaymentIntent.CreateParamsPaymentMethodDatum.type, PaymentIntent.ModifyParamsPaymentMethodDatum.type, SetupIntent.ConfirmParamsPaymentMethodDatum.type, SetupIntent.CreateParamsPaymentMethodDatum.type, and SetupIntent.ModifyParamsPaymentMethodDatum.typecrypto on enums ConfirmationToken.PaymentMethodPreview.type and PaymentMethod.typecrypto on enums Customer.ListPaymentMethodsParams.type, PaymentMethod.CreateParams.type, and PaymentMethod.ListParams.typeDispute.enhanced_eligibility_types from literal('visa_compelling_evidence_3') to enum('visa_compelling_evidence_3'|'visa_compliance')compliance on enum Dispute.PaymentMethodDetail.Card.case_typeterminal.reader.action_updated on enum Event.typerelated_person on Identity.VerificationSession and identity.VerificationSession.CreateParamsmatching on Identity.VerificationSession.Optioncrypto on enums Invoice.CreateParamsPaymentSetting.payment_method_types, Invoice.ModifyParamsPaymentSetting.payment_method_types, Invoice.PaymentSetting.payment_method_types, Subscription.CreateParamsPaymentSetting.payment_method_types, Subscription.ModifyParamsPaymentSetting.payment_method_types, and Subscription.PaymentSetting.payment_method_typesklarna on Mandate.PaymentMethodDetail, SetupIntent.ConfirmParamsPaymentMethodOption, SetupIntent.CreateParamsPaymentMethodOption, SetupIntent.ModifyParamsPaymentMethodOption, and SetupIntent.PaymentMethodOptionon_demand on PaymentIntent.ConfirmParamsPaymentMethodOptionKlarna, PaymentIntent.CreateParamsPaymentMethodOptionKlarna, and PaymentIntent.ModifyParamsPaymentMethodOptionKlarnaPaymentIntent.ConfirmParamsPaymentMethodOptionKlarna.setup_future_usage, PaymentIntent.CreateParamsPaymentMethodOptionKlarna.setup_future_usage, PaymentIntent.ModifyParamsPaymentMethodOptionKlarna.setup_future_usage, and PaymentIntent.PaymentMethodOption.Klarna.setup_future_usage from literal('none') to enum('none'|'off_session'|'on_session')ua on Tax.Registration.CountryOption and tax.Registration.CreateParamsCountryOptionterminal.Location.ModifyParams.display_name from string to emptyable(string)collect_payment_method and confirm_payment_intent on Terminal.Reader.Actioncollect_payment_method and confirm_payment_intent on enum Terminal.Reader.Action.typestatus on treasury.FinancialAccount.ListParamsterminal.reader.action_updated on enums WebhookEndpoint.CreateParams.enabled_events and WebhookEndpoint.ModifyParams.enabled_events2025-06-30.basil on enum WebhookEndpoint.CreateParams.api_versionterminal.reader.action_updated with resource terminal.ReaderThis release changes the pinned API version to 2025-05-28.preview.
#1509 Update generated code for beta
billing.MeterErrorReport, gift_cards.Card, gift_cards.Transaction, and privacy.RedactionJobRootObjectscreate, list, modify, retrieve, and validate methods on resource gift_cards.Cardcancel, confirm, create, list, modify, and retrieve methods on resource gift_cards.Transactionprovisioning on Product.CreateParams and Productbilling.meter_error_report.triggered with resource billing.MeterErrorReportgift_card_balance_insufficient, gift_card_code_exists, and gift_card_inactive on QuotePreviewInvoice.LastFinalizationError and StripeErrorcredits_attributed_to_debits and legacy_prorations from enums Invoice.CreatePreviewParamsScheduleDetail.billing_mode, Invoice.CreatePreviewParamsSubscriptionDetail.billing_mode, Quote.CreateParamsSubscriptionDatum.billing_mode, Quote.SubscriptionDatum.billing_mode, QuotePreviewSubscriptionSchedule.billing_mode, Subscription.CreateParams.billing_mode, Subscription.billing_mode, SubscriptionSchedule.CreateParams.billing_mode, SubscriptionSchedule.billing_mode, and checkout.Session.CreateParamsSubscriptionDatum.billing_modecheckout.Session.ModifyParamsLineItem.quantity from emptyable(longInteger) to longIntegerCreditNote.post_payment_amount to be requiredCreditNote.pre_payment_amount to be requiredcredits on Order.CreateParams, Order.ModifyParams, and Orderamount_remaining on Orderamount_credit on Order.TotalDetailPaymentAttemptRecord.metadata and PaymentRecord.metadata from nullable(map(string: string)) to map(string: string)async_workflows on PaymentIntent.CaptureParams, PaymentIntent.ConfirmParams, PaymentIntent.CreateParams, PaymentIntent.DecrementAuthorizationParams, PaymentIntent.IncrementAuthorizationParams, PaymentIntent.ModifyParams, and PaymentIntentPaymentRecord.ReportPaymentAttemptCanceledParams.metadata, PaymentRecord.ReportPaymentAttemptFailedParams.metadata, PaymentRecord.ReportPaymentAttemptGuaranteedParams.metadata, PaymentRecord.ReportPaymentAttemptParams.metadata, and PaymentRecord.ReportPaymentParams.metadata from map(string: string) to emptyable(map(string: string))Privacy.RedactionJob.objects from $Privacy.RedactionJobRootObjects to RedactionResourceRootObjectsPrivacy.RedactionJob.status from string to enumPrivacy.RedactionJob.validation_behavior from string to enum('error'|'fix')Privacy.RedactionJobValidationError.code from string to enumPrivacy.RedactionJobValidationError.erroring_object from map(string: string) to RedactionResourceErroringObjectstatus_details and status on Tax.Associationmigrate method on resource Subscriptiondistance, pickup_location_name, return_location_name, and vehicle_identification_number on Charge.CaptureParamsPaymentDetailCarRental, Charge.ModifyParamsPaymentDetailCarRental, PaymentIntent.CaptureParamsPaymentDetailCarRental, PaymentIntent.ConfirmParamsPaymentDetailCarRental, PaymentIntent.CreateParamsPaymentDetailCarRental, PaymentIntent.ModifyParamsPaymentDetailCarRental, and PaymentIntent.PaymentDetail.CarRentaldriver_identification_number and driver_tax_number on Charge.CaptureParamsPaymentDetailCarRentalDriver, Charge.ModifyParamsPaymentDetailCarRentalDriver, PaymentIntent.CaptureParamsPaymentDetailCarRentalDriver, PaymentIntent.ConfirmParamsPaymentDetailCarRentalDriver, PaymentIntent.CreateParamsPaymentDetailCarRentalDriver, PaymentIntent.ModifyParamsPaymentDetailCarRentalDriver, and PaymentIntent.PaymentDetail.CarRental.Driverclassic and flexible on enums Invoice.CreatePreviewParamsScheduleDetail.billing_mode, Invoice.CreatePreviewParamsSubscriptionDetail.billing_mode, Quote.CreateParamsSubscriptionDatum.billing_mode, Quote.SubscriptionDatum.billing_mode, QuotePreviewSubscriptionSchedule.billing_mode, Subscription.CreateParams.billing_mode, Subscription.billing_mode, SubscriptionSchedule.CreateParams.billing_mode, SubscriptionSchedule.billing_mode, and checkout.Session.CreateParamsSubscriptionDatum.billing_modeinstitution on FinancialConnections.Accountcountries on FinancialConnections.InstitutionInvoice.CreatePreviewParamsSubscriptionDetail.cancel_at, Subscription.CreateParams.cancel_at, and Subscription.ModifyParams.cancel_at from DateTime to DateTime | enum('max_period_end'|'min_period_end')location and reader on PaymentAttemptRecord.PaymentMethodDetail.Affirm, PaymentAttemptRecord.PaymentMethodDetail.WechatPay, PaymentRecord.PaymentMethodDetail.Affirm, and PaymentRecord.PaymentMethodDetail.WechatPayhooks on PaymentIntent.CaptureParams, PaymentIntent.ConfirmParams, PaymentIntent.CreateParams, PaymentIntent.DecrementAuthorizationParams, PaymentIntent.IncrementAuthorizationParams, PaymentIntent.ModifyParams, and PaymentIntentcard_present on PaymentIntentAmountDetailsLineItem.PaymentMethodOptionlivemode on Privacy.RedactionJobbilling_thresholds on QuotePreviewSubscriptionSchedule.DefaultSetting, QuotePreviewSubscriptionSchedule.Phase.Item, and QuotePreviewSubscriptionSchedule.Phasebilling_mode_details on Subscriptiontax_transaction_attempts on Tax.Associationconfirm_config on Terminal.Reader.Action.ConfirmPaymentIntent and terminal.Reader.ConfirmPaymentIntentParamsforwarding_api_upstream_error on QuotePreviewInvoice.LastFinalizationErrorThis release changes the pinned API version to 2025-05-28.basil.
attach_payment method on resource Invoicecollect_inputs method on resource terminal.Readersucceed_input_collection and timeout_input_collection test helper methods on resource terminal.Readerpix_payments on Account.Capability, Account.CreateParamsCapability, and Account.ModifyParamsCapabilitydisputes_list and payment_disputes on AccountSession.Component and AccountSession.CreateParamsComponentrefund_and_dispute_prefunding on Balancebalance_type on BalanceTransactionbilling.Alert.CreateParamsUsageThreshold.meter to be requiredlocation and reader on Charge.PaymentMethodDetail.Affirm and Charge.PaymentMethodDetail.WechatPaypayment_method_remove on checkout.Session.CreateParamsSavedPaymentMethodOptionsetup_future_usage on Checkout.Session.PaymentMethodOption.NaverPayConfirmationToken.PaymentMethodPreview.NaverPay.buyer_id and PaymentMethod.NaverPay.buyer_id to be requiredpost_payment_amount and pre_payment_amount on CreditNotemixed on enum CreditNote.typeinvoice_payment.paid on enum Event.typesex, unparsed_place_of_birth, and unparsed_sex on Identity.VerificationReport.Document and Identity.VerificationSession.VerifiedOutputbilling_thresholds on Invoice.CreatePreviewParamsScheduleDetailPhaseItem, Invoice.CreatePreviewParamsScheduleDetailPhase, Invoice.CreatePreviewParamsSubscriptionDetailItem, Subscription.CreateParamsItem, Subscription.CreateParams, Subscription.ModifyParamsItem, Subscription.ModifyParams, SubscriptionItem.CreateParams, SubscriptionItem.ModifyParams, SubscriptionItem, SubscriptionSchedule.CreateParamsDefaultSetting, SubscriptionSchedule.CreateParamsPhaseItem, SubscriptionSchedule.CreateParamsPhase, SubscriptionSchedule.DefaultSetting, SubscriptionSchedule.ModifyParamsDefaultSetting, SubscriptionSchedule.ModifyParamsPhaseItem, SubscriptionSchedule.ModifyParamsPhase, SubscriptionSchedule.Phase.Item, SubscriptionSchedule.Phase, and Subscriptionsatispay on PaymentIntent.ConfirmParamsPaymentMethodOption, PaymentIntent.CreateParamsPaymentMethodOption, PaymentIntent.ModifyParamsPaymentMethodOption, and PaymentIntent.PaymentMethodOptioncapture_method on PaymentIntent.PaymentMethodOption.Billiekakao_pay, kr_card, naver_pay, payco, and samsung_pay on PaymentMethodConfiguration.CreateParams, PaymentMethodConfiguration.ModifyParams, and PaymentMethodConfigurationnetwork_decline_code on Refund.DestinationDetail.Paypalmetadata on Tax.CalculationLineItem and tax.Calculation.CreateParamsLineItemsimulated_stripe_s700 on enums Terminal.Reader.device_type and terminal.Reader.ListParams.device_typereturn_url on Terminal.Reader.Action.ProcessPaymentIntent.ProcessConfig and terminal.Reader.ProcessPaymentIntentParamsProcessConfigcollect_inputs on Terminal.Reader.Actioncollect_inputs on enum Terminal.Reader.Action.typeinvoice_payment.paid on enums WebhookEndpoint.CreateParams.enabled_events and WebhookEndpoint.ModifyParams.enabled_events2025-05-28.basil on enum WebhookEndpoint.CreateParams.api_versioninvoice_payment.paid with resource InvoicePaymentforwarding_api_upstream_error on Invoice.LastFinalizationError, PaymentIntent.LastPaymentError, SetupAttempt.SetupError, SetupIntent.LastSetupError, and StripeErrorThis release changes the pinned API version to 2025-04-30.preview.
billing_mode on Invoice.CreatePreviewParamsScheduleDetail, Invoice.CreatePreviewParamsSubscriptionDetail, InvoiceService.CreatePreviewParamsScheduleDetail, InvoiceService.CreatePreviewParamsSubscriptionDetail, Quote.SubscriptionDatum, QuotePreviewSubscriptionSchedule, SubscriptionSchedule, Subscription, checkout.Session.CreateParamsSubscriptionDatum, and checkout.SessionService.CreateParamsSubscriptionDatumbalance_settings.updated on enum Event.typebalance_settings.updated on enums WebhookEndpoint.ModifyParams.enabled_events and WebhookEndpointService.UpdateParams.enabled_eventsaw_tin, az_tin, bd_bin, bf_ifu, bj_ifu, cm_niu, cv_nif, et_tin, kg_tin, and la_tin on enums Checkout.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, and TaxId.typeCheckout.Session.AutomaticTax.provider, Invoice.AutomaticTax.provider, Quote.AutomaticTax.provider, and QuotePreviewInvoice.AutomaticTax.provider to be requiredaccount_number on ConfirmationToken.PaymentMethodPreview.AcssDebit and PaymentMethod.AcssDebitaw_tin, az_tin, bd_bin, bf_ifu, bj_ifu, cm_niu, cv_nif, et_tin, kg_tin, and la_tin on enums Customer.CreateParams.type, Customer.CreateParamsTaxIdDatum.type, CustomerService.CreateParamsTaxIdDatum.type, CustomerTaxIdService.CreateParams.type, Invoice.CreatePreviewParamsCustomerDetailTaxId.type, InvoiceService.CreatePreviewParamsCustomerDetailTaxId.type, Order.CreateParamsTaxDetailTaxId.type, Order.ModifyParamsTaxDetailTaxId.type, OrderService.CreateParamsTaxDetailTaxId.type, OrderService.UpdateParamsTaxDetailTaxId.type, TaxId.CreateParams.type, TaxIdService.CreateParams.type, tax.Calculation.CreateParamsCustomerDetailTaxId.type, and tax.CalculationService.CreateParamsCustomerDetailTaxId.typeInvoiceLineItem.Parent.SubscriptionItemDetail.subscription from string to nullable(string)billing_mode on Quote.CreateParamsSubscriptionDatum, QuoteService.CreateParamsSubscriptionDatum, Subscription.CreateParams, SubscriptionSchedule.CreateParams, SubscriptionScheduleService.CreateParams, and SubscriptionService.CreateParamsbf, cm, and cv on Tax.Registration.CountryOption, tax.Registration.CreateParamsCountryOption, and tax.RegistrationService.CreateParamsCountryOption2025-04-30.basil on enums WebhookEndpoint.CreateParams.api_version and WebhookEndpointService.CreateParams.api_versionThis release changes the pinned API version to 2025-04-30.basil.
minority_owned_business_designation on Account.BusinessProfile, Account.CreateParamsBusinessProfile, Account.ModifyParamsBusinessProfile, AccountService.CreateParamsBusinessProfile, and AccountService.UpdateParamsBusinessProfileregistration_date on Account.Company, Account.CreateParamsCompany, Account.ModifyParamsCompany, AccountService.CreateParamsCompany, AccountService.UpdateParamsCompany, Token.CreateParamsAccountCompany, and TokenService.CreateParamsAccountCompanyus_cfpb_data on Account.CreateParams, Account.ModifyParams, AccountPersonService.CreateParams, AccountPersonService.UpdateParams, Person, Token.CreateParamsPerson, and TokenService.CreateParamsPersonverification_legal_entity_structure_mismatch on enums Account.FutureRequirement.Error.code, Account.Requirement.Error.code, BankAccount.FutureRequirement.Error.code, BankAccount.Requirement.Error.code, Capability.FutureRequirement.Error.code, Capability.Requirement.Error.code, Person.FutureRequirement.Error.code, and Person.Requirement.Error.codetax_id_prohibited on enums Invoice.LastFinalizationError.code, PaymentIntent.LastPaymentError.code, SetupAttempt.SetupError.code, SetupIntent.LastSetupError.code, and StripeError.codetax_id on Charge.BillingDetail, ConfirmationToken.CreateParamsPaymentMethodDatumBillingDetail, ConfirmationToken.PaymentMethodPreview.BillingDetail, PaymentIntent.ConfirmParamsPaymentMethodDatumBillingDetail, PaymentIntent.CreateParamsPaymentMethodDatumBillingDetail, PaymentIntent.ModifyParamsPaymentMethodDatumBillingDetail, PaymentIntentService.ConfirmParamsPaymentMethodDatumBillingDetail, PaymentIntentService.CreateParamsPaymentMethodDatumBillingDetail, PaymentIntentService.UpdateParamsPaymentMethodDatumBillingDetail, PaymentMethod.BillingDetail, PaymentMethod.CreateParamsBillingDetail, PaymentMethod.ModifyParamsBillingDetail, PaymentMethodService.CreateParamsBillingDetail, PaymentMethodService.UpdateParamsBillingDetail, SetupIntent.ConfirmParamsPaymentMethodDatumBillingDetail, SetupIntent.CreateParamsPaymentMethodDatumBillingDetail, SetupIntent.ModifyParamsPaymentMethodDatumBillingDetail, SetupIntentService.ConfirmParamsPaymentMethodDatumBillingDetail, SetupIntentService.CreateParamsPaymentMethodDatumBillingDetail, SetupIntentService.UpdateParamsPaymentMethodDatumBillingDetail, test_helpers.ConfirmationTokenService.CreateParamsPaymentMethodDatumBillingDetail, treasury.OutboundPayment.CreateParamsDestinationPaymentMethodDatumBillingDetail, and treasury.OutboundPaymentService.CreateParamsDestinationPaymentMethodDatumBillingDetailwallet_options on Checkout.Session, checkout.Session.CreateParams, and checkout.SessionService.CreateParamsprovider on Checkout.Session.AutomaticTax, Invoice.AutomaticTax, and Quote.AutomaticTaxaw_tin, az_tin, bd_bin, bf_ifu, bj_ifu, cm_niu, cv_nif, et_tin, kg_tin, and la_tin on enums Checkout.Session.CustomerDetail.TaxId.type, Invoice.CustomerTaxId.type, Tax.Calculation.CustomerDetail.TaxId.type, Tax.Transaction.CustomerDetail.TaxId.type, and TaxId.typepayment_method_options on ConfirmationToken.CreateParams and test_helpers.ConfirmationTokenService.CreateParamsinstallments on ConfirmationToken.PaymentMethodOption.Cardaw_tin, az_tin, bd_bin, bf_ifu, bj_ifu, cm_niu, cv_nif, et_tin, kg_tin, and la_tin on enums Customer.CreateParams.type, Customer.CreateParamsTaxIdDatum.type, CustomerService.CreateParamsTaxIdDatum.type, CustomerTaxIdService.CreateParams.type, Invoice.CreatePreviewParamsCustomerDetailTaxId.type, InvoiceService.CreatePreviewParamsCustomerDetailTaxId.type, TaxId.CreateParams.type, TaxIdService.CreateParams.type, tax.Calculation.CreateParamsCustomerDetailTaxId.type, and tax.CalculationService.CreateParamsCustomerDetailTaxId.typecontext on Eventaffirm on enums Invoice.CreateParamsPaymentSetting.payment_method_types, Invoice.ModifyParamsPaymentSetting.payment_method_types, Invoice.PaymentSetting.payment_method_types, InvoiceService.CreateParamsPaymentSetting.payment_method_types, InvoiceService.UpdateParamsPaymentSetting.payment_method_types, Subscription.CreateParamsPaymentSetting.payment_method_types, Subscription.ModifyParamsPaymentSetting.payment_method_types, Subscription.PaymentSetting.payment_method_types, SubscriptionService.CreateParamsPaymentSetting.payment_method_types, and SubscriptionService.UpdateParamsPaymentSetting.payment_method_typesInvoiceLineItem.Parent.SubscriptionItemDetail.subscription from string to nullable(string)billie on PaymentIntent.ConfirmParamsPaymentMethodOption, PaymentIntent.CreateParamsPaymentMethodOption, PaymentIntent.ModifyParamsPaymentMethodOption, PaymentIntent.PaymentMethodOption, PaymentIntentService.ConfirmParamsPaymentMethodOption, PaymentIntentService.CreateParamsPaymentMethodOption, and PaymentIntentService.UpdateParamsPaymentMethodOptionpix on PaymentMethodConfiguration.CreateParams, PaymentMethodConfiguration.ModifyParams, PaymentMethodConfigurationService.CreateParams, PaymentMethodConfigurationService.UpdateParams, and PaymentMethodConfigurationklarna on PaymentMethodDomainpending_reason on RefundTax.CalculationLineItem.reference from nullable(string) to stringaw, az, bd, bf, bj, cm, cv, et, in, kg, la, and ph on Tax.Registration.CountryOption, tax.Registration.CreateParamsCountryOption, and tax.RegistrationService.CreateParamsCountryOption2025-04-30.basil on enums WebhookEndpoint.CreateParams.api_version and WebhookEndpointService.CreateParams.api_versionFxQuote and PaymentIntentAmountDetailsLineItemcreate, list, and retrieve methods on resource FxQuoteattach_payment_intent method on resource Invoiceregistration_date on Account.Company, Account.CreateParamsCompany, Account.UpdateParamsCompany, and Token.CreateParamsAccountCompanycustomer_reference and order_reference on Charge.CaptureParamsPaymentDetail, Charge.UpdateParamsPaymentDetail, PaymentIntent.CaptureParamsPaymentDetail, PaymentIntent.ConfirmParamsPaymentDetail, PaymentIntent.CreateParamsPaymentDetail, PaymentIntent.PaymentDetail, and PaymentIntent.UpdateParamsPaymentDetailtax_id on Charge.BillingDetail, ConfirmationToken.CreateParamsPaymentMethodDatumBillingDetail, ConfirmationToken.PaymentMethodPreview.BillingDetail, PaymentIntent.ConfirmParamsPaymentMethodDatumBillingDetail, PaymentIntent.CreateParamsPaymentMethodDatumBillingDetail, PaymentIntent.UpdateParamsPaymentMethodDatumBillingDetail, PaymentMethod.BillingDetail, PaymentMethod.CreateParamsBillingDetail, PaymentMethod.UpdateParamsBillingDetail, SetupIntent.ConfirmParamsPaymentMethodDatumBillingDetail, SetupIntent.CreateParamsPaymentMethodDatumBillingDetail, SetupIntent.UpdateParamsPaymentMethodDatumBillingDetail, and treasury.OutboundPayment.CreateParamsDestinationPaymentMethodDatumBillingDetailprice_data on checkout.Session.UpdateParamsLineItemcheckout.Session.UpdateParamsLineItem.quantity from longInteger to emptyable(longInteger)script on Coupon.CreateParams and Coupontype on Couponfx_quote.expired on enum Event.typeaffirm on enums Invoice.CreateParamsPaymentSetting.payment_method_types, Invoice.PaymentSetting.payment_method_types, Invoice.UpdateParamsPaymentSetting.payment_method_types, QuotePreviewInvoice.PaymentSetting.payment_method_types, Subscription.CreateParamsPaymentSetting.payment_method_types, Subscription.PaymentSetting.payment_method_types, and Subscription.UpdateParamsPaymentSetting.payment_method_typesfx_quote on PaymentIntent.ConfirmParams, PaymentIntent.CreateParams, PaymentIntent.UpdateParams, PaymentIntent, Transfer.CreateParams, and Transferdiscount_amount, line_items, shipping, and tax on PaymentIntent.AmountDetailpix on PaymentMethodConfiguration.CreateParams, PaymentMethodConfiguration.UpdateParams, and PaymentMethodConfigurationus_cfpb_data on Person and Token.CreateParamsPersonpending_reason on Refundaw, az, bd, bj, et, kg, la, and ph on TaxRegistration.CountryOption and tax.Registration.CreateParamsCountryOptionfx_quote.expired on enums WebhookEndpoint.CreateParams.enabled_events and WebhookEndpoint.UpdateParams.enabled_eventsfx_quote.expired with resource FxQuote#1489 Update generated code for beta
V2MoneyManagementReceivedDebit.status_transitions from an object to nullable(an object)bank_accounts.local_uk, bank_accounts.wire_uk, cards_uk, and crypto_wallets_v2 from enum EventsV2CoreAccountIncludingConfigurationRecipientCapabilityStatusUpdatedEvent.updated_capabilityPrivacy.RedactionJobRootObjects, Privacy.RedactionJobValidationError, and Privacy.RedactionJobcancel, create, list, modify, retrieve, run, and validate methods on resource RedactionJoblist and retrieve methods on resource RedactionJobValidationErrorminority_owned_business_designation on Account.BusinessProfile, Account.CreateParamsBusinessProfile, and Account.UpdateParamsBusinessProfileverification_legal_entity_structure_mismatch on enums Account.FutureRequirement.Error.code, Account.Requirement.Error.code, AccountCapability.FutureRequirement.Error.code, AccountCapability.Requirement.Error.code, AccountPerson.FutureRequirement.Error.code, AccountPerson.Requirement.Error.code, BankAccount.FutureRequirement.Error.code, and BankAccount.Requirement.Error.codeexport_tax_transactions and payment_disputes on AccountSession.CreateParamsComponenttax_id_prohibited on enums Invoice.LastFinalizationError.code, PaymentIntent.LastPaymentError.code, QuotePreviewInvoice.LastFinalizationError.code, SetupAttempt.SetupError.code, SetupIntent.LastSetupError.code, and StripeError.codefixed_term_loan on enum CapitalFinancingOffer.typewallet_options on CheckoutSession and checkout.Session.CreateParamsprivacy.redaction_job.canceled, privacy.redaction_job.created, privacy.redaction_job.ready, privacy.redaction_job.succeeded, and privacy.redaction_job.validation_error on enum Event.typeklarna on PaymentMethodDomainTaxCalculationLineItem.reference from nullable(string) to stringin on TaxRegistration.CountryOption and tax.Registration.CreateParamsCountryOptionprivacy.redaction_job.canceled, privacy.redaction_job.created, privacy.redaction_job.ready, privacy.redaction_job.succeeded, and privacy.redaction_job.validation_error on enums WebhookEndpoint.CreateParams.enabled_events and WebhookEndpoint.UpdateParams.enabled_events#1490 Handle external account
external_account field in external_account_service.create from string to a union type.This release changes the pinned API version to 2025-03-31.preview
AmountOverpaid on InvoicePaymentout_of_band_payment and payment_record from enum InvoicePayment.Payment.typeRateCardSubscriptionDetails on InvoiceItemParentApplicationFeeAmount, PaidOutOfBand, and Paid on QuotePreviewInvoicebilling_thresholds on QuotePreviewSubscriptionSchedule.DefaultSetting, QuotePreviewSubscriptionSchedule.Phase.Item, and QuotePreviewSubscriptionSchedule.Phasecoupon on QuotePreviewSubscriptionSchedule.PhaseQuotePreviewInvoice.Parent.SubscriptionDetail.subscription from string to expandable($Subscription)CheckoutSession.Permission.update to be optionalPaymentAttemptRecord.PaymentMethodDetail.type and PaymentRecord.PaymentMethodDetail.type from literal('custom') to stringPaymentAttemptRecord.payment_record from string to nullable(string)PaymentAttemptRecord.PaymentMethodDetail.custom and PaymentRecord.PaymentMethodDetail.custom to be optionalPaymentRecord.latest_payment_attempt_record from string to nullable(string)Order.CreateParamsPaymentSettingPaymentMethodOptionWechatPay.client and Order.UpdateParamsPaymentSettingPaymentMethodOptionWechatPay.client to be optionalpayment_method_options on ConfirmationToken.CreateParamsinstallments on ConfirmationToken.PaymentMethodOption.Cardbillie on PaymentIntent.ConfirmParamsPaymentMethodOption, PaymentIntent.CreateParamsPaymentMethodOption, PaymentIntent.PaymentMethodOption, and PaymentIntent.UpdateParamsPaymentMethodOptionupdate_line_items on CheckoutSession.Permission and checkout.Session.CreateParamsPermissionnew resources BalanceSettingsmodify and retrieve methods on resource BalanceSettingscreate, delete, list, modify, and retrieve methods on a new ExternalAccountService to access cards and bank accounts made available in the new path v1/external_accountsstripe_balance_payments on Account.Capability, Account.CreateParamsCapability, and Account.UpdateParamsCapabilitystripe_balance_payment_debit_reversal and stripe_balance_payment_debit on enum BalanceTransaction.typecustomer_account on BillingCreditBalanceSummary, BillingCreditGrant, BillingPortalSession, CheckoutSession, ConfirmationToken.PaymentMethodPreview, CreditNote.ListParams, CreditNote, CustomerBalanceTransaction, CustomerCashBalanceTransaction, CustomerCashBalance, CustomerPaymentMethod, CustomerSession.CreateParams, CustomerSession, CustomerTaxId.Owner, CustomerTaxId, Customer, Discount, FinancialConnectionsAccount.AccountHolder, FinancialConnectionsSession.AccountHolder, Invoice.CreateParams, Invoice.CreatePreviewParams, Invoice.ListParams, InvoiceItem.CreateParams, InvoiceItem.ListParams, InvoiceItem, Invoice, PaymentIntent.CreateParams, PaymentIntent.ListParams, PaymentIntent.UpdateParams, PaymentIntent, PaymentMethod.AttachParams, PaymentMethod, PromotionCode.CreateParams, PromotionCode.ListParams, PromotionCode, Quote.CreateParams, Quote.ListParams, Quote.UpdateParams, QuotePreviewInvoice, QuotePreviewSubscriptionSchedule, Quote, SetupAttempt, SetupIntent.CreateParams, SetupIntent.ListParams, SetupIntent.UpdateParams, SetupIntent, Subscription.CreateParams, Subscription.ListParams, SubscriptionSchedule.CreateParams, SubscriptionSchedule.ListParams, SubscriptionSchedule, Subscription, TaxId.CreateParamsOwner, TaxId.ListParamsOwner, TaxId.Owner, TaxId, billing.CreditBalanceSummary.RetrieveParams, billing.CreditBalanceTransaction.ListParams, billing.CreditGrant.CreateParams, billing.CreditGrant.ListParams, billingportal.Session.CreateParams, checkout.Session.CreateParams, checkout.Session.ListParams, financialconnections.Account.ListParamsAccountHolder, and financialconnections.Session.CreateParamsAccountHolderstripe_balance on Charge.PaymentMethodDetail, ConfirmationToken.CreateParamsPaymentMethodDatum, ConfirmationToken.PaymentMethodPreview, CustomerPaymentMethod, PaymentAttemptRecord.PaymentMethodDetail, PaymentIntent.ConfirmParamsPaymentMethodDatum, PaymentIntent.ConfirmParamsPaymentMethodOption, PaymentIntent.CreateParamsPaymentMethodDatum, PaymentIntent.CreateParamsPaymentMethodOption, PaymentIntent.PaymentMethodOption, PaymentIntent.UpdateParamsPaymentMethodDatum, PaymentIntent.UpdateParamsPaymentMethodOption, PaymentMethod.CreateParams, PaymentMethod, PaymentRecord.PaymentMethodDetail, SetupAttempt.PaymentMethodDetail, SetupIntent.ConfirmParamsPaymentMethodDatum, SetupIntent.CreateParamsPaymentMethodDatum, and SetupIntent.UpdateParamsPaymentMethodDatumupdate_shipping_details on CheckoutSession.Permission and checkout.Session.CreateParamsPermissionprovider on CheckoutSession.AutomaticTax, Invoice.AutomaticTax, Quote.AutomaticTax, and QuotePreviewInvoice.AutomaticTaxtax_calculation_reference on CreditNoteLineItem, CreditNotePreviewLines, InvoiceLineItem, LineItem, PaymentLinkLineItem, QuoteComputedUpfrontLineItems, QuoteLineItem, and SessionLineItemcontext on Eventrelated_customer_account on IdentityVerificationSession, identity.VerificationSession.CreateParams, and identity.VerificationSession.ListParamspayout_method on Payout.CreateParams and Payoutconfirmation_secret, parent, and total_taxes on QuotePreviewInvoiceforwarding_api_retryable_upstream_error, setup_intent_mobile_wallet_unsupported, v2_account_disconnection_unsupported, and v2_account_missing_configuration on enum QuotePreviewInvoice.LastFinalizationError.codeklarna, nz_bank_account, and stripe_balance on enum QuotePreviewInvoice.PaymentSetting.payment_method_typesid and text on TerminalReader.Action.CollectInput.Input.Selection.Choice, TerminalReader.Action.CollectInput.Input.Selection, and terminal.Reader.CollectInputsParamsInputSelectionChoicenetwork_data on IssuingDisputeSettlementDetailinterchange_fees_amount, net_total_amount, network_fees_amount, other_fees_amount, other_fees_count, and transaction_amount on IssuingSettlementreported_by on PaymentAttemptRecordChange CustomerSession.CreateParams.customer, InvoiceItem.CreateParams.customer, PaymentMethod.AttachParams.customer, Subscription.CreateParams.customer, billing.CreditBalanceSummary.RetrieveParams.customer, billing.CreditBalanceTransaction.ListParams.customer, billing.CreditGrant.CreateParams.customer, and billingportal.Session.CreateParams.customer to be optional
Change type of Invoice.Parent.SubscriptionDetail.PauseCollection.behavior and QuotePreviewInvoice.Parent.SubscriptionDetail.PauseCollection.behavior from string to enum('keep_as_draft'|'mark_uncollectible'|'void')
Change CreditNote.refunds to be required
Change Invoice.amount_overpaid and QuotePreviewInvoice.amount_overpaid to be required
Change type of InvoicePayment.is_default from nullable(boolean) to boolean
Change type of PaymentAttemptRecord.PaymentMethodDetail.custom and PaymentRecord.PaymentMethodDetail.custom from nullable(PaymentsPrimitivesPaymentRecordsResourcePaymentMethodCustomDetails) to PaymentsPrimitivesPaymentRecordsResourcePaymentMethodCustomDetails
Change PaymentRecord.ReportPaymentParams.payment_reference to be optional
#1476 Update add_beta_version logic
will use the highest version number used for a beta feature instead of raising anException` on a conflict as it had done previously.#1463 Support for APIs in the new API version 2025-03-31.basil
This release changes the pinned API version to 2025-03-31.basil.
Please review details for the breaking changes and alternatives in the Stripe API changelog before upgrading.
SubscriptionItemUsageRecordSummary and SubscriptionItemUsageRecordcreate method on resource SubscriptionItemUsageRecordlist method on resource SubscriptionItemUsageRecordSummaryupcomingLines and upcoming methods on resource Invoiceinvoice on Charge and PaymentIntentshipping_details on CheckoutSessioncarrier, phone, and tracking_number on CheckoutSession.CollectedInformation.ShippingDetailrefund on CreditNote.CreateParams, CreditNote.PreviewParams, CreditNotePreviewLines.ListParams, and CreditNotetax_amounts on CreditNoteLineItem, CreditNote, and InvoiceLineItemamount_excluding_tax and unit_amount_excluding_tax on CreditNoteLineItem and InvoiceLineItemcoupon on Customer.CreateParams, Customer.UpdateParams, Invoice.CreatePreviewParamsScheduleDetailPhase, Invoice.CreatePreviewParams, Subscription.CreateParams, Subscription.UpdateParams, SubscriptionSchedule.CreateParamsPhase, SubscriptionSchedule.Phase, and SubscriptionSchedule.UpdateParamsPhasepromotion_code on Customer.CreateParams, Customer.UpdateParams, Subscription.CreateParams, and Subscription.UpdateParamsprice on Invoice.AddLinesParamsLine, Invoice.UpdateLinesParamsLine, InvoiceItem.CreateParams, InvoiceItem.UpdateParams, InvoiceItem, InvoiceLineItem.UpdateParams, and InvoiceLineItembilling_thresholds on Invoice.CreatePreviewParamsScheduleDetailPhaseItem, Invoice.CreatePreviewParamsScheduleDetailPhase, Invoice.CreatePreviewParamsSubscriptionDetailItem, Subscription.CreateParamsItem, Subscription.CreateParams, Subscription.UpdateParamsItem, Subscription.UpdateParams, SubscriptionItem.CreateParams, SubscriptionItem.UpdateParams, SubscriptionItem, SubscriptionSchedule.CreateParamsDefaultSetting, SubscriptionSchedule.CreateParamsPhaseItem, SubscriptionSchedule.CreateParamsPhase, SubscriptionSchedule.DefaultSetting, SubscriptionSchedule.Phase.Item, SubscriptionSchedule.Phase, SubscriptionSchedule.UpdateParamsDefaultSetting, SubscriptionSchedule.UpdateParamsPhaseItem, SubscriptionSchedule.UpdateParamsPhase, and Subscriptionapplication_fee_amount, charge, paid_out_of_band, paid, payment_intent, quote, subscription, subscription_details, subscription_proration_date, tax, total_tax_amounts, and transfer_data on Invoicediscount on Invoice and Subscriptioninvoice_item, proration_details, proration, tax_rates, and type on InvoiceLineItemplan and subscription_item on InvoiceItem and InvoiceLineItemunit_amount on InvoiceItem.CreateParams, InvoiceItem.UpdateParams, and InvoiceItemsubscription and unit_amount_decimal on InvoiceItemnaver_pay on PaymentMethod.UpdateParamsaggregate_usage on Plan.CreateParams, Plan, Price.CreateParamsRecurring, and Price.Recurringcurrent_period_end and current_period_start on Subscriptionv2.Event.ListParams and v2.EventDestination.ListParamsCheckoutSession.collected_information to be requiredCheckoutSession.CollectedInformation.shipping_details to be requiredCheckoutSession.CollectedInformation.ShippingDetail.address to be requiredCheckoutSession.CollectedInformation.ShippingDetail.name to be requiredPaymentIntent.ConfirmParamsPaymentMethodOptionWechatPay.client, PaymentIntent.CreateParamsPaymentMethodOptionWechatPay.client, and PaymentIntent.UpdateParamsPaymentMethodOptionWechatPay.client to be optionalpolitical_exposure on resources Person and Token and params Token.CreateParams from string to enum("existing" | "none")InvoicePaymentlist and retrieve methods on resource InvoicePaymentbillie_payments, nz_bank_account_becs_debit_payments, and satispay_payments on Account.Capability, Account.CreateParamsCapability, and Account.UpdateParamsCapabilityhosted_payment_method_save on Account.Setting.Invoice and Account.UpdateParamsSettingInvoiceinvoices on Account.CreateParamsSettinginformation_missing, invalid_signator, verification_failed_authorizer_authority, and verification_rejected_ownership_exemption_reason on enums Account.FutureRequirement.Error.code, Account.Requirement.Error.code, AccountCapability.FutureRequirement.Error.code, AccountCapability.Requirement.Error.code, AccountPerson.FutureRequirement.Error.code, AccountPerson.Requirement.Error.code, BankAccount.FutureRequirement.Error.code, and BankAccount.Requirement.Error.codeforwarding_api_retryable_upstream_error and setup_intent_mobile_wallet_unsupported on enums Invoice.LastFinalizationError.code, PaymentIntent.LastPaymentError.code, SetupAttempt.SetupError.code, SetupIntent.LastSetupError.code, and StripeError.codestripe_balance_payment_debit_reversal and stripe_balance_payment_debit on enum BalanceTransaction.typelast on enums BillingMeter.DefaultAggregation.formula and billing.Meter.CreateParamsDefaultAggregation.formulapresentment_details on Charge, CheckoutSession, PaymentIntent, and Refundbillie and satispay on Charge.PaymentMethodDetail, ConfirmationToken.CreateParamsPaymentMethodDatum, ConfirmationToken.PaymentMethodPreview, CustomerPaymentMethod, PaymentIntent.ConfirmParamsPaymentMethodDatum, PaymentIntent.CreateParamsPaymentMethodDatum, PaymentIntent.UpdateParamsPaymentMethodDatum, PaymentMethod.CreateParams, PaymentMethodConfiguration.CreateParams, PaymentMethodConfiguration.UpdateParams, PaymentMethodConfiguration, PaymentMethod, SetupIntent.ConfirmParamsPaymentMethodDatum, SetupIntent.CreateParamsPaymentMethodDatum, and SetupIntent.UpdateParamsPaymentMethodDatumnz_bank_account on Charge.PaymentMethodDetail, ConfirmationToken.CreateParamsPaymentMethodDatum, ConfirmationToken.PaymentMethodPreview, CustomerPaymentMethod, Mandate.PaymentMethodDetail, PaymentIntent.ConfirmParamsPaymentMethodDatum, PaymentIntent.ConfirmParamsPaymentMethodOption, PaymentIntent.CreateParamsPaymentMethodDatum, PaymentIntent.CreateParamsPaymentMethodOption, PaymentIntent.PaymentMethodOption, PaymentIntent.UpdateParamsPaymentMethodDatum, PaymentIntent.UpdateParamsPaymentMethodOption, PaymentMethod.CreateParams, PaymentMethodConfiguration.CreateParams, PaymentMethodConfiguration.UpdateParams, PaymentMethodConfiguration, PaymentMethod, SetupAttempt.PaymentMethodDetail, SetupIntent.ConfirmParamsPaymentMethodDatum, SetupIntent.CreateParamsPaymentMethodDatum, and SetupIntent.UpdateParamsPaymentMethodDatumoptional_items on CheckoutSession, PaymentLink.CreateParams, PaymentLink, and checkout.Session.CreateParamspermissions on CheckoutSession and checkout.Session.CreateParamsbillie and satispay on enum checkout.Session.CreateParams.payment_method_typescustom on enums CheckoutSession.ui_mode and checkout.Session.CreateParams.ui_modeshipping_options on checkout.Session.UpdateParamsbillie, nz_bank_account, and satispay on enums ConfirmationToken.CreateParamsPaymentMethodDatum.type, PaymentIntent.ConfirmParamsPaymentMethodDatum.type, PaymentIntent.CreateParamsPaymentMethodDatum.type, PaymentIntent.UpdateParamsPaymentMethodDatum.type, SetupIntent.ConfirmParamsPaymentMethodDatum.type, SetupIntent.CreateParamsPaymentMethodDatum.type, and SetupIntent.UpdateParamsPaymentMethodDatum.typebuyer_id on ConfirmationToken.PaymentMethodPreview.NaverPay, CustomerPaymentMethod.NaverPay, and PaymentMethod.NaverPaybillie, nz_bank_account, and satispay on enums ConfirmationToken.PaymentMethodPreview.type, CustomerPaymentMethod.type, and PaymentMethod.typerefunds on CreditNote.CreateParams, CreditNote.PreviewParams, CreditNotePreviewLines.ListParams, and CreditNotetotal_taxes on CreditNote and Invoicetaxes on CreditNoteLineItem and InvoiceLineItemcheckout_session on CustomerBalanceTransactioncheckout_session_subscription_payment_canceled and checkout_session_subscription_payment on enum CustomerBalanceTransaction.typebillie, nz_bank_account, and satispay on enums CustomerPaymentMethod.ListParams.type, PaymentMethod.CreateParams.type, and PaymentMethod.ListParams.typeinvoice.overpaid on enum Event.typeklarna and nz_bank_account on enums Invoice.CreateParamsPaymentSetting.payment_method_types, Invoice.PaymentSetting.payment_method_types, Invoice.UpdateParamsPaymentSetting.payment_method_types, Subscription.CreateParamsPaymentSetting.payment_method_types, Subscription.PaymentSetting.payment_method_types, and Subscription.UpdateParamsPaymentSetting.payment_method_typespricing on Invoice.AddLinesParamsLine, Invoice.UpdateLinesParamsLine, InvoiceItem.CreateParams, InvoiceItem.UpdateParams, InvoiceItem, InvoiceLineItem.UpdateParams, and InvoiceLineItemtaxability_reason on Invoice.AddLinesParamsLineTaxAmount, Invoice.UpdateLinesParamsLineTaxAmount, and InvoiceLineItem.UpdateParamsTaxAmountjurisdiction_level on Invoice.AddLinesParamsLineTaxAmountTaxRateDatum, Invoice.UpdateLinesParamsLineTaxAmountTaxRateDatum, and InvoiceLineItem.UpdateParamsTaxAmountTaxRateDatumamount_overpaid, confirmation_secret, and payments on Invoiceparent on InvoiceItem, InvoiceLineItem, and Invoiceexpired on enums IssuingAuthorization.status and issuing.Authorization.ListParams.statusnetwork_fallback on enum IssuingAuthorization.RequestHistory.reasonnaver_pay on Mandate.PaymentMethodDetail and SetupAttempt.PaymentMethodDetailsetup_future_usage on PaymentIntent.ConfirmParamsPaymentMethodOptionNaverPay, PaymentIntent.CreateParamsPaymentMethodOptionNaverPay, PaymentIntent.PaymentMethodOption.NaverPay, and PaymentIntent.UpdateParamsPaymentMethodOptionNaverPaydefault_value on PaymentLink.CreateParamsCustomFieldDropdown, PaymentLink.CreateParamsCustomFieldNumeric, PaymentLink.CreateParamsCustomFieldText, PaymentLink.CustomField.Dropdown, PaymentLink.CustomField.Numeric, PaymentLink.CustomField.Text, PaymentLink.UpdateParamsCustomFieldDropdown, PaymentLink.UpdateParamsCustomFieldNumeric, and PaymentLink.UpdateParamsCustomFieldTextbillie and satispay on enums PaymentLink.CreateParams.payment_method_types, PaymentLink.UpdateParams.payment_method_types, and PaymentLink.payment_method_typesnz_bank_transfer on Refund.DestinationDetailcanceled on enum Review.closed_reasoncurrent_period_end and current_period_start on SubscriptionItemwifi on TerminalConfiguration, terminal.Configuration.CreateParams, and terminal.Configuration.UpdateParamsinvoice.overpaid on enums WebhookEndpoint.CreateParams.enabled_events and WebhookEndpoint.UpdateParams.enabled_events2025-03-01.dashboard and 2025-03-31.basil on enum WebhookEndpoint.CreateParams.api_version#1469 Beta SDK updates between Open API versions 1473 and 1505
target_date on parameter classes stripe.Order.CreateParamsPaymentSettingsPaymentMethodOptionsAcssDebit, stripe.Order.CreateParamsPaymentSettingsPaymentMethodOptionsSepaDebit, stripe.Order.ModifyParamsPaymentSettingsPaymentMethodOptionsAcssDebit, and stripe.Order.ModifyParamsPaymentSettingsPaymentMethodOptionsSepaDebit and resource classes stripe.Order.Payment.Settings.PaymentMethodOptions.AcssDebit and stripe.Order.Payment.Settings.PaymentMethodOptions.SepaDebitsucceed_input_collection and timeout_input_collection on resource stripe.terminal.Reader#1467 Merge python-beta
target_date on parameter classes stripe.PaymentIntent.ConfirmParamsPaymentMethodOptionsAcssDebit, stripe.PaymentIntent.ConfirmParamsPaymentMethodOptionsAuBecsDebit, stripe.PaymentIntent.ConfirmParamsPaymentMethodOptionsBacsDebit, stripe.PaymentIntent.ConfirmParamsPaymentMethodOptionsSepaDebit, stripe.PaymentIntent.ConfirmParamsPaymentMethodOptionsUsBankAccount, stripe.PaymentIntent.CreateParamsPaymentMethodOptionsAcssDebit, stripe.PaymentIntent.CreateParamsPaymentMethodOptionsAuBecsDebit, stripe.PaymentIntent.CreateParamsPaymentMethodOptionsBacsDebit, stripe.PaymentIntent.CreateParamsPaymentMethodOptionsSepaDebit, stripe.PaymentIntent.CreateParamsPaymentMethodOptionsUsBankAccount, stripe.PaymentIntent.ModifyParamsPaymentMethodOptionsAcssDebit, stripe.PaymentIntent.ModifyParamsPaymentMethodOptionsAuBecsDebit, stripe.PaymentIntent.ModifyParamsPaymentMethodOptionsBacsDebit, stripe.PaymentIntent.ModifyParamsPaymentMethodOptionsSepaDebit, stripe.PaymentIntent.ModifyParamsPaymentMethodOptionsUsBankAccount, stripe.checkout.Session.CreateParamsPaymentMethodOptionsAcssDebit, stripe.checkout.Session.CreateParamsPaymentMethodOptionsAuBecsDebit, stripe.checkout.Session.CreateParamsPaymentMethodOptionsBacsDebit, stripe.checkout.Session.CreateParamsPaymentMethodOptionsSepaDebit, and stripe.checkout.Session.CreateParamsPaymentMethodOptionsUsBankAccount and resource classes stripe.PaymentIntent.PaymentMethodOptions.AcssDebit, stripe.PaymentIntent.PaymentMethodOptions.AuBecsDebit, stripe.PaymentIntent.PaymentMethodOptions.BacsDebit, stripe.PaymentIntent.PaymentMethodOptions.SepaDebit, stripe.PaymentIntent.PaymentMethodOptions.UsBankAccount, stripe.checkout.Session.PaymentMethodOptions.AcssDebit, stripe.checkout.Session.PaymentMethodOptions.AuBecsDebit, stripe.checkout.Session.PaymentMethodOptions.BacsDebit, stripe.checkout.Session.PaymentMethodOptions.SepaDebit, and stripe.checkout.Session.PaymentMethodOptions.UsBankAccountmetadata on parameter class stripe.Product.CreateParamsDefaultPriceDataprices on parameter classes stripe.billing.CreditBalanceSummary.RetrieveParamsFilterApplicabilityScope and stripe.billing.CreditGrant.CreateParamsApplicabilityConfigScope and resource class stripe.billing.CreditGrant.ApplicabilityConfig.Scopepriority on parameter class stripe.billing.CreditGrant.CreateParams and resource stripe.billing.CreditGrantrestrictions on parameter class stripe.checkout.Session.CreateParamsPaymentMethodOptionsCard and resource class stripe.checkout.Session.PaymentMethodOptions.Cardcollected_information on parameter class stripe.checkout.Session.ModifyParams and resource stripe.checkout.Sessionprice_type on stripe.billing.CreditBalanceSummary.RetrieveParamsFilterApplicabilityScope and stripe.billing.CreditGrant.CreateParamsApplicabilityConfigScope from Literal['metered'] to NotRequired[Literal['metered']]price_type on stripe.billing.CreditGrant.ApplicabilityConfig.Scope from Literal['metered'] to Optional[Literal['metered']]2025-02-24.acacia on enum stripe.WebhookEndpoint.CreateParams.api_versionpay_by_bank_payments on resource class stripe.Account.Capabilities and parameter class stripe.Account.CreateParamsCapabilitiesdirectorship_declaration on resource class stripe.Account.Company and parameter classes stripe.Account.CreateParamsCompany and stripe.Token.CreateParamsAccountCompanyownership_exemption_reason on resource class stripe.Account.Company and parameter classes stripe.Account.CreateParamsCompany and stripe.Token.CreateParamsAccountCompanyproof_of_ultimate_beneficial_ownership on parameter class stripe.Account.CreateParamsDocumentsfinancial_account on resource classes stripe.AccountSession.Components and stripe.treasury.OutboundTransfer.DestinationPaymentMethodDetails and parameter class stripe.AccountSession.CreateParamsComponentsissuing_card on resource class stripe.AccountSession.Components and parameter class stripe.AccountSession.CreateParamsComponentsadvice_code on resource classes stripe.Charge.Outcome, stripe.Invoice.LastFinalizationError, stripe.PaymentIntent.LastPaymentError, stripe.SetupAttempt.SetupError, and stripe.SetupIntent.LastSetupErrorcountry on resource classes stripe.Charge.PaymentMethodDetails.Paypal, stripe.ConfirmationToken.PaymentMethodPreview.Paypal, and stripe.PaymentMethod.Paypalpay_by_bank on resource classes stripe.Charge.PaymentMethodDetails, stripe.ConfirmationToken.PaymentMethodPreview, and stripe.PaymentIntent.PaymentMethodOptions, parameter classes stripe.ConfirmationToken.CreateParamsPaymentMethodData, stripe.PaymentIntent.ConfirmParamsPaymentMethodData, stripe.PaymentIntent.ConfirmParamsPaymentMethodOptions, stripe.PaymentIntent.CreateParamsPaymentMethodData, stripe.PaymentIntent.CreateParamsPaymentMethodOptions, stripe.PaymentIntent.ModifyParamsPaymentMethodData, stripe.PaymentIntent.ModifyParamsPaymentMethodOptions, stripe.PaymentMethod.CreateParams, stripe.PaymentMethod.ModifyParams, stripe.PaymentMethodConfiguration.CreateParams, stripe.PaymentMethodConfiguration.ModifyParams, stripe.SetupIntent.ConfirmParamsPaymentMethodData, stripe.SetupIntent.CreateParamsPaymentMethodData, stripe.SetupIntent.ModifyParamsPaymentMethodData, and stripe.checkout.Session.CreateParamsPaymentMethodOptions, and resources stripe.PaymentMethod and stripe.PaymentMethodConfigurationphone_number_collection on parameter class stripe.PaymentLink.ModifyParamsdiscounts on resource stripe.checkout.Sessionjpy on parameter classes stripe.terminal.Configuration.CreateParamsTipping and stripe.terminal.Configuration.ModifyParamsTipping and resource class stripe.terminal.Configuration.Tippingnickname on parameter classes stripe.treasury.FinancialAccount.CreateParams and stripe.treasury.FinancialAccount.ModifyParams and resource stripe.treasury.FinancialAccountforwarding_settings on parameter class stripe.treasury.FinancialAccount.ModifyParams_cls_close on resource stripe.treasury.FinancialAccountclose on resource stripe.treasury.FinancialAccountis_default on resource stripe.treasury.FinancialAccountdestination_payment_method_data on parameter class stripe.treasury.OutboundTransfer.CreateParamsoutbound_transfer on resource class stripe.treasury.ReceivedCredit.LinkedFlows.SourceFlowDetailsSD on enums stripe.checkout.Session.ShippingAddressCollection.allowed_countries, stripe.checkout.Session.CreateParamsShippingAddressCollection.allowed_countries, stripe.PaymentLink.ShippingAddressCollection.allowed_countries, stripe.PaymentLink.CreateParamsShippingAddressCollection.allowed_countries, and stripe.PaymentLink.ModifyParamsShippingAddressCollection.allowed_countriespay_by_bank on enums stripe.checkout.Session.CreateParams.payment_method_types, stripe.ConfirmationToken.PaymentMethodPreview.type, stripe.ConfirmationToken.CreateParamsPaymentMethodData.type, stripe.Customer.ListPaymentMethodsParams.type, stripe.PaymentIntent.ConfirmParamsPaymentMethodData.type, stripe.PaymentIntent.CreateParamsPaymentMethodData.type, stripe.PaymentIntent.ModifyParamsPaymentMethodData.type, stripe.PaymentLink.payment_method_types, stripe.PaymentLink.CreateParams.payment_method_types, stripe.PaymentLink.ModifyParams.payment_method_types, stripe.PaymentMethod.type, stripe.PaymentMethod.CreateParams.type, stripe.PaymentMethod.ListParams.type, stripe.SetupIntent.ConfirmParamsPaymentMethodData.type, stripe.SetupIntent.CreateParamsPaymentMethodData.type, and stripe.SetupIntent.ModifyParamsPaymentMethodData.typefinancial_account on enum stripe.treasury.OutboundTransfer.DestinationPaymentMethodDetails.typeoutbound_transfer on enums stripe.treasury.ReceivedCredit.LinkedFlows.SourceFlowDetails.type and stripe.treasury.ReceivedCredit.ListParamsLinkedFlows.source_flow_type2025-01-27.acacia on enum stripe.WebhookEndpoint.CreateParams.api_versionpretax_credit_amounts on stripe.CreditNote and stripe.CreditNoteLineItem from Optional[List[PretaxCreditAmount]] to List[PretaxCreditAmount]stripe.v2.ListObject.data type hint from List[StripeObject] to List[T] where T is the specific stripe object contained within the listrejected_reason on resource class stripe.Account.RiskControlsproduct_tax_code_selector on parameter class stripe.AccountSession.CreateParamsComponentsbrand_product on resource classes stripe.Charge.PaymentMethodDetails.AmazonPay.Funding.Card and stripe.Charge.PaymentMethodDetails.RevolutPay.Funding.Cardprices on parameter classes stripe.billing.CreditBalanceSummary.RetrieveParamsFilterApplicabilityScope and stripe.billing.CreditGrant.CreateParamsApplicabilityConfigScope and resource class stripe.billing.CreditGrant.ApplicabilityConfig.Scoperestrictions on parameter class stripe.checkout.Session.CreateParamsPaymentMethodOptionsCard and resource class stripe.checkout.Session.PaymentMethodOptions.Cardpolitical_exposure on stripe.Account.CreatePersonParams, stripe.Account.ModifyPersonParams, and stripe.Token.CreateParamsPerson from str to Literal['existing', 'none']price_type on stripe.billing.CreditGrant.ApplicabilityConfig.Scope from Literal['metered'] to Optional[Literal['metered']]pay_by_bank_payments on resource class stripe.Account.Capabilities and parameter class stripe.Account.CreateParamsCapabilitiesdirectorship_declaration on resource class stripe.Account.Company and parameter classes stripe.Account.CreateParamsCompany and stripe.Token.CreateParamsAccountCompanyownership_exemption_reason on resource class stripe.Account.Company and parameter classes stripe.Account.CreateParamsCompany and stripe.Token.CreateParamsAccountCompanyproof_of_ultimate_beneficial_ownership on parameter class stripe.Account.CreateParamsDocumentsfinancial_account on resource classes stripe.AccountSession.Components and stripe.treasury.OutboundTransfer.DestinationPaymentMethodDetails and parameter class stripe.AccountSession.CreateParamsComponentsissuing_card on resource class stripe.AccountSession.Components and parameter class stripe.AccountSession.CreateParamsComponentsadvice_code on resource classes stripe.Charge.Outcome, stripe.Invoice.LastFinalizationError, stripe.PaymentIntent.LastPaymentError, stripe.SetupAttempt.SetupError, and stripe.SetupIntent.LastSetupErrorcountry on resource classes stripe.Charge.PaymentMethodDetails.Paypal, stripe.ConfirmationToken.PaymentMethodPreview.Paypal, and stripe.PaymentMethod.Paypalpay_by_bank on resource classes stripe.Charge.PaymentMethodDetails, stripe.ConfirmationToken.PaymentMethodPreview, and stripe.PaymentIntent.PaymentMethodOptions, parameter classes stripe.ConfirmationToken.CreateParamsPaymentMethodData, stripe.PaymentIntent.ConfirmParamsPaymentMethodData, stripe.PaymentIntent.ConfirmParamsPaymentMethodOptions, stripe.PaymentIntent.CreateParamsPaymentMethodData, stripe.PaymentIntent.CreateParamsPaymentMethodOptions, stripe.PaymentIntent.ModifyParamsPaymentMethodData, stripe.PaymentIntent.ModifyParamsPaymentMethodOptions, stripe.PaymentMethod.CreateParams, stripe.PaymentMethod.ModifyParams, stripe.PaymentMethodConfiguration.CreateParams, stripe.PaymentMethodConfiguration.ModifyParams, stripe.SetupIntent.ConfirmParamsPaymentMethodData, stripe.SetupIntent.CreateParamsPaymentMethodData, stripe.SetupIntent.ModifyParamsPaymentMethodData, and stripe.checkout.Session.CreateParamsPaymentMethodOptions, and resources stripe.PaymentMethod and stripe.PaymentMethodConfigurationphone_number_collection on parameter class stripe.PaymentLink.ModifyParamsdiscounts on resource stripe.checkout.Sessionjpy on parameter classes stripe.terminal.Configuration.CreateParamsTipping and stripe.terminal.Configuration.ModifyParamsTipping and resource class stripe.terminal.Configuration.Tippingnickname on parameter classes stripe.treasury.FinancialAccount.CreateParams and stripe.treasury.FinancialAccount.ModifyParams and resource stripe.treasury.FinancialAccountforwarding_settings on parameter class stripe.treasury.FinancialAccount.ModifyParams_cls_close on resource stripe.treasury.FinancialAccountclose on resource stripe.treasury.FinancialAccountis_default on resource stripe.treasury.FinancialAccountdestination_payment_method_data on parameter class stripe.treasury.OutboundTransfer.CreateParamsoutbound_transfer on resource class stripe.treasury.ReceivedCredit.LinkedFlows.SourceFlowDetailsSD on enums stripe.checkout.Session.ShippingAddressCollection.allowed_countries, stripe.checkout.Session.CreateParamsShippingAddressCollection.allowed_countries, stripe.PaymentLink.ShippingAddressCollection.allowed_countries, stripe.PaymentLink.CreateParamsShippingAddressCollection.allowed_countries, and stripe.PaymentLink.ModifyParamsShippingAddressCollection.allowed_countriespay_by_bank on enums stripe.checkout.Session.CreateParams.payment_method_types, stripe.ConfirmationToken.PaymentMethodPreview.type, stripe.ConfirmationToken.CreateParamsPaymentMethodData.type, stripe.Customer.ListPaymentMethodsParams.type, stripe.PaymentIntent.ConfirmParamsPaymentMethodData.type, stripe.PaymentIntent.CreateParamsPaymentMethodData.type, stripe.PaymentIntent.ModifyParamsPaymentMethodData.type, stripe.PaymentLink.payment_method_types, stripe.PaymentLink.CreateParams.payment_method_types, stripe.PaymentLink.ModifyParams.payment_method_types, stripe.PaymentMethod.type, stripe.PaymentMethod.CreateParams.type, stripe.PaymentMethod.ListParams.type, stripe.SetupIntent.ConfirmParamsPaymentMethodData.type, stripe.SetupIntent.CreateParamsPaymentMethodData.type, and stripe.SetupIntent.ModifyParamsPaymentMethodData.typefinancial_account on enum stripe.treasury.OutboundTransfer.DestinationPaymentMethodDetails.typeoutbound_transfer on enums stripe.treasury.ReceivedCredit.LinkedFlows.SourceFlowDetails.type and stripe.treasury.ReceivedCredit.ListParamsLinkedFlows.source_flow_type2025-01-27.acacia on enum stripe.WebhookEndpoint.CreateParams.api_versionpretax_credit_amounts on stripe.CreditNote and stripe.CreditNoteLineItem from Optional[List[PretaxCreditAmount]] to List[PretaxCreditAmount]stripe.v2.ListObject.data type hint from List[StripeObject] to List[T] where T is the specific stripe object contained within the liststripe_account on resource classes stripe.terminal.Reader.Action.CollectPaymentMethod, stripe.terminal.Reader.Action.ConfirmPaymentIntent, stripe.terminal.Reader.Action.ProcessPaymentIntent, and stripe.terminal.Reader.Action.RefundPaymentpay_by_bank_payments on resource class stripe.Account.Capabilities and parameter class stripe.Account.CreateParamsCapabilitiesdirectorship_declaration on parameter classes stripe.Account.CreateParamsCompany and stripe.Token.CreateParamsAccountCompanyproof_of_ultimate_beneficial_ownership on parameter class stripe.Account.CreateParamsDocumentsfinancial_account on resource class stripe.AccountSession.Componentsissuing_card on resource class stripe.AccountSession.Componentstax_threshold_monitoring on parameter class stripe.AccountSession.CreateParamsComponentspay_by_bank on resource classes stripe.Charge.PaymentMethodDetails, stripe.ConfirmationToken.PaymentMethodPreview, and stripe.PaymentIntent.PaymentMethodOptions, parameter classes stripe.ConfirmationToken.CreateParamsPaymentMethodData, stripe.PaymentIntent.ConfirmParamsPaymentMethodData, stripe.PaymentIntent.ConfirmParamsPaymentMethodOptions, stripe.PaymentIntent.CreateParamsPaymentMethodData, stripe.PaymentIntent.CreateParamsPaymentMethodOptions, stripe.PaymentIntent.ModifyParamsPaymentMethodData, stripe.PaymentIntent.ModifyParamsPaymentMethodOptions, stripe.PaymentMethod.CreateParams, stripe.PaymentMethod.ModifyParams, stripe.PaymentMethodConfiguration.CreateParams, stripe.PaymentMethodConfiguration.ModifyParams, stripe.SetupIntent.ConfirmParamsPaymentMethodData, stripe.SetupIntent.CreateParamsPaymentMethodData, stripe.SetupIntent.ModifyParamsPaymentMethodData, and stripe.checkout.Session.CreateParamsPaymentMethodOptions, and resources stripe.PaymentMethod and stripe.PaymentMethodConfigurationdiscounts on resource stripe.checkout.Sessionjpy on parameter classes stripe.terminal.Configuration.CreateParamsTipping and stripe.terminal.Configuration.ModifyParamsTipping and resource class stripe.terminal.Configuration.Tippingalways_invoice on enums stripe.billing_portal.Configuration.Features.SubscriptionCancel.proration_behavior, stripe.billing_portal.Configuration.CreateParamsFeaturesSubscriptionCancel.proration_behavior, and stripe.billing_portal.Configuration.ModifyParamsFeaturesSubscriptionCancel.proration_behaviorSD on enums stripe.checkout.Session.ShippingAddressCollection.allowed_countries, stripe.checkout.Session.CreateParamsShippingAddressCollection.allowed_countries, stripe.PaymentLink.ShippingAddressCollection.allowed_countries, stripe.PaymentLink.CreateParamsShippingAddressCollection.allowed_countries, and stripe.PaymentLink.ModifyParamsShippingAddressCollection.allowed_countriespay_by_bank on enums stripe.checkout.Session.CreateParams.payment_method_types, stripe.ConfirmationToken.PaymentMethodPreview.type, stripe.ConfirmationToken.CreateParamsPaymentMethodData.type, stripe.Customer.ListPaymentMethodsParams.type, stripe.PaymentIntent.ConfirmParamsPaymentMethodData.type, stripe.PaymentIntent.CreateParamsPaymentMethodData.type, stripe.PaymentIntent.ModifyParamsPaymentMethodData.type, stripe.PaymentLink.payment_method_types, stripe.PaymentLink.CreateParams.payment_method_types, stripe.PaymentLink.ModifyParams.payment_method_types, stripe.PaymentMethod.type, stripe.PaymentMethod.CreateParams.type, stripe.PaymentMethod.ListParams.type, stripe.SetupIntent.ConfirmParamsPaymentMethodData.type, stripe.SetupIntent.CreateParamsPaymentMethodData.type, and stripe.SetupIntent.ModifyParamsPaymentMethodData.type2025-01-27.acacia on enum stripe.WebhookEndpoint.CreateParams.api_version