Skip to content

Releases: stripe/stripe-python

v10.7.0

08 Aug 23:57

Choose a tag to compare

  • #1371 Update generated code
    • Add support for type on resource classes stripe.Charge.PaymentMethodDetails.CardPresent.Offline, stripe.ConfirmationToken.PaymentMethodPreview.Card.GeneratedFrom.PaymentMethodDetails.CardPresent.Offline, stripe.PaymentMethod.Card.GeneratedFrom.PaymentMethodDetails.CardPresent.Offline, and stripe.SetupAttempt.PaymentMethodDetails.CardPresent.Offline
    • Add support for offline on resource classes stripe.ConfirmationToken.PaymentMethodPreview.CardPresent and stripe.PaymentMethod.CardPresent
    • Add support for _cls_activate on resource stripe.billing.Alert
    • Add support for _cls_archive on resource stripe.billing.Alert
    • Add support for _cls_deactivate on resource stripe.billing.Alert
    • Add support for activate on resource stripe.billing.Alert
    • Add support for archive on resource stripe.billing.Alert
    • Add support for create on resource stripe.billing.Alert
    • Add support for deactivate on resource stripe.billing.Alert
    • Add support for list on resource stripe.billing.Alert
    • Add support for retrieve on resources stripe.billing.Alert and stripe.tax.Calculation
    • Add support for related_customer on parameter classes stripe.identity.VerificationSession.CreateParams and stripe.identity.VerificationSession.ListParams and resource stripe.identity.VerificationSession
    • Add support for invalid_mandate_reference_prefix_format on enums stripe.Invoice.LastFinalizationError.code, stripe.PaymentIntent.LastPaymentError.code, stripe.SetupAttempt.SetupError.code, and stripe.SetupIntent.LastSetupError.code
    • Add support for girocard on enums stripe.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, and stripe.Subscription.ModifyParamsPaymentSettingsPaymentMethodOptionsCard.network
    • Add support for financial_addresses.aba.forwarding on enums stripe.treasury.FinancialAccount.active_features, stripe.treasury.FinancialAccount.pending_features, and stripe.treasury.FinancialAccount.restricted_features
    • Change type of count on stripe.Invoice.CreateParamsPaymentSettingsPaymentMethodOptionsCardInstallmentsPlan, stripe.Invoice.ModifyParamsPaymentSettingsPaymentMethodOptionsCardInstallmentsPlan, stripe.PaymentIntent.ConfirmParamsPaymentMethodOptionsCardInstallmentsPlan, stripe.PaymentIntent.CreateParamsPaymentMethodOptionsCardInstallmentsPlan, and stripe.PaymentIntent.ModifyParamsPaymentMethodOptionsCardInstallmentsPlan from int to NotRequired[int]
    • Change type of interval on stripe.Invoice.CreateParamsPaymentSettingsPaymentMethodOptionsCardInstallmentsPlan, stripe.Invoice.ModifyParamsPaymentSettingsPaymentMethodOptionsCardInstallmentsPlan, stripe.PaymentIntent.ConfirmParamsPaymentMethodOptionsCardInstallmentsPlan, stripe.PaymentIntent.CreateParamsPaymentMethodOptionsCardInstallmentsPlan, and stripe.PaymentIntent.ModifyParamsPaymentMethodOptionsCardInstallmentsPlan from Literal['month'] to NotRequired[Literal['month']]
    • Change type of account on stripe.Person.AdditionalTosAcceptances from Account to Optional[Account]

See the changelog for more details.

v10.7.0b1

01 Aug 21:44

Choose a tag to compare

v10.7.0b1 Pre-release
Pre-release
  • #1370 Update generated code for beta
    • Add support for app_install on parameter class stripe.AccountSession.CreateParamsComponents
    • Add support for app_viewport on parameter class stripe.AccountSession.CreateParamsComponents
    • Add support for _cls_attach_payment on resource stripe.Invoice
    • Add support for attach_payment on resource stripe.Invoice
    • Add support for lines_invalid on resource class stripe.Quote.StatusDetails.Stale.LastReason
    • Add support for last_price_migration_error on resources stripe.QuotePreviewSubscriptionSchedule, stripe.Subscription, and stripe.SubscriptionSchedule
    • Remove support for partner_rejected_details on resource class stripe.Dispute.EvidenceDetails.EnhancedEligibility.VisaCompellingEvidence3
    • Add support for customer.subscription.price_migration_failed on enums stripe.Event.type, stripe.WebhookEndpoint.CreateParams.enabled_events, and stripe.WebhookEndpoint.ModifyParams.enabled_events
    • Add support for subscription_schedule.price_migration_failed on enums stripe.Event.type, stripe.WebhookEndpoint.CreateParams.enabled_events, and stripe.WebhookEndpoint.ModifyParams.enabled_events
    • Add support for lines_invalid on enum stripe.Quote.StatusDetails.Stale.LastReason.type
    • Add support for charge_exceeds_transaction_limit on enum stripe.QuotePreviewInvoice.LastFinalizationError.code

