Skip to content

Releases: stripe/stripe-python

v10.11.0b1

05 Sep 21:06
Compare
Choose a tag to compare
v10.11.0b1 Pre-release
Pre-release
  • #1387 Update generated code for beta
    • Add support for recipients on parameter class stripe.AccountSession.CreateParamsComponents
    • Add support for resource stripe.billing.MeterErrorReport
    • Add support for business_name on resource class stripe.checkout.Session.CollectedInformation
    • Add support for tax_ids on resource class stripe.checkout.Session.CollectedInformation
    • Add support for billing.meter_error_report.triggered on enums stripe.Event.type, stripe.WebhookEndpoint.CreateParams.enabled_events, and stripe.WebhookEndpoint.ModifyParams.enabled_events
    • Add support for mb_way on enums stripe.PaymentLink.payment_method_types, stripe.PaymentLink.CreateParams.payment_method_types, and stripe.PaymentLink.ModifyParams.payment_method_types
  • #1386 Merge from master
  • #1384 Merge from master after the changes to not pass api_mode from individual methods
  • #1380 Update generated code for beta
    • Add support for email on resource class stripe.checkout.Session.CollectedInformation
    • Add support for phone on resource class stripe.checkout.Session.CollectedInformation
    • Add support for regulatory_reporting_file on parameter classes stripe.issuing.CreditUnderwritingRecord.CorrectParams, stripe.issuing.CreditUnderwritingRecord.CreateFromProactiveReviewParams, and stripe.issuing.CreditUnderwritingRecord.ReportDecisionParams and resource stripe.issuing.CreditUnderwritingRecord
    • Add support for resource stripe.terminal.ReaderCollectedData
    • Remove support for rechnung on parameter class stripe.PaymentMethod.ModifyParams
    • Add support for mb_way on enum stripe.checkout.Session.CreateParams.payment_method_types
    • Add support for terminal_reader_collected_data_invalid on enums stripe.Invoice.LastFinalizationError.code, stripe.PaymentIntent.LastPaymentError.code, stripe.QuotePreviewInvoice.LastFinalizationError.code, stripe.SetupAttempt.SetupError.code, and stripe.SetupIntent.LastSetupError.code

See the changelog for more details.

v10.10.0

05 Sep 20:55
Compare
Choose a tag to compare
  • #1376 Update generated code
    • Add support for subscription on parameter class stripe.billing.Alert.CreateParamsFilter
    • Change type of customer_consent_collected on stripe.terminal.Reader.ProcessSetupIntentParams from bool to NotRequired[bool]

See the changelog for more details.

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.