Releases: stripe/stripe-python
Releases · stripe/stripe-python
v10.11.0b1
- #1387 Update generated code for beta
- Add support for
recipients
on parameter classstripe.AccountSession.CreateParamsComponents
- Add support for resource
stripe.billing.MeterErrorReport
- Add support for
business_name
on resource classstripe.checkout.Session.CollectedInformation
- Add support for
tax_ids
on resource classstripe.checkout.Session.CollectedInformation
- Add support for
billing.meter_error_report.triggered
on enumsstripe.Event.type
,stripe.WebhookEndpoint.CreateParams.enabled_events
, andstripe.WebhookEndpoint.ModifyParams.enabled_events
- Add support for
mb_way
on enumsstripe.PaymentLink.payment_method_types
,stripe.PaymentLink.CreateParams.payment_method_types
, andstripe.PaymentLink.ModifyParams.payment_method_types
- Add support for
- #1386 Merge from master
- #1384 Merge from master after the changes to not pass api_mode from individual methods
- #1380 Update generated code for beta
- Add support for
email
on resource classstripe.checkout.Session.CollectedInformation
- Add support for
phone
on resource classstripe.checkout.Session.CollectedInformation
- Add support for
regulatory_reporting_file
on parameter classesstripe.issuing.CreditUnderwritingRecord.CorrectParams
,stripe.issuing.CreditUnderwritingRecord.CreateFromProactiveReviewParams
, andstripe.issuing.CreditUnderwritingRecord.ReportDecisionParams
and resourcestripe.issuing.CreditUnderwritingRecord
- Add support for resource
stripe.terminal.ReaderCollectedData
- Remove support for
rechnung
on parameter classstripe.PaymentMethod.ModifyParams
- Add support for
mb_way
on enumstripe.checkout.Session.CreateParams.payment_method_types
- Add support for
terminal_reader_collected_data_invalid
on enumsstripe.Invoice.LastFinalizationError.code
,stripe.PaymentIntent.LastPaymentError.code
,stripe.QuotePreviewInvoice.LastFinalizationError.code
,stripe.SetupAttempt.SetupError.code
, andstripe.SetupIntent.LastSetupError.code
- Add support for
v10.10.0
- #1376 Update generated code
- Add support for
subscription
on parameter classstripe.billing.Alert.CreateParamsFilter
- Change type of
customer_consent_collected
onstripe.terminal.Reader.ProcessSetupIntentParams
frombool
toNotRequired[bool]
- Add support for
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