Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(deps): update dependency stripe to v11 #3325

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Oct 28, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
stripe (changelog) ~=3.5 -> ~=11.2 age adoption passing confidence

Release Notes

stripe/stripe-python (stripe)

v11.2.0

Compare Source

  • #​1411 This release changes the pinned API version to 2024-10-28.acacia.
    • Add support for resource stripe.v2.EventDestinations
    • Add support for create, retrieve, update, list, delete, disable, enable and ping methods on resource V2.EventDestinations
    • Add support for alma_payments, kakao_pay_payments, kr_card_payments, naver_pay_payments, payco_payments, samsung_pay_payments on resource class stripe.Account.Capabilities and parameter class stripe.Account.CreateParamsCapabilities
    • Add support for groups on parameter class stripe.Account.CreateParams and resource stripe.Account
    • Add support for disable_stripe_user_authentication on resource classes stripe.AccountSession.Components.AccountManagement.Features, stripe.AccountSession.Components.AccountOnboarding.Features, stripe.AccountSession.Components.Balances.Features, stripe.AccountSession.Components.NotificationBanner.Features, and stripe.AccountSession.Components.Payouts.Features and parameter classes stripe.AccountSession.CreateParamsComponentsAccountManagementFeatures, stripe.AccountSession.CreateParamsComponentsAccountOnboardingFeatures, stripe.AccountSession.CreateParamsComponentsBalancesFeatures, stripe.AccountSession.CreateParamsComponentsNotificationBannerFeatures, and stripe.AccountSession.CreateParamsComponentsPayoutsFeatures
    • Add support for alma on resource classes stripe.Charge.PaymentMethodDetails, stripe.ConfirmationToken.PaymentMethodPreview, stripe.PaymentIntent.PaymentMethodOptions, and stripe.Refund.DestinationDetails, 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.PaymentMethodConfiguration.CreateParams, stripe.PaymentMethodConfiguration.ModifyParams, stripe.SetupIntent.ConfirmParamsPaymentMethodData, stripe.SetupIntent.CreateParamsPaymentMethodData, and stripe.SetupIntent.ModifyParamsPaymentMethodData, and resources stripe.PaymentMethod and stripe.PaymentMethodConfiguration
    • Add support for kakao_pay, kr_card on resource classes stripe.Charge.PaymentMethodDetails, stripe.ConfirmationToken.PaymentMethodPreview, stripe.Mandate.PaymentMethodDetails, stripe.PaymentIntent.PaymentMethodOptions, stripe.SetupAttempt.PaymentMethodDetails, and stripe.checkout.Session.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, stripe.SetupIntent.ModifyParamsPaymentMethodData, and stripe.checkout.Session.CreateParamsPaymentMethodOptions, and resource stripe.PaymentMethod
    • Add support for naver_pay on resource classes stripe.Charge.PaymentMethodDetails, stripe.ConfirmationToken.PaymentMethodPreview, stripe.PaymentIntent.PaymentMethodOptions, and stripe.checkout.Session.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, stripe.SetupIntent.ModifyParamsPaymentMethodData, and stripe.checkout.Session.CreateParamsPaymentMethodOptions, and resource stripe.PaymentMethod
    • Add support for payco, samsung_pay on resource classes stripe.Charge.PaymentMethodDetails, stripe.ConfirmationToken.PaymentMethodPreview, stripe.PaymentIntent.PaymentMethodOptions, and stripe.checkout.Session.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, stripe.SetupIntent.ModifyParamsPaymentMethodData, and stripe.checkout.Session.CreateParamsPaymentMethodOptions, and resource stripe.PaymentMethod
    • Add support for enhanced_evidence on resource class stripe.Dispute.Evidence and parameter class stripe.Dispute.ModifyParamsEvidence
    • Add support for enhanced_eligibility on resource class stripe.Dispute.EvidenceDetails
    • Add support for enhanced_eligibility_types on resource stripe.Dispute
    • Add support for automatically_finalizes_at on parameter classes stripe.Invoice.CreateParams and stripe.Invoice.ModifyParams
    • Add support for amazon_pay on resource stripe.PaymentMethodDomain
    • Add support for flat_amount, rate_type on resource stripe.TaxRate and resource class stripe.tax.Calculation.TaxBreakdown.TaxRateDetails
    • Add support for schedule_at_period_end on parameter classes stripe.billing_portal.Configuration.CreateParamsFeaturesSubscriptionUpdate and stripe.billing_portal.Configuration.ModifyParamsFeaturesSubscriptionUpdate and resource class stripe.billing_portal.Configuration.Features.SubscriptionUpdate
    • Add support for metadata on parameter class stripe.forwarding.Request.CreateParams and resource stripe.forwarding.Request
    • Add support for _cls_submit_card on resource stripe.issuing.Card
    • Add support for submit_card on resource stripe.issuing.Card
    • Add support for by, cr, ec, ma, md, rs, ru, tz, uz on resource class stripe.tax.Registration.CountryOptions and parameter class stripe.tax.Registration.CreateParamsCountryOptions
    • Add support for pln on parameter classes stripe.terminal.Configuration.CreateParamsTipping and stripe.terminal.Configuration.ModifyParamsTipping and resource class stripe.terminal.Configuration.Tipping
    • Change type of business_profile on stripe.billing_portal.Configuration.CreateParams from Configuration.CreateParamsBusinessProfile to NotRequired[Configuration.CreateParamsBusinessProfile]
    • Add support for by_tin, ma_vat, md_vat, tz_vat, uz_tin, uz_vat 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 alma, kakao_pay, kr_card, naver_pay, payco on enums stripe.checkout.Session.CreateParams.payment_method_types, 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.PaymentLink.payment_method_types, stripe.PaymentLink.CreateParams.payment_method_types, stripe.PaymentLink.ModifyParams.payment_method_types, 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 samsung_pay on enums stripe.checkout.Session.CreateParams.payment_method_types, 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 auto on enum stripe.Customer.ModifyParamsTax.validate_location
    • Add support for issuing_transaction.purchase_details_receipt_updated, refund.failed on enums stripe.Event.type, stripe.WebhookEndpoint.CreateParams.enabled_events, and stripe.WebhookEndpoint.ModifyParams.enabled_events
    • Add support for jp_credit_transfer 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 retail_delivery_fee on enums stripe.Invoice.AddLinesParamsLineTaxAmountTaxRateData.tax_type, stripe.Invoice.UpdateLinesParamsLineTaxAmountTaxRateData.tax_type, stripe.InvoiceLineItem.ModifyParamsTaxAmountTaxRateData.tax_type, stripe.tax.Calculation.ShippingCost.TaxBreakdown.TaxRateDetails.tax_type, stripe.tax.Calculation.TaxBreakdown.TaxRateDetails.tax_type, stripe.tax.CalculationLineItem.TaxBreakdown.TaxRateDetails.tax_type, stripe.tax.Transaction.ShippingCost.TaxBreakdown.TaxRateDetails.tax_type, stripe.TaxRate.tax_type, stripe.TaxRate.CreateParams.tax_type, and stripe.TaxRate.ModifyParams.tax_type
    • Add support for state_retail_delivery_fee on enums stripe.tax.Registration.CountryOptions.Us.type and stripe.tax.Registration.CreateParamsCountryOptionsUs.type
    • Add support for 2024-10-28.acacia on enum stripe.WebhookEndpoint.CreateParams.api_version