See the changelog for more details.

v10.6.0

01 Aug 21:24

Choose a tag to compare

  • #1369 Update generated code
    • Add support for resource stripe.billing.Alert
    • ⚠️ Remove support for authorization_code on resource class stripe.Charge.PaymentMethodDetails.Card. This was accidentally released last week.
    • Add support for billing.alert.triggered on enums stripe.Event.type, stripe.WebhookEndpoint.CreateParams.enabled_events, and stripe.WebhookEndpoint.ModifyParams.enabled_events
    • Add support for charge_exceeds_transaction_limit 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.

v10.6.0b1

25 Jul 21:31

Choose a tag to compare

v10.6.0b1 Pre-release
Pre-release
  • #1361 Update generated code for beta
    • Add support for capital on parameter class stripe.Account.CreateParamsSettings and resource class stripe.Account.Settings
    • Add support for payment on resource stripe.InvoicePayment
    • Add support for async_workflows on parameter classes stripe.PaymentIntent.CaptureParams, stripe.PaymentIntent.ConfirmParams, stripe.PaymentIntent.CreateParams, stripe.PaymentIntent.DecrementAuthorizationParams, stripe.PaymentIntent.IncrementAuthorizationParams, and stripe.PaymentIntent.ModifyParams and resource stripe.PaymentIntent
    • Add support for payto on parameter classes stripe.PaymentMethodConfiguration.CreateParams and stripe.PaymentMethodConfiguration.ModifyParams and resource stripe.PaymentMethodConfiguration
    • Add support for resource stripe.billing.Alert
    • Add support for resource stripe.tax.Association
    • Add support for display_name on parameter classes stripe.treasury.FinancialAccount.CreateParams and stripe.treasury.FinancialAccount.ModifyParams and resource stripe.treasury.FinancialAccount
    • Remove support for charge on resource stripe.InvoicePayment
    • Remove support for payment_intent on resource stripe.InvoicePayment
    • Add support for issuing.account_closed_for_not_providing_business_model_clarification on enum stripe.AccountNotice.reason
    • Add support for issuing.account_closed_for_not_providing_url_clarification on enum stripe.AccountNotice.reason
    • Add support for issuing.account_closed_for_not_providing_use_case_clarification on enum stripe.AccountNotice.reason
    • Add support for billing.alert.triggered on enums stripe.Event.type, stripe.WebhookEndpoint.CreateParams.enabled_events, and stripe.WebhookEndpoint.ModifyParams.enabled_events
    • Add support for multibanco on enum stripe.QuotePreviewInvoice.PaymentSettings.payment_method_types

See the changelog for more details.

v10.5.0

25 Jul 20:59

Choose a tag to compare

  • #1368 Update generated code
    • Add support for tax_registrations on resource class stripe.AccountSession.Components and parameter class stripe.AccountSession.CreateParamsComponents
    • Add support for tax_settings on resource class stripe.AccountSession.Components and parameter class stripe.AccountSession.CreateParamsComponents
  • #1364 Update generated code
    • Add support for transaction_id on resource class stripe.Charge.PaymentMethodDetails.Affirm
    • Add support for buyer_id on resource class stripe.Charge.PaymentMethodDetails.Blik
    • Add support for authorization_code on resource class stripe.Charge.PaymentMethodDetails.Card
    • Add support for brand_product on resource classes stripe.Charge.PaymentMethodDetails.CardPresent, stripe.ConfirmationToken.PaymentMethodPreview.Card.GeneratedFrom.PaymentMethodDetails.CardPresent, stripe.ConfirmationToken.PaymentMethodPreview.CardPresent, stripe.PaymentMethod.Card.GeneratedFrom.PaymentMethodDetails.CardPresent, and stripe.PaymentMethod.CardPresent
    • Add support for network_transaction_id on resource classes stripe.Charge.PaymentMethodDetails.CardPresent, stripe.Charge.PaymentMethodDetails.InteracPresent, stripe.ConfirmationToken.PaymentMethodPreview.Card.GeneratedFrom.PaymentMethodDetails.CardPresent, and stripe.PaymentMethod.Card.GeneratedFrom.PaymentMethodDetails.CardPresent
    • Add support for case_type on resource class stripe.Dispute.PaymentMethodDetails.Card
    • Add support for twint on parameter classes stripe.PaymentMethodConfiguration.CreateParams and stripe.PaymentMethodConfiguration.ModifyParams and resource stripe.PaymentMethodConfiguration
    • Add support for modify on resource stripe.checkout.Session
    • Add support for invoice.overdue on enums stripe.Event.type, stripe.WebhookEndpoint.CreateParams.enabled_events, and stripe.WebhookEndpoint.ModifyParams.enabled_events
    • Add support for invoice.will_be_due on enums stripe.Event.type, stripe.WebhookEndpoint.CreateParams.enabled_events, and stripe.WebhookEndpoint.ModifyParams.enabled_events

