releases.shpreview
Stripe/stripe-python

stripe-python

$npx -y @buildinternet/releases show stripe-python
Mon
Wed
Fri
AprMayJunJulAugSepOctNovDecJanFebMarApr
Less
More
Releases24Avg7/moVersionsv14.2.0a3 → v15.1.0a4
Jan 9, 2025
  • #1433 Update generated code for beta
    • Add support for directorship_declaration on resource class stripe.Account.Company
    • Add support for ownership_exemption_reason on resource class stripe.Account.Company and parameter classes stripe.Account.CreateParamsCompany and stripe.Token.CreateParamsAccountCompany
    • Add support for brand_product on resource stripe.Card and resource classes stripe.Source.Card, stripe.Source.CardPresent, and stripe.Source.ThreeDSecure
    • Add support for advice_code on resource classes stripe.Charge.Outcome, stripe.Invoice.LastFinalizationError, stripe.PaymentIntent.LastPaymentError, stripe.QuotePreviewInvoice.LastFinalizationError, stripe.SetupAttempt.SetupError, and stripe.SetupIntent.LastSetupError
    • Add support for country on resource classes stripe.Charge.PaymentMethodDetails.Paypal, stripe.ConfirmationToken.PaymentMethodPreview.Paypal, and stripe.PaymentMethod.Paypal
    • Add support for phone_number_collection on parameter class stripe.PaymentLink.ModifyParams
    • Add support for nickname on parameter classes stripe.treasury.FinancialAccount.CreateParams and stripe.treasury.FinancialAccount.ModifyParams and resource stripe.treasury.FinancialAccount
    • Add support for forwarding_settings on parameter class stripe.treasury.FinancialAccount.ModifyParams
    • Add support for _cls_close on resource stripe.treasury.FinancialAccount
    • Add support for close on resource stripe.treasury.FinancialAccount
    • Add support for is_default on resource stripe.treasury.FinancialAccount
    • Add support for destination_payment_method_data on parameter class stripe.treasury.OutboundTransfer.CreateParams
    • Add support for financial_account on resource class stripe.treasury.OutboundTransfer.DestinationPaymentMethodDetails
    • Add support for outbound_transfer on resource class stripe.treasury.ReceivedCredit.LinkedFlows.SourceFlowDetails
    • Remove support for always_invoice on enums stripe.billing_portal.Configuration.Features.SubscriptionCancel.proration_behavior, stripe.billing_portal.Configuration.CreateParamsFeaturesSubscriptionCancel.proration_behavior, and stripe.billing_portal.Configuration.ModifyParamsFeaturesSubscriptionCancel.proration_behavior
    • Add support for al_tin on enums stripe.checkout.Session.CollectedInformation.TaxId.type, stripe.Order.TaxDetails.TaxId.type, stripe.Order.CreateParamsTaxDetailsTaxId.type, stripe.Order.ModifyParamsTaxDetailsTaxId.type, and stripe.QuotePreviewInvoice.CustomerTaxId.type
    • Add support for financial_account on enum stripe.treasury.OutboundTransfer.DestinationPaymentMethodDetails.type
    • Add support for outbound_transfer on enums stripe.treasury.ReceivedCredit.LinkedFlows.SourceFlowDetails.type and stripe.treasury.ReceivedCredit.ListParamsLinkedFlows.source_flow_type
    • Change type of pretax_credit_amounts on stripe.CreditNote and stripe.CreditNoteLineItem from Optional[List[PretaxCreditAmount]] to List[PretaxCreditAmount]

See the changelog for more details.

Dec 19, 2024
  • #1438 Fix regression when using httpx HTTP client

See the changelog for more details.

