Releases: stripe/stripe-python
Releases · stripe/stripe-python
v10.9.0
- #1385 Generate SDK for OpenAPI spec version 1230
- Add support for
status_details
on resourcestripe.test_helpers.TestClock
- Change type of
fields
onstripe.AccountLink.CreateParamsCollectionOptions
fromLiteral['currently_due', 'eventually_due']
toNotRequired[Literal['currently_due', 'eventually_due']]
- Add support for
hr_oib
on enumsstripe.checkout.Session.CustomerDetails.TaxId.type
,stripe.Customer.CreateParamsTaxIdDatum.type
,stripe.Customer.CreateTaxIdParams.type
,stripe.Invoice.CustomerTaxId.type
,stripe.Invoice.CreatePreviewParamsCustomerDetailsTaxId.type
,stripe.Invoice.UpcomingParamsCustomerDetailsTaxId.type
,stripe.Invoice.UpcomingLinesParamsCustomerDetailsTaxId.type
,stripe.tax.Calculation.CustomerDetails.TaxId.type
,stripe.tax.Calculation.CreateParamsCustomerDetailsTaxId.type
,stripe.tax.Transaction.CustomerDetails.TaxId.type
,stripe.TaxId.type
, andstripe.TaxId.CreateParams.type
- Add support for
issuing_regulatory_reporting
on enumsstripe.File.purpose
,stripe.File.CreateParams.purpose
, andstripe.File.ListParams.purpose
- Add support for
v10.9.0b2
- #1377 Update generated code for beta
- Add support for
mb_way_payments
on resource classstripe.Account.Capabilities
and parameter classstripe.Account.CreateParamsCapabilities
- Add support for
mb_way
on resource classesstripe.Charge.PaymentMethodDetails
,stripe.ConfirmationToken.PaymentMethodPreview
, andstripe.PaymentIntent.PaymentMethodOptions
, parameter classesstripe.ConfirmationToken.CreateParamsPaymentMethodData
,stripe.PaymentIntent.ConfirmParamsPaymentMethodData
,stripe.PaymentIntent.ConfirmParamsPaymentMethodOptions
,stripe.PaymentIntent.CreateParamsPaymentMethodData
,stripe.PaymentIntent.CreateParamsPaymentMethodOptions
,stripe.PaymentIntent.ModifyParamsPaymentMethodData
,stripe.PaymentIntent.ModifyParamsPaymentMethodOptions
,stripe.PaymentMethod.CreateParams
,stripe.SetupIntent.ConfirmParamsPaymentMethodData
,stripe.SetupIntent.CreateParamsPaymentMethodData
, andstripe.SetupIntent.ModifyParamsPaymentMethodData
, and resourcestripe.PaymentMethod
- Remove support for
phases
on parameter classesstripe.Quote.CreateParams
andstripe.Quote.ModifyParams
- Remove support for
from_schedule
on parameter classstripe.Quote.CreateParamsSubscriptionData
- Add support for
mb_way
on enumsstripe.ConfirmationToken.PaymentMethodPreview.type
,stripe.ConfirmationToken.CreateParamsPaymentMethodData.type
,stripe.Customer.ListPaymentMethodsParams.type
,stripe.PaymentIntent.ConfirmParamsPaymentMethodData.type
,stripe.PaymentIntent.CreateParamsPaymentMethodData.type
,stripe.PaymentIntent.ModifyParamsPaymentMethodData.type
,stripe.PaymentMethod.type
,stripe.PaymentMethod.CreateParams.type
,stripe.PaymentMethod.ListParams.type
,stripe.SetupIntent.ConfirmParamsPaymentMethodData.type
,stripe.SetupIntent.CreateParamsPaymentMethodData.type
, andstripe.SetupIntent.ModifyParamsPaymentMethodData.type
- Add support for
hr_oib
on enumsstripe.Order.TaxDetails.TaxId.type
,stripe.Order.CreateParamsTaxDetailsTaxId.type
,stripe.Order.ModifyParamsTaxDetailsTaxId.type
, andstripe.QuotePreviewInvoice.CustomerTaxId.type
- Remove support for
accepted
on enumstripe.Dispute.EvidenceDetails.EnhancedEligibility.VisaCompellingEvidence3.status
- Remove support for
partner_rejected
on enumstripe.Dispute.EvidenceDetails.EnhancedEligibility.VisaCompellingEvidence3.status
- Remove support for
submitted
on enumstripe.Dispute.EvidenceDetails.EnhancedEligibility.VisaCompellingEvidence3.status
- Add support for
v10.9.0b1
- #1375 Update generated code for beta
- Add support for
capital_financing
on parameter classstripe.AccountSession.CreateParamsComponents
- Add support for
permissions
on parameter classstripe.checkout.Session.CreateParams
and resourcestripe.checkout.Session
- Add support for
collected_information
on parameter classstripe.checkout.Session.ModifyParams
and resourcestripe.checkout.Session
- Add support for
shipping_options
on parameter classstripe.checkout.Session.ModifyParams
- Add support for
v10.8.0
- #1373 Update generated code
- Add support for
authorization_code
on resource classstripe.Charge.PaymentMethodDetails.Card
- Add support for
wallet
on resource classesstripe.Charge.PaymentMethodDetails.CardPresent
,stripe.ConfirmationToken.PaymentMethodPreview.Card.GeneratedFrom.PaymentMethodDetails.CardPresent
,stripe.ConfirmationToken.PaymentMethodPreview.CardPresent
,stripe.PaymentMethod.Card.GeneratedFrom.PaymentMethodDetails.CardPresent
, andstripe.PaymentMethod.CardPresent
- Add support for
mandate_options
on parameter classesstripe.PaymentIntent.ConfirmParamsPaymentMethodOptionsBacsDebit
,stripe.PaymentIntent.CreateParamsPaymentMethodOptionsBacsDebit
, andstripe.PaymentIntent.ModifyParamsPaymentMethodOptionsBacsDebit
and resource classstripe.PaymentIntent.PaymentMethodOptions.BacsDebit
- Add support for
bacs_debit
on parameter classesstripe.SetupIntent.ConfirmParamsPaymentMethodOptions
,stripe.SetupIntent.CreateParamsPaymentMethodOptions
, andstripe.SetupIntent.ModifyParamsPaymentMethodOptions
and resource classstripe.SetupIntent.PaymentMethodOptions
- Add support for
chips
on resource classesstripe.treasury.OutboundPayment.TrackingDetails.UsDomesticWire
andstripe.treasury.OutboundTransfer.TrackingDetails.UsDomesticWire
and parameter classesstripe.treasury.OutboundPayment.UpdateParamsTrackingDetailsUsDomesticWire
andstripe.treasury.OutboundTransfer.UpdateParamsTrackingDetailsUsDomesticWire
- Change type of
imad
onstripe.treasury.OutboundPayment.TrackingDetails.UsDomesticWire
andstripe.treasury.OutboundTransfer.TrackingDetails.UsDomesticWire
fromstr
toOptional[str]
- Add support for
v10.8.0b1
- #1372 Update generated code for beta
- Add support for
capital_financing
on resource classstripe.AccountSession.Components
- Add support for
payto
on parameter classstripe.checkout.Session.CreateParamsPaymentMethodOptions
and resource classstripe.checkout.Session.PaymentMethodOptions
⚠️ Remove support forrisk_correlation_id
on parameter classesstripe.PaymentIntent.ConfirmParamsPaymentMethodOptionsRechnung
,stripe.PaymentIntent.CreateParamsPaymentMethodOptionsRechnung
, andstripe.PaymentIntent.ModifyParamsPaymentMethodOptionsRechnung
and resource classstripe.PaymentIntent.PaymentMethodOptions.Rechnung
- Add support for
custom
on enumsstripe.checkout.Session.ui_mode
andstripe.checkout.Session.CreateParams.ui_mode
- Add support for
payto
on enumsstripe.checkout.Session.CreateParams.payment_method_types
,stripe.PaymentLink.payment_method_types
,stripe.PaymentLink.CreateParams.payment_method_types
, andstripe.PaymentLink.ModifyParams.payment_method_types
- Add support for
invalid_mandate_reference_prefix_format
on enumstripe.QuotePreviewInvoice.LastFinalizationError.code
- Add support for
v10.7.0
- #1371 Update generated code
- Add support for
type
on resource classesstripe.Charge.PaymentMethodDetails.CardPresent.Offline
,stripe.ConfirmationToken.PaymentMethodPreview.Card.GeneratedFrom.PaymentMethodDetails.CardPresent.Offline
,stripe.PaymentMethod.Card.GeneratedFrom.PaymentMethodDetails.CardPresent.Offline
, andstripe.SetupAttempt.PaymentMethodDetails.CardPresent.Offline
- Add support for
offline
on resource classesstripe.ConfirmationToken.PaymentMethodPreview.CardPresent
andstripe.PaymentMethod.CardPresent
- Add support for
_cls_activate
on resourcestripe.billing.Alert
- Add support for
_cls_archive
on resourcestripe.billing.Alert
- Add support for
_cls_deactivate
on resourcestripe.billing.Alert
- Add support for
activate
on resourcestripe.billing.Alert
- Add support for
archive
on resourcestripe.billing.Alert
- Add support for
create
on resourcestripe.billing.Alert
- Add support for
deactivate
on resourcestripe.billing.Alert
- Add support for
list
on resourcestripe.billing.Alert
- Add support for
retrieve
on resourcesstripe.billing.Alert
andstripe.tax.Calculation
- Add support for
related_customer
on parameter classesstripe.identity.VerificationSession.CreateParams
andstripe.identity.VerificationSession.ListParams
and resourcestripe.identity.VerificationSession
- Add support for
invalid_mandate_reference_prefix_format
on enumsstripe.Invoice.LastFinalizationError.code
,stripe.PaymentIntent.LastPaymentError.code
,stripe.SetupAttempt.SetupError.code
, andstripe.SetupIntent.LastSetupError.code
- Add support for
girocard
on enumsstripe.PaymentIntent.PaymentMethodOptions.Card.network
,stripe.PaymentIntent.ConfirmParamsPaymentMethodOptionsCard.network
,stripe.PaymentIntent.CreateParamsPaymentMethodOptionsCard.network
,stripe.PaymentIntent.ModifyParamsPaymentMethodOptionsCard.network
,stripe.SetupIntent.PaymentMethodOptions.Card.network
,stripe.SetupIntent.ConfirmParamsPaymentMethodOptionsCard.network
,stripe.SetupIntent.CreateParamsPaymentMethodOptionsCard.network
,stripe.SetupIntent.ModifyParamsPaymentMethodOptionsCard.network
,stripe.Subscription.PaymentSettings.PaymentMethodOptions.Card.network
,stripe.Subscription.CreateParamsPaymentSettingsPaymentMethodOptionsCard.network
, andstripe.Subscription.ModifyParamsPaymentSettingsPaymentMethodOptionsCard.network
- Add support for
financial_addresses.aba.forwarding
on enumsstripe.treasury.FinancialAccount.active_features
,stripe.treasury.FinancialAccount.pending_features
, andstripe.treasury.FinancialAccount.restricted_features
- Change type of
count
onstripe.Invoice.CreateParamsPaymentSettingsPaymentMethodOptionsCardInstallmentsPlan
,stripe.Invoice.ModifyParamsPaymentSettingsPaymentMethodOptionsCardInstallmentsPlan
,stripe.PaymentIntent.ConfirmParamsPaymentMethodOptionsCardInstallmentsPlan
,stripe.PaymentIntent.CreateParamsPaymentMethodOptionsCardInstallmentsPlan
, andstripe.PaymentIntent.ModifyParamsPaymentMethodOptionsCardInstallmentsPlan
fromint
toNotRequired[int]
- Change type of
interval
onstripe.Invoice.CreateParamsPaymentSettingsPaymentMethodOptionsCardInstallmentsPlan
,stripe.Invoice.ModifyParamsPaymentSettingsPaymentMethodOptionsCardInstallmentsPlan
,stripe.PaymentIntent.ConfirmParamsPaymentMethodOptionsCardInstallmentsPlan
,stripe.PaymentIntent.CreateParamsPaymentMethodOptionsCardInstallmentsPlan
, andstripe.PaymentIntent.ModifyParamsPaymentMethodOptionsCardInstallmentsPlan
fromLiteral['month']
toNotRequired[Literal['month']]
- Change type of
account
onstripe.Person.AdditionalTosAcceptances
fromAccount
toOptional[Account]
- Add support for
v10.7.0b1
- #1370 Update generated code for beta
- Add support for
app_install
on parameter classstripe.AccountSession.CreateParamsComponents
- Add support for
app_viewport
on parameter classstripe.AccountSession.CreateParamsComponents
- Add support for
_cls_attach_payment
on resourcestripe.Invoice
- Add support for
attach_payment
on resourcestripe.Invoice
- Add support for
lines_invalid
on resource classstripe.Quote.StatusDetails.Stale.LastReason
- Add support for
last_price_migration_error
on resourcesstripe.QuotePreviewSubscriptionSchedule
,stripe.Subscription
, andstripe.SubscriptionSchedule
- Remove support for
partner_rejected_details
on resource classstripe.Dispute.EvidenceDetails.EnhancedEligibility.VisaCompellingEvidence3
- Add support for
customer.subscription.price_migration_failed
on enumsstripe.Event.type
,stripe.WebhookEndpoint.CreateParams.enabled_events
, andstripe.WebhookEndpoint.ModifyParams.enabled_events
- Add support for
subscription_schedule.price_migration_failed
on enumsstripe.Event.type
,stripe.WebhookEndpoint.CreateParams.enabled_events
, andstripe.WebhookEndpoint.ModifyParams.enabled_events
- Add support for
lines_invalid
on enumstripe.Quote.StatusDetails.Stale.LastReason.type
- Add support for
charge_exceeds_transaction_limit
on enumstripe.QuotePreviewInvoice.LastFinalizationError.code
- Add support for
v10.6.0
- #1369 Update generated code
- Add support for resource
stripe.billing.Alert
⚠️ Remove support forauthorization_code
on resource classstripe.Charge.PaymentMethodDetails.Card
. This was accidentally released last week.- Add support for
billing.alert.triggered
on enumsstripe.Event.type
,stripe.WebhookEndpoint.CreateParams.enabled_events
, andstripe.WebhookEndpoint.ModifyParams.enabled_events
- Add support for
charge_exceeds_transaction_limit
on enumsstripe.Invoice.LastFinalizationError.code
,stripe.PaymentIntent.LastPaymentError.code
,stripe.SetupAttempt.SetupError.code
, andstripe.SetupIntent.LastSetupError.code
- Add support for resource
v10.6.0b1
- #1361 Update generated code for beta
- Add support for
capital
on parameter classstripe.Account.CreateParamsSettings
and resource classstripe.Account.Settings
- Add support for
payment
on resourcestripe.InvoicePayment
- Add support for
async_workflows
on parameter classesstripe.PaymentIntent.CaptureParams
,stripe.PaymentIntent.ConfirmParams
,stripe.PaymentIntent.CreateParams
,stripe.PaymentIntent.DecrementAuthorizationParams
,stripe.PaymentIntent.IncrementAuthorizationParams
, andstripe.PaymentIntent.ModifyParams
and resourcestripe.PaymentIntent
- Add support for
payto
on parameter classesstripe.PaymentMethodConfiguration.CreateParams
andstripe.PaymentMethodConfiguration.ModifyParams
and resourcestripe.PaymentMethodConfiguration
- Add support for resource
stripe.billing.Alert
- Add support for resource
stripe.tax.Association
- Add support for
display_name
on parameter classesstripe.treasury.FinancialAccount.CreateParams
andstripe.treasury.FinancialAccount.ModifyParams
and resourcestripe.treasury.FinancialAccount
- Remove support for
charge
on resourcestripe.InvoicePayment
- Remove support for
payment_intent
on resourcestripe.InvoicePayment
- Add support for
issuing.account_closed_for_not_providing_business_model_clarification
on enumstripe.AccountNotice.reason
- Add support for
issuing.account_closed_for_not_providing_url_clarification
on enumstripe.AccountNotice.reason
- Add support for
issuing.account_closed_for_not_providing_use_case_clarification
on enumstripe.AccountNotice.reason
- Add support for
billing.alert.triggered
on enumsstripe.Event.type
,stripe.WebhookEndpoint.CreateParams.enabled_events
, andstripe.WebhookEndpoint.ModifyParams.enabled_events
- Add support for
multibanco
on enumstripe.QuotePreviewInvoice.PaymentSettings.payment_method_types
- Add support for
v10.5.0
- #1368 Update generated code
- Add support for
tax_registrations
on resource classstripe.AccountSession.Components
and parameter classstripe.AccountSession.CreateParamsComponents
- Add support for
tax_settings
on resource classstripe.AccountSession.Components
and parameter classstripe.AccountSession.CreateParamsComponents
- Add support for
- #1364 Update generated code
- Add support for
transaction_id
on resource classstripe.Charge.PaymentMethodDetails.Affirm
- Add support for
buyer_id
on resource classstripe.Charge.PaymentMethodDetails.Blik
- Add support for
authorization_code
on resource classstripe.Charge.PaymentMethodDetails.Card
- Add support for
brand_product
on resource classesstripe.Charge.PaymentMethodDetails.CardPresent
,stripe.ConfirmationToken.PaymentMethodPreview.Card.GeneratedFrom.PaymentMethodDetails.CardPresent
,stripe.ConfirmationToken.PaymentMethodPreview.CardPresent
,stripe.PaymentMethod.Card.GeneratedFrom.PaymentMethodDetails.CardPresent
, andstripe.PaymentMethod.CardPresent
- Add support for
network_transaction_id
on resource classesstripe.Charge.PaymentMethodDetails.CardPresent
,stripe.Charge.PaymentMethodDetails.InteracPresent
,stripe.ConfirmationToken.PaymentMethodPreview.Card.GeneratedFrom.PaymentMethodDetails.CardPresent
, andstripe.PaymentMethod.Card.GeneratedFrom.PaymentMethodDetails.CardPresent
- Add support for
case_type
on resource classstripe.Dispute.PaymentMethodDetails.Card
- Add support for
twint
on parameter classesstripe.PaymentMethodConfiguration.CreateParams
andstripe.PaymentMethodConfiguration.ModifyParams
and resourcestripe.PaymentMethodConfiguration
- Add support for
modify
on resourcestripe.checkout.Session
- Add support for
invoice.overdue
on enumsstripe.Event.type
,stripe.WebhookEndpoint.CreateParams.enabled_events
, andstripe.WebhookEndpoint.ModifyParams.enabled_events
- Add support for
invoice.will_be_due
on enumsstripe.Event.type
,stripe.WebhookEndpoint.CreateParams.enabled_events
, andstripe.WebhookEndpoint.ModifyParams.enabled_events
- Add support for