v11.1.1

Compare Source

  • #​1414 Deserialize into correct v2 EventData types

    • Fixes a bug where v2 EventData was not being deserialized into the appropriate type for V1BillingMeterErrorReportTriggeredEvent and V1BillingMeterNoMeterFoundEvent
  • #​1415 update object tags for meter-related classes

    • fixes a bug where the object property of the MeterEvent, MeterEventAdjustment, and MeterEventSession didn't match the server.
  • #​1412 Clean up examples

v11.1.0

Compare Source

  • #​1409 Update the class for ThinEvent to include livemode
  • #​1408 Update generated code
    • Remove the support for resource Margin that was accidentally made public in the last release

v11.0.0

Compare Source

  • #​1404 Support for APIs in the new API version 2024-09-30.acacia

    This release changes the pinned API version to 2024-09-30.acacia. Please read the API Upgrade Guide and carefully review the API changes before upgrading.

⚠️ Breaking changes due to changes in the API
  • Rename for usage_threshold_config to usage_threshold on parameter class stripe.billing.Alert.CreateParams and resource stripe.billing.Alert
  • Remove support for filter on parameter class stripe.billing.Alert.CreateParams and resource stripe.billing.Alert. Use the filters on the usage_threshold instead
    • Remove support for customer_consent_collected on parameter class stripe.terminal.Reader.ProcessSetupIntentParams
