stripe-python
stripe-python copied to clipboard
Update generated code
Codegen for openapi v1317.
Changelog
- Add support for
alma_paymentson resource classstripe.Account.Capabilitiesand parameter classstripe.Account.CreateParamsCapabilities - Add support for
kakao_pay_paymentson resource classstripe.Account.Capabilitiesand parameter classstripe.Account.CreateParamsCapabilities - Add support for
kr_card_paymentson resource classstripe.Account.Capabilitiesand parameter classstripe.Account.CreateParamsCapabilities - Add support for
naver_pay_paymentson resource classstripe.Account.Capabilitiesand parameter classstripe.Account.CreateParamsCapabilities - Add support for
payco_paymentson resource classstripe.Account.Capabilitiesand parameter classstripe.Account.CreateParamsCapabilities - Add support for
samsung_pay_paymentson resource classstripe.Account.Capabilitiesand parameter classstripe.Account.CreateParamsCapabilities - Add support for
groupson parameter classstripe.Account.CreateParamsand resourcestripe.Account - Add support for
disable_stripe_user_authenticationon resource classesstripe.AccountSession.Components.AccountManagement.Features,stripe.AccountSession.Components.AccountOnboarding.Features,stripe.AccountSession.Components.Balances.Features,stripe.AccountSession.Components.NotificationBanner.Features, andstripe.AccountSession.Components.Payouts.Featuresand parameter classesstripe.AccountSession.CreateParamsComponentsAccountManagementFeatures,stripe.AccountSession.CreateParamsComponentsAccountOnboardingFeatures,stripe.AccountSession.CreateParamsComponentsBalancesFeatures,stripe.AccountSession.CreateParamsComponentsNotificationBannerFeatures, andstripe.AccountSession.CreateParamsComponentsPayoutsFeatures - Add support for
almaon resource classesstripe.Charge.PaymentMethodDetails,stripe.ConfirmationToken.PaymentMethodPreview,stripe.PaymentIntent.PaymentMethodOptions, andstripe.Refund.DestinationDetails, parameter classesstripe.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, andstripe.SetupIntent.ModifyParamsPaymentMethodData, and resourcesstripe.PaymentMethodandstripe.PaymentMethodConfiguration - Add support for
kakao_payon resource classesstripe.Charge.PaymentMethodDetails,stripe.ConfirmationToken.PaymentMethodPreview,stripe.Mandate.PaymentMethodDetails,stripe.PaymentIntent.PaymentMethodOptions, andstripe.SetupAttempt.PaymentMethodDetails, parameter classesstripe.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, andstripe.SetupIntent.ModifyParamsPaymentMethodData, and resourcestripe.PaymentMethod - Add support for
kr_cardon resource classesstripe.Charge.PaymentMethodDetails,stripe.ConfirmationToken.PaymentMethodPreview,stripe.Mandate.PaymentMethodDetails,stripe.PaymentIntent.PaymentMethodOptions, andstripe.SetupAttempt.PaymentMethodDetails, parameter classesstripe.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, andstripe.SetupIntent.ModifyParamsPaymentMethodData, and resourcestripe.PaymentMethod - Add support for
naver_payon resource classesstripe.Charge.PaymentMethodDetails,stripe.ConfirmationToken.PaymentMethodPreview, andstripe.PaymentIntent.PaymentMethodOptions, parameter classesstripe.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, andstripe.SetupIntent.ModifyParamsPaymentMethodData, and resourcestripe.PaymentMethod - Add support for
paycoon resource classesstripe.Charge.PaymentMethodDetails,stripe.ConfirmationToken.PaymentMethodPreview, andstripe.PaymentIntent.PaymentMethodOptions, parameter classesstripe.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, andstripe.SetupIntent.ModifyParamsPaymentMethodData, and resourcestripe.PaymentMethod - Add support for
samsung_payon resource classesstripe.Charge.PaymentMethodDetails,stripe.ConfirmationToken.PaymentMethodPreview, andstripe.PaymentIntent.PaymentMethodOptions, parameter classesstripe.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, andstripe.SetupIntent.ModifyParamsPaymentMethodData, and resourcestripe.PaymentMethod - Add support for
amazon_payon resourcestripe.PaymentMethodDomain - Add support for
flat_amounton resourcestripe.TaxRateand resource classstripe.tax.Calculation.TaxBreakdown.TaxRateDetails - Add support for
rate_typeon resourcestripe.TaxRateand resource classstripe.tax.Calculation.TaxBreakdown.TaxRateDetails - Add support for
schedule_at_period_endon parameter classesstripe.billing_portal.Configuration.CreateParamsFeaturesSubscriptionUpdateandstripe.billing_portal.Configuration.ModifyParamsFeaturesSubscriptionUpdateand resource classstripe.billing_portal.Configuration.Features.SubscriptionUpdate - Add support for
metadataon parameter classstripe.forwarding.Request.CreateParamsand resourcestripe.forwarding.Request - Add support for
_cls_submit_cardon resourcestripe.issuing.Card - Add support for
submit_cardon resourcestripe.issuing.Card - Add support for
byon resource classstripe.tax.Registration.CountryOptionsand parameter classstripe.tax.Registration.CreateParamsCountryOptions - Add support for
cron resource classstripe.tax.Registration.CountryOptionsand parameter classstripe.tax.Registration.CreateParamsCountryOptions - Add support for
econ resource classstripe.tax.Registration.CountryOptionsand parameter classstripe.tax.Registration.CreateParamsCountryOptions - Add support for
maon resource classstripe.tax.Registration.CountryOptionsand parameter classstripe.tax.Registration.CreateParamsCountryOptions - Add support for
mdon resource classstripe.tax.Registration.CountryOptionsand parameter classstripe.tax.Registration.CreateParamsCountryOptions - Add support for
rson resource classstripe.tax.Registration.CountryOptionsand parameter classstripe.tax.Registration.CreateParamsCountryOptions - Add support for
ruon resource classstripe.tax.Registration.CountryOptionsand parameter classstripe.tax.Registration.CreateParamsCountryOptions - Add support for
tzon resource classstripe.tax.Registration.CountryOptionsand parameter classstripe.tax.Registration.CreateParamsCountryOptions - Add support for
uzon resource classstripe.tax.Registration.CountryOptionsand parameter classstripe.tax.Registration.CreateParamsCountryOptions - Add support for
plnon parameter classesstripe.terminal.Configuration.CreateParamsTippingandstripe.terminal.Configuration.ModifyParamsTippingand resource classstripe.terminal.Configuration.Tipping - Remove support for
marginon resource classesstripe.Invoice.TotalPretaxCreditAmountandstripe.InvoiceLineItem.PretaxCreditAmount - Remove support for resource
stripe.Margin - Change type of
business_profileonstripe.billing_portal.Configuration.CreateParamsfromConfiguration.CreateParamsBusinessProfiletoNotRequired[Configuration.CreateParamsBusinessProfile] - Add support for
by_tinon enumsstripe.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, andstripe.TaxId.CreateParams.type - Add support for
ma_vaton enumsstripe.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, andstripe.TaxId.CreateParams.type - Add support for
md_vaton enumsstripe.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, andstripe.TaxId.CreateParams.type - Add support for
tz_vaton enumsstripe.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, andstripe.TaxId.CreateParams.type - Add support for
uz_tinon enumsstripe.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, andstripe.TaxId.CreateParams.type - Add support for
uz_vaton enumsstripe.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, andstripe.TaxId.CreateParams.type - Add support for
almaon enumsstripe.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, andstripe.SetupIntent.ModifyParamsPaymentMethodData.type - Add support for
kakao_payon enumsstripe.checkout.Session.CreateParams.payment_method_types,stripe.ConfirmationToken.PaymentMethodPreview.type,stripe.ConfirmationToken.CreateParamsPaymentMethodData.type,stripe.Customer.ListPaymentMethodsParams.type,stripe.Invoice.PaymentSettings.payment_method_types,stripe.Invoice.CreateParamsPaymentSettings.payment_method_types,stripe.Invoice.ModifyParamsPaymentSettings.payment_method_types,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,stripe.SetupIntent.ModifyParamsPaymentMethodData.type,stripe.Subscription.PaymentSettings.payment_method_types,stripe.Subscription.CreateParamsPaymentSettings.payment_method_types, andstripe.Subscription.ModifyParamsPaymentSettings.payment_method_types - Add support for
kr_cardon enumsstripe.checkout.Session.CreateParams.payment_method_types,stripe.ConfirmationToken.PaymentMethodPreview.type,stripe.ConfirmationToken.CreateParamsPaymentMethodData.type,stripe.Customer.ListPaymentMethodsParams.type,stripe.Invoice.PaymentSettings.payment_method_types,stripe.Invoice.CreateParamsPaymentSettings.payment_method_types,stripe.Invoice.ModifyParamsPaymentSettings.payment_method_types,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,stripe.SetupIntent.ModifyParamsPaymentMethodData.type,stripe.Subscription.PaymentSettings.payment_method_types,stripe.Subscription.CreateParamsPaymentSettings.payment_method_types, andstripe.Subscription.ModifyParamsPaymentSettings.payment_method_types - Add support for
naver_payon enumsstripe.checkout.Session.CreateParams.payment_method_types,stripe.ConfirmationToken.PaymentMethodPreview.type,stripe.ConfirmationToken.CreateParamsPaymentMethodData.type,stripe.Customer.ListPaymentMethodsParams.type,stripe.Invoice.PaymentSettings.payment_method_types,stripe.Invoice.CreateParamsPaymentSettings.payment_method_types,stripe.Invoice.ModifyParamsPaymentSettings.payment_method_types,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,stripe.SetupIntent.ModifyParamsPaymentMethodData.type,stripe.Subscription.PaymentSettings.payment_method_types,stripe.Subscription.CreateParamsPaymentSettings.payment_method_types, andstripe.Subscription.ModifyParamsPaymentSettings.payment_method_types - Add support for
paycoon enumsstripe.checkout.Session.CreateParams.payment_method_types,stripe.ConfirmationToken.PaymentMethodPreview.type,stripe.ConfirmationToken.CreateParamsPaymentMethodData.type,stripe.Customer.ListPaymentMethodsParams.type,stripe.Invoice.PaymentSettings.payment_method_types,stripe.Invoice.CreateParamsPaymentSettings.payment_method_types,stripe.Invoice.ModifyParamsPaymentSettings.payment_method_types,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,stripe.SetupIntent.ModifyParamsPaymentMethodData.type,stripe.Subscription.PaymentSettings.payment_method_types,stripe.Subscription.CreateParamsPaymentSettings.payment_method_types, andstripe.Subscription.ModifyParamsPaymentSettings.payment_method_types - Add support for
samsung_payon enumsstripe.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, andstripe.SetupIntent.ModifyParamsPaymentMethodData.type - Add support for
autoon enumstripe.Customer.ModifyParamsTax.validate_location - Add support for
issuing_transaction.purchase_details_receipt_updatedon enumsstripe.Event.type,stripe.WebhookEndpoint.CreateParams.enabled_events, andstripe.WebhookEndpoint.ModifyParams.enabled_events - Add support for
refund.failedon enumsstripe.Event.type,stripe.WebhookEndpoint.CreateParams.enabled_events, andstripe.WebhookEndpoint.ModifyParams.enabled_events - Add support for
payout_statement_descriptor_profanityon enumsstripe.Invoice.LastFinalizationError.code,stripe.PaymentIntent.LastPaymentError.code,stripe.SetupAttempt.SetupError.code, andstripe.SetupIntent.LastSetupError.code - Add support for
jp_credit_transferon enumsstripe.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, andstripe.Subscription.ModifyParamsPaymentSettings.payment_method_types - Add support for
retail_delivery_feeon enumsstripe.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, andstripe.TaxRate.ModifyParams.tax_type - Add support for
state_retail_delivery_feeon enumsstripe.tax.Registration.CountryOptions.Us.typeandstripe.tax.Registration.CreateParamsCountryOptionsUs.type