github stripe/stripe-python v11.2.0

latest release: v11.3.0b1
12 hours ago
  • #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

See the changelog for more details.

Don't miss a new stripe-python release

NewReleases is sending notifications on new releases.