⚠️ Other Breaking changes in the SDK
  • Adjusted default values for HTTP requests. You can use the old defaults by setting them explicitly. New values are:
    • max retries: 0 -> 2
    • max timeout (seconds): 2 -> 5
  • Add method parse_thin_event() on the StripeClient class to parse thin events. Rename construct_event() method on the same class to parse_snapshot_event() to clearly distinguish between the two kinds of events.
Additions
  • Add support for custom_unit_amount on parameter class stripe.Product.CreateParamsDefaultPriceData
  • Add support for usage_threshold on parameter class stripe.billing.Alert.CreateParams and resource stripe.billing.Alert
  • Add support for allow_redisplay on parameter classes stripe.terminal.Reader.ProcessPaymentIntentParamsProcessConfig and stripe.terminal.Reader.ProcessSetupIntentParams
  • Add support for international_transaction on enum stripe.treasury.ReceivedCredit.failure_code
  • Add support for 2024-09-30.acacia on enum stripe.WebhookEndpoint.CreateParams.api_version
  • Add support for new Usage Billing APIs stripe.v2.billing.MeterEvent, stripe.v2.billing.MeterEventAdjustments, stripe.v2.billing.MeterEventSession, stripe.v2.billing.MeterEventStream and the new Events API stripe.v2.core.Events under the v2 namespace
  • Add method rawRequest() on the StripeClient class that takes a HTTP method type, url and relevant parameters to make requests to the Stripe API that are not yet supported in the SDK.
Other changes
  • Change type of default_allowed_updates on stripe.billing_portal.Configuration.CreateParamsFeaturesSubscriptionUpdate from Union[Literal[''], List[Literal['price', 'promotion_code', 'quantity']]] to NotRequired[Literal['']|List[Literal['price', 'promotion_code', 'quantity']]]
  • Change type of products on stripe.billing_portal.Configuration.CreateParamsFeaturesSubscriptionUpdate from Union[Literal[''], List[Configuration.CreateParamsFeaturesSubscriptionUpdateProduct]] to NotRequired[Literal['']|List[Configuration.CreateParamsFeaturesSubscriptionUpdateProduct]]

v10.12.0

Compare Source

  • #​1394 Update generated code
    • Add support for international_transaction on enum stripe.treasury.ReceivedDebit.failure_code
  • #​1393 Update generated code
    • Add support for payer_details on resource class stripe.Charge.PaymentMethodDetails.Klarna
    • Add support for amazon_pay on resource class stripe.Dispute.PaymentMethodDetails
    • Add support for automatically_finalizes_at on resource stripe.Invoice
    • Add support for state_sales_tax on resource class stripe.tax.Registration.CountryOptions.Us and parameter class stripe.tax.Registration.CreateParamsCountryOptionsUs
    • Add support for verification_supportability 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 amazon_pay on enum stripe.Dispute.PaymentMethodDetails.type
    • Add support for terminal_reader_invalid_location_for_activation on enums stripe.Invoice.LastFinalizationError.code, stripe.PaymentIntent.LastPaymentError.code, stripe.SetupAttempt.SetupError.code, and stripe.SetupIntent.LastSetupError.code

v10.11.0

