Skip to content

Releases: stripe/stripe-python

v10.9.0

29 Aug 22:01
Compare
Choose a tag to compare
  • #1385 Generate SDK for OpenAPI spec version 1230
    • Add support for status_details on resource stripe.test_helpers.TestClock
    • Change type of fields on stripe.AccountLink.CreateParamsCollectionOptions from Literal['currently_due', 'eventually_due'] to NotRequired[Literal['currently_due', 'eventually_due']]
    • Add support for hr_oib 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 issuing_regulatory_reporting on enums stripe.File.purpose, stripe.File.CreateParams.purpose, and stripe.File.ListParams.purpose

See the changelog for more details.

v10.9.0b2

22 Aug 22:10
Compare
Choose a tag to compare
v10.9.0b2 Pre-release
Pre-release
  • #1377 Update generated code for beta
    • Add support for mb_way_payments on resource class stripe.Account.Capabilities and parameter class stripe.Account.CreateParamsCapabilities
    • Add support for mb_way 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
    • Remove support for phases on parameter classes stripe.Quote.CreateParams and stripe.Quote.ModifyParams
    • Remove support for from_schedule on parameter class stripe.Quote.CreateParamsSubscriptionData
    • Add support for mb_way on enums 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 hr_oib on enums stripe.Order.TaxDetails.TaxId.type, stripe.Order.CreateParamsTaxDetailsTaxId.type, stripe.Order.ModifyParamsTaxDetailsTaxId.type, and stripe.QuotePreviewInvoice.CustomerTaxId.type
    • Remove support for accepted on enum stripe.Dispute.EvidenceDetails.EnhancedEligibility.VisaCompellingEvidence3.status
    • Remove support for partner_rejected on enum stripe.Dispute.EvidenceDetails.EnhancedEligibility.VisaCompellingEvidence3.status
    • Remove support for submitted on enum stripe.Dispute.EvidenceDetails.EnhancedEligibility.VisaCompellingEvidence3.status

See the changelog for more details.

v10.9.0b1

15 Aug 21:19
Compare
Choose a tag to compare
v10.9.0b1 Pre-release
Pre-release
  • #1375 Update generated code for beta
    • Add support for capital_financing on parameter class stripe.AccountSession.CreateParamsComponents
    • Add support for permissions on parameter class stripe.checkout.Session.CreateParams and resource stripe.checkout.Session
    • Add support for collected_information on parameter class stripe.checkout.Session.ModifyParams and resource stripe.checkout.Session
    • Add support for shipping_options on parameter class stripe.checkout.Session.ModifyParams

See the changelog for more details.

v10.8.0

15 Aug 21:16
Compare
Choose a tag to compare
  • #1373 Update generated code
    • Add support for authorization_code on resource class stripe.Charge.PaymentMethodDetails.Card
    • Add support for wallet 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 mandate_options on parameter classes stripe.PaymentIntent.ConfirmParamsPaymentMethodOptionsBacsDebit, stripe.PaymentIntent.CreateParamsPaymentMethodOptionsBacsDebit, and stripe.PaymentIntent.ModifyParamsPaymentMethodOptionsBacsDebit and resource class stripe.PaymentIntent.PaymentMethodOptions.BacsDebit
    • Add support for bacs_debit on parameter classes stripe.SetupIntent.ConfirmParamsPaymentMethodOptions, stripe.SetupIntent.CreateParamsPaymentMethodOptions, and stripe.SetupIntent.ModifyParamsPaymentMethodOptions and resource class stripe.SetupIntent.PaymentMethodOptions
    • Add support for chips on resource classes stripe.treasury.OutboundPayment.TrackingDetails.UsDomesticWire and stripe.treasury.OutboundTransfer.TrackingDetails.UsDomesticWire and parameter classes stripe.treasury.OutboundPayment.UpdateParamsTrackingDetailsUsDomesticWire and stripe.treasury.OutboundTransfer.UpdateParamsTrackingDetailsUsDomesticWire
    • Change type of imad on stripe.treasury.OutboundPayment.TrackingDetails.UsDomesticWire and stripe.treasury.OutboundTransfer.TrackingDetails.UsDomesticWire from str to Optional[str]

See the changelog for more details.

v10.8.0b1

12 Aug 21:10
Compare
Choose a tag to compare
v10.8.0b1 Pre-release
Pre-release
  • #1372 Update generated code for beta
    • Add support for capital_financing on resource class stripe.AccountSession.Components
    • Add support for payto on parameter class stripe.checkout.Session.CreateParamsPaymentMethodOptions and resource class stripe.checkout.Session.PaymentMethodOptions
    • ⚠️ Remove support for risk_correlation_id on parameter classes stripe.PaymentIntent.ConfirmParamsPaymentMethodOptionsRechnung, stripe.PaymentIntent.CreateParamsPaymentMethodOptionsRechnung, and stripe.PaymentIntent.ModifyParamsPaymentMethodOptionsRechnung and resource class stripe.PaymentIntent.PaymentMethodOptions.Rechnung
    • Add support for custom on enums stripe.checkout.Session.ui_mode and stripe.checkout.Session.CreateParams.ui_mode
    • Add support for payto on enums stripe.checkout.Session.CreateParams.payment_method_types, stripe.PaymentLink.payment_method_types, stripe.PaymentLink.CreateParams.payment_method_types, and stripe.PaymentLink.ModifyParams.payment_method_types
    • Add support for invalid_mandate_reference_prefix_format on enum stripe.QuotePreviewInvoice.LastFinalizationError.code

See the changelog for more details.

v10.7.0

08 Aug 23:57
Compare
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
Compare
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
Compare
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
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.