See the changelog for more details.

v10.4.0

18 Jul 20:09

Choose a tag to compare

  • #1362 Update generated code
    • Add support for customer on resource class stripe.ConfirmationToken.PaymentMethodPreview
    • Add support for issuing_dispute.funds_rescinded on enums stripe.Event.type, stripe.WebhookEndpoint.CreateParams.enabled_events, and stripe.WebhookEndpoint.ModifyParams.enabled_events
    • Add support for multibanco 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
    • Add support for stripe_s700 on enums stripe.terminal.Reader.device_type and stripe.terminal.Reader.ListParams.device_type
  • #1360 Update changelog

See the changelog for more details.

v10.4.0b1

11 Jul 18:48

Choose a tag to compare

v10.4.0b1 Pre-release
Pre-release
  • #1356 Update generated code for beta
    • Change type of payment_element on stripe.CustomerSession.Components from Optional[PaymentElement] to PaymentElement
    • Add support for not_qualified on enum stripe.Dispute.EvidenceDetails.EnhancedEligibility.VisaCompellingEvidence3.status
    • Remove support for billing_policy_remote_function_response_invalid on enum stripe.QuotePreviewInvoice.LastFinalizationError.code
    • Remove support for billing_policy_remote_function_timeout on enum stripe.QuotePreviewInvoice.LastFinalizationError.code
    • Remove support for billing_policy_remote_function_unexpected_status_code on enum stripe.QuotePreviewInvoice.LastFinalizationError.code
    • Remove support for billing_policy_remote_function_unreachable on enum stripe.QuotePreviewInvoice.LastFinalizationError.code
    • Remove support for payment_intent_fx_quote_invalid on enum stripe.QuotePreviewInvoice.LastFinalizationError.code

See the changelog for more details.

v10.3.0

11 Jul 18:47

Choose a tag to compare

  • #1358 Update generated code
    • Add support for payment_method_options on resource stripe.ConfirmationToken
    • Add support for payment_element on resource class stripe.CustomerSession.Components and parameter class stripe.CustomerSession.CreateParamsComponents
    • Add support for address_validation on parameter class stripe.issuing.Card.CreateParamsShipping and resource class stripe.issuing.Card.Shipping
    • Add support for shipping on parameter class stripe.issuing.Card.ModifyParams
    • ⚠️ Remove support for billing_policy_remote_function_response_invalid, billing_policy_remote_function_timeout, billing_policy_remote_function_unexpected_status_code, and billing_policy_remote_function_unreachable on enums stripe.Invoice.LastFinalizationError.code, stripe.PaymentIntent.LastPaymentError.code, stripe.SetupAttempt.SetupError.code, and stripe.SetupIntent.LastSetupError.code
    • ⚠️ Remove support for payment_intent_fx_quote_invalid on enums stripe.Invoice.LastFinalizationError.code, stripe.PaymentIntent.LastPaymentError.code, stripe.SetupAttempt.SetupError.code, and stripe.SetupIntent.LastSetupError.code. The property was mistakenly released last week.
  • #1357 don't auto-organize imports

See the changelog for more details.

v10.3.0b1

05 Jul 18:55

Choose a tag to compare

v10.3.0b1 Pre-release
Pre-release
  • #1355 Update generated code for beta
    • ⚠️ Remove support for payment_method_update on resource class stripe.CustomerSession.Components.PaymentElement.Features and parameter class stripe.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 class stripe.CustomerSession.Components.PaymentElement.Features and parameter class stripe.CustomerSession.CreateParamsComponentsPaymentElementFeatures
    • Add support for institution on parameter classes stripe.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, and stripe.financial_connections.Session.CreateParamsFilters and resource classes stripe.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, and stripe.financial_connections.Session.Filters
    • Add support for resource stripe.financial_connections.Institution
    • Add support for balance on enums stripe.financial_connections.Account.subscriptions, stripe.financial_connections.Account.SubscribeParams.features, and stripe.financial_connections.Account.UnsubscribeParams.features
    • Add support for financial_connections_institution_unavailable on enums stripe.Invoice.LastFinalizationError.code, stripe.PaymentIntent.LastPaymentError.code, stripe.QuotePreviewInvoice.LastFinalizationError.code, stripe.SetupAttempt.SetupError.code, and stripe.SetupIntent.LastSetupError.code
    • Add support for payment_intent_fx_quote_invalid on enum stripe.QuotePreviewInvoice.LastFinalizationError.code

See the changelog for more details.

v10.2.0

05 Jul 18:52

Choose a tag to compare

  • #1354 Update generated code
    • Add support for _cls_add_lines, _cls_remove_lines, _cls_update_lines, add_lines, remove_lines, update_lines on resource stripe.Invoice
    • Add support for posted_at on parameter class stripe.tax.Transaction.CreateFromCalculationParams and resource stripe.tax.Transaction
    • Add support for payment_intent_fx_quote_invalid 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.