github stripe/stripe-python v11.2.0b2

pre-release14 hours ago
  • #1396 Update generated code for beta
    • 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.CreateParamsComponentsFinancialAccountFeatures, stripe.AccountSession.CreateParamsComponentsNotificationBannerFeatures, and stripe.AccountSession.CreateParamsComponentsPayoutsFeatures
    • Add support for card_spend_dispute_management on parameter class stripe.AccountSession.CreateParamsComponentsIssuingCardsListFeatures
    • Add support for spend_control_management on parameter class stripe.AccountSession.CreateParamsComponentsIssuingCardsListFeatures
    • Add support for kakao_pay and kr_card on resource classes stripe.Charge.PaymentMethodDetails, stripe.ConfirmationToken.PaymentMethodPreview, stripe.Mandate.PaymentMethodDetails, stripe.PaymentIntent.PaymentMethodOptions, and stripe.SetupAttempt.PaymentMethodDetails, 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 naver_pay 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 payco and samsung_pay 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 line_items on parameter classes stripe.Order.CreateParamsPaymentSettingsPaymentMethodOptionsPaypal, stripe.Order.ModifyParamsPaymentSettingsPaymentMethodOptionsPaypal, stripe.PaymentIntent.ConfirmParamsPaymentMethodOptionsPaypal, stripe.PaymentIntent.CreateParamsPaymentMethodOptionsPaypal, and stripe.PaymentIntent.ModifyParamsPaymentMethodOptionsPaypal and resource classes stripe.Order.Payment.Settings.PaymentMethodOptions.Paypal and stripe.PaymentIntent.PaymentMethodOptions.Paypal
    • Add support for flat_amount on resource stripe.TaxRate and resource class stripe.tax.Calculation.TaxBreakdown.TaxRateDetails
    • Add support for rate_type on resource stripe.TaxRate and resource class stripe.tax.Calculation.TaxBreakdown.TaxRateDetails
    • Add support for metadata on 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, and uz on resource class stripe.tax.Registration.CountryOptions and parameter class stripe.tax.Registration.CreateParamsCountryOptions
    • Add support for by_tin, ma_vat, md_vat, tz_vat, uz_tin, and uz_vat on enums stripe.checkout.Session.CollectedInformation.TaxId.type, 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.Order.TaxDetails.TaxId.type, stripe.Order.CreateParamsTaxDetailsTaxId.type, stripe.Order.ModifyParamsTaxDetailsTaxId.type, stripe.QuotePreviewInvoice.CustomerTaxId.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 kakao_pay, kr_card, naver_pay, payco, and 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 refund.failed on enums stripe.Event.type, stripe.WebhookEndpoint.CreateParams.enabled_events, and stripe.WebhookEndpoint.ModifyParams.enabled_events
    • Add support for payout_statement_descriptor_profanity on enums stripe.Invoice.LastFinalizationError.code, stripe.PaymentIntent.LastPaymentError.code, stripe.QuotePreviewInvoice.LastFinalizationError.code, stripe.SetupAttempt.SetupError.code, and stripe.SetupIntent.LastSetupError.code
    • 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 expired on enums stripe.issuing.Authorization.status and stripe.issuing.Authorization.ListParams.status
    • Add support for state_retail_delivery_fee on enums stripe.tax.Registration.CountryOptions.Us.type and stripe.tax.Registration.CreateParamsCountryOptionsUs.type

See the changelog for more details.

Don't miss a new stripe-python release

NewReleases is sending notifications on new releases.