Skip to content

Releases: stripe/stripe-python

v10.6.0b1

25 Jul 21:31
Compare
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
Compare
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
Compare
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
Compare
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
Compare
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
Compare
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
Compare
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.

v10.2.0b1

27 Jun 22:24
Compare
Choose a tag to compare
v10.2.0b1 Pre-release
Pre-release
  • #1349 Update generated code for beta
    • Add support for filters on resource class stripe.QuotePreviewInvoice.PaymentSettings.PaymentMethodOptions.UsBankAccount.FinancialConnections
    • Remove support for payment_method_set_as_default on resource class stripe.CustomerSession.Components.PaymentElement.Features and parameter class stripe.CustomerSession.CreateParamsComponentsPaymentElementFeatures
    • Add support for ch_uid 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.

v10.1.0

27 Jun 21:28
Compare
Choose a tag to compare
  • #1353 Update generated code
    • Add support for email_type on parameter classes stripe.CreditNote.CreateParams, stripe.CreditNote.PreviewLinesParams, and stripe.CreditNote.PreviewParams
    • Add support for filters on parameter classes stripe.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, and stripe.Subscription.ModifyParamsPaymentSettingsPaymentMethodOptionsUsBankAccountFinancialConnections and resource classes stripe.Invoice.PaymentSettings.PaymentMethodOptions.UsBankAccount.FinancialConnections, stripe.PaymentIntent.PaymentMethodOptions.UsBankAccount.FinancialConnections, stripe.SetupIntent.PaymentMethodOptions.UsBankAccount.FinancialConnections, stripe.Subscription.PaymentSettings.PaymentMethodOptions.UsBankAccount.FinancialConnections, and stripe.checkout.Session.PaymentMethodOptions.UsBankAccount.FinancialConnections
    • Add support for account_subcategories on parameter class stripe.financial_connections.Session.CreateParamsFilters and resource class stripe.financial_connections.Session.Filters
    • Add support for reboot_window on parameter classes stripe.terminal.Configuration.CreateParams and stripe.terminal.Configuration.ModifyParams and resource stripe.terminal.Configuration
    • Add support for day on enum stripe.billing.Meter.ListEventSummariesParams.value_grouping_window
    • Add support for multibanco on enums stripe.PaymentLink.payment_method_types, stripe.PaymentLink.CreateParams.payment_method_types, and stripe.PaymentLink.ModifyParams.payment_method_types
    • Add support for twint on enums stripe.PaymentLink.payment_method_types, stripe.PaymentLink.CreateParams.payment_method_types, and stripe.PaymentLink.ModifyParams.payment_method_types
    • Add support for zip 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.

v10.0.0

24 Jun 23:11
Compare
Choose a tag to compare
  • #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 to quantity_decimal on parameter classes stripe.issuing.Authorization.CaptureParamsPurchaseDetailsFuel, stripe.issuing.Transaction.CreateForceCaptureParamsPurchaseDetailsFuel, and stripe.issuing.Transaction.CreateUnlinkedRefundParamsPurchaseDetailsFuel and resource class stripe.issuing.Transaction.PurchaseDetails.Fuel

    Additions

    • Add support for fleet on parameter classes stripe.issuing.Authorization.CaptureParamsPurchaseDetails, stripe.issuing.Authorization.CreateParams, stripe.issuing.Transaction.CreateForceCaptureParamsPurchaseDetails, and stripe.issuing.Transaction.CreateUnlinkedRefundParamsPurchaseDetails, resource stripe.issuing.Authorization, and resource class stripe.issuing.Transaction.PurchaseDetails
    • Add support for new values platform_disabled, paused.inactivity and other on enums Capability.Requirements.disabled_reason and Capability.FutureRequirements.disabled_reason
    • Add support for industry_product_code on parameter classes stripe.issuing.Authorization.CaptureParamsPurchaseDetailsFuel, stripe.issuing.Transaction.CreateForceCaptureParamsPurchaseDetailsFuel, and stripe.issuing.Transaction.CreateUnlinkedRefundParamsPurchaseDetailsFuel and resource class stripe.issuing.Transaction.PurchaseDetails.Fuel
    • Add support for quantity_decimal on parameter classes stripe.issuing.Authorization.CaptureParamsPurchaseDetailsFuel, stripe.issuing.Transaction.CreateForceCaptureParamsPurchaseDetailsFuel, and stripe.issuing.Transaction.CreateUnlinkedRefundParamsPurchaseDetailsFuel and resource class stripe.issuing.Transaction.PurchaseDetails.Fuel
    • Add support for fuel on parameter class stripe.issuing.Authorization.CreateParams and resource stripe.issuing.Authorization
    • Add support for _cls_finalize_amount on resource stripe.issuing.Authorization
    • Add support for finalize_amount on resource stripe.issuing.Authorization
    • Change type of disabled_reason on stripe.Capability.FutureRequirements and stripe.Capability.Requirements from str to Literal['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 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 card_canceled, card_expired, cardholder_blocked, insecure_authorization_method and pin_blocked on enum stripe.issuing.Authorization.RequestHistory.reason
    • Add support for charging_minute, imperial_gallon, kilogram, kilowatt_hour, pound, on enums stripe.issuing.Authorization.CaptureParamsPurchaseDetailsFuel.unit, stripe.issuing.Transaction.CreateForceCaptureParamsPurchaseDetailsFuel.unit, and stripe.issuing.Transaction.CreateUnlinkedRefundParamsPurchaseDetailsFuel.unit
    • Add support for 2024-06-20 on enum stripe.WebhookEndpoint.CreateParams.api_version

See the changelog for more details.