Compare Source

  • #​1391 Update generated code
    • Add support for template on parameter classes stripe.Customer.CreateParamsInvoiceSettingsRenderingOptions, stripe.Customer.ModifyParamsInvoiceSettingsRenderingOptions, stripe.Invoice.CreateParamsRendering, and stripe.Invoice.ModifyParamsRendering and resource classes stripe.Customer.InvoiceSettings.RenderingOptions and stripe.Invoice.Rendering
    • Add support for resource stripe.InvoiceRenderingTemplate
    • Add support for required on parameter classes stripe.PaymentLink.CreateParamsTaxIdCollection, stripe.PaymentLink.ModifyParamsTaxIdCollection, and stripe.checkout.Session.CreateParamsTaxIdCollection and resource classes stripe.PaymentLink.TaxIdCollection and stripe.checkout.Session.TaxIdCollection
    • Add support for submitted on enum stripe.issuing.Card.Shipping.status
    • Change type of tax_amounts on stripe.InvoiceLineItem from Optional[List[TaxAmount]] to List[TaxAmount]
    • Change type of tax_rates on stripe.InvoiceLineItem from Optional[List[TaxRate]] to List[TaxRate]
    • Change type of status_details on stripe.test_helpers.TestClock from Optional[StatusDetails] to StatusDetails

v10.10.0

Compare Source

  • #​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]

v10.9.0

Compare Source

  • #​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

v10.8.0

Compare Source

  • #​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]

v10.7.0

Compare Source

  • #​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]

v10.6.0

Compare Source

  • #​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

v10.5.0

Compare Source

  • #​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

v10.4.0

Compare Source

  • #​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

v10.3.0

Compare Source

  • #​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

v10.2.0

Compare Source

  • #​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

v10.1.0

Compare Source

  • #​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

v10.0.0

Compare Source

  • #​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

v9.12.0

Compare Source

  • #​1348 Update generated code
    • Add support for tax_id_collection on parameter class stripe.PaymentLink.ModifyParams
    • Add support for mobilepay on enums stripe.PaymentLink.payment_method_types, stripe.PaymentLink.CreateParams.payment_method_types, and stripe.PaymentLink.ModifyParams.payment_method_types

v9.11.0

Compare Source

  • #​1342 Update generated code
    • Add support for multibanco_payments on resource class stripe.Account.Capabilities and parameter class stripe.Account.CreateParamsCapabilities
    • Add support for twint_payments on resource class stripe.Account.Capabilities and parameter class stripe.Account.CreateParamsCapabilities
    • Add support for twint 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
    • Add support for multibanco on 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.PaymentMethodConfiguration.CreateParams, stripe.PaymentMethodConfiguration.ModifyParams, stripe.SetupIntent.ConfirmParamsPaymentMethodData, stripe.SetupIntent.CreateParamsPaymentMethodData, stripe.SetupIntent.ModifyParamsPaymentMethodData, and stripe.checkout.Session.CreateParamsPaymentMethodOptions, resource classes stripe.ConfirmationToken.PaymentMethodPreview, stripe.PaymentIntent.PaymentMethodOptions, stripe.Refund.DestinationDetails, and stripe.checkout.Session.PaymentMethodOptions, and resources stripe.PaymentMethod and stripe.PaymentMethodConfiguration
    • Add support for multibanco_display_details on resource class stripe.PaymentIntent.NextAction
    • Add support for invoice_settings on resource stripe.Subscription
    • Add support for de_stn 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 multibanco on enums stripe.checkout.Session.CreateParams.payment_method_types, 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 twint on enums stripe.checkout.Session.CreateParams.payment_method_types, 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

v9.10.0

Compare Source

  • #​1340 Update generated code
    • Add support for gb_bank_transfer_payments, jp_bank_transfer_payments, mx_bank_transfer_payments, sepa_bank_transfer_payments, us_bank_transfer_payments on resource class stripe.Account.Capabilities and parameter class stripe.Account.CreateParamsCapabilities
    • Add support for swish 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

v9.9.0

Compare Source

  • #​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

v9.8.0

Compare Source

  • #​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

v9.7.0

Compare Source

  • #​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

v9.6.0

Compare Source

  • #​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

v9.5.0

Compare Source

  • #​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

v9.4.0

Compare Source


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot force-pushed the renovate/stripe-11.x branch 5 times, most recently from b8a95bc to 7fd1967 Compare November 5, 2024 06:40
@renovate renovate bot force-pushed the renovate/stripe-11.x branch 3 times, most recently from 0cb3877 to 087fa52 Compare November 9, 2024 11:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants