Releases: stripe/stripe-python
v15.1.0a3
- #1789 Update generated code for private-preview
- Add support for
payment_recordonApplicationFee.FeeSource - Add support for
fleet_dataonChargeCaptureParamsPaymentDetail,ChargeModifyParamsPaymentDetail,PaymentIntent.PaymentDetail,PaymentIntentAmountDetailsLineItem.PaymentMethodOption.Card,PaymentIntentCaptureParamsAmountDetailLineItemPaymentMethodOptionCard,PaymentIntentCaptureParamsPaymentDetail,PaymentIntentConfirmParamsAmountDetailLineItemPaymentMethodOptionCard,PaymentIntentConfirmParamsPaymentDetail,PaymentIntentCreateParamsAmountDetailLineItemPaymentMethodOptionCard,PaymentIntentCreateParamsPaymentDetail,PaymentIntentDecrementAuthorizationParamsAmountDetailLineItemPaymentMethodOptionCard,PaymentIntentIncrementAuthorizationParamsAmountDetailLineItemPaymentMethodOptionCard,PaymentIntentModifyParamsAmountDetailLineItemPaymentMethodOptionCard, andPaymentIntentModifyParamsPaymentDetail - Add support for
beneficiary_account,beneficiary_details,sender_account, andsender_detailsonChargeCaptureParamsPaymentDetailMoneyServiceAccountFunding,ChargeModifyParamsPaymentDetailMoneyServiceAccountFunding,PaymentIntentCaptureParamsPaymentDetailMoneyServiceAccountFunding,PaymentIntentConfirmParamsPaymentDetailMoneyServiceAccountFunding,PaymentIntentCreateParamsPaymentDetailMoneyServiceAccountFunding, andPaymentIntentModifyParamsPaymentDetailMoneyServiceAccountFunding - Change type of
ChargeCaptureParamsPaymentDetailMoneyService.transaction_type,ChargeModifyParamsPaymentDetailMoneyService.transaction_type,PaymentIntentCaptureParamsPaymentDetailMoneyService.transaction_type,PaymentIntentConfirmParamsPaymentDetailMoneyService.transaction_type,PaymentIntentCreateParamsPaymentDetailMoneyService.transaction_type, andPaymentIntentModifyParamsPaymentDetailMoneyService.transaction_typefromliteral('account_funding')toemptyable(literal('account_funding')) ⚠️ Add support for new valuerequires_actionon enumDelegatedCheckout.RequestedSession.status- Add support for
bizumonInvoice.PaymentSetting.PaymentMethodOption,InvoiceCreateParamsPaymentSettingPaymentMethodOption,InvoiceModifyParamsPaymentSettingPaymentMethodOption,QuotePreviewInvoice.PaymentSetting.PaymentMethodOption,Subscription.PaymentSetting.PaymentMethodOption,SubscriptionCreateParamsPaymentSettingPaymentMethodOption, andSubscriptionModifyParamsPaymentSettingPaymentMethodOption ⚠️ Add support for new valuebizumon enumsInvoice.PaymentSetting.payment_method_types,InvoiceCreateParamsPaymentSetting.payment_method_types,InvoiceModifyParamsPaymentSetting.payment_method_types,QuotePreviewInvoice.PaymentSetting.payment_method_types,Subscription.PaymentSetting.payment_method_types,SubscriptionCreateParamsPaymentSetting.payment_method_types, andSubscriptionModifyParamsPaymentSetting.payment_method_types- Add support for
quantity_precisiononPaymentIntentAmountDetailsLineItem,PaymentIntentCaptureParamsAmountDetailLineItem,PaymentIntentConfirmParamsAmountDetailLineItem,PaymentIntentCreateParamsAmountDetailLineItem,PaymentIntentDecrementAuthorizationParamsAmountDetailLineItem,PaymentIntentIncrementAuthorizationParamsAmountDetailLineItem, andPaymentIntentModifyParamsAmountDetailLineItem - Add support for
liquid_assetandwalletonPaymentIntentConfirmParamsPaymentMethodOptionCardPaymentDetailMoneyServiceAccountFunding,PaymentIntentConfirmParamsPaymentMethodOptionCardPresentPaymentDetailMoneyServiceAccountFunding,PaymentIntentCreateParamsPaymentMethodOptionCardPaymentDetailMoneyServiceAccountFunding,PaymentIntentCreateParamsPaymentMethodOptionCardPresentPaymentDetailMoneyServiceAccountFunding,PaymentIntentModifyParamsPaymentMethodOptionCardPaymentDetailMoneyServiceAccountFunding, andPaymentIntentModifyParamsPaymentMethodOptionCardPresentPaymentDetailMoneyServiceAccountFunding - Add support for
shared_payment_granted_tokenonPaymentMethod ⚠️ Change type ofRadar.CustomerEvaluation.event_typefromstringtoenum('login'|'registration')⚠️ Change type ofRadar.CustomerEvaluation.Signal.AccountSharing.risk_levelandRadar.CustomerEvaluation.Signal.MultiAccounting.risk_levelfromstringtoenum- Add support for
dataonRadar.PaymentEvaluation.ClientDeviceMetadataDetailandradar.PaymentEvaluationCreateParamsClientDeviceMetadataDetail - Add support for
sunbitonSharedPayment.GrantedToken.PaymentMethodDetail ⚠️ Add support for new valuesunbiton enumSharedPayment.GrantedToken.PaymentMethodDetail.type⚠️ Remove support for valuesbm_crn,bo_tin,bt_tpn,co_nit,ec_ruc,eg_tin,gh_tin,gy_tin,hn_rtn,jm_trn,jo_crn,ke_pin,ky_crn,lk_tin,mo_tin,mv_tin,ng_tin,pa_ruc,ph_tin,py_ruc,sl_tin,sv_nit,uy_ruc,vg_cn, andza_tinfrom enumsV2.Core.Account.Identity.BusinessDetail.IdNumber.type,v2.core.AccountCreateParamsIdentityBusinessDetailIdNumber.type,v2.core.AccountModifyParamsIdentityBusinessDetailIdNumber.type, andv2.core.AccountTokenCreateParamsIdentityBusinessDetailIdNumber.type⚠️ Remove support for valuesbm_pp,bo_ci,bt_cid,eg_tin,gh_pin,gy_tin,hn_rtn,jm_trn,jo_pin,ky_pp,lk_nic,mo_bir,mt_nic,mv_tin,pa_ruc,ph_tin,py_ruc,si_pin,sv_nit, andvg_ppfrom enumsV2.Core.Account.Identity.Individual.IdNumber.type,V2.Core.AccountPerson.IdNumber.type,v2.core.AccountCreateParamsIdentityIndividualIdNumber.type,v2.core.AccountModifyParamsIdentityIndividualIdNumber.type,v2.core.AccountPersonCreateParamsIdNumber.type,v2.core.AccountPersonModifyParamsIdNumber.type,v2.core.AccountPersonTokenCreateParamsIdNumber.type, andv2.core.AccountTokenCreateParamsIdentityIndividualIdNumber.type- Add support for error type
CannotProceedError
- Add support for
v15.1.0b2
- Please refer to the changelog for v15.0.1
v15.1.0a2
- #1778 Update generated code for private-preview
- Add support for new resources
shared_payment.IssuedTokenandv2.data.reporting.QueryRun - Add support for
createandretrievemethods on resourcev2.data.reporting.QueryRun - Add support for
pauseandresumemethods on resourcev2.payments.OffSessionPayment - Add support for
tenant_keys,tenant_operator, andtenant_valuesonbilling.BillingMeterListMeterEventSummaryParams - Add support for
money_servicesonChargeCaptureParamsPaymentDetail,ChargeModifyParamsPaymentDetail,PaymentIntentCaptureParamsPaymentDetail,PaymentIntentConfirmParamsPaymentDetail,PaymentIntentCreateParamsPaymentDetail, andPaymentIntentModifyParamsPaymentDetail - Add support for
payment_method_optionsonDelegatedCheckout.RequestedSession,delegated_checkout.RequestedSessionCreateParams, anddelegated_checkout.RequestedSessionModifyParams ⚠️ Remove support forpayment_method_dataondelegated_checkout.RequestedSessionConfirmParams,delegated_checkout.RequestedSessionCreateParams, anddelegated_checkout.RequestedSessionModifyParams- Add support for
card_brandsandpayment_method_typesonDelegatedCheckout.RequestedSession.SellerDetail ⚠️ Change type ofDelegatedCheckout.RequestedSession.shared_payment_issued_tokenfromstringtoexpandable($SharedPayment.IssuedToken)- Add support for
check_scanonInvoice.PaymentSetting.PaymentMethodOption,InvoiceCreateParamsPaymentSettingPaymentMethodOption,InvoiceModifyParamsPaymentSettingPaymentMethodOption,QuotePreviewInvoice.PaymentSetting.PaymentMethodOption,Subscription.PaymentSetting.PaymentMethodOption,SubscriptionCreateParamsPaymentSettingPaymentMethodOption, andSubscriptionModifyParamsPaymentSettingPaymentMethodOption ⚠️ Add support for new valuecheck_scanon enumsInvoice.PaymentSetting.payment_method_types,InvoiceCreateParamsPaymentSetting.payment_method_types,InvoiceModifyParamsPaymentSetting.payment_method_types,QuotePreviewInvoice.PaymentSetting.payment_method_types,Subscription.PaymentSetting.payment_method_types,SubscriptionCreateParamsPaymentSetting.payment_method_types, andSubscriptionModifyParamsPaymentSetting.payment_method_types- Add support for
processor_detailsonPaymentAttemptRecordReportFailedParams,PaymentAttemptRecordReportGuaranteedParams,PaymentRecordReportPaymentAttemptFailedParams,PaymentRecordReportPaymentAttemptGuaranteedParams,PaymentRecordReportPaymentAttemptParamsFailed,PaymentRecordReportPaymentAttemptParamsGuaranteed,PaymentRecordReportPaymentParamsFailed, andPaymentRecordReportPaymentParamsGuaranteed - Add support for
payment_detailsonPaymentIntentConfirmParamsPaymentMethodOptionCardPresent,PaymentIntentConfirmParamsPaymentMethodOptionCard,PaymentIntentCreateParamsPaymentMethodOptionCardPresent,PaymentIntentCreateParamsPaymentMethodOptionCard,PaymentIntentModifyParamsPaymentMethodOptionCardPresent, andPaymentIntentModifyParamsPaymentMethodOptionCard ⚠️ Remove support forbill_fromonQuotePreviewSubscriptionSchedule.BillingSchedule,Subscription.BillingSchedule, andSubscriptionSchedule.BillingSchedule- Add support for
agent_details,payment_method_details, andrisk_detailsonSharedPayment.GrantedToken - Add support for
paper_checksonV2.Account.Configuration.RecipientDatum.Feature,V2.Core.Account.Configuration.Recipient.Capability,V2.Core.Account.Configuration.Storer.Capability.OutboundPayment,v2.AccountCreateParamsConfigurationRecipientDatumFeature,v2.AccountModifyParamsConfigurationRecipientDatumFeature,v2.core.AccountCreateParamsConfigurationRecipientCapability,v2.core.AccountCreateParamsConfigurationStorerCapabilityOutboundPayment,v2.core.AccountModifyParamsConfigurationRecipientCapability, andv2.core.AccountModifyParamsConfigurationStorerCapabilityOutboundPayment ⚠️ Add support for new valuepaper_checkson enumV2.Account.Configuration.SupportableFeature.recipient_data⚠️ Add support for new valuepaper_checkson enumV2.Account.Requirement.Impact.required_for_features⚠️ Change type ofV2.Billing.Cadence.SettingsDatum.Collection.PaymentMethodOption.konbini,V2.Billing.CollectionSetting.PaymentMethodOption.konbini,V2.Billing.CollectionSettingVersion.PaymentMethodOption.konbini,v2.billing.CollectionSettingCreateParamsPaymentMethodOption.konbini, andv2.billing.CollectionSettingModifyParamsPaymentMethodOption.konbinifrommap(string: dynamic)toan object⚠️ Change type ofV2.Billing.Cadence.SettingsDatum.Collection.PaymentMethodOption.sepa_debit,V2.Billing.CollectionSetting.PaymentMethodOption.sepa_debit,V2.Billing.CollectionSettingVersion.PaymentMethodOption.sepa_debit,v2.billing.CollectionSettingCreateParamsPaymentMethodOption.sepa_debit, andv2.billing.CollectionSettingModifyParamsPaymentMethodOption.sepa_debitfrommap(string: dynamic)toan object- Add support for
idonV2.Billing.CadenceSpendModifier.MaxBillingPeriodSpend.Amount.CustomPricingUnit,V2.Billing.IntentAction.Apply.SpendModifierRule.MaxBillingPeriodSpend.Amount.CustomPricingUnit, andv2.billing.IntentCreateParamsActionApplySpendModifierRuleMaxBillingPeriodSpendAmountCustomPricingUnit ⚠️ Add support for new valuesoutbound_payments.paper_checksandpaper_checkson enumsV2.Core.Account.FutureRequirement.Entry.Impact.RestrictsCapability.capabilityandV2.Core.Account.Requirement.Entry.Impact.RestrictsCapability.capability⚠️ Add support for new valuesbm_crn,bo_tin,bt_tpn,co_nit,ec_ruc,eg_tin,gh_tin,gy_tin,hn_rtn,jm_trn,jo_crn,ke_pin,ky_crn,lk_tin,mo_tin,mv_tin,ng_tin,pa_ruc,ph_tin,py_ruc,sl_tin,sv_nit,uy_ruc,vg_cn, andza_tinon enumsV2.Core.Account.Identity.BusinessDetail.IdNumber.type,v2.core.AccountCreateParamsIdentityBusinessDetailIdNumber.type,v2.core.AccountModifyParamsIdentityBusinessDetailIdNumber.type, andv2.core.AccountTokenCreateParamsIdentityBusinessDetailIdNumber.type⚠️ Add support for new valuesbm_pp,bo_ci,bt_cid,eg_tin,gh_pin,gy_tin,hn_rtn,jm_trn,jo_pin,ky_pp,lk_nic,mo_bir,mt_nic,mv_tin,pa_ruc,ph_tin,py_ruc,si_pin,sv_nit, andvg_ppon enumsV2.Core.Account.Identity.Individual.IdNumber.type,V2.Core.AccountPerson.IdNumber.type,v2.core.AccountCreateParamsIdentityIndividualIdNumber.type,v2.core.AccountModifyParamsIdentityIndividualIdNumber.type,v2.core.AccountPersonCreateParamsIdNumber.type,v2.core.AccountPersonModifyParamsIdNumber.type,v2.core.AccountPersonTokenCreateParamsIdNumber.type, andv2.core.AccountTokenCreateParamsIdentityIndividualIdNumber.type⚠️ Change type ofV2.Core.Event.Reason.Request.Client.stripe_actionfrommap(string: dynamic)toan object⚠️ Change type ofV2.MoneyManagement.InboundTransfer.TransferHistory.bank_debit_processingfrommap(string: dynamic)toan object⚠️ Change type ofV2.MoneyManagement.InboundTransfer.TransferHistory.bank_debit_queuedfrommap(string: dynamic)toan object⚠️ Change type ofV2.MoneyManagement.InboundTransfer.TransferHistory.bank_debit_succeededfrommap(string: dynamic)toan object⚠️ Add support for new valuespaper_check_attachment_too_large,paper_check_expired, andpaper_check_undeliverableon enumV2.MoneyManagement.OutboundPayment.StatusDetail.Failed.reason⚠️ Remove support fortownonV2.MoneyManagement.OutboundPayment.TrackingDetail.PaperCheck.MailingAddress- Change
V2.MoneyManagement.OutboundPayment.DeliveryOption.PaperCheck.memoto be required ⚠️ Add support for new valuepayout_method_amount_limit_exceededon enumV2.MoneyManagement.OutboundTransfer.StatusDetail.Failed.reason- Add support for
application_fee_amount_requestedonV2.Payments.OffSessionPayment ⚠️ Remove support forcompartment_idonV2.Payments.OffSessionPayment⚠️ Add support for new valueexceeded_retry_windowon enumV2.Payments.OffSessionPayment.failure_reason- Add support for
retry_untilonV2.Payments.OffSessionPayment.RetryDetail ⚠️ Add support for new valuepausedon enumV2.Payments.OffSessionPayment.status⚠️ ChangeV2.Reporting.ReportRun.Result.fileto be optional- Add support for
application_fee_amountonv2.payments.OffSessionPaymentCaptureParamsandv2.payments.OffSessionPaymentCreateParams ⚠️ Add support for new valuepaper_checkson enumEventsV2CoreAccountIncludingConfigurationRecipientCapabilityStatusUpdatedEvent.updated_capability⚠️ Add support for new valueoutbound_payments.paper_checkson enumEventsV2CoreAccountIncludingConfigurationStorerCapabilityStatusUpdatedEvent.updated_capability- Add support for
alert_idonEventsV2CoreHealthApiErrorResolvedEvent,EventsV2CoreHealthApiLatencyResolvedEvent,EventsV2CoreHealthAuthorizationRateDropResolvedEvent,EventsV2CoreHealthIssuingAuthorizationRequestErrorsFiringEvent,EventsV2CoreHealthIssuingAuthorizationRequestErrorsResolvedEvent,EventsV2CoreHealthIssuingAuthorizationRequestTimeoutResolvedEvent,EventsV2CoreHealthPaymentMethodErrorResolvedEvent,EventsV2CoreHealthSepaDebitDelayedFiringEvent,EventsV2CoreHealthSepaDebitDelayedResolvedEvent,EventsV2CoreHealthTrafficVolumeDropResolvedEvent, andEventsV2CoreHealthWebhookLatencyResolvedEvent - Add support for
api_keyonEventsV2IamApiKeyCreatedEvent,EventsV2IamApiKeyDefaultSecretRevealedEvent,EventsV2IamApiKeyExpiredEvent,EventsV2IamApiKeyPermissionsUpdatedEvent,EventsV2IamApiKeyRotatedEvent, andEventsV2IamApiKeyUpdatedEvent - Add support for
stripe_access_grantonEventsV2IamStripeAccessGrantApprovedEvent, `EventsV2IamStripeAccessGrantCanc...
- Add support for new resources
v15.0.1
v15.1.0b1
This release changes the pinned API version to 2026-03-25.preview. It is built on top of SDK version 15.0.0 which contains breaking changes. Please review the changelog for 15.0.0 if upgrading from older SDK versions.
- #1774 Update generated code for beta
- #1772 Update generated code for beta
- Release specs are identical.
- #1742 Update generated code for beta
- Add support for new resources
product_catalog.TrialOffer,tax.Location, andv2.core.BatchJob - Add support for
createmethod on resourceproduct_catalog.TrialOffer - Add support for
create,list, andretrievemethods on resourcetax.Location - Add support for
cancel,create, andretrievemethods on resourcev2.core.BatchJob - Add support for
performance_locationonTax.CalculationLineItemandtax.CalculationCreateParamsLineItem ⚠️ Add support for new valueperformanceon enumsTax.Calculation.ShippingCost.TaxBreakdown.sourcing,Tax.CalculationLineItem.TaxBreakdown.sourcing, andTax.Transaction.ShippingCost.TaxBreakdown.sourcing⚠️ Add support for new valuesadmissions_tax,attendance_tax,entertainment_tax,gross_receipts_tax,hospitality_tax,luxury_tax,resort_tax, andtourism_taxon enumsTax.Calculation.ShippingCost.TaxBreakdown.TaxRateDetail.tax_type,Tax.Calculation.TaxBreakdown.TaxRateDetail.tax_type,Tax.CalculationLineItem.TaxBreakdown.TaxRateDetail.tax_type, andTax.Transaction.ShippingCost.TaxBreakdown.TaxRateDetail.tax_type- Add support for
trial_offeronInvoiceCreatePreviewParamsScheduleDetailAmendmentItemActionAdd,InvoiceCreatePreviewParamsScheduleDetailAmendmentItemActionSet,InvoiceCreatePreviewParamsScheduleDetailPhaseItem,QuoteCreateParamsLineActionAddItem,QuoteCreateParamsLineActionSetItem,QuoteLine.Action.AddItem,QuoteLine.Action.SetItem,QuoteModifyParamsLineActionAddItem,QuoteModifyParamsLineActionSetItem,QuotePreviewSubscriptionSchedule.Phase.Item,SubscriptionSchedule.Phase.Item,SubscriptionScheduleAmendParamsAmendmentItemActionAdd,SubscriptionScheduleAmendParamsAmendmentItemActionSet,SubscriptionScheduleCreateParamsPhaseItem, andSubscriptionScheduleModifyParamsPhaseItem - Add support for
risk_reservedonBalance ⚠️ Remove support forsource_typeonCharge.PaymentMethodDetail.StripeBalance,ConfirmationToken.PaymentMethodPreview.StripeBalance,ConfirmationTokenCreateParamsPaymentMethodDatumStripeBalance,PaymentAttemptRecord.PaymentMethodDetail.StripeBalance,PaymentIntentConfirmParamsPaymentMethodDatumStripeBalance,PaymentIntentCreateParamsPaymentMethodDatumStripeBalance,PaymentIntentModifyParamsPaymentMethodDatumStripeBalance,PaymentMethod.StripeBalance,PaymentMethodCreateParamsStripeBalance,PaymentRecord.PaymentMethodDetail.StripeBalance,SetupIntentConfirmParamsPaymentMethodDatumStripeBalance,SetupIntentCreateParamsPaymentMethodDatumStripeBalance, andSetupIntentModifyParamsPaymentMethodDatumStripeBalance- Add support for
tax_detailsonInvoiceAddLinesParamsLinePriceDatumProductDatum,InvoiceLineItemModifyParamsPriceDatumProductDatum,InvoiceUpdateLinesParamsLinePriceDatumProductDatum,PaymentLinkCreateParamsLineItemPriceDatumProductDatum,PlanCreateParamsProduct,PriceCreateParamsProductDatum,ProductCreateParams,ProductModifyParams,checkout.SessionCreateParamsLineItemPriceDatumProductDatum, andcheckout.SessionModifyParamsLineItemPriceDatumProductDatum - Add support for
pending_invoice_item_intervaloncheckout.SessionModifyParamsSubscriptionDatum - Add support for
hostedandui_modeonFinancialConnections.Sessionandfinancial_connections.SessionCreateParams - Add support for
urlonFinancialConnections.Session - Add support for
expires_after_secondsonInvoice.PaymentSetting.PaymentMethodOption.Pix,InvoiceCreateParamsPaymentSettingPaymentMethodOptionPix,InvoiceModifyParamsPaymentSettingPaymentMethodOptionPix,QuotePreviewInvoice.PaymentSetting.PaymentMethodOption.Pix,Subscription.PaymentSetting.PaymentMethodOption.Pix,SubscriptionCreateParamsPaymentSettingPaymentMethodOptionPix, andSubscriptionModifyParamsPaymentSettingPaymentMethodOptionPix - Add support for
current_trialonInvoiceCreatePreviewParamsSubscriptionDetailItem,SubscriptionCreateParamsItem,SubscriptionItemCreateParams,SubscriptionItemModifyParams,SubscriptionItem, andSubscriptionModifyParamsItem - Add support for
surchargeonPaymentIntent.AmountDetail,PaymentIntentCaptureParamsAmountDetail,PaymentIntentConfirmParamsAmountDetail,PaymentIntentCreateParamsAmountDetail,PaymentIntentIncrementAuthorizationParamsAmountDetail, andPaymentIntentModifyParamsAmountDetail - Add support for
amount_detailsandpayment_detailsonPaymentIntentDecrementAuthorizationParams - Add support for
mandate_optionsonPaymentIntent.PaymentMethodOption.StripeBalance - Add support for
managed_paymentsonPaymentLinkCreateParamsandPaymentLink - Add support for
stripe_balanceonSetupIntent.PaymentMethodOption,SetupIntentConfirmParamsPaymentMethodOption,SetupIntentCreateParamsPaymentMethodOption, andSetupIntentModifyParamsPaymentMethodOption - Add support for
billing_cycle_anchoronSubscription.TrialSetting.EndBehavior,SubscriptionCreateParamsTrialSettingEndBehavior, andSubscriptionModifyParamsTrialSettingEndBehavior ⚠️ Add support for new valuesadmissions_tax,attendance_tax,entertainment_tax,gross_receipts_tax,hospitality_tax,luxury_tax,resort_tax, andtourism_taxon enumsTax.Registration.CountryOption.Me.typeandtax.RegistrationCreateParamsCountryOptionMe.type- Add support for
admissions_tax,attendance_tax,entertainment_tax,gross_receipts_tax,hospitality_tax,luxury_tax,resort_tax, andtourism_taxonTax.Registration.CountryOption.Me - Add support for
requirementsonTaxCode ⚠️ Change type ofV2.Billing.Cadence.SettingsDatum.Collection.PaymentMethodOption.Card.MandateOption.amount,V2.Billing.CollectionSetting.PaymentMethodOption.Card.MandateOption.amount,V2.Billing.CollectionSettingVersion.PaymentMethodOption.Card.MandateOption.amount,v2.billing.CollectionSettingCreateParamsPaymentMethodOptionCardMandateOption.amount, andv2.billing.CollectionSettingModifyParamsPaymentMethodOptionCardMandateOption.amountfromlongIntegertoint64_string⚠️ Add support for new valuesar_bank_account,co_bank_account, andeg_bank_accounton enumV2.Core.Account.Configuration.Recipient.DefaultOutboundDestination.type- Add support for
timezoneonV2.Core.Account.Default,v2.core.AccountCreateParamsDefault, andv2.core.AccountModifyParamsDefault - Add support for
azure_event_gridonV2.Core.EventDestinationandv2.core.EventDestinationCreateParams ⚠️ Add support for new valueno_azure_partner_topic_existson enumV2.Core.EventDestination.StatusDetail.Disabled.reason⚠️ Add support for new valueazure_event_gridon enumsV2.Core.EventDestination.typeandv2.core.EventDestinationCreateParams.type- Add support for
supported_currenciesonV2.Core.Vault.GbBankAccount,V2.Core.Vault.UsBankAccount, andV2.MoneyManagement.PayoutMethod.Card ⚠️ ChangeV2.Core.Vault.GbBankAccount.sort_codeandv2.core.vault.GbBankAccountCreateParams.sort_codeto be optional- Add support for
restrictedonV2.MoneyManagement.PayoutMethod - Add support for
currenciesonV2.MoneyManagement.PayoutMethodsBankAccountSpec.Country.Field - Add support for
counterpartyanddescriptiononV2.MoneyManagement.Transaction ⚠️ Add support forcurrencyonv2.core.vault.GbBankAccountCreateParams,v2.core.vault.UsBankAccountCreateParams,v2.money_management.OutboundSetupIntentCreateParamsPayoutMethodDatumBankAccount,v2.money_management.OutboundSetupIntentCreateParamsPayoutMethodDatumCard,v2.money_management.OutboundSetupIntentModifyParamsPayoutMethodDatumBankAccount, andv2.money_management.OutboundSetupIntentModifyParamsPayoutMethodDatumCard- Add support for
ibanonv2.core.vault.GbBankAccountCreateParams - Change
v2.core.vault.GbBankAccountCreateParams.account_numberto be optional ⚠️ Add support for new valuecurrencyon enumInvalidPaymentMethodError.invalid_param- Add support for event notifications
V2CoreBatchJobBatchFailedEvent,V2CoreBatchJobCanceledEvent,V2CoreBatchJobCompletedEvent,V2CoreBatchJobCreatedEvent,V2CoreBatchJobReadyForUploadEvent,V2CoreBatchJobTimeoutEvent,V2CoreBatchJobUpdatedEvent,V2CoreBatchJobUploadTimeoutEvent,V2CoreBatchJobValidatingEvent, andV2CoreBatchJobValidationFailedEventwith related objectv2.core.BatchJob - Add support for error code
service_period_coupon_with_metered_tiered_item_unsupportedonQuotePreviewInvoice.LastFinalizationError
- Add support for new resources
- #1765 Merge to beta
- #1753 Merge to beta
- #1745 Merge to beta
- #1713 Delete API_VERSION file as it is no longer needed
v15.1.0a1
This release changes the pinned API version to 2026-03-25.preview and contains additional breaking changes. See the GA changelog for more information.
- #1776 Update generated code for private-preview
- Add support for new resource
RiskSignals - Add support for
financial_account_rewardsandnesting_demoonAccountSession.Component - Add support for
upi_paymentsonAccount.Capability,AccountCreateParamsCapability, andAccountModifyParamsCapability - Add support for
risk_signalsonAccount - Add support for
fraud_intentonAccountSignals ⚠️ Add support for new valuerelated_accountson enumAccountSignals.Delinquency.Indicator.indicator- Add support for
risk_reservedonBalance ⚠️ Remove support forbillable_itemsonBilling.Alert.SpendThreshold.Filter- Add support for
upionCharge.PaymentMethodDetail,Checkout.Session.PaymentMethodOption,ConfirmationToken.PaymentMethodPreview,ConfirmationTokenCreateParamsPaymentMethodDatum,Mandate.PaymentMethodDetail,PaymentAttemptRecord.PaymentMethodDetail,PaymentIntent.PaymentMethodOption,PaymentIntentConfirmParamsPaymentMethodDatum,PaymentIntentConfirmParamsPaymentMethodOption,PaymentIntentCreateParamsPaymentMethodDatum,PaymentIntentCreateParamsPaymentMethodOption,PaymentIntentModifyParamsPaymentMethodDatum,PaymentIntentModifyParamsPaymentMethodOption,PaymentMethodConfigurationCreateParams,PaymentMethodConfigurationModifyParams,PaymentMethodConfiguration,PaymentMethodCreateParams,PaymentMethod,PaymentRecord.PaymentMethodDetail,SetupAttempt.PaymentMethodDetail,SetupIntent.PaymentMethodOption,SetupIntentConfirmParamsPaymentMethodDatum,SetupIntentConfirmParamsPaymentMethodOption,SetupIntentCreateParamsPaymentMethodDatum,SetupIntentCreateParamsPaymentMethodOption,SetupIntentModifyParamsPaymentMethodDatum,SetupIntentModifyParamsPaymentMethodOption, andcheckout.SessionCreateParamsPaymentMethodOption ⚠️ Add support for new valuetempoon enumsCharge.PaymentMethodDetail.Crypto.network,PaymentAttemptRecord.PaymentMethodDetail.Crypto.network, andPaymentRecord.PaymentMethodDetail.Crypto.network⚠️ Remove support forsource_typeonCharge.PaymentMethodDetail.StripeBalance,ConfirmationToken.PaymentMethodPreview.StripeBalance,ConfirmationTokenCreateParamsPaymentMethodDatumStripeBalance,PaymentAttemptRecord.PaymentMethodDetail.StripeBalance,PaymentIntentConfirmParamsPaymentMethodDatumStripeBalance,PaymentIntentCreateParamsPaymentMethodDatumStripeBalance,PaymentIntentModifyParamsPaymentMethodDatumStripeBalance,PaymentMethod.StripeBalance,PaymentMethodCreateParamsStripeBalance,PaymentRecord.PaymentMethodDetail.StripeBalance,SetupIntentConfirmParamsPaymentMethodDatumStripeBalance,SetupIntentCreateParamsPaymentMethodDatumStripeBalance, andSetupIntentModifyParamsPaymentMethodDatumStripeBalance- Add support for
integration_identifieronCheckout.Sessionandcheckout.SessionCreateParams ⚠️ Add support for new valueapplicationon enumsCheckout.Session.AutomaticTax.Liability.type,Checkout.Session.InvoiceCreation.InvoiceDatum.Issuer.type,Invoice.AutomaticTax.Liability.type,Invoice.Issuer.type,InvoiceCreateParamsAutomaticTaxLiability.type,InvoiceCreateParamsIssuer.type,InvoiceCreatePreviewParamsAutomaticTaxLiability.type,InvoiceCreatePreviewParamsIssuer.type,InvoiceCreatePreviewParamsScheduleDetailPhaseAutomaticTaxLiability.type,InvoiceCreatePreviewParamsScheduleDetailPhaseInvoiceSettingIssuer.type,InvoiceModifyParamsAutomaticTaxLiability.type,InvoiceModifyParamsIssuer.type,PaymentLink.AutomaticTax.Liability.type,PaymentLink.InvoiceCreation.InvoiceDatum.Issuer.type,PaymentLink.SubscriptionDatum.InvoiceSetting.Issuer.type,PaymentLinkCreateParamsAutomaticTaxLiability.type,PaymentLinkCreateParamsInvoiceCreationInvoiceDatumIssuer.type,PaymentLinkCreateParamsSubscriptionDatumInvoiceSettingIssuer.type,PaymentLinkModifyParamsAutomaticTaxLiability.type,PaymentLinkModifyParamsInvoiceCreationInvoiceDatumIssuer.type,PaymentLinkModifyParamsSubscriptionDatumInvoiceSettingIssuer.type,Quote.AutomaticTax.Liability.type,Quote.InvoiceSetting.Issuer.type,QuoteCreateParamsAutomaticTaxLiability.type,QuoteCreateParamsInvoiceSettingIssuer.type,QuoteModifyParamsAutomaticTaxLiability.type,QuoteModifyParamsInvoiceSettingIssuer.type,QuotePreviewInvoice.AutomaticTax.Liability.type,QuotePreviewInvoice.Issuer.type,QuotePreviewSubscriptionSchedule.DefaultSetting.AutomaticTax.Liability.type,QuotePreviewSubscriptionSchedule.DefaultSetting.InvoiceSetting.Issuer.type,QuotePreviewSubscriptionSchedule.Phase.AutomaticTax.Liability.type,QuotePreviewSubscriptionSchedule.Phase.InvoiceSetting.Issuer.type,Subscription.AutomaticTax.Liability.type,Subscription.InvoiceSetting.Issuer.type,SubscriptionCreateParamsAutomaticTaxLiability.type,SubscriptionCreateParamsInvoiceSettingIssuer.type,SubscriptionModifyParamsAutomaticTaxLiability.type,SubscriptionModifyParamsInvoiceSettingIssuer.type,SubscriptionSchedule.DefaultSetting.AutomaticTax.Liability.type,SubscriptionSchedule.DefaultSetting.InvoiceSetting.Issuer.type,SubscriptionSchedule.Phase.AutomaticTax.Liability.type,SubscriptionSchedule.Phase.InvoiceSetting.Issuer.type,SubscriptionScheduleCreateParamsDefaultSettingAutomaticTaxLiability.type,SubscriptionScheduleCreateParamsDefaultSettingInvoiceSettingIssuer.type,SubscriptionScheduleCreateParamsPhaseAutomaticTaxLiability.type,SubscriptionScheduleCreateParamsPhaseInvoiceSettingIssuer.type,SubscriptionScheduleModifyParamsDefaultSettingAutomaticTaxLiability.type,SubscriptionScheduleModifyParamsDefaultSettingInvoiceSettingIssuer.type,SubscriptionScheduleModifyParamsPhaseAutomaticTaxLiability.type,SubscriptionScheduleModifyParamsPhaseInvoiceSettingIssuer.type,checkout.SessionCreateParamsAutomaticTaxLiability.type,checkout.SessionCreateParamsInvoiceCreationInvoiceDatumIssuer.type,checkout.SessionCreateParamsSubscriptionDatumInvoiceSettingIssuer.type,checkout.SessionModifyParamsAutomaticTaxLiability.type,checkout.SessionModifyParamsInvoiceCreationInvoiceDatumIssuer.type, andcheckout.SessionModifyParamsSubscriptionDatumInvoiceSettingIssuer.type- Add support for new value
upion enumcheckout.SessionCreateParams.excluded_payment_method_types - Change type of
InvoiceAddLinesParamsLinePriceDatumProductDatumTaxDetail.tax_code,InvoiceLineItemModifyParamsPriceDatumProductDatumTaxDetail.tax_code,InvoiceUpdateLinesParamsLinePriceDatumProductDatumTaxDetail.tax_code,PaymentLinkCreateParamsLineItemPriceDatumProductDatumTaxDetail.tax_code,PlanCreateParamsProductTaxDetail.tax_code,PriceCreateParamsProductDatumTaxDetail.tax_code,ProductCreateParamsTaxDetail.tax_code,ProductModifyParamsTaxDetail.tax_code,checkout.SessionCreateParamsLineItemPriceDatumProductDatumTaxDetail.tax_code, andcheckout.SessionModifyParamsLineItemPriceDatumProductDatumTaxDetail.tax_codefromstringtoemptyable(string) - Add support for
cryptooncheckout.SessionCreateParamsPaymentMethodOption - Add support for new value
upion enumcheckout.SessionCreateParams.payment_method_types - Add support for
pending_invoice_item_intervaloncheckout.SessionCreateParamsSubscriptionDatumandcheckout.SessionModifyParamsSubscriptionDatum ⚠️ Add support for new valueselements,embedded_page,form, andhosted_pageon enumsCheckout.Session.ui_modeandcheckout.SessionCreateParams.ui_mode⚠️ Remove support for valuescustom,embedded, andhostedfrom enumsCheckout.Session.ui_modeandcheckout.SessionCreateParams.ui_mode- Change
InvoiceAddLinesParamsLinePriceDatumProductDatumTaxDetail.tax_code,InvoiceLineItemModifyParamsPriceDatumProductDatumTaxDetail.tax_code,InvoiceUpdateLinesParamsLinePriceDatumProductDatumTaxDetail.tax_code,PaymentLinkCreateParamsLineItemPriceDatumProductDatumTaxDetail.tax_code,PlanCreateParamsProductTaxDetail.tax_code,PriceCreateParamsProductDatumTaxDetail.tax_code,ProductCreateParamsTaxDetail.tax_code,ProductModifyParamsTaxDetail.tax_code,checkout.SessionCreateParamsLineItemPriceDatumProductDatumTaxDetail.tax_code, andcheckout.SessionModifyParamsLineItemPriceDatumProductDatumTaxDetail.tax_codeto be optional - Add support for
au_becs_debit,bacs_debit,boleto,link,sepa_debit, andus_bank_accountonCheckout.Session.CurrentAttempt.PaymentMethodDetail ⚠️ Add support for new valuemarine_carbon_removalon enumClimate.Supplier.removal_pathway- Add support for new value
upion enumsConfirmationTokenCreateParamsPaymentMethodDatum.type,PaymentIntentConfirmParamsPaymentMethodDatum.type,PaymentIntentCreateParamsPaymentMethodDatum.type,PaymentIntentModifyParamsPaymentMethodDatum.type,SetupIntentConfirmParamsPaymentMethodDatum.type,SetupIntentCreateParamsPaymentMethodDatum.type, andSetupIntentModifyParamsPaymentMethodDatum.type ⚠️ Add support for new valueupion enumsConfirmationToken.PaymentMethodPreview.typeandPaymentMethod.type- Add support for
metadataonCreditNoteCreateParamsLine,CreditNoteLineItem,CreditNotePreviewLinesParamsLine, andCreditNotePreviewParamsLine - Add support for new value
upion enumsCustomerListPaymentMethodsParams.type,PaymentMethodCreateParams.type, andPaymentMethodListParams.type - Add support for
selected_fulfillment_option_overridesonDelegatedCheckout.RequestedSession.FulfillmentDetail - Add support for
line_item_keysonDelegatedCheckout.RequestedSession.FulfillmentDetail.FulfillmentOption.Digital.DigitalOptionand ...
- Add support for new resource
v15.0.0
This release changes the pinned API version to 2026-03-25.dahlia and contains breaking changes (prefixed with
Please review details for the breaking changes and alternatives in the Stripe API changelog before upgrading.
-
⚠️ Breaking change: #1769 Add decimal_string coercion for v1 and v2 API fields- All
decimal_stringfields changed type fromstrtodecimal.Decimalin both request params and response objects. Code that reads or writes these fields asstrwill need to useDecimalinstead. Affected fields across v1 and v2 APIs:- checkout.Session:
fx_rate - climate.Order:
metric_tons; climate.Product:metric_tons_available - CreditNoteLineItem:
unit_amount_decimal - InvoiceItem:
quantity_decimal,unit_amount_decimal - InvoiceLineItem:
quantity_decimal,unit_amount_decimal - issuing.Authorization / issuing.Transaction (and TestHelpers):
quantity_decimal,unit_cost_decimal,gross_amount_decimal,local_amount_decimal,national_amount_decimal - Plan:
amount_decimal,flat_amount_decimal,unit_amount_decimal - Price:
unit_amount_decimal,flat_amount_decimal(includingcurrency_optionsandtiers) - v2.core.Account / v2.core.AccountPerson:
percent_ownership - Request params on Invoice, Product, Quote, Subscription, SubscriptionItem, SubscriptionSchedule, PaymentLink:
unit_amount_decimal,flat_amount_decimal,quantity_decimal(where applicable)
- checkout.Session:
- All
-
⚠️ Breaking change:#1767 Throw an error when using the wrong webhook parsing method -
⚠️ Breaking change: #1764 Drop support for Python 3.7 & 3.8 -
⚠️ Breaking change: #1762StripeObjectno longer inherits fromdictStripeObjectno longer inherits fromdict, so anydictmethods will no longer exist, including.get(),.update(), and notably,.items().- or convenience, it's still possible to check presence with
'some_key' in some_objand check for equality between stripe objects. But most key/value iteration needs an extra step - To access the underlying data as a
dict, callsome_obj.to_dict(), which recursively dumps all stripe-provided classes into native Python types. This is a read-only view; changes to the output ofto_dict()won't affect the original object. - Write operations can still be done with dot notation (
some_obj.val = 123) or bracket notation (some_obj["val"] = 123). Do that instead of trying to interact with the underlying data store, as the implementation is considered private and may change without warning in the future.
v14.5.0a4
- #1760 Update generated code for private-preview
- Add support for
simulate_crypto_deposittest helper method on resourcePaymentIntent - Add support for
deposit_optionsandmodeonPaymentIntent.PaymentMethodOption.Crypto,PaymentIntentConfirmParamsPaymentMethodOptionCrypto,PaymentIntentCreateParamsPaymentMethodOptionCrypto, andPaymentIntentModifyParamsPaymentMethodOptionCrypto - Add support for
crypto_display_detailsonPaymentIntent.NextAction
- Add support for
- #1755 Update generated code for private-preview
- Add support for new resources
orchestration.PaymentAttemptandradar.CustomerEvaluation - Add support for
retrievemethod on resourceorchestration.PaymentAttempt - Add support for
createandmodifymethods on resourceradar.CustomerEvaluation - Add support for
approvemethod on resourcecheckout.Session - Add support for
report_authenticated,report_canceled,report_failed,report_guaranteed,report_informational, andreport_refundmethods on resourcePaymentAttemptRecord - Add support for
create_us_paper_check_on_applicationonAccountSessionCreateParamsComponentCheckScanningFeature ⚠️ ChangeAccountSignals.delinquencyto be optional- Add support for
approval_methodonCheckout.Sessionandcheckout.SessionCreateParams - Add support for
current_attemptonCheckout.Session - Add support for
selected_fulfillment_option_overridesondelegated_checkout.RequestedSessionModifyParamsFulfillmentDetail - Add support for
pricing_plan_subscription_detailsonInvoiceItem.ParentandInvoiceLineItem.Parent ⚠️ Remove support forlicense_fee_subscription_detailsonInvoiceItem.ParentandInvoiceLineItem.Parent⚠️ Remove support forpricing_plan_subscriptionandpricing_plan_versiononInvoiceItem.Parent.RateCardSubscriptionDetailandInvoiceLineItem.Parent.RateCardSubscriptionDetail- Add support for new value
pricing_plan_subscription_detailson enumInvoiceItem.Parent.type ⚠️ Remove support for valuelicense_fee_subscription_detailsfrom enumInvoiceItem.Parent.type- Add support for new value
discountson enumInvoiceItem.frozen_fields - Add support for new value
pricing_plan_subscription_detailson enumInvoiceLineItem.Parent.type ⚠️ Remove support for valuelicense_fee_subscription_detailsfrom enumInvoiceLineItem.Parent.type- Add support for
token_detailsonIssuing.Authorization - Add support for
failure_codeonPaymentRecordReportPaymentAttemptFailedParams,PaymentRecordReportPaymentAttemptParamsFailed, andPaymentRecordReportPaymentParamsFailed - Change
PaymentRecordReportPaymentAttemptCanceledParams.canceled_atto be optional - Change
PaymentRecordReportPaymentAttemptFailedParams.failed_atto be optional - Change
PaymentRecordReportPaymentAttemptGuaranteedParams.guaranteed_atto be optional - Change
PaymentRecordReportRefundParams.refundedto be optional ⚠️ Remove support for valuenowfrom enumsQuoteCreateParamsSubscriptionDataOverrideBillingScheduleBillFrom.type,QuoteCreateParamsSubscriptionDatumBillingScheduleBillFrom.type,QuoteModifyParamsSubscriptionDataOverrideBillingScheduleBillFrom.type, andQuoteModifyParamsSubscriptionDatumBillingScheduleBillFrom.type⚠️ Changeradar.IssuingAuthorizationEvaluationCreateParamsCardDetail.bin_countryto be required- Add support for
recurring_intervalonshared_payment.GrantedTokenCreateParamsUsageLimit - Change
shared_payment.GrantedTokenCreateParamsUsageLimit.expires_atto be optional - Add support for
home_rule_taxonTax.Registration.CountryOption.Meandtax.RegistrationCreateParamsCountryOptionMe - Add support for new value
home_rule_taxon enumsTax.Registration.CountryOption.Me.typeandtax.RegistrationCreateParamsCountryOptionMe.type
- Add support for new resources
v14.5.0a3
- #1750 Update generated code for private-preview
- Add support for new resource
radar.IssuingAuthorizationEvaluation - Add support for
createmethod on resourceradar.IssuingAuthorizationEvaluation - Add support for new value
fee_creditson enumBalanceTransaction.balance_type ⚠️ Renameaffiliate_attributionstoaffiliate_attributionondelegated_checkout.RequestedSessionConfirmParamsanddelegated_checkout.RequestedSessionCreateParams- Add support for
amount_to_counteronDispute - Add support for
frozen_fieldsonInvoiceItem - Add support for new value
next_billing_period_starton enumsV2.Billing.IntentAction.Apply.EffectiveAt.typeandv2.billing.IntentCreateParamsActionApplyEffectiveAt.type - Add support for
consumeronV2.Core.Account.Configuration.CardCreator.Capability,V2.Core.Account.Identity.Attestation.TermsOfService.CardCreator,v2.core.AccountCreateParamsConfigurationCardCreatorCapability,v2.core.AccountCreateParamsIdentityAttestationTermsOfServiceCardCreator,v2.core.AccountModifyParamsConfigurationCardCreatorCapability, andv2.core.AccountModifyParamsIdentityAttestationTermsOfServiceCardCreator - Add support for
fifth_thirdonV2.Core.Account.Configuration.CardCreator.Capability.Commercial,V2.Core.Account.Identity.Attestation.TermsOfService.CardCreator.Commercial,v2.core.AccountCreateParamsConfigurationCardCreatorCapabilityCommercial,v2.core.AccountCreateParamsIdentityAttestationTermsOfServiceCardCreatorCommercial,v2.core.AccountModifyParamsConfigurationCardCreatorCapabilityCommercial, andv2.core.AccountModifyParamsIdentityAttestationTermsOfServiceCardCreatorCommercial - Add support for
prepaid_cardonV2.Core.Account.Configuration.CardCreator.Capability.Commercial.CrossRiverBank,V2.Core.Account.Identity.Attestation.TermsOfService.CardCreator.Commercial.CrossRiverBank,v2.core.AccountCreateParamsConfigurationCardCreatorCapabilityCommercialCrossRiverBank,v2.core.AccountCreateParamsIdentityAttestationTermsOfServiceCardCreatorCommercialCrossRiverBank,v2.core.AccountModifyParamsConfigurationCardCreatorCapabilityCommercialCrossRiverBank, andv2.core.AccountModifyParamsIdentityAttestationTermsOfServiceCardCreatorCommercialCrossRiverBank - Add support for new values
commercial.cross_river_bank.prepaid_card,commercial.fifth_third.charge_card,consumer.celtic.revolving_credit_card,consumer.cross_river_bank.prepaid_card, andconsumer.lead.prepaid_cardon enumsV2.Core.Account.FutureRequirement.Entry.Impact.RestrictsCapability.capabilityandV2.Core.Account.Requirement.Entry.Impact.RestrictsCapability.capability - Add support for
payment_method_dataonv2.payments.OffSessionPaymentCreateParams - Change
v2.payments.OffSessionPaymentCreateParams.payment_methodto be optional - Add support for new values
commercial.cross_river_bank.prepaid_card,commercial.fifth_third.charge_card,consumer.celtic.revolving_credit_card,consumer.cross_river_bank.prepaid_card, andconsumer.lead.prepaid_cardon enumEventsV2CoreAccountIncludingConfigurationCardCreatorCapabilityStatusUpdatedEvent.updated_capability
- Add support for new resource