Dec 18, 2024
  • #1430 This release changes the pinned API version to 2024-12-18.acacia.
    • Add support for allow_redisplay on resources stripe.Card and stripe.Source
    • Add support for regulated_status on resource stripe.Card and resource classes stripe.Charge.PaymentMethodDetails.Card, stripe.ConfirmationToken.PaymentMethodPreview.Card, and stripe.PaymentMethod.Card
    • Add support for network_advice_code on resource classes stripe.Charge.Outcome, stripe.Invoice.LastFinalizationError, stripe.PaymentIntent.LastPaymentError, stripe.SetupAttempt.SetupError, and stripe.SetupIntent.LastSetupError
    • Add support for network_decline_code on resource classes stripe.Charge.Outcome, stripe.Invoice.LastFinalizationError, stripe.PaymentIntent.LastPaymentError, stripe.SetupAttempt.SetupError, and stripe.SetupIntent.LastSetupError
    • Add support for funding on resource classes stripe.Charge.PaymentMethodDetails.AmazonPay and stripe.Charge.PaymentMethodDetails.RevolutPay
    • Add support for network_transaction_id on resource class stripe.Charge.PaymentMethodDetails.Card
    • Add support for visa_compliance on resource classes stripe.Dispute.Evidence.EnhancedEvidence and stripe.Dispute.EvidenceDetails.EnhancedEligibility and parameter class stripe.Dispute.ModifyParamsEvidenceEnhancedEvidence
    • Add support for account_holder_address on resource classes stripe.FundingInstructions.BankTransfer.FinancialAddress.Iban, stripe.FundingInstructions.BankTransfer.FinancialAddress.SortCode, stripe.FundingInstructions.BankTransfer.FinancialAddress.Spei, stripe.FundingInstructions.BankTransfer.FinancialAddress.Zengin, stripe.PaymentIntent.NextAction.DisplayBankTransferInstructions.FinancialAddress.Iban, stripe.PaymentIntent.NextAction.DisplayBankTransferInstructions.FinancialAddress.SortCode, stripe.PaymentIntent.NextAction.DisplayBankTransferInstructions.FinancialAddress.Spei, and stripe.PaymentIntent.NextAction.DisplayBankTransferInstructions.FinancialAddress.Zengin
    • Add support for bank_address on resource classes stripe.FundingInstructions.BankTransfer.FinancialAddress.Iban, stripe.FundingInstructions.BankTransfer.FinancialAddress.SortCode, stripe.FundingInstructions.BankTransfer.FinancialAddress.Spei, stripe.FundingInstructions.BankTransfer.FinancialAddress.Zengin, stripe.PaymentIntent.NextAction.DisplayBankTransferInstructions.FinancialAddress.Iban, stripe.PaymentIntent.NextAction.DisplayBankTransferInstructions.FinancialAddress.SortCode, stripe.PaymentIntent.NextAction.DisplayBankTransferInstructions.FinancialAddress.Spei, and stripe.PaymentIntent.NextAction.DisplayBankTransferInstructions.FinancialAddress.Zengin
    • Add support for account_holder_name on resource classes stripe.FundingInstructions.BankTransfer.FinancialAddress.Spei and stripe.PaymentIntent.NextAction.DisplayBankTransferInstructions.FinancialAddress.Spei
    • Add support for disabled_reason on resource classes stripe.Invoice.AutomaticTax, stripe.Subscription.AutomaticTax, stripe.SubscriptionSchedule.DefaultSettings.AutomaticTax, and stripe.SubscriptionSchedule.Phase.AutomaticTax
    • Add support for reference_prefix on parameter classes stripe.PaymentIntent.ConfirmParamsPaymentMethodOptionsBacsDebitMandateOptions, stripe.PaymentIntent.ConfirmParamsPaymentMethodOptionsSepaDebitMandateOptions, stripe.PaymentIntent.CreateParamsPaymentMethodOptionsBacsDebitMandateOptions, stripe.PaymentIntent.CreateParamsPaymentMethodOptionsSepaDebitMandateOptions, stripe.PaymentIntent.ModifyParamsPaymentMethodOptionsBacsDebitMandateOptions, stripe.PaymentIntent.ModifyParamsPaymentMethodOptionsSepaDebitMandateOptions, stripe.SetupIntent.ConfirmParamsPaymentMethodOptionsBacsDebitMandateOptions, stripe.SetupIntent.ConfirmParamsPaymentMethodOptionsSepaDebitMandateOptions, stripe.SetupIntent.CreateParamsPaymentMethodOptionsBacsDebitMandateOptions, stripe.SetupIntent.CreateParamsPaymentMethodOptionsSepaDebitMandateOptions, stripe.SetupIntent.ModifyParamsPaymentMethodOptionsBacsDebitMandateOptions, stripe.SetupIntent.ModifyParamsPaymentMethodOptionsSepaDebitMandateOptions, stripe.checkout.Session.CreateParamsPaymentMethodOptionsBacsDebitMandateOptions, and stripe.checkout.Session.CreateParamsPaymentMethodOptionsSepaDebitMandateOptions and resource classes stripe.PaymentIntent.PaymentMethodOptions.BacsDebit.MandateOptions, stripe.PaymentIntent.PaymentMethodOptions.SepaDebit.MandateOptions, stripe.SetupIntent.PaymentMethodOptions.BacsDebit.MandateOptions, stripe.SetupIntent.PaymentMethodOptions.SepaDebit.MandateOptions, stripe.checkout.Session.PaymentMethodOptions.BacsDebit.MandateOptions, and stripe.checkout.Session.PaymentMethodOptions.SepaDebit.MandateOptions
    • Add support for trial_period_days on parameter class stripe.PaymentLink.ModifyParamsSubscriptionData
    • Add support for credits_application_invoice_voided on resource class stripe.billing.CreditBalanceTransaction.Credit
    • Add support for tax_id on resource classes stripe.issuing.Authorization.MerchantData and stripe.issuing.Transaction.MerchantData
    • Add support for al on resource class stripe.tax.Registration.CountryOptions and parameter class stripe.tax.Registration.CreateParamsCountryOptions
    • Add support for am on resource class stripe.tax.Registration.CountryOptions and parameter class stripe.tax.Registration.CreateParamsCountryOptions
    • Add support for ao on resource class stripe.tax.Registration.CountryOptions and parameter class stripe.tax.Registration.CreateParamsCountryOptions
    • Add support for ba on resource class stripe.tax.Registration.CountryOptions and parameter class stripe.tax.Registration.CreateParamsCountryOptions
    • Add support for bb on resource class stripe.tax.Registration.CountryOptions and parameter class stripe.tax.Registration.CreateParamsCountryOptions
    • Add support for bs on resource class stripe.tax.Registration.CountryOptions and parameter class stripe.tax.Registration.CreateParamsCountryOptions
    • Add support for cd on resource class stripe.tax.Registration.CountryOptions and parameter class stripe.tax.Registration.CreateParamsCountryOptions
    • Add support for gn on resource class stripe.tax.Registration.CountryOptions and parameter class stripe.tax.Registration.CreateParamsCountryOptions
    • Add support for kh on resource class stripe.tax.Registration.CountryOptions and parameter class stripe.tax.Registration.CreateParamsCountryOptions
    • Add support for me on resource class stripe.tax.Registration.CountryOptions and parameter class stripe.tax.Registration.CreateParamsCountryOptions
    • Add support for mk on resource class stripe.tax.Registration.CountryOptions and parameter class stripe.tax.Registration.CreateParamsCountryOptions
    • Add support for mr on resource class stripe.tax.Registration.CountryOptions and parameter class stripe.tax.Registration.CreateParamsCountryOptions
    • Add support for np on resource class stripe.tax.Registration.CountryOptions and parameter class stripe.tax.Registration.CreateParamsCountryOptions
    • Add support for pe on resource class stripe.tax.Registration.CountryOptions and parameter class stripe.tax.Registration.CreateParamsCountryOptions
    • Add support for sn on resource class stripe.tax.Registration.CountryOptions and parameter class stripe.tax.Registration.CreateParamsCountryOptions
    • Add support for sr on resource class stripe.tax.Registration.CountryOptions and parameter class stripe.tax.Registration.CreateParamsCountryOptions
    • Add support for tj on resource class stripe.tax.Registration.CountryOptions and parameter class stripe.tax.Registration.CreateParamsCountryOptions
    • Add support for ug on resource class stripe.tax.Registration.CountryOptions and parameter class stripe.tax.Registration.CreateParamsCountryOptions
    • Add support for uy on resource class stripe.tax.Registration.CountryOptions and parameter class stripe.tax.Registration.CreateParamsCountryOptions
    • Add support for zm on resource class stripe.tax.Registration.CountryOptions and parameter class stripe.tax.Registration.CreateParamsCountryOptions
    • Add support for zw on resource class stripe.tax.Registration.CountryOptions and parameter class stripe.tax.Registration.CreateParamsCountryOptions
    • Add support for payout_minimum_balance_hold on enum stripe.BalanceTransaction.type
    • Add support for payout_minimum_balance_release on enum stripe.BalanceTransaction.type
    • Add support for credits_application_invoice_voided on enum stripe.billing.CreditBalanceTransaction.Credit.type
    • Add support for al_tin 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 am_tin 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 ao_tin 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 ba_tin 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 bb_tin 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 bs_tin 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 cd_nif 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 gn_nif 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 kh_tin 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 me_pib 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 mk_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 mr_nif 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 np_pan 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 sn_ninea 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 sr_fin 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 tj_tin 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 ug_tin 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 zm_tin 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 zw_tin 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 request_signature on enums stripe.forwarding.Request.replacements and stripe.forwarding.Request.CreateParams.replacements
    • Add support for 2024-12-18.acacia on enum stripe.WebhookEndpoint.CreateParams.api_version
    • Change type of schedule_at_period_end on stripe.billing_portal.Configuration.Features.SubscriptionUpdate from Optional[ScheduleAtPeriodEnd] to ScheduleAtPeriodEnd
  • #1434 Fix using auto_paging_iter() with expand: [...]
  • #1435 Fix StripeError http_body
    • Fixes an issue where StripeError.http_body may be None even when json_body is a valid dictionary.
  • #1431 fix deprecation warning in httpx @ 0.28

See the changelog for more details.

Dec 12, 2024
  • #1429 Update generated code for beta
    • Add support for allow_redisplay on resources stripe.Card and stripe.Source
    • Add support for account on resource classes stripe.terminal.Reader.Action.CollectPaymentMethod, stripe.terminal.Reader.Action.ConfirmPaymentIntent, stripe.terminal.Reader.Action.ProcessPaymentIntent, and stripe.terminal.Reader.Action.RefundPayment
    • Remove support for amount_refunded on resource stripe.PaymentRecord
    • Add support for am_tin on enums stripe.checkout.Session.CollectedInformation.TaxId.type, stripe.Order.TaxDetails.TaxId.type, stripe.Order.CreateParamsTaxDetailsTaxId.type, stripe.Order.ModifyParamsTaxDetailsTaxId.type, and stripe.QuotePreviewInvoice.CustomerTaxId.type
    • Add support for ao_tin on enums stripe.checkout.Session.CollectedInformation.TaxId.type, stripe.Order.TaxDetails.TaxId.type, stripe.Order.CreateParamsTaxDetailsTaxId.type, stripe.Order.ModifyParamsTaxDetailsTaxId.type, and stripe.QuotePreviewInvoice.CustomerTaxId.type
    • Add support for ba_tin on enums stripe.checkout.Session.CollectedInformation.TaxId.type, stripe.Order.TaxDetails.TaxId.type, stripe.Order.CreateParamsTaxDetailsTaxId.type, stripe.Order.ModifyParamsTaxDetailsTaxId.type, and stripe.QuotePreviewInvoice.CustomerTaxId.type
    • Add support for bb_tin on enums stripe.checkout.Session.CollectedInformation.TaxId.type, stripe.Order.TaxDetails.TaxId.type, stripe.Order.CreateParamsTaxDetailsTaxId.type, stripe.Order.ModifyParamsTaxDetailsTaxId.type, and stripe.QuotePreviewInvoice.CustomerTaxId.type
    • Add support for bs_tin on enums stripe.checkout.Session.CollectedInformation.TaxId.type, stripe.Order.TaxDetails.TaxId.type, stripe.Order.CreateParamsTaxDetailsTaxId.type, stripe.Order.ModifyParamsTaxDetailsTaxId.type, and stripe.QuotePreviewInvoice.CustomerTaxId.type
    • Add support for cd_nif on enums stripe.checkout.Session.CollectedInformation.TaxId.type, stripe.Order.TaxDetails.TaxId.type, stripe.Order.CreateParamsTaxDetailsTaxId.type, stripe.Order.ModifyParamsTaxDetailsTaxId.type, and stripe.QuotePreviewInvoice.CustomerTaxId.type
    • Add support for gn_nif on enums stripe.checkout.Session.CollectedInformation.TaxId.type, stripe.Order.TaxDetails.TaxId.type, stripe.Order.CreateParamsTaxDetailsTaxId.type, stripe.Order.ModifyParamsTaxDetailsTaxId.type, and stripe.QuotePreviewInvoice.CustomerTaxId.type
    • Add support for kh_tin on enums stripe.checkout.Session.CollectedInformation.TaxId.type, stripe.Order.TaxDetails.TaxId.type, stripe.Order.CreateParamsTaxDetailsTaxId.type, stripe.Order.ModifyParamsTaxDetailsTaxId.type, and stripe.QuotePreviewInvoice.CustomerTaxId.type
    • Add support for me_pib on enums stripe.checkout.Session.CollectedInformation.TaxId.type, stripe.Order.TaxDetails.TaxId.type, stripe.Order.CreateParamsTaxDetailsTaxId.type, stripe.Order.ModifyParamsTaxDetailsTaxId.type, and stripe.QuotePreviewInvoice.CustomerTaxId.type
    • Add support for mk_vat on enums stripe.checkout.Session.CollectedInformation.TaxId.type, stripe.Order.TaxDetails.TaxId.type, stripe.Order.CreateParamsTaxDetailsTaxId.type, stripe.Order.ModifyParamsTaxDetailsTaxId.type, and stripe.QuotePreviewInvoice.CustomerTaxId.type
    • Add support for mr_nif on enums stripe.checkout.Session.CollectedInformation.TaxId.type, stripe.Order.TaxDetails.TaxId.type, stripe.Order.CreateParamsTaxDetailsTaxId.type, stripe.Order.ModifyParamsTaxDetailsTaxId.type, and stripe.QuotePreviewInvoice.CustomerTaxId.type
    • Add support for np_pan on enums stripe.checkout.Session.CollectedInformation.TaxId.type, stripe.Order.TaxDetails.TaxId.type, stripe.Order.CreateParamsTaxDetailsTaxId.type, stripe.Order.ModifyParamsTaxDetailsTaxId.type, and stripe.QuotePreviewInvoice.CustomerTaxId.type
    • Add support for sn_ninea on enums stripe.checkout.Session.CollectedInformation.TaxId.type, stripe.Order.TaxDetails.TaxId.type, stripe.Order.CreateParamsTaxDetailsTaxId.type, stripe.Order.ModifyParamsTaxDetailsTaxId.type, and stripe.QuotePreviewInvoice.CustomerTaxId.type
    • Add support for sr_fin on enums stripe.checkout.Session.CollectedInformation.TaxId.type, stripe.Order.TaxDetails.TaxId.type, stripe.Order.CreateParamsTaxDetailsTaxId.type, stripe.Order.ModifyParamsTaxDetailsTaxId.type, and stripe.QuotePreviewInvoice.CustomerTaxId.type
    • Add support for tj_tin on enums stripe.checkout.Session.CollectedInformation.TaxId.type, stripe.Order.TaxDetails.TaxId.type, stripe.Order.CreateParamsTaxDetailsTaxId.type, stripe.Order.ModifyParamsTaxDetailsTaxId.type, and stripe.QuotePreviewInvoice.CustomerTaxId.type
    • Add support for ug_tin on enums stripe.checkout.Session.CollectedInformation.TaxId.type, stripe.Order.TaxDetails.TaxId.type, stripe.Order.CreateParamsTaxDetailsTaxId.type, stripe.Order.ModifyParamsTaxDetailsTaxId.type, and stripe.QuotePreviewInvoice.CustomerTaxId.type
    • Add support for zm_tin on enums stripe.checkout.Session.CollectedInformation.TaxId.type, stripe.Order.TaxDetails.TaxId.type, stripe.Order.CreateParamsTaxDetailsTaxId.type, stripe.Order.ModifyParamsTaxDetailsTaxId.type, and stripe.QuotePreviewInvoice.CustomerTaxId.type
    • Add support for zw_tin on enums stripe.checkout.Session.CollectedInformation.TaxId.type, stripe.Order.TaxDetails.TaxId.type, stripe.Order.CreateParamsTaxDetailsTaxId.type, stripe.Order.ModifyParamsTaxDetailsTaxId.type, and stripe.QuotePreviewInvoice.CustomerTaxId.type
    • Add support for network_fallback on enum stripe.issuing.Authorization.RequestHistory.reason

See the changelog for more details.

Dec 5, 2024
  • #1426 Update generated code for beta
    • Add support for automatic_indirect_tax on resource class stripe.Account.Capabilities and parameter class stripe.Account.CreateParamsCapabilities
    • Add support for disabled_reason on resource classes stripe.Invoice.AutomaticTax, stripe.QuotePreviewInvoice.AutomaticTax, stripe.QuotePreviewSubscriptionSchedule.DefaultSettings.AutomaticTax, stripe.QuotePreviewSubscriptionSchedule.Phase.AutomaticTax, stripe.Subscription.AutomaticTax, stripe.SubscriptionSchedule.DefaultSettings.AutomaticTax, and stripe.SubscriptionSchedule.Phase.AutomaticTax
    • Add support for reference_prefix on parameter classes stripe.Order.CreateParamsPaymentSettingsPaymentMethodOptionsSepaDebitMandateOptions, stripe.Order.ModifyParamsPaymentSettingsPaymentMethodOptionsSepaDebitMandateOptions, stripe.PaymentIntent.ConfirmParamsPaymentMethodOptionsBacsDebitMandateOptions, stripe.PaymentIntent.ConfirmParamsPaymentMethodOptionsSepaDebitMandateOptions, stripe.PaymentIntent.CreateParamsPaymentMethodOptionsBacsDebitMandateOptions, stripe.PaymentIntent.CreateParamsPaymentMethodOptionsSepaDebitMandateOptions, stripe.PaymentIntent.ModifyParamsPaymentMethodOptionsBacsDebitMandateOptions, stripe.PaymentIntent.ModifyParamsPaymentMethodOptionsSepaDebitMandateOptions, stripe.SetupIntent.ConfirmParamsPaymentMethodOptionsBacsDebitMandateOptions, stripe.SetupIntent.ConfirmParamsPaymentMethodOptionsSepaDebitMandateOptions, stripe.SetupIntent.CreateParamsPaymentMethodOptionsBacsDebitMandateOptions, stripe.SetupIntent.CreateParamsPaymentMethodOptionsSepaDebitMandateOptions, stripe.SetupIntent.ModifyParamsPaymentMethodOptionsBacsDebitMandateOptions, stripe.SetupIntent.ModifyParamsPaymentMethodOptionsSepaDebitMandateOptions, stripe.checkout.Session.CreateParamsPaymentMethodOptionsBacsDebitMandateOptions, and stripe.checkout.Session.CreateParamsPaymentMethodOptionsSepaDebitMandateOptions and resource classes stripe.Order.Payment.Settings.PaymentMethodOptions.SepaDebit.MandateOptions, stripe.PaymentIntent.PaymentMethodOptions.BacsDebit.MandateOptions, stripe.PaymentIntent.PaymentMethodOptions.SepaDebit.MandateOptions, stripe.SetupIntent.PaymentMethodOptions.BacsDebit.MandateOptions, stripe.SetupIntent.PaymentMethodOptions.SepaDebit.MandateOptions, stripe.checkout.Session.PaymentMethodOptions.BacsDebit.MandateOptions, and stripe.checkout.Session.PaymentMethodOptions.SepaDebit.MandateOptions
    • Add support for trial_period_days on parameter class stripe.PaymentLink.ModifyParamsSubscriptionData
    • Add support for payout_minimum_balance_hold on enum stripe.BalanceTransaction.type
    • Add support for payout_minimum_balance_release on enum stripe.BalanceTransaction.type

See the changelog for more details.

Nov 21, 2024
  • #1425 Update generated code for beta
    • Add support for network_advice_code on resource classes stripe.Charge.Outcome, stripe.Invoice.LastFinalizationError, stripe.PaymentIntent.LastPaymentError, stripe.QuotePreviewInvoice.LastFinalizationError, stripe.SetupAttempt.SetupError, and stripe.SetupIntent.LastSetupError
    • Add support for network_decline_code on resource classes stripe.Charge.Outcome, stripe.Invoice.LastFinalizationError, stripe.PaymentIntent.LastPaymentError, stripe.QuotePreviewInvoice.LastFinalizationError, stripe.SetupAttempt.SetupError, and stripe.SetupIntent.LastSetupError
    • Add support for funding on resource classes stripe.Charge.PaymentMethodDetails.AmazonPay and stripe.Charge.PaymentMethodDetails.RevolutPay
    • Add support for amount_requested on resource class stripe.Charge.PaymentMethodDetails.Card
    • Add support for partial_authorization on resource class stripe.Charge.PaymentMethodDetails.Card
    • Add support for adjustable_quantity on resource stripe.LineItem
    • Add support for display on resource stripe.LineItem
    • Add support for metadata on resource stripe.LineItem and parameter class stripe.checkout.Session.CreateParamsLineItem
    • Add support for request_partial_authorization on parameter classes stripe.PaymentIntent.ConfirmParamsPaymentMethodOptionsCard, stripe.PaymentIntent.CreateParamsPaymentMethodOptionsCard, and stripe.PaymentIntent.ModifyParamsPaymentMethodOptionsCard and resource class stripe.PaymentIntent.PaymentMethodOptions.Card
    • Add support for payment_method_options on parameter class stripe.PaymentIntent.IncrementAuthorizationParams
    • Add support for line_items on parameter classes stripe.checkout.Session.CreateParamsPermissionsUpdate and stripe.checkout.Session.ModifyParams and resource class stripe.checkout.Session.Permissions.Update
    • Change type of schedule_at_period_end on stripe.billing_portal.Configuration.Features.SubscriptionUpdate from Optional[ScheduleAtPeriodEnd] to ScheduleAtPeriodEnd
    • Add support for invoice.overpaid on enums stripe.Event.type, stripe.WebhookEndpoint.CreateParams.enabled_events, and stripe.WebhookEndpoint.ModifyParams.enabled_events

See the changelog for more details.

Nov 20, 2024
  • #1424 This release changes the pinned API version to 2024-11-20.acacia.
    • Add support for authorizer on parameter classes stripe.Account.CreatePersonParamsRelationship, stripe.Account.ListPersonsParamsRelationship, stripe.Account.ModifyPersonParamsRelationship, stripe.Account.PersonsParamsRelationship, and stripe.Token.CreateParamsPersonRelationship and resource class stripe.Person.Relationship
    • Add support for account_holder_address, account_holder_name, account_type and bank_address on resource classes stripe.FundingInstructions.BankTransfer.FinancialAddress.Aba, stripe.FundingInstructions.BankTransfer.FinancialAddress.Swift, stripe.PaymentIntent.NextAction.DisplayBankTransferInstructions.FinancialAddress.Aba, and stripe.PaymentIntent.NextAction.DisplayBankTransferInstructions.FinancialAddress.Swift
    • Add support for submit_type on parameter class stripe.PaymentLink.ModifyParams
    • Add support for trace_id on resource stripe.Payout
    • Add support for network_decline_code on resource classes stripe.Refund.DestinationDetails.Blik and stripe.Refund.DestinationDetails.Swish
    • Add support for adaptive_pricing on parameter class stripe.checkout.Session.CreateParams and resource stripe.checkout.Session
    • Add support for mandate_options on parameter classes stripe.checkout.Session.CreateParamsPaymentMethodOptionsBacsDebit and stripe.checkout.Session.CreateParamsPaymentMethodOptionsSepaDebit and resource classes stripe.checkout.Session.PaymentMethodOptions.BacsDebit and stripe.checkout.Session.PaymentMethodOptions.SepaDebit
    • Add support for request_extended_authorization, request_incremental_authorization, request_multicapture and request_overcapture on parameter class stripe.checkout.Session.CreateParamsPaymentMethodOptionsCard and resource class stripe.checkout.Session.PaymentMethodOptions.Card
    • Add support for capture_method on parameter classes stripe.checkout.Session.CreateParamsPaymentMethodOptionsKakaoPay, stripe.checkout.Session.CreateParamsPaymentMethodOptionsKrCard, stripe.checkout.Session.CreateParamsPaymentMethodOptionsNaverPay, stripe.checkout.Session.CreateParamsPaymentMethodOptionsPayco, and stripe.checkout.Session.CreateParamsPaymentMethodOptionsSamsungPay
    • Add support for merchant_amount and merchant_currency on parameter class stripe.issuing.Authorization.CreateParams
    • Add support for fraud_challenges, verified_by_fraud_challenge and respond on resource stripe.issuing.Authorization
    • Change type of disabled_reason on stripe.Account.FutureRequirements and stripe.Account.Requirements from str to Literal['action_required.requested_capabilities', 'listed', 'other', 'platform_paused', 'rejected.fraud', 'rejected.incomplete_verification', 'rejected.listed', 'rejected.other', 'rejected.platform_fraud', 'rejected.platform_other', 'rejected.platform_terms_of_service', 'rejected.terms_of_service', 'requirements.past_due', 'requirements.pending_verification', 'under_review']
    • Change type of disable_stripe_user_authentication on 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 from Optional[bool] to bool
    • Add support for subscribe on enums stripe.checkout.Session.submit_type, stripe.checkout.Session.CreateParams.submit_type, stripe.PaymentLink.submit_type, and stripe.PaymentLink.CreateParams.submit_type
    • Add support for li_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 financial_account_statement on enums stripe.File.purpose and stripe.File.ListParams.purpose
    • Add support for service_tax 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 link 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 2024-11-20.acacia on enum stripe.WebhookEndpoint.CreateParams.api_version
    • Change type of amount on stripe.issuing.Authorization.CreateParams from int to NotRequired[int]
    • Change type of origin_payment_method on stripe.treasury.InboundTransfer from str to Optional[str]

See the changelog for more details.

Nov 15, 2024
  • #1422 Update generated code for beta
    • Add support for account_holder_address on resource classes stripe.FundingInstructions.BankTransfer.FinancialAddress.Iban, stripe.FundingInstructions.BankTransfer.FinancialAddress.SortCode, stripe.FundingInstructions.BankTransfer.FinancialAddress.Spei, stripe.FundingInstructions.BankTransfer.FinancialAddress.Zengin, stripe.PaymentIntent.NextAction.DisplayBankTransferInstructions.FinancialAddress.Iban, stripe.PaymentIntent.NextAction.DisplayBankTransferInstructions.FinancialAddress.SortCode, stripe.PaymentIntent.NextAction.DisplayBankTransferInstructions.FinancialAddress.Spei, and stripe.PaymentIntent.NextAction.DisplayBankTransferInstructions.FinancialAddress.Zengin
    • Add support for bank_address on resource classes stripe.FundingInstructions.BankTransfer.FinancialAddress.Iban, stripe.FundingInstructions.BankTransfer.FinancialAddress.SortCode, stripe.FundingInstructions.BankTransfer.FinancialAddress.Spei, stripe.FundingInstructions.BankTransfer.FinancialAddress.Zengin, stripe.PaymentIntent.NextAction.DisplayBankTransferInstructions.FinancialAddress.Iban, stripe.PaymentIntent.NextAction.DisplayBankTransferInstructions.FinancialAddress.SortCode, stripe.PaymentIntent.NextAction.DisplayBankTransferInstructions.FinancialAddress.Spei, and stripe.PaymentIntent.NextAction.DisplayBankTransferInstructions.FinancialAddress.Zengin
    • Add support for account_holder_name on resource classes stripe.FundingInstructions.BankTransfer.FinancialAddress.Spei and stripe.PaymentIntent.NextAction.DisplayBankTransferInstructions.FinancialAddress.Spei
    • Add support for subscribe on enum stripe.PaymentLink.ModifyParams.submit_type

See the changelog for more details.

Nov 7, 2024
  • #1421 Update generated code for beta
    • Add support for card_management on parameter class stripe.AccountSession.CreateParamsComponentsIssuingCardFeatures
    • Add support for card_spend_dispute_management on parameter class stripe.AccountSession.CreateParamsComponentsIssuingCardFeatures
    • Add support for cardholder_management on parameter class stripe.AccountSession.CreateParamsComponentsIssuingCardFeatures
    • Add support for spend_control_management on parameter class stripe.AccountSession.CreateParamsComponentsIssuingCardFeatures
    • Add support for disable_stripe_user_authentication on parameter class stripe.AccountSession.CreateParamsComponentsIssuingCardsListFeatures
    • Add support for account_holder_address on resource classes stripe.FundingInstructions.BankTransfer.FinancialAddress.Aba, stripe.FundingInstructions.BankTransfer.FinancialAddress.Swift, stripe.PaymentIntent.NextAction.DisplayBankTransferInstructions.FinancialAddress.Aba, and stripe.PaymentIntent.NextAction.DisplayBankTransferInstructions.FinancialAddress.Swift
    • Add support for account_holder_name on resource classes stripe.FundingInstructions.BankTransfer.FinancialAddress.Aba, stripe.FundingInstructions.BankTransfer.FinancialAddress.Swift, stripe.PaymentIntent.NextAction.DisplayBankTransferInstructions.FinancialAddress.Aba, and stripe.PaymentIntent.NextAction.DisplayBankTransferInstructions.FinancialAddress.Swift
    • Add support for account_type on resource classes stripe.FundingInstructions.BankTransfer.FinancialAddress.Aba, stripe.FundingInstructions.BankTransfer.FinancialAddress.Swift, stripe.PaymentIntent.NextAction.DisplayBankTransferInstructions.FinancialAddress.Aba, and stripe.PaymentIntent.NextAction.DisplayBankTransferInstructions.FinancialAddress.Swift
    • Add support for bank_address on resource classes stripe.FundingInstructions.BankTransfer.FinancialAddress.Aba, stripe.FundingInstructions.BankTransfer.FinancialAddress.Swift, stripe.PaymentIntent.NextAction.DisplayBankTransferInstructions.FinancialAddress.Aba, and stripe.PaymentIntent.NextAction.DisplayBankTransferInstructions.FinancialAddress.Swift
    • Add support for payment_record on parameter class stripe.Invoice.AttachPaymentParams and resource class stripe.InvoicePayment.Payment
    • Add support for amount_overpaid on resources stripe.Invoice and stripe.QuotePreviewInvoice
    • Add support for resource stripe.PaymentAttemptRecord
    • Add support for submit_type on parameter class stripe.PaymentLink.ModifyParams
    • Add support for resource stripe.PaymentRecord
    • Add support for adaptive_pricing on parameter class stripe.checkout.Session.CreateParams and resource stripe.checkout.Session
    • Add support for mandate_options on parameter classes stripe.checkout.Session.CreateParamsPaymentMethodOptionsBacsDebit and stripe.checkout.Session.CreateParamsPaymentMethodOptionsSepaDebit and resource classes stripe.checkout.Session.PaymentMethodOptions.BacsDebit and stripe.checkout.Session.PaymentMethodOptions.SepaDebit
    • Add support for request_decremental_authorization on parameter class stripe.checkout.Session.CreateParamsPaymentMethodOptionsCard and resource class stripe.checkout.Session.PaymentMethodOptions.Card
    • Add support for request_extended_authorization on parameter class stripe.checkout.Session.CreateParamsPaymentMethodOptionsCard and resource class stripe.checkout.Session.PaymentMethodOptions.Card
    • Add support for request_incremental_authorization on parameter class stripe.checkout.Session.CreateParamsPaymentMethodOptionsCard and resource class stripe.checkout.Session.PaymentMethodOptions.Card
    • Add support for request_multicapture on parameter class stripe.checkout.Session.CreateParamsPaymentMethodOptionsCard and resource class stripe.checkout.Session.PaymentMethodOptions.Card
    • Add support for request_overcapture on parameter class stripe.checkout.Session.CreateParamsPaymentMethodOptionsCard and resource class stripe.checkout.Session.PaymentMethodOptions.Card
    • Add support for capture_method on parameter classes stripe.checkout.Session.CreateParamsPaymentMethodOptionsKakaoPay, stripe.checkout.Session.CreateParamsPaymentMethodOptionsKrCard, stripe.checkout.Session.CreateParamsPaymentMethodOptionsNaverPay, stripe.checkout.Session.CreateParamsPaymentMethodOptionsPayco, and stripe.checkout.Session.CreateParamsPaymentMethodOptionsSamsungPay
    • Add support for merchant_amount on parameter class stripe.issuing.Authorization.CreateParams
    • Add support for merchant_currency on parameter class stripe.issuing.Authorization.CreateParams
    • Add support for resource stripe.issuing.FraudLiabilityDebit
    • Remove support for money_movement on parameter class stripe.AccountSession.CreateParamsComponentsFinancialAccountFeatures
    • Remove support for out_of_band_payment on parameter class stripe.Invoice.AttachPaymentParams and resource class stripe.InvoicePayment.Payment
    • Change type of disabled_reason on stripe.Account.FutureRequirements and stripe.Account.Requirements from str to Literal['action_required.requested_capabilities', 'listed', 'other', 'platform_paused', 'rejected.fraud', 'rejected.incomplete_verification', 'rejected.listed', 'rejected.other', 'rejected.platform_fraud', 'rejected.platform_other', 'rejected.platform_terms_of_service', 'rejected.terms_of_service', 'requirements.past_due', 'requirements.pending_verification', 'under_review']
    • Change type of disable_stripe_user_authentication on 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 from Optional[bool] to bool
    • Add support for li_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 invoice.payment_attempt_required on enums stripe.Event.type, stripe.WebhookEndpoint.CreateParams.enabled_events, and stripe.WebhookEndpoint.ModifyParams.enabled_events
    • Add support for issuing_fraud_liability_debit.created on enums stripe.Event.type, stripe.WebhookEndpoint.CreateParams.enabled_events, and stripe.WebhookEndpoint.ModifyParams.enabled_events
    • Add support for custom on enums stripe.Invoice.PaymentSettings.payment_method_types, stripe.Invoice.CreateParamsPaymentSettings.payment_method_types, stripe.Invoice.ModifyParamsPaymentSettings.payment_method_types, stripe.QuotePreviewInvoice.PaymentSettings.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 service_tax 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 payment_record on enum stripe.InvoicePayment.Payment.type
    • Add support for link 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
    • Change type of amount on stripe.issuing.Authorization.CreateParams from int to NotRequired[int]
    • Change type of origin_payment_method on stripe.treasury.InboundTransfer from str to Optional[str]

See the changelog for more details.

Oct 29, 2024
  • #1417 Update generated code for beta
    • Add support for id_bank_transfer_payments on resource class stripe.Account.Capabilities and parameter class stripe.Account.CreateParamsCapabilities
    • Add support for bank_bca_onboarding on parameter class stripe.Account.CreateParamsSettings and resource class stripe.Account.Settings
    • Add support for send_money on parameter class stripe.AccountSession.CreateParamsComponentsRecipientsFeatures
    • Add support for id_bank_transfer on resource classes stripe.Charge.PaymentMethodDetails, stripe.ConfirmationToken.PaymentMethodPreview, stripe.Invoice.PaymentSettings.PaymentMethodOptions, stripe.PaymentIntent.PaymentMethodOptions, stripe.QuotePreviewInvoice.PaymentSettings.PaymentMethodOptions, stripe.Refund.DestinationDetails, stripe.SetupAttempt.PaymentMethodDetails, and stripe.Subscription.PaymentSettings.PaymentMethodOptions, parameter classes stripe.ConfirmationToken.CreateParamsPaymentMethodData, stripe.Invoice.CreateParamsPaymentSettingsPaymentMethodOptions, stripe.Invoice.ModifyParamsPaymentSettingsPaymentMethodOptions, 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, stripe.Subscription.CreateParamsPaymentSettingsPaymentMethodOptions, and stripe.Subscription.ModifyParamsPaymentSettingsPaymentMethodOptions, and resources stripe.PaymentMethod and stripe.PaymentMethodConfiguration
    • Add support for _cls_trigger_action on resource stripe.PaymentIntent
    • Add support for trigger_action on resource stripe.PaymentIntent
    • Add support for gopay on parameter classes stripe.PaymentMethodConfiguration.CreateParams and stripe.PaymentMethodConfiguration.ModifyParams and resource stripe.PaymentMethodConfiguration
    • Add support for qris on parameter classes stripe.PaymentMethodConfiguration.CreateParams and stripe.PaymentMethodConfiguration.ModifyParams and resource stripe.PaymentMethodConfiguration
    • Add support for shopeepay on parameter classes stripe.PaymentMethodConfiguration.CreateParams and stripe.PaymentMethodConfiguration.ModifyParams and resource stripe.PaymentMethodConfiguration
    • Add support for id_bank_transfer on enums 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.QuotePreviewInvoice.PaymentSettings.payment_method_types, stripe.SetupIntent.ConfirmParamsPaymentMethodData.type, stripe.SetupIntent.CreateParamsPaymentMethodData.type, stripe.SetupIntent.ModifyParamsPaymentMethodData.type, stripe.Subscription.PaymentSettings.payment_method_types, stripe.Subscription.CreateParamsPaymentSettings.payment_method_types, and stripe.Subscription.ModifyParamsPaymentSettings.payment_method_types
    • Change type of enhanced_eligibility_types on stripe.Dispute from Optional[List[Literal['visa_compelling_evidence_3']]] to List[Literal['visa_compelling_evidence_3']]
    • Change type of enhanced_evidence on stripe.Dispute.Evidence from Optional[EnhancedEvidence] to EnhancedEvidence
    • Change type of enhanced_eligibility on stripe.Dispute.EvidenceDetails from Optional[EnhancedEligibility] to EnhancedEligibility
    • Remove 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

See the changelog for more details.

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

Oct 18, 2024
  • #1413 Update generated code for beta
    • Add support for alma_payments on resource class stripe.Account.Capabilities and parameter class stripe.Account.CreateParamsCapabilities
    • Add support for gopay_payments on resource class stripe.Account.Capabilities and parameter class stripe.Account.CreateParamsCapabilities
    • Add support for kakao_pay_payments on resource class stripe.Account.Capabilities and parameter class stripe.Account.CreateParamsCapabilities
    • Add support for kr_card_payments on resource class stripe.Account.Capabilities and parameter class stripe.Account.CreateParamsCapabilities
    • Add support for naver_pay_payments on resource class stripe.Account.Capabilities and parameter class stripe.Account.CreateParamsCapabilities
    • Add support for payco_payments on resource class stripe.Account.Capabilities and parameter class stripe.Account.CreateParamsCapabilities
    • Add support for qris_payments on resource class stripe.Account.Capabilities and parameter class stripe.Account.CreateParamsCapabilities
    • Add support for samsung_pay_payments on resource class stripe.Account.Capabilities and parameter class stripe.Account.CreateParamsCapabilities
    • Add support for shopeepay_payments on resource class stripe.Account.Capabilities and parameter class stripe.Account.CreateParamsCapabilities
    • Add support for treasury_evolve on resource class stripe.Account.Capabilities and parameter class stripe.Account.CreateParamsCapabilities
    • Add support for treasury_fifth_third on resource class stripe.Account.Capabilities and parameter class stripe.Account.CreateParamsCapabilities
    • Add support for treasury_goldman_sachs on resource class stripe.Account.Capabilities and parameter class stripe.Account.CreateParamsCapabilities
    • 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 gopay 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 qris 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 shopeepay 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 amazon_pay on resource stripe.PaymentMethodDomain
    • 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
    • Add support for external_reference on parameter class stripe.tax.Form.ListParamsPayee and resource class stripe.tax.Form.Payee
    • Add support for au_serr on resource stripe.tax.Form
    • Add support for ca_mrdp on resource stripe.tax.Form
    • Add support for eu_dac7 on resource stripe.tax.Form
    • Add support for gb_mrdp on resource stripe.tax.Form
    • Add support for nz_mrdp on resource stripe.tax.Form
    • Add support for pln on parameter classes stripe.terminal.Configuration.CreateParamsTipping and stripe.terminal.Configuration.ModifyParamsTipping and resource class stripe.terminal.Configuration.Tipping
    • Add support for bank on parameter classes stripe.treasury.FinancialAccount.CreateParamsFeaturesFinancialAddressesAba, stripe.treasury.FinancialAccount.ModifyParamsFeaturesFinancialAddressesAba, and stripe.treasury.FinancialAccount.UpdateFeaturesParamsFinancialAddressesAba and resource class stripe.treasury.FinancialAccountFeatures.FinancialAddresses.Aba
    • Change type of business_profile on stripe.billing_portal.Configuration.CreateParams from Configuration.CreateParamsBusinessProfile to NotRequired[Configuration.CreateParamsBusinessProfile]
    • Add support for alma 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 gopay 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 qris 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 shopeepay 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 auto on enum stripe.Customer.ModifyParamsTax.validate_location
    • 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.QuotePreviewInvoice.PaymentSettings.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 kakao_pay on enums stripe.Invoice.PaymentSettings.payment_method_types, stripe.Invoice.CreateParamsPaymentSettings.payment_method_types, stripe.Invoice.ModifyParamsPaymentSettings.payment_method_types, stripe.QuotePreviewInvoice.PaymentSettings.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 kr_card on enums stripe.Invoice.PaymentSettings.payment_method_types, stripe.Invoice.CreateParamsPaymentSettings.payment_method_types, stripe.Invoice.ModifyParamsPaymentSettings.payment_method_types, stripe.QuotePreviewInvoice.PaymentSettings.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 naver_pay on enums stripe.Invoice.PaymentSettings.payment_method_types, stripe.Invoice.CreateParamsPaymentSettings.payment_method_types, stripe.Invoice.ModifyParamsPaymentSettings.payment_method_types, stripe.QuotePreviewInvoice.PaymentSettings.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 payco on enums stripe.Invoice.PaymentSettings.payment_method_types, stripe.Invoice.CreateParamsPaymentSettings.payment_method_types, stripe.Invoice.ModifyParamsPaymentSettings.payment_method_types, stripe.QuotePreviewInvoice.PaymentSettings.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 au_serr on enums stripe.tax.Form.type and stripe.tax.Form.ListParams.type
    • Add support for ca_mrdp on enums stripe.tax.Form.type and stripe.tax.Form.ListParams.type
    • Add support for eu_dac7 on enums stripe.tax.Form.type and stripe.tax.Form.ListParams.type
    • Add support for gb_mrdp on enums stripe.tax.Form.type and stripe.tax.Form.ListParams.type
    • Add support for nz_mrdp on enums stripe.tax.Form.type and stripe.tax.Form.ListParams.type
    • Add support for external_reference on enums stripe.tax.Form.Payee.type and stripe.tax.Form.ListParamsPayee.type
    • Remove support for expired on enums stripe.issuing.Authorization.status and stripe.issuing.Authorization.ListParams.status

See the changelog for more details.

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

See the changelog for more details.

Oct 8, 2024
  • #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.

Oct 3, 2024
  • #1407 Updates beta branch with changes in master & update generated code
    • Add support for reporting_chart on parameter class stripe.AccountSession.CreateParamsComponents
    • Add support for total_pretax_credit_amounts on resource stripe.QuotePreviewInvoice
    • Add support for allow_redisplay on parameter class stripe.terminal.Reader.CollectPaymentMethodParamsCollectConfig
    • Remove support for from_schedule on resource class stripe.Quote.SubscriptionData
    • Move raw_request and related methods from _raw_request module to the StripeClient class
    • Remove _preview module; use raw request methods in the StripeClient class instead

See the changelog for more details.

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

See the changelog for more details.

Oct 1, 2024
  • #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 Changelog 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

    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.
    • Add method parse_thin_event() on the StripeClient class to parse thin events.

    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]]

See the changelog for more details.

Sep 18, 2024
  • #1395 Update generated code for beta
    • Add support for send_money on parameter class stripe.AccountSession.CreateParamsComponentsFinancialAccountFeatures
    • Add support for transfer_balance on parameter class stripe.AccountSession.CreateParamsComponentsFinancialAccountFeatures
    • Add support for automatically_finalizes_at on resource stripe.QuotePreviewInvoice
    • Remove support for resource stripe.QuotePhase
    • Add support for rechnung on enums stripe.PaymentLink.payment_method_types, stripe.PaymentLink.CreateParams.payment_method_types, and stripe.PaymentLink.ModifyParams.payment_method_types
    • Add support for terminal_reader_invalid_location_for_activation on enum stripe.QuotePreviewInvoice.LastFinalizationError.code

See the changelog for more details.

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

See the changelog for more details.

Sep 13, 2024
  • #1389 Update generated code for beta
    • Add support for template on resource class stripe.QuotePreviewInvoice.Rendering
    • Add support for resource stripe.issuing.DisputeSettlementDetail
    • Add support for resource stripe.issuing.Settlement
    • Add support for settlement on parameter class stripe.issuing.Transaction.ListParams and resource stripe.issuing.Transaction
    • Remove support for list on resource stripe.QuotePhase
    • Add support for rechnung on enum stripe.checkout.Session.CreateParams.payment_method_types
    • Add support for issuing_dispute_settlement_detail.created on enums stripe.Event.type, stripe.WebhookEndpoint.CreateParams.enabled_events, and stripe.WebhookEndpoint.ModifyParams.enabled_events
    • Add support for issuing_dispute_settlement_detail.updated on enums stripe.Event.type, stripe.WebhookEndpoint.CreateParams.enabled_events, and stripe.WebhookEndpoint.ModifyParams.enabled_events
    • Add support for issuing_settlement.created on enums stripe.Event.type, stripe.WebhookEndpoint.CreateParams.enabled_events, and stripe.WebhookEndpoint.ModifyParams.enabled_events
    • Add support for issuing_settlement.updated on enums stripe.Event.type, stripe.WebhookEndpoint.CreateParams.enabled_events, and stripe.WebhookEndpoint.ModifyParams.enabled_events

See the changelog for more details.

Latest
v15.1.0a4
Tracking Since
Sep 21, 2023
Last checked Apr 19, 2026