Skip to content

Releases: stripe/stripe-python

v9.12.0

17 Jun 16:14
Compare
Choose a tag to compare
  • #1348 Update generated code
    • Add support for tax_id_collection on parameter class stripe.PaymentLink.ModifyParams
    • Add support for mobilepay on enums stripe.PaymentLink.payment_method_types, stripe.PaymentLink.CreateParams.payment_method_types, and stripe.PaymentLink.ModifyParams.payment_method_types

See the changelog for more details.

v9.12.0b1

13 Jun 21:19
Compare
Choose a tag to compare
v9.12.0b1 Pre-release
Pre-release
  • #1343 Update generated code for beta
    • Add support for de_stn on enums stripe.Order.TaxDetails.TaxId.type, stripe.Order.CreateParamsTaxDetailsTaxId.type, stripe.Order.ModifyParamsTaxDetailsTaxId.type, and stripe.QuotePreviewInvoice.CustomerTaxId.type

See the changelog for more details.

v9.11.0

13 Jun 21:06
Compare
Choose a tag to compare
  • #1342 Update generated code
    • Add support for multibanco_payments on resource class stripe.Account.Capabilities and parameter class stripe.Account.CreateParamsCapabilities
    • Add support for twint_payments on resource class stripe.Account.Capabilities and parameter class stripe.Account.CreateParamsCapabilities
    • Add support for twint on resource classes stripe.Charge.PaymentMethodDetails, stripe.ConfirmationToken.PaymentMethodPreview, and stripe.PaymentIntent.PaymentMethodOptions, parameter classes stripe.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, and stripe.SetupIntent.ModifyParamsPaymentMethodData, and resource stripe.PaymentMethod
    • Add support for multibanco on parameter classes stripe.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, and stripe.checkout.Session.CreateParamsPaymentMethodOptions, resource classes stripe.ConfirmationToken.PaymentMethodPreview, stripe.PaymentIntent.PaymentMethodOptions, stripe.Refund.DestinationDetails, and stripe.checkout.Session.PaymentMethodOptions, and resources stripe.PaymentMethod and stripe.PaymentMethodConfiguration
    • Add support for multibanco_display_details on resource class stripe.PaymentIntent.NextAction
    • Add support for invoice_settings on resource stripe.Subscription
    • Add support for de_stn on enums stripe.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, and stripe.TaxId.CreateParams.type
    • Add support for multibanco on enums stripe.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, and stripe.SetupIntent.ModifyParamsPaymentMethodData.type
    • Add support for twint on enums stripe.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, and stripe.SetupIntent.ModifyParamsPaymentMethodData.type

See the changelog for more details.

v9.11.0b1

06 Jun 21:01
Compare
Choose a tag to compare
v9.11.0b1 Pre-release
Pre-release
  • #1339 Update generated code for beta
    • Add support for twint on parameter classes stripe.PaymentIntent.ConfirmParamsPaymentMethodOptions, stripe.PaymentIntent.CreateParamsPaymentMethodOptions, and stripe.PaymentIntent.ModifyParamsPaymentMethodOptions and resource class stripe.PaymentIntent.PaymentMethodOptions
    • Add support for swish on enum stripe.QuotePreviewInvoice.PaymentSettings.payment_method_types

See the changelog for more details.

v9.10.0

06 Jun 19:31
Compare
Choose a tag to compare
  • #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 class stripe.Account.Capabilities and parameter class stripe.Account.CreateParamsCapabilities
    • Add support for swish on enums stripe.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, and stripe.Subscription.ModifyParamsPaymentSettings.payment_method_types

See the changelog for more details.

v9.10.0b1

30 May 19:47
Compare
Choose a tag to compare
v9.10.0b1 Pre-release
Pre-release
  • #1334 Update generated code for beta
    • Add support for en-RO on enums stripe.Order.CreateParamsPaymentSettingsPaymentMethodOptionsKlarna.preferred_locale and stripe.Order.ModifyParamsPaymentSettingsPaymentMethodOptionsKlarna.preferred_locale
    • Add support for ro-RO on enums stripe.Order.CreateParamsPaymentSettingsPaymentMethodOptionsKlarna.preferred_locale and stripe.Order.ModifyParamsPaymentSettingsPaymentMethodOptionsKlarna.preferred_locale

See the changelog for more details.

v9.9.0

30 May 19:38
Compare
Choose a tag to compare
  • #1335 Add method to list invoice line items
    • Add methods list_lines() and list_lines_async() on the class Invoice to list the invoice line items
  • #1336 Update generated code
    • Add support for generated_from on resource classes stripe.ConfirmationToken.PaymentMethodPreview.Card and stripe.PaymentMethod.Card
    • Add support for default_value on parameter classes stripe.checkout.Session.CreateParamsCustomFieldDropdown, stripe.checkout.Session.CreateParamsCustomFieldNumeric, and stripe.checkout.Session.CreateParamsCustomFieldText and resource classes stripe.checkout.Session.CustomField.Dropdown, stripe.checkout.Session.CustomField.Numeric, and stripe.checkout.Session.CustomField.Text
    • Add support for verification_requires_additional_proof_of_registration on enums stripe.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, and stripe.Person.Requirements.Error.code
    • Add support for issuing_personalization_design.activated on enums stripe.Event.type, stripe.WebhookEndpoint.CreateParams.enabled_events, and stripe.WebhookEndpoint.ModifyParams.enabled_events
    • Add support for issuing_personalization_design.deactivated on enums stripe.Event.type, stripe.WebhookEndpoint.CreateParams.enabled_events, and stripe.WebhookEndpoint.ModifyParams.enabled_events
    • Add support for issuing_personalization_design.rejected on enums stripe.Event.type, stripe.WebhookEndpoint.CreateParams.enabled_events, and stripe.WebhookEndpoint.ModifyParams.enabled_events
    • Add support for issuing_personalization_design.updated on enums stripe.Event.type, stripe.WebhookEndpoint.CreateParams.enabled_events, and stripe.WebhookEndpoint.ModifyParams.enabled_events
    • Add support for en-RO on enums stripe.PaymentIntent.ConfirmParamsPaymentMethodOptionsKlarna.preferred_locale, stripe.PaymentIntent.CreateParamsPaymentMethodOptionsKlarna.preferred_locale, and stripe.PaymentIntent.ModifyParamsPaymentMethodOptionsKlarna.preferred_locale
    • Add support for ro-RO on enums stripe.PaymentIntent.ConfirmParamsPaymentMethodOptionsKlarna.preferred_locale, stripe.PaymentIntent.CreateParamsPaymentMethodOptionsKlarna.preferred_locale, and stripe.PaymentIntent.ModifyParamsPaymentMethodOptionsKlarna.preferred_locale
    • Change type of features on stripe.issuing.PhysicalBundle from Optional[Features] to Features

See the changelog for more details.

v9.9.0b1

23 May 20:30
Compare
Choose a tag to compare
v9.9.0b1 Pre-release
Pre-release
  • #1331 Update generated code for beta
    • Change type of refund on stripe.CreditNote.CreateParamsRefund, stripe.CreditNote.PreviewParamsRefund, and stripe.CreditNote.PreviewLinesParamsRefund from str to NotRequired[str]
    • Add support for terminal_reader_invalid_location_for_payment on enum stripe.QuotePreviewInvoice.LastFinalizationError.code

See the changelog for more details.

v9.8.0

23 May 20:23
Compare
Choose a tag to compare
  • #1332 Update generated code
    • Add support for external_account_collection on resource classes stripe.AccountSession.Components.Balances.Features and stripe.AccountSession.Components.Payouts.Features and parameter classes stripe.AccountSession.CreateParamsComponentsBalancesFeatures and stripe.AccountSession.CreateParamsComponentsPayoutsFeatures
    • Add support for payment_method_remove on resource class stripe.checkout.Session.SavedPaymentMethodOptions
    • Add support for terminal_reader_invalid_location_for_payment on enums stripe.Invoice.LastFinalizationError.code, stripe.PaymentIntent.LastPaymentError.code, stripe.SetupAttempt.SetupError.code, and stripe.SetupIntent.LastSetupError.code

See the changelog for more details.

v9.8.0b1

16 May 22:21
Compare
Choose a tag to compare
v9.8.0b1 Pre-release
Pre-release
  • #1327 Update generated code for beta

  • #1330 (beta) swap from black to ruff for formatting

See the changelog for more details.