Skip to content

Releases: stripe/stripe-python

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.

v9.7.0

16 May 22:19
Compare
Choose a tag to compare
  • #1328 Update generated code
    • Add support for fee_source on resource stripe.ApplicationFee
    • Add support for net_available on resource class stripe.Balance.InstantAvailable
    • Add support for preferred_locales on resource classes stripe.Charge.PaymentMethodDetails.CardPresent, stripe.ConfirmationToken.PaymentMethodPreview.CardPresent, and stripe.PaymentMethod.CardPresent
    • Add support for klarna on resource class stripe.Dispute.PaymentMethodDetails
    • Add support for routing on parameter classes stripe.PaymentIntent.ConfirmParamsPaymentMethodOptionsCardPresent, stripe.PaymentIntent.CreateParamsPaymentMethodOptionsCardPresent, and stripe.PaymentIntent.ModifyParamsPaymentMethodOptionsCardPresent and resource class stripe.PaymentIntent.PaymentMethodOptions.CardPresent
    • Add support for application_fee on resource stripe.Payout
    • Add support for archived on parameter class stripe.entitlements.Feature.ListParams
    • Add support for lookup_key on parameter class stripe.entitlements.Feature.ListParams
    • Add support for no_valid_authorization on parameter classes stripe.issuing.Dispute.CreateParamsEvidence and stripe.issuing.Dispute.ModifyParamsEvidence and resource class stripe.issuing.Dispute.Evidence
    • Add support for loss_reason on resource stripe.issuing.Dispute
    • Add support for stripe_s700 on parameter classes stripe.terminal.Configuration.CreateParams and stripe.terminal.Configuration.ModifyParams and resource stripe.terminal.Configuration
    • Add support for klarna on enum stripe.Dispute.PaymentMethodDetails.type
    • Add support for no_valid_authorization on enums stripe.issuing.Dispute.Evidence.reason, stripe.issuing.Dispute.CreateParamsEvidence.reason, and stripe.issuing.Dispute.ModifyParamsEvidence.reason
    • Change type of countries on stripe.financial_connections.Session.CreateParamsFilters from List[str] to NotRequired[List[str]]
  • #1329 Switch from black to ruff for formatting

See the changelog for more details.

v9.7.0b1

09 May 19:46
Compare
Choose a tag to compare
v9.7.0b1 Pre-release
Pre-release
  • #1321 Update generated code for beta
    • No new beta features. Merging changes from the main branch.

See the changelog for more details.

v9.6.0

09 May 19:40
Compare
Choose a tag to compare
  • #1323 Update generated code
    • Add support for allow_redisplay on resource class stripe.ConfirmationToken.PaymentMethodPreview and resource stripe.PaymentMethod
    • Add support for preview_mode on parameter classes stripe.Invoice.CreatePreviewParams, stripe.Invoice.UpcomingLinesParams, and stripe.Invoice.UpcomingParams
    • Add support for _cls_update on resources stripe.treasury.OutboundPayment and stripe.treasury.OutboundTransfer
    • Add support for tracking_details on resources stripe.treasury.OutboundPayment and stripe.treasury.OutboundTransfer
    • Add support for update on resources stripe.treasury.OutboundPayment and stripe.treasury.OutboundTransfer
    • Add support for treasury.outbound_payment.tracking_details_updated on enums stripe.Event.type, stripe.WebhookEndpoint.CreateParams.enabled_events, and stripe.WebhookEndpoint.ModifyParams.enabled_events
    • Add support for treasury.outbound_transfer.tracking_details_updated on enums stripe.Event.type, stripe.WebhookEndpoint.CreateParams.enabled_events, and stripe.WebhookEndpoint.ModifyParams.enabled_events

See the changelog for more details.

v9.6.0b1

02 May 22:23
Compare
Choose a tag to compare
v9.6.0b1 Pre-release
Pre-release
  • #1318 Update generated code for beta
    • Add support for rechnung_payments on resource class stripe.Account.Capabilities and parameter class stripe.Account.CreateParamsCapabilities
    • Add support for rechnung 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.PaymentMethod.ModifyParams, stripe.SetupIntent.ConfirmParamsPaymentMethodData, stripe.SetupIntent.CreateParamsPaymentMethodData, and stripe.SetupIntent.ModifyParamsPaymentMethodData, and resource stripe.PaymentMethod
    • Add support for multibanco on parameter class stripe.checkout.Session.CreateParamsPaymentMethodOptions and resource class stripe.checkout.Session.PaymentMethodOptions
    • Add support for multibanco on enum stripe.checkout.Session.CreateParams.payment_method_types
    • Add support for rechnung 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
    • Change type of transactions on stripe.gift_cards.Card from ListObject[Transaction] to Optional[ListObject[Transaction]]

See the changelog for more details.

v9.5.0

02 May 20:56
Compare
Choose a tag to compare
  • #1317 Update generated code
    • Add support for paypal on resource class stripe.Dispute.PaymentMethodDetails
    • Add support for payment_method_types on parameter class stripe.PaymentIntent.ConfirmParams
    • Add support for ship_from_details on parameter class stripe.tax.Calculation.CreateParams and resources stripe.tax.Calculation and stripe.tax.Transaction
    • Add support for bh, eg, ge, ke, kz, ng, om on resource class stripe.tax.Registration.CountryOptions and parameter class stripe.tax.Registration.CreateParamsCountryOptions
    • Add support for paypal on enum stripe.Dispute.PaymentMethodDetails.type
    • Add support for shipping_address_invalid on enums stripe.Invoice.LastFinalizationError.code, stripe.PaymentIntent.LastPaymentError.code, stripe.SetupAttempt.SetupError.code, and stripe.SetupIntent.LastSetupError.code
    • Change type of metadata on stripe.entitlements.Feature.ModifyParams from Dict[str, str] to Literal['']|Dict[str, str]
  • #1319 Fix type change entries in Python Changelog

See the changelog for more details.