Releases: stripe/stripe-python
Releases · stripe/stripe-python
v9.11.0
- #1342 Update generated code
- Add support for
multibanco_payments
on resource classstripe.Account.Capabilities
and parameter classstripe.Account.CreateParamsCapabilities
- Add support for
twint_payments
on resource classstripe.Account.Capabilities
and parameter classstripe.Account.CreateParamsCapabilities
- Add support for
twint
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
- Add support for
multibanco
on 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.PaymentMethodConfiguration.CreateParams
,stripe.PaymentMethodConfiguration.ModifyParams
,stripe.SetupIntent.ConfirmParamsPaymentMethodData
,stripe.SetupIntent.CreateParamsPaymentMethodData
,stripe.SetupIntent.ModifyParamsPaymentMethodData
, andstripe.checkout.Session.CreateParamsPaymentMethodOptions
, resource classesstripe.ConfirmationToken.PaymentMethodPreview
,stripe.PaymentIntent.PaymentMethodOptions
,stripe.Refund.DestinationDetails
, andstripe.checkout.Session.PaymentMethodOptions
, and resourcesstripe.PaymentMethod
andstripe.PaymentMethodConfiguration
- Add support for
multibanco_display_details
on resource classstripe.PaymentIntent.NextAction
- Add support for
invoice_settings
on resourcestripe.Subscription
- Add support for
de_stn
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
multibanco
on enumsstripe.checkout.Session.CreateParams.payment_method_types
,stripe.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
twint
on enumsstripe.checkout.Session.CreateParams.payment_method_types
,stripe.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
v9.11.0b1
- #1339 Update generated code for beta
- Add support for
twint
on parameter classesstripe.PaymentIntent.ConfirmParamsPaymentMethodOptions
,stripe.PaymentIntent.CreateParamsPaymentMethodOptions
, andstripe.PaymentIntent.ModifyParamsPaymentMethodOptions
and resource classstripe.PaymentIntent.PaymentMethodOptions
- Add support for
swish
on enumstripe.QuotePreviewInvoice.PaymentSettings.payment_method_types
- Add support for
v9.10.0
- #1340 Update generated code
- Add support for
gb_bank_transfer_payments
,jp_bank_transfer_payments
,mx_bank_transfer_payments
,sepa_bank_transfer_payments
,us_bank_transfer_payments
on resource classstripe.Account.Capabilities
and parameter classstripe.Account.CreateParamsCapabilities
- Add support for
swish
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
v9.10.0b1
- #1334 Update generated code for beta
- Add support for
en-RO
on enumsstripe.Order.CreateParamsPaymentSettingsPaymentMethodOptionsKlarna.preferred_locale
andstripe.Order.ModifyParamsPaymentSettingsPaymentMethodOptionsKlarna.preferred_locale
- Add support for
ro-RO
on enumsstripe.Order.CreateParamsPaymentSettingsPaymentMethodOptionsKlarna.preferred_locale
andstripe.Order.ModifyParamsPaymentSettingsPaymentMethodOptionsKlarna.preferred_locale
- Add support for
v9.9.0
- #1335 Add method to list invoice line items
- Add methods
list_lines()
andlist_lines_async()
on the classInvoice
to list the invoice line items
- Add methods
- #1336 Update generated code
- Add support for
generated_from
on resource classesstripe.ConfirmationToken.PaymentMethodPreview.Card
andstripe.PaymentMethod.Card
- Add support for
default_value
on parameter classesstripe.checkout.Session.CreateParamsCustomFieldDropdown
,stripe.checkout.Session.CreateParamsCustomFieldNumeric
, andstripe.checkout.Session.CreateParamsCustomFieldText
and resource classesstripe.checkout.Session.CustomField.Dropdown
,stripe.checkout.Session.CustomField.Numeric
, andstripe.checkout.Session.CustomField.Text
- Add support for
verification_requires_additional_proof_of_registration
on enumsstripe.Account.FutureRequirements.Error.code
,stripe.Account.Requirements.Error.code
,stripe.BankAccount.FutureRequirements.Error.code
,stripe.BankAccount.Requirements.Error.code
,stripe.Capability.FutureRequirements.Error.code
,stripe.Capability.Requirements.Error.code
,stripe.Person.FutureRequirements.Error.code
, andstripe.Person.Requirements.Error.code
- Add support for
issuing_personalization_design.activated
on enumsstripe.Event.type
,stripe.WebhookEndpoint.CreateParams.enabled_events
, andstripe.WebhookEndpoint.ModifyParams.enabled_events
- Add support for
issuing_personalization_design.deactivated
on enumsstripe.Event.type
,stripe.WebhookEndpoint.CreateParams.enabled_events
, andstripe.WebhookEndpoint.ModifyParams.enabled_events
- Add support for
issuing_personalization_design.rejected
on enumsstripe.Event.type
,stripe.WebhookEndpoint.CreateParams.enabled_events
, andstripe.WebhookEndpoint.ModifyParams.enabled_events
- Add support for
issuing_personalization_design.updated
on enumsstripe.Event.type
,stripe.WebhookEndpoint.CreateParams.enabled_events
, andstripe.WebhookEndpoint.ModifyParams.enabled_events
- Add support for
en-RO
on enumsstripe.PaymentIntent.ConfirmParamsPaymentMethodOptionsKlarna.preferred_locale
,stripe.PaymentIntent.CreateParamsPaymentMethodOptionsKlarna.preferred_locale
, andstripe.PaymentIntent.ModifyParamsPaymentMethodOptionsKlarna.preferred_locale
- Add support for
ro-RO
on enumsstripe.PaymentIntent.ConfirmParamsPaymentMethodOptionsKlarna.preferred_locale
,stripe.PaymentIntent.CreateParamsPaymentMethodOptionsKlarna.preferred_locale
, andstripe.PaymentIntent.ModifyParamsPaymentMethodOptionsKlarna.preferred_locale
- Change type of
features
onstripe.issuing.PhysicalBundle
fromOptional[Features]
toFeatures
- Add support for
v9.9.0b1
- #1331 Update generated code for beta
- Change type of
refund
onstripe.CreditNote.CreateParamsRefund
,stripe.CreditNote.PreviewParamsRefund
, andstripe.CreditNote.PreviewLinesParamsRefund
fromstr
toNotRequired[str]
- Add support for
terminal_reader_invalid_location_for_payment
on enumstripe.QuotePreviewInvoice.LastFinalizationError.code
- Change type of
v9.8.0
- #1332 Update generated code
- Add support for
external_account_collection
on resource classesstripe.AccountSession.Components.Balances.Features
andstripe.AccountSession.Components.Payouts.Features
and parameter classesstripe.AccountSession.CreateParamsComponentsBalancesFeatures
andstripe.AccountSession.CreateParamsComponentsPayoutsFeatures
- Add support for
payment_method_remove
on resource classstripe.checkout.Session.SavedPaymentMethodOptions
- Add support for
terminal_reader_invalid_location_for_payment
on enumsstripe.Invoice.LastFinalizationError.code
,stripe.PaymentIntent.LastPaymentError.code
,stripe.SetupAttempt.SetupError.code
, andstripe.SetupIntent.LastSetupError.code
- Add support for
v9.8.0b1
v9.7.0
- #1328 Update generated code
- Add support for
fee_source
on resourcestripe.ApplicationFee
- Add support for
net_available
on resource classstripe.Balance.InstantAvailable
- Add support for
preferred_locales
on resource classesstripe.Charge.PaymentMethodDetails.CardPresent
,stripe.ConfirmationToken.PaymentMethodPreview.CardPresent
, andstripe.PaymentMethod.CardPresent
- Add support for
klarna
on resource classstripe.Dispute.PaymentMethodDetails
- Add support for
routing
on parameter classesstripe.PaymentIntent.ConfirmParamsPaymentMethodOptionsCardPresent
,stripe.PaymentIntent.CreateParamsPaymentMethodOptionsCardPresent
, andstripe.PaymentIntent.ModifyParamsPaymentMethodOptionsCardPresent
and resource classstripe.PaymentIntent.PaymentMethodOptions.CardPresent
- Add support for
application_fee
on resourcestripe.Payout
- Add support for
archived
on parameter classstripe.entitlements.Feature.ListParams
- Add support for
lookup_key
on parameter classstripe.entitlements.Feature.ListParams
- Add support for
no_valid_authorization
on parameter classesstripe.issuing.Dispute.CreateParamsEvidence
andstripe.issuing.Dispute.ModifyParamsEvidence
and resource classstripe.issuing.Dispute.Evidence
- Add support for
loss_reason
on resourcestripe.issuing.Dispute
- Add support for
stripe_s700
on parameter classesstripe.terminal.Configuration.CreateParams
andstripe.terminal.Configuration.ModifyParams
and resourcestripe.terminal.Configuration
- Add support for
klarna
on enumstripe.Dispute.PaymentMethodDetails.type
- Add support for
no_valid_authorization
on enumsstripe.issuing.Dispute.Evidence.reason
,stripe.issuing.Dispute.CreateParamsEvidence.reason
, andstripe.issuing.Dispute.ModifyParamsEvidence.reason
- Change type of
countries
onstripe.financial_connections.Session.CreateParamsFilters
fromList[str]
toNotRequired[List[str]]
- Add support for
- #1329 Switch from
black
toruff
for formatting
v9.7.0b1
- #1321 Update generated code for beta
- No new beta features. Merging changes from the main branch.