Releases: stripe/stripe-python
Releases · stripe/stripe-python
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
v10.4.0
- #1362 Update generated code
- Add support for
customer
on resource classstripe.ConfirmationToken.PaymentMethodPreview
- Add support for
issuing_dispute.funds_rescinded
on enumsstripe.Event.type
,stripe.WebhookEndpoint.CreateParams.enabled_events
, andstripe.WebhookEndpoint.ModifyParams.enabled_events
- Add support for
multibanco
on enumsstripe.Invoice.PaymentSettings.payment_method_types
,stripe.Invoice.CreateParamsPaymentSettings.payment_method_types
,stripe.Invoice.ModifyParamsPaymentSettings.payment_method_types
,stripe.Subscription.PaymentSettings.payment_method_types
,stripe.Subscription.CreateParamsPaymentSettings.payment_method_types
, andstripe.Subscription.ModifyParamsPaymentSettings.payment_method_types
- Add support for
stripe_s700
on enumsstripe.terminal.Reader.device_type
andstripe.terminal.Reader.ListParams.device_type
- Add support for
- #1360 Update changelog
v10.4.0b1
- #1356 Update generated code for beta
- Change type of
payment_element
onstripe.CustomerSession.Components
fromOptional[PaymentElement]
toPaymentElement
- Add support for
not_qualified
on enumstripe.Dispute.EvidenceDetails.EnhancedEligibility.VisaCompellingEvidence3.status
- Remove support for
billing_policy_remote_function_response_invalid
on enumstripe.QuotePreviewInvoice.LastFinalizationError.code
- Remove support for
billing_policy_remote_function_timeout
on enumstripe.QuotePreviewInvoice.LastFinalizationError.code
- Remove support for
billing_policy_remote_function_unexpected_status_code
on enumstripe.QuotePreviewInvoice.LastFinalizationError.code
- Remove support for
billing_policy_remote_function_unreachable
on enumstripe.QuotePreviewInvoice.LastFinalizationError.code
- Remove support for
payment_intent_fx_quote_invalid
on enumstripe.QuotePreviewInvoice.LastFinalizationError.code
- Change type of
v10.3.0
- #1358 Update generated code
- Add support for
payment_method_options
on resourcestripe.ConfirmationToken
- Add support for
payment_element
on resource classstripe.CustomerSession.Components
and parameter classstripe.CustomerSession.CreateParamsComponents
- Add support for
address_validation
on parameter classstripe.issuing.Card.CreateParamsShipping
and resource classstripe.issuing.Card.Shipping
- Add support for
shipping
on parameter classstripe.issuing.Card.ModifyParams
⚠️ Remove support forbilling_policy_remote_function_response_invalid
,billing_policy_remote_function_timeout
,billing_policy_remote_function_unexpected_status_code
, andbilling_policy_remote_function_unreachable
on enumsstripe.Invoice.LastFinalizationError.code
,stripe.PaymentIntent.LastPaymentError.code
,stripe.SetupAttempt.SetupError.code
, andstripe.SetupIntent.LastSetupError.code
⚠️ Remove support forpayment_intent_fx_quote_invalid
on enumsstripe.Invoice.LastFinalizationError.code
,stripe.PaymentIntent.LastPaymentError.code
,stripe.SetupAttempt.SetupError.code
, andstripe.SetupIntent.LastSetupError.code
. The property was mistakenly released last week.
- Add support for
- #1357 don't auto-organize imports
v10.3.0b1
- #1355 Update generated code for beta
⚠️ Remove support forpayment_method_update
on resource classstripe.CustomerSession.Components.PaymentElement.Features
and parameter classstripe.CustomerSession.CreateParamsComponentsPaymentElementFeatures
. Users are expected to completely migrate from using payment_method_update.- Add support for
payment_method_allow_redisplay_filters
,payment_method_redisplay
,payment_method_save_usage
on resource classstripe.CustomerSession.Components.PaymentElement.Features
and parameter classstripe.CustomerSession.CreateParamsComponentsPaymentElementFeatures
- Add support for
institution
on parameter classesstripe.Invoice.CreateParamsPaymentSettingsPaymentMethodOptionsUsBankAccountFinancialConnectionsFilters
,stripe.Invoice.ModifyParamsPaymentSettingsPaymentMethodOptionsUsBankAccountFinancialConnectionsFilters
,stripe.PaymentIntent.ConfirmParamsPaymentMethodOptionsUsBankAccountFinancialConnectionsFilters
,stripe.PaymentIntent.CreateParamsPaymentMethodOptionsUsBankAccountFinancialConnectionsFilters
,stripe.PaymentIntent.ModifyParamsPaymentMethodOptionsUsBankAccountFinancialConnectionsFilters
,stripe.SetupIntent.ConfirmParamsPaymentMethodOptionsUsBankAccountFinancialConnectionsFilters
,stripe.SetupIntent.CreateParamsPaymentMethodOptionsUsBankAccountFinancialConnectionsFilters
,stripe.SetupIntent.ModifyParamsPaymentMethodOptionsUsBankAccountFinancialConnectionsFilters
,stripe.Subscription.CreateParamsPaymentSettingsPaymentMethodOptionsUsBankAccountFinancialConnectionsFilters
,stripe.Subscription.ModifyParamsPaymentSettingsPaymentMethodOptionsUsBankAccountFinancialConnectionsFilters
, andstripe.financial_connections.Session.CreateParamsFilters
and resource classesstripe.Invoice.PaymentSettings.PaymentMethodOptions.UsBankAccount.FinancialConnections.Filters
,stripe.PaymentIntent.PaymentMethodOptions.UsBankAccount.FinancialConnections.Filters
,stripe.QuotePreviewInvoice.PaymentSettings.PaymentMethodOptions.UsBankAccount.FinancialConnections.Filters
,stripe.SetupIntent.PaymentMethodOptions.UsBankAccount.FinancialConnections.Filters
,stripe.Subscription.PaymentSettings.PaymentMethodOptions.UsBankAccount.FinancialConnections.Filters
,stripe.checkout.Session.PaymentMethodOptions.UsBankAccount.FinancialConnections.Filters
, andstripe.financial_connections.Session.Filters
- Add support for resource
stripe.financial_connections.Institution
- Add support for
balance
on enumsstripe.financial_connections.Account.subscriptions
,stripe.financial_connections.Account.SubscribeParams.features
, andstripe.financial_connections.Account.UnsubscribeParams.features
- Add support for
financial_connections_institution_unavailable
on enumsstripe.Invoice.LastFinalizationError.code
,stripe.PaymentIntent.LastPaymentError.code
,stripe.QuotePreviewInvoice.LastFinalizationError.code
,stripe.SetupAttempt.SetupError.code
, andstripe.SetupIntent.LastSetupError.code
- Add support for
payment_intent_fx_quote_invalid
on enumstripe.QuotePreviewInvoice.LastFinalizationError.code
v10.2.0
- #1354 Update generated code
- Add support for
_cls_add_lines
,_cls_remove_lines
,_cls_update_lines
,add_lines
,remove_lines
,update_lines
on resourcestripe.Invoice
- Add support for
posted_at
on parameter classstripe.tax.Transaction.CreateFromCalculationParams
and resourcestripe.tax.Transaction
- Add support for
payment_intent_fx_quote_invalid
on enumsstripe.Invoice.LastFinalizationError.code
,stripe.PaymentIntent.LastPaymentError.code
,stripe.SetupAttempt.SetupError.code
, andstripe.SetupIntent.LastSetupError.code
- Add support for
v10.2.0b1
- #1349 Update generated code for beta
- Add support for
filters
on resource classstripe.QuotePreviewInvoice.PaymentSettings.PaymentMethodOptions.UsBankAccount.FinancialConnections
- Remove support for
payment_method_set_as_default
on resource classstripe.CustomerSession.Components.PaymentElement.Features
and parameter classstripe.CustomerSession.CreateParamsComponentsPaymentElementFeatures
- Add support for
ch_uid
on enumsstripe.Order.TaxDetails.TaxId.type
,stripe.Order.CreateParamsTaxDetailsTaxId.type
,stripe.Order.ModifyParamsTaxDetailsTaxId.type
, andstripe.QuotePreviewInvoice.CustomerTaxId.type
- Add support for
v10.1.0
- #1353 Update generated code
- Add support for
email_type
on parameter classesstripe.CreditNote.CreateParams
,stripe.CreditNote.PreviewLinesParams
, andstripe.CreditNote.PreviewParams
- Add support for
filters
on parameter classesstripe.Invoice.CreateParamsPaymentSettingsPaymentMethodOptionsUsBankAccountFinancialConnections
,stripe.Invoice.ModifyParamsPaymentSettingsPaymentMethodOptionsUsBankAccountFinancialConnections
,stripe.PaymentIntent.ConfirmParamsPaymentMethodOptionsUsBankAccountFinancialConnections
,stripe.PaymentIntent.CreateParamsPaymentMethodOptionsUsBankAccountFinancialConnections
,stripe.PaymentIntent.ModifyParamsPaymentMethodOptionsUsBankAccountFinancialConnections
,stripe.SetupIntent.ConfirmParamsPaymentMethodOptionsUsBankAccountFinancialConnections
,stripe.SetupIntent.CreateParamsPaymentMethodOptionsUsBankAccountFinancialConnections
,stripe.SetupIntent.ModifyParamsPaymentMethodOptionsUsBankAccountFinancialConnections
,stripe.Subscription.CreateParamsPaymentSettingsPaymentMethodOptionsUsBankAccountFinancialConnections
, andstripe.Subscription.ModifyParamsPaymentSettingsPaymentMethodOptionsUsBankAccountFinancialConnections
and resource classesstripe.Invoice.PaymentSettings.PaymentMethodOptions.UsBankAccount.FinancialConnections
,stripe.PaymentIntent.PaymentMethodOptions.UsBankAccount.FinancialConnections
,stripe.SetupIntent.PaymentMethodOptions.UsBankAccount.FinancialConnections
,stripe.Subscription.PaymentSettings.PaymentMethodOptions.UsBankAccount.FinancialConnections
, andstripe.checkout.Session.PaymentMethodOptions.UsBankAccount.FinancialConnections
- Add support for
account_subcategories
on parameter classstripe.financial_connections.Session.CreateParamsFilters
and resource classstripe.financial_connections.Session.Filters
- Add support for
reboot_window
on parameter classesstripe.terminal.Configuration.CreateParams
andstripe.terminal.Configuration.ModifyParams
and resourcestripe.terminal.Configuration
- Add support for
day
on enumstripe.billing.Meter.ListEventSummariesParams.value_grouping_window
- Add support for
multibanco
on enumsstripe.PaymentLink.payment_method_types
,stripe.PaymentLink.CreateParams.payment_method_types
, andstripe.PaymentLink.ModifyParams.payment_method_types
- Add support for
twint
on enumsstripe.PaymentLink.payment_method_types
,stripe.PaymentLink.CreateParams.payment_method_types
, andstripe.PaymentLink.ModifyParams.payment_method_types
- Add support for
zip
on enumsstripe.PaymentLink.payment_method_types
,stripe.PaymentLink.CreateParams.payment_method_types
, andstripe.PaymentLink.ModifyParams.payment_method_types
- Add support for
v10.0.0
-
#1350 Update generated code
This release changes the pinned API version to 2024-06-20. Please read the API Upgrade Guide and carefully review the API changes before upgrading.
⚠️ Breaking changes- Remove the unused resource
PlatformTaxFee
- Rename
volume_decimal
toquantity_decimal
on parameter classesstripe.issuing.Authorization.CaptureParamsPurchaseDetailsFuel
,stripe.issuing.Transaction.CreateForceCaptureParamsPurchaseDetailsFuel
, andstripe.issuing.Transaction.CreateUnlinkedRefundParamsPurchaseDetailsFuel
and resource classstripe.issuing.Transaction.PurchaseDetails.Fuel
Additions
- Add support for
fleet
on parameter classesstripe.issuing.Authorization.CaptureParamsPurchaseDetails
,stripe.issuing.Authorization.CreateParams
,stripe.issuing.Transaction.CreateForceCaptureParamsPurchaseDetails
, andstripe.issuing.Transaction.CreateUnlinkedRefundParamsPurchaseDetails
, resourcestripe.issuing.Authorization
, and resource classstripe.issuing.Transaction.PurchaseDetails
- Add support for new values
platform_disabled
,paused.inactivity
andother
on enumsCapability.Requirements.disabled_reason
andCapability.FutureRequirements.disabled_reason
- Add support for
industry_product_code
on parameter classesstripe.issuing.Authorization.CaptureParamsPurchaseDetailsFuel
,stripe.issuing.Transaction.CreateForceCaptureParamsPurchaseDetailsFuel
, andstripe.issuing.Transaction.CreateUnlinkedRefundParamsPurchaseDetailsFuel
and resource classstripe.issuing.Transaction.PurchaseDetails.Fuel
- Add support for
quantity_decimal
on parameter classesstripe.issuing.Authorization.CaptureParamsPurchaseDetailsFuel
,stripe.issuing.Transaction.CreateForceCaptureParamsPurchaseDetailsFuel
, andstripe.issuing.Transaction.CreateUnlinkedRefundParamsPurchaseDetailsFuel
and resource classstripe.issuing.Transaction.PurchaseDetails.Fuel
- Add support for
fuel
on parameter classstripe.issuing.Authorization.CreateParams
and resourcestripe.issuing.Authorization
- Add support for
_cls_finalize_amount
on resourcestripe.issuing.Authorization
- Add support for
finalize_amount
on resourcestripe.issuing.Authorization
- Change type of
disabled_reason
onstripe.Capability.FutureRequirements
andstripe.Capability.Requirements
fromstr
toLiteral['other', 'paused.inactivity', 'pending.onboarding', 'pending.review', 'platform_disabled', 'platform_paused', 'rejected.inactivity', 'rejected.other', 'rejected.unsupported_business', 'requirements.fields_needed']
- Add support for
ch_uid
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
card_canceled
,card_expired
,cardholder_blocked
,insecure_authorization_method
andpin_blocked
on enumstripe.issuing.Authorization.RequestHistory.reason
- Add support for
charging_minute
,imperial_gallon
,kilogram
,kilowatt_hour
,pound
, on enumsstripe.issuing.Authorization.CaptureParamsPurchaseDetailsFuel.unit
,stripe.issuing.Transaction.CreateForceCaptureParamsPurchaseDetailsFuel.unit
, andstripe.issuing.Transaction.CreateUnlinkedRefundParamsPurchaseDetailsFuel.unit
- Add support for
2024-06-20
on enumstripe.WebhookEndpoint.CreateParams.api_version
- Remove the unused resource