Releases: stripe/stripe-python
Releases Β· stripe/stripe-python
v12.5.0b2
- #1545 Bring back invoice payments APIs that were missing in the public preview SDKs
- Add support for new resource
InvoicePayment - Add support for
listandretrievemethods on resourceInvoicePayment
- Add support for new resource
v12.5.0b1
This release changes the pinned API version to 2025-07-30.preview.
- #1535 Update generated code for beta
- Add support for new resources
billing.MeterUsageRow,billing.MeterUsage, andterminal.OnboardingLink - Add support for
retrievemethod on resourcebilling.MeterUsage - Add support for
createmethod on resourceterminal.OnboardingLink - Add support for
monthly_payout_daysandweekly_payout_daysonBalanceSettings.ModifyParamsPayoutScheduleandBalanceSettings.Payout.Schedule - Remove support for
monthly_anchorandweekly_anchoronBalanceSettings.ModifyParamsPayoutScheduleandBalanceSettings.Payout.Schedule - Add support for
delay_days_overrideonBalanceSettings.ModifyParamsSettlementTiming - Remove support for
delay_daysonBalanceSettings.ModifyParamsSettlementTiming - Add support for
update_discountsoncheckout.Session.CreateParamsPermission - Add support for
discountsandsubscription_dataoncheckout.Session.ModifyParams - Add support for
smart_disputesonDispute - Add support for
upionInvoice.CreateParamsPaymentSettingPaymentMethodOption,Invoice.ModifyParamsPaymentSettingPaymentMethodOption,Invoice.PaymentSetting.PaymentMethodOption,QuotePreviewInvoice.PaymentSetting.PaymentMethodOption,Subscription.CreateParamsPaymentSettingPaymentMethodOption,Subscription.ModifyParamsPaymentSettingPaymentMethodOption, andSubscription.PaymentSetting.PaymentMethodOption - Add support for new value
upion enumsInvoice.CreateParamsPaymentSetting.payment_method_types,Invoice.ModifyParamsPaymentSetting.payment_method_types,Invoice.PaymentSetting.payment_method_types,QuotePreviewInvoice.PaymentSetting.payment_method_types,Subscription.CreateParamsPaymentSetting.payment_method_types,Subscription.ModifyParamsPaymentSetting.payment_method_types, andSubscription.PaymentSetting.payment_method_types - Add support for
transaction_idonPaymentAttemptRecord.PaymentMethodDetail.CashappandPaymentRecord.PaymentMethodDetail.Cashapp - Add support for
amount_detailsonPaymentIntent.CaptureParams,PaymentIntent.ConfirmParams,PaymentIntent.CreateParams,PaymentIntent.IncrementAuthorizationParams, andPaymentIntent.ModifyParams - Add support for
payment_detailsonPaymentIntent.IncrementAuthorizationParams - Add support for
storeronV2.Core.Account.Identity.Attestation.TermsOfService,v2.core.Account.CreateParamsIdentityAttestationTermsOfService, andv2.core.Account.ModifyParamsIdentityAttestationTermsOfService - Add support for
collection_optionsonV2.Core.AccountLink.UseCase.AccountOnboarding,V2.Core.AccountLink.UseCase.AccountUpdate,v2.core.AccountLink.CreateParamsUseCaseAccountOnboarding, andv2.core.AccountLink.CreateParamsUseCaseAccountUpdate - Change type of
V2.Core.AccountLink.UseCase.AccountOnboarding.configurations,V2.Core.AccountLink.UseCase.AccountUpdate.configurations,v2.core.AccountLink.CreateParamsUseCaseAccountOnboarding.configurations, andv2.core.AccountLink.CreateParamsUseCaseAccountUpdate.configurationsfromliteral('recipient')toenum('customer'|'merchant'|'recipient'|'storer') - Add support for
bank_account_typeonV2.MoneyManagement.PayoutMethod.BankAccount - Add support for thin event
V2CoreAccountLinkReturnedEvent - Add support for thin event
V2MoneyManagementPayoutMethodUpdatedEventwith related objectv2.money_management.PayoutMethod - Remove support for thin event
V2CoreAccountLinkCompletedEvent - Remove support for thin event
V2OffSessionPaymentRequiresCaptureEventwith related objectv2.payments.OffSessionPayment
- Add support for new resources
v12.4.0
This release changes the pinned API version to 2025-07-30.basil.
- #1541 Update generated code
- Add support for
instant_payouts_promotiononAccountSession.ComponentandAccountSession.CreateParamsComponent - Add support for
adjustable_quantityonBillingPortal.Configuration.Feature.SubscriptionUpdate.Product,billing_portal.Configuration.CreateParamsFeatureSubscriptionUpdateProduct, andbilling_portal.Configuration.ModifyParamsFeatureSubscriptionUpdateProduct - Remove support for value
disabledfrom enumCapability.status - Add support for
transaction_idonCharge.PaymentMethodDetail.Cashapp - Add support for
origin_contextonCheckout.Sessionandcheckout.Session.CreateParams - Add support for
templateonCheckout.Session.InvoiceCreation.InvoiceDatum.RenderingOption,PaymentLink.CreateParamsInvoiceCreationInvoiceDatumRenderingOption,PaymentLink.InvoiceCreation.InvoiceDatum.RenderingOption,PaymentLink.ModifyParamsInvoiceCreationInvoiceDatumRenderingOption, andcheckout.Session.CreateParamsInvoiceCreationInvoiceDatumRenderingOption - Add support for
setup_future_usageonCheckout.Session.PaymentMethodOption.Pixandcheckout.Session.CreateParamsPaymentMethodOptionPix - Add support for new value
nz_bank_accounton enumcheckout.Session.CreateParams.payment_method_types - Change
Identity.VerificationSession.RelatedPerson.accountto be required - Change
Identity.VerificationSession.RelatedPerson.personto be required - Add support for
durationonInvoice.CreatePreviewParamsScheduleDetailPhase,SubscriptionSchedule.CreateParamsPhase, andSubscriptionSchedule.ModifyParamsPhase - Change type of
Invoice.CreatePreviewParamsSubscriptionDetail.cancel_at,Subscription.CreateParams.cancel_at, andSubscription.ModifyParams.cancel_atfromDateTimetoDateTime | enum('max_period_end'|'min_period_end') - Add support for
price_dataonPaymentLink.CreateParamsLineItem - Change
PaymentLink.CreateParamsLineItem.priceto be optional - Add support for new value
America/Coyhaiqueon enumreporting.ReportRun.CreateParamsParameter.timezone - Add support for
standardonTax.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, andtax.Registration.CreateParamsCountryOptionZw - Add support for new value
inbound_goodson enumsTax.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, andtax.Registration.CreateParamsCountryOptionSkStandard.place_of_supply_scheme - Add support for
aed,bgn,huf, andrononTerminal.Configuration.Tipping,terminal.Configuration.CreateParamsTipping, andterminal.Configuration.ModifyParamsTipping - Add support for new value
2025-07-30.basilon enumWebhookEndpoint.CreateParams.api_version
- Add support for
- #1537 Fix timeout type hint in RequestsClient
v12.4.0b2
- #1536 Pull in V2 FinancialAccount changes for June release
- Add support for
closeandcreatemethods on resourcev2.money_management.FinancialAccount - Add support for new value
storeron enumsV2.Core.Account.applied_configurationsandv2.core.Account.CloseParams.applied_configurations - Add support for
storeronV2.Core.Account.Configuration,v2.core.Account.CreateParamsConfiguration, andv2.core.Account.ModifyParamsConfiguration - Add support for new values
financial_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, andoutbound_transfers.financial_accountson enumV2.Core.Account.Requirement.Entry.Impact.RestrictsCapability.capability - Add support for new value
storeron enumV2.Core.Account.Requirement.Entry.Impact.RestrictsCapability.configuration - Add support for
status_detailsonV2.MoneyManagement.FinancialAccount - Add support for
statusonv2.money_management.FinancialAccount.ListParams - Add support for new value
configuration.storeron enumsv2.core.Account.CreateParams.include,v2.core.Account.ModifyParams.include, andv2.core.Account.RetrieveParams.include - Add support for thin events
V2CoreAccountIncludingConfigurationStorerCapabilityStatusUpdatedEventandV2CoreAccountIncludingConfigurationStorerUpdatedEventwith related objectv2.core.Account - Add support for error types
AlreadyExistsErrorandNonZeroBalanceError
- Add support for
v12.4.0b1
- #1520 Update generated code for beta
- Change type of
Invoice.CreatePreviewParamsScheduleDetail.billing_mode,Invoice.CreatePreviewParamsSubscriptionDetail.billing_mode,Quote.CreateParamsSubscriptionDatum.billing_mode,Quote.SubscriptionDatum.billing_mode,Subscription.CreateParams.billing_mode,SubscriptionSchedule.CreateParams.billing_mode, andcheckout.Session.CreateParamsSubscriptionDatum.billing_modefromenum('classic'|'flexible')tobilling_mode - Add support for
submission_methodonDispute.EvidenceDetail - Add support for
on_demandandsubscriptionsonOrder.CreateParamsPaymentSettingPaymentMethodOptionKlarnaandOrder.ModifyParamsPaymentSettingPaymentMethodOptionKlarna - Change type of
Order.CreateParamsPaymentSettingPaymentMethodOptionKlarna.setup_future_usage,Order.ModifyParamsPaymentSettingPaymentMethodOptionKlarna.setup_future_usage, andOrder.Payment.Setting.PaymentMethodOption.Klarna.setup_future_usagefromliteral('none')toenum('none'|'off_session'|'on_session') - Add support for
cryptoonPaymentAttemptRecord.PaymentMethodDetailandPaymentRecord.PaymentMethodDetail - Add support for new value
buuton enumsPaymentAttemptRecord.PaymentMethodDetail.Ideal.bankandPaymentRecord.PaymentMethodDetail.Ideal.bank - Add support for new value
BUUTNL2Aon enumsPaymentAttemptRecord.PaymentMethodDetail.Ideal.bicandPaymentRecord.PaymentMethodDetail.Ideal.bic - Change type of
PaymentIntent.ConfirmParamsPaymentMethodOptionGopay.setup_future_usage,PaymentIntent.CreateParamsPaymentMethodOptionGopay.setup_future_usage,PaymentIntent.ModifyParamsPaymentMethodOptionGopay.setup_future_usage, andPaymentIntent.PaymentMethodOption.Gopay.setup_future_usagefromliteral('none')toenum('none'|'off_session') - Change
Quote.SubscriptionDatum.billing_mode,QuotePreviewSubscriptionSchedule.billing_mode,Subscription.billing_mode, andSubscriptionSchedule.billing_modeto be required - Add support for new value
cryptoon enumQuotePreviewInvoice.PaymentSetting.payment_method_types - Change type of
QuotePreviewSubscriptionSchedule.billing_mode,Subscription.billing_mode, andSubscriptionSchedule.billing_modefromenum('classic'|'flexible')toSubscriptionsResourceBillingMode - Change type of
Subscription.MigrateParams.billing_modefromliteral('flexible')tobilling_mode_migrate - Remove support for
billing_mode_detailsonSubscription - Add support for new value
xxon enumsV2.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, andv2.core.Person.ModifyParamsScriptAddressKanji.country - Add support for new value
unsupported_entity_typeon enumsV2.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, andV2.Core.Account.Configuration.Recipient.Capability.StripeBalance.StripeTransfer.StatusDetail.code - Add support for
proof_of_addresson `V2.Core.Account.Identity.BusinessDetail.Doc...
- Change type of
v12.3.0
- #1526 Update generated code
- Add support for
migratemethod on resourceSubscription - Add support for
collect_payment_methodandconfirm_payment_intentmethods on resourceterminal.Reader - Add support for
crypto_paymentsonAccount.Capability,Account.CreateParamsCapability, andAccount.ModifyParamsCapability - Add support for
proof_of_addressonAccount.CreateParamsDocumentandAccount.ModifyParamsDocument - Add support for
monthly_payout_daysandweekly_payout_daysonAccount.CreateParamsSettingPayoutSchedule,Account.ModifyParamsSettingPayoutSchedule, andAccount.Setting.Payout.Schedule - Change
Account.Setting.Invoice.hosted_payment_method_saveto be required - Add support for
cryptoonCharge.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, andSetupIntent.ModifyParamsPaymentMethodDatum - Change type of
Charge.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, andPaymentIntent.PaymentMethodOption.Card.Installment.Plan.typefromliteral('fixed_count')toenum('bonus'|'fixed_count'|'revolving') - Add support for new value
buuton enumsCharge.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, andSetupIntent.ModifyParamsPaymentMethodDatumIdeal.bank - Add support for new value
BUUTNL2Aon enumsCharge.PaymentMethodDetail.Ideal.bic,ConfirmationToken.PaymentMethodPreview.Ideal.bic,PaymentMethod.Ideal.bic, andSetupAttempt.PaymentMethodDetail.Ideal.bic - Add support for
subscriptionsonPaymentIntent.ConfirmParamsPaymentMethodOptionKlarna,PaymentIntent.CreateParamsPaymentMethodOptionKlarna,PaymentIntent.ModifyParamsPaymentMethodOptionKlarna, andcheckout.Session.CreateParamsPaymentMethodOptionKlarna - Add support for new value
cryptoon enumcheckout.Session.CreateParams.payment_method_types - Add support for
billing_modeonInvoice.CreatePreviewParamsScheduleDetail,Invoice.CreatePreviewParamsSubscriptionDetail,Quote.CreateParamsSubscriptionDatum,Quote.SubscriptionDatum,Subscription.CreateParams,SubscriptionSchedule.CreateParams,SubscriptionSchedule,Subscription, andcheckout.Session.CreateParamsSubscriptionDatum - Add support for new value
cryptoon enumsConfirmationToken.CreateParamsPaymentMethodDatum.type,PaymentIntent.ConfirmParamsPaymentMethodDatum.type,PaymentIntent.CreateParamsPaymentMethodDatum.type,PaymentIntent.ModifyParamsPaymentMethodDatum.type,SetupIntent.ConfirmParamsPaymentMethodDatum.type,SetupIntent.CreateParamsPaymentMethodDatum.type, andSetupIntent.ModifyParamsPaymentMethodDatum.type - Add support for new value
cryptoon enumsConfirmationToken.PaymentMethodPreview.typeandPaymentMethod.type - Add support for new value
cryptoon enumsCustomer.ListPaymentMethodsParams.type,PaymentMethod.CreateParams.type, andPaymentMethod.ListParams.type - Change type of
Dispute.enhanced_eligibility_typesfromliteral('visa_compelling_evidence_3')toenum('visa_compelling_evidence_3'|'visa_compliance') - Add support for new value
complianceon enumDispute.PaymentMethodDetail.Card.case_type - Add support for new value
terminal.reader.action_updatedon enumEvent.type - Add support for
related_persononIdentity.VerificationSessionandidentity.VerificationSession.CreateParams - Add support for
matchingonIdentity.VerificationSession.Option - Add support for new value
cryptoon enumsInvoice.CreateParamsPaymentSetting.payment_method_types,Invoice.ModifyParamsPaymentSetting.payment_method_types,Invoice.PaymentSetting.payment_method_types,Subscription.CreateParamsPaymentSetting.payment_method_types,Subscription.ModifyParamsPaymentSetting.payment_method_types, andSubscription.PaymentSetting.payment_method_types - Add support for
klarnaonMandate.PaymentMethodDetail,SetupIntent.ConfirmParamsPaymentMethodOption,SetupIntent.CreateParamsPaymentMethodOption,SetupIntent.ModifyParamsPaymentMethodOption, andSetupIntent.PaymentMethodOption - Add support for
on_demandonPaymentIntent.ConfirmParamsPaymentMethodOptionKlarna,PaymentIntent.CreateParamsPaymentMethodOptionKlarna, andPaymentIntent.ModifyParamsPaymentMethodOptionKlarna - Change type of
PaymentIntent.ConfirmParamsPaymentMethodOptionKlarna.setup_future_usage,PaymentIntent.CreateParamsPaymentMethodOptionKlarna.setup_future_usage,PaymentIntent.ModifyParamsPaymentMethodOptionKlarna.setup_future_usage, andPaymentIntent.PaymentMethodOption.Klarna.setup_future_usagefromliteral('none')toenum('none'|'off_session'|'on_session') - Add support for
uaonTax.Registration.CountryOptionandtax.Registration.CreateParamsCountryOption - Change type of
terminal.Location.ModifyParams.display_namefromstringtoemptyable(string) - Add support for
collect_payment_methodandconfirm_payment_intentonTerminal.Reader.Action - Add support for new values
collect_payment_methodandconfirm_payment_intenton enumTerminal.Reader.Action.type - Add support for
statusontreasury.FinancialAccount.ListParams - Add support for new value
terminal.reader.action_updatedon enumsWebhookEndpoint.CreateParams.enabled_eventsandWebhookEndpoint.ModifyParams.enabled_events - Add support for new value
2025-06-30.basilon enumWebhookEndpoint.CreateParams.api_version - Add support for snapshot event
terminal.reader.action_updatedwith resourceterminal.Reader
- Add support for
- #1534 Fix the link to releases page from readme
- #1532 Added lint ignore instruction for deprecated import
- #1524 Added import for the new deprecated services in stripe_client
- #1522 Add a new deprecated v1 services section
v12.3.0b2
- #1531 Pull in OffSessionPayment changes for the May release
v12.3.0b1
This release changes the pinned API version to 2025-05-28.preview.
-
#1509 Update generated code for beta
Breaking changes
- Remove support for deprecated previews
- Remove support for resources
billing.MeterErrorReport,gift_cards.Card,gift_cards.Transaction, andprivacy.RedactionJobRootObjects - Remove support for
create,list,modify,retrieve, andvalidatemethods on resourcegift_cards.Card - Remove support for
cancel,confirm,create,list,modify, andretrievemethods on resourcegift_cards.Transaction - Remove support for
provisioningonProduct.CreateParamsandProduct - Remove support for snapshot event
billing.meter_error_report.triggeredwith resourcebilling.MeterErrorReport - Remove support for error codes
gift_card_balance_insufficient,gift_card_code_exists, andgift_card_inactiveonQuotePreviewInvoice.LastFinalizationErrorandStripeError
- Remove support for resources
- Remove support for values
credits_attributed_to_debitsandlegacy_prorationsfrom enumsInvoice.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, andcheckout.Session.CreateParamsSubscriptionDatum.billing_mode - Change type of
checkout.Session.ModifyParamsLineItem.quantityfromemptyable(longInteger)tolongInteger - Change
CreditNote.post_payment_amountto be required - Change
CreditNote.pre_payment_amountto be required - Remove support for
creditsonOrder.CreateParams,Order.ModifyParams, andOrder - Remove support for
amount_remainingonOrder - Remove support for
amount_creditonOrder.TotalDetail - Change type of
PaymentAttemptRecord.metadataandPaymentRecord.metadatafromnullable(map(string: string))tomap(string: string) - Remove support for
async_workflowsonPaymentIntent.CaptureParams,PaymentIntent.ConfirmParams,PaymentIntent.CreateParams,PaymentIntent.DecrementAuthorizationParams,PaymentIntent.IncrementAuthorizationParams,PaymentIntent.ModifyParams, andPaymentIntent - Change type of
PaymentRecord.ReportPaymentAttemptCanceledParams.metadata,PaymentRecord.ReportPaymentAttemptFailedParams.metadata,PaymentRecord.ReportPaymentAttemptGuaranteedParams.metadata,PaymentRecord.ReportPaymentAttemptParams.metadata, andPaymentRecord.ReportPaymentParams.metadatafrommap(string: string)toemptyable(map(string: string)) - Change type of
Privacy.RedactionJob.objectsfrom$Privacy.RedactionJobRootObjectstoRedactionResourceRootObjects - Change type of
Privacy.RedactionJob.statusfromstringtoenum - Change type of
Privacy.RedactionJob.validation_behaviorfromstringtoenum('error'|'fix') - Change type of
Privacy.RedactionJobValidationError.codefromstringtoenum - Change type of
Privacy.RedactionJobValidationError.erroring_objectfrommap(string: string)toRedactionResourceErroringObject - Remove support for
status_detailsandstatusonTax.Association
Other changes
- Add support for
migratemethod on resourceSubscription - Add support for
distance,pickup_location_name,return_location_name, andvehicle_identification_numberonCharge.CaptureParamsPaymentDetailCarRental,Charge.ModifyParamsPaymentDetailCarRental,PaymentIntent.CaptureParamsPaymentDetailCarRental,PaymentIntent.ConfirmParamsPaymentDetailCarRental,PaymentIntent.CreateParamsPaymentDetailCarRental,PaymentIntent.ModifyParamsPaymentDetailCarRental, andPaymentIntent.PaymentDetail.CarRental - Add support for
driver_identification_numberanddriver_tax_numberonCharge.CaptureParamsPaymentDetailCarRentalDriver,Charge.ModifyParamsPaymentDetailCarRentalDriver,PaymentIntent.CaptureParamsPaymentDetailCarRentalDriver,PaymentIntent.ConfirmParamsPaymentDetailCarRentalDriver,PaymentIntent.CreateParamsPaymentDetailCarRentalDriver,PaymentIntent.ModifyParamsPaymentDetailCarRentalDriver, andPaymentIntent.PaymentDetail.CarRental.Driver - Add support for new values
classicandflexibleon enumsInvoice.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, andcheckout.Session.CreateParamsSubscriptionDatum.billing_mode - Add support for
institutiononFinancialConnections.Account - Add support for
countriesonFinancialConnections.Institution - Change type of
Invoice.CreatePreviewParamsSubscriptionDetail.cancel_at,Subscription.CreateParams.cancel_at, andSubscription.ModifyParams.cancel_atfromDateTimetoDateTime | enum('max_period_end'|'min_period_end') - Add support for
locationandreaderonPaymentAttemptRecord.PaymentMethodDetail.Affirm,PaymentAttemptRecord.PaymentMethodDetail.WechatPay,PaymentRecord.PaymentMethodDetail.Affirm, andPaymentRecord.PaymentMethodDetail.WechatPay - Add support for
hooksonPaymentIntent.CaptureParams,PaymentIntent.ConfirmParams,PaymentIntent.CreateParams,PaymentIntent.DecrementAuthorizationParams,PaymentIntent.IncrementAuthorizationParams,PaymentIntent.ModifyParams, andPaymentIntent - Add support for
card_presentonPaymentIntentAmountDetailsLineItem.PaymentMethodOption - Add support for
livemodeonPrivacy.RedactionJob - Add support for
billing_thresholdsonQuotePreviewSubscriptionSchedule.DefaultSetting,QuotePreviewSubscriptionSchedule.Phase.Item, andQuotePreviewSubscriptionSchedule.Phase - Add support for
billing_mode_detailsonSubscription - Add support for
tax_transaction_attemptsonTax.Association - Add support for
confirm_configonTerminal.Reader.Action.ConfirmPaymentIntentandterminal.Reader.ConfirmPaymentIntentParams - Add support for error code
forwarding_api_upstream_erroronQuotePreviewInvoice.LastFinalizationError
- Remove support for deprecated previews
v12.2.0
This release changes the pinned API version to 2025-05-28.basil.
- #1517 Update generated code
- Add support for
attach_paymentmethod on resourceInvoice - Add support for
collect_inputsmethod on resourceterminal.Reader - Add support for
succeed_input_collectionandtimeout_input_collectiontest helper methods on resourceterminal.Reader - Add support for
pix_paymentsonAccount.Capability,Account.CreateParamsCapability, andAccount.ModifyParamsCapability - Add support for
disputes_listandpayment_disputesonAccountSession.ComponentandAccountSession.CreateParamsComponent - Add support for
refund_and_dispute_prefundingonBalance - Add support for
balance_typeonBalanceTransaction - Change
billing.Alert.CreateParamsUsageThreshold.meterto be required - Add support for
locationandreaderonCharge.PaymentMethodDetail.AffirmandCharge.PaymentMethodDetail.WechatPay - Add support for
payment_method_removeoncheckout.Session.CreateParamsSavedPaymentMethodOption - Add support for
setup_future_usageonCheckout.Session.PaymentMethodOption.NaverPay - Change
ConfirmationToken.PaymentMethodPreview.NaverPay.buyer_idandPaymentMethod.NaverPay.buyer_idto be required - Add support for
post_payment_amountandpre_payment_amountonCreditNote - Add support for new value
mixedon enumCreditNote.type - Add support for new value
invoice_payment.paidon enumEvent.type - Add support for
sex,unparsed_place_of_birth, andunparsed_sexonIdentity.VerificationReport.DocumentandIdentity.VerificationSession.VerifiedOutput - Add support for
billing_thresholdsonInvoice.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, andSubscription - Add support for
satispayonPaymentIntent.ConfirmParamsPaymentMethodOption,PaymentIntent.CreateParamsPaymentMethodOption,PaymentIntent.ModifyParamsPaymentMethodOption, andPaymentIntent.PaymentMethodOption - Add support for
capture_methodonPaymentIntent.PaymentMethodOption.Billie - Add support for
kakao_pay,kr_card,naver_pay,payco, andsamsung_payonPaymentMethodConfiguration.CreateParams,PaymentMethodConfiguration.ModifyParams, andPaymentMethodConfiguration - Add support for
network_decline_codeonRefund.DestinationDetail.Paypal - Add support for
metadataonTax.CalculationLineItemandtax.Calculation.CreateParamsLineItem - Add support for new value
simulated_stripe_s700on enumsTerminal.Reader.device_typeandterminal.Reader.ListParams.device_type - Add support for
return_urlonTerminal.Reader.Action.ProcessPaymentIntent.ProcessConfigandterminal.Reader.ProcessPaymentIntentParamsProcessConfig - Add support for
collect_inputsonTerminal.Reader.Action - Add support for new value
collect_inputson enumTerminal.Reader.Action.type - Add support for new value
invoice_payment.paidon enumsWebhookEndpoint.CreateParams.enabled_eventsandWebhookEndpoint.ModifyParams.enabled_events - Add support for new value
2025-05-28.basilon enumWebhookEndpoint.CreateParams.api_version - Add support for snapshot event
invoice_payment.paidwith resourceInvoicePayment - Add support for error code
forwarding_api_upstream_erroronInvoice.LastFinalizationError,PaymentIntent.LastPaymentError,SetupAttempt.SetupError,SetupIntent.LastSetupError, andStripeError
- Add support for
- #1511 Adds CONTRIBUTING.md
v12.2.0b1
This release changes the pinned API version to 2025-04-30.preview.
- #1501 Update generated code for beta
- Add support for
billing_modeonInvoice.CreatePreviewParamsScheduleDetail,Invoice.CreatePreviewParamsSubscriptionDetail,InvoiceService.CreatePreviewParamsScheduleDetail,InvoiceService.CreatePreviewParamsSubscriptionDetail,Quote.SubscriptionDatum,QuotePreviewSubscriptionSchedule,SubscriptionSchedule,Subscription,checkout.Session.CreateParamsSubscriptionDatum, andcheckout.SessionService.CreateParamsSubscriptionDatum - Add support for new value
balance_settings.updatedon enumEvent.type - Add support for new value
balance_settings.updatedon enumsWebhookEndpoint.ModifyParams.enabled_eventsandWebhookEndpointService.UpdateParams.enabled_events
- Add support for
- #1498 Update generated code for beta
- Add support for new values
aw_tin,az_tin,bd_bin,bf_ifu,bj_ifu,cm_niu,cv_nif,et_tin,kg_tin, andla_tinon enumsCheckout.Session.CollectedInformation.TaxId.type,Checkout.Session.CustomerDetail.TaxId.type,Invoice.CustomerTaxId.type,Order.TaxDetail.TaxId.type,QuotePreviewInvoice.CustomerTaxId.type,Tax.Calculation.CustomerDetail.TaxId.type,Tax.Transaction.CustomerDetail.TaxId.type, andTaxId.type - Change
Checkout.Session.AutomaticTax.provider,Invoice.AutomaticTax.provider,Quote.AutomaticTax.provider, andQuotePreviewInvoice.AutomaticTax.providerto be required - Add support for
account_numberonConfirmationToken.PaymentMethodPreview.AcssDebitandPaymentMethod.AcssDebit - Add support for new values
aw_tin,az_tin,bd_bin,bf_ifu,bj_ifu,cm_niu,cv_nif,et_tin,kg_tin, andla_tinon enumsCustomer.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, andtax.CalculationService.CreateParamsCustomerDetailTaxId.type - Change type of
InvoiceLineItem.Parent.SubscriptionItemDetail.subscriptionfromstringtonullable(string) - Add support for
billing_modeonQuote.CreateParamsSubscriptionDatum,QuoteService.CreateParamsSubscriptionDatum,Subscription.CreateParams,SubscriptionSchedule.CreateParams,SubscriptionScheduleService.CreateParams, andSubscriptionService.CreateParams - Add support for
bf,cm, andcvonTax.Registration.CountryOption,tax.Registration.CreateParamsCountryOption, andtax.RegistrationService.CreateParamsCountryOption - Add support for new value
2025-04-30.basilon enumsWebhookEndpoint.CreateParams.api_versionandWebhookEndpointService.CreateParams.api_version
- Add support for new values