Skip to content

Releases: stripe/stripe-python

v11.6.0

24 Feb 22:36
Compare
Choose a tag to compare
  • #1450 Update generated code
    • Add support for target_date on parameter classes stripe.PaymentIntent.ConfirmParamsPaymentMethodOptionsAcssDebit, stripe.PaymentIntent.ConfirmParamsPaymentMethodOptionsAuBecsDebit, stripe.PaymentIntent.ConfirmParamsPaymentMethodOptionsBacsDebit, stripe.PaymentIntent.ConfirmParamsPaymentMethodOptionsSepaDebit, stripe.PaymentIntent.ConfirmParamsPaymentMethodOptionsUsBankAccount, stripe.PaymentIntent.CreateParamsPaymentMethodOptionsAcssDebit, stripe.PaymentIntent.CreateParamsPaymentMethodOptionsAuBecsDebit, stripe.PaymentIntent.CreateParamsPaymentMethodOptionsBacsDebit, stripe.PaymentIntent.CreateParamsPaymentMethodOptionsSepaDebit, stripe.PaymentIntent.CreateParamsPaymentMethodOptionsUsBankAccount, stripe.PaymentIntent.ModifyParamsPaymentMethodOptionsAcssDebit, stripe.PaymentIntent.ModifyParamsPaymentMethodOptionsAuBecsDebit, stripe.PaymentIntent.ModifyParamsPaymentMethodOptionsBacsDebit, stripe.PaymentIntent.ModifyParamsPaymentMethodOptionsSepaDebit, stripe.PaymentIntent.ModifyParamsPaymentMethodOptionsUsBankAccount, stripe.checkout.Session.CreateParamsPaymentMethodOptionsAcssDebit, stripe.checkout.Session.CreateParamsPaymentMethodOptionsAuBecsDebit, stripe.checkout.Session.CreateParamsPaymentMethodOptionsBacsDebit, stripe.checkout.Session.CreateParamsPaymentMethodOptionsSepaDebit, and stripe.checkout.Session.CreateParamsPaymentMethodOptionsUsBankAccount and resource classes stripe.PaymentIntent.PaymentMethodOptions.AcssDebit, stripe.PaymentIntent.PaymentMethodOptions.AuBecsDebit, stripe.PaymentIntent.PaymentMethodOptions.BacsDebit, stripe.PaymentIntent.PaymentMethodOptions.SepaDebit, stripe.PaymentIntent.PaymentMethodOptions.UsBankAccount, stripe.checkout.Session.PaymentMethodOptions.AcssDebit, stripe.checkout.Session.PaymentMethodOptions.AuBecsDebit, stripe.checkout.Session.PaymentMethodOptions.BacsDebit, stripe.checkout.Session.PaymentMethodOptions.SepaDebit, and stripe.checkout.Session.PaymentMethodOptions.UsBankAccount
    • Add support for metadata on parameter class stripe.Product.CreateParamsDefaultPriceData
    • Add support for prices on parameter classes stripe.billing.CreditBalanceSummary.RetrieveParamsFilterApplicabilityScope and stripe.billing.CreditGrant.CreateParamsApplicabilityConfigScope and resource class stripe.billing.CreditGrant.ApplicabilityConfig.Scope
    • Add support for priority on parameter class stripe.billing.CreditGrant.CreateParams and resource stripe.billing.CreditGrant
    • Add support for restrictions on parameter class stripe.checkout.Session.CreateParamsPaymentMethodOptionsCard and resource class stripe.checkout.Session.PaymentMethodOptions.Card
    • Add support for collected_information on parameter class stripe.checkout.Session.ModifyParams and resource stripe.checkout.Session
    • Change type of price_type on stripe.billing.CreditBalanceSummary.RetrieveParamsFilterApplicabilityScope and stripe.billing.CreditGrant.CreateParamsApplicabilityConfigScope from Literal['metered'] to NotRequired[Literal['metered']]
    • Change type of price_type on stripe.billing.CreditGrant.ApplicabilityConfig.Scope from Literal['metered'] to Optional[Literal['metered']]
    • Add support for 2025-02-24.acacia on enum stripe.WebhookEndpoint.CreateParams.api_version
  • #1461 Remove incorrect changelog entry about parse_snapshot_event
  • #1457 add codeowners file
  • #1456 upgrade ruff version
  • #1452 Revert "Bump version to 11.5.0"
  • #1451 Upgrade to download-artifact@v4
  • #1443 Update generated code
    • Add support for pay_by_bank_payments on resource class stripe.Account.Capabilities and parameter class stripe.Account.CreateParamsCapabilities
    • Add support for directorship_declaration on resource class stripe.Account.Company and parameter classes stripe.Account.CreateParamsCompany and stripe.Token.CreateParamsAccountCompany
    • 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 proof_of_ultimate_beneficial_ownership on parameter class stripe.Account.CreateParamsDocuments
    • Add support for financial_account on resource classes stripe.AccountSession.Components and stripe.treasury.OutboundTransfer.DestinationPaymentMethodDetails and parameter class stripe.AccountSession.CreateParamsComponents
    • Add support for issuing_card on resource class stripe.AccountSession.Components and parameter class stripe.AccountSession.CreateParamsComponents
    • Add support for advice_code on resource classes stripe.Charge.Outcome, stripe.Invoice.LastFinalizationError, stripe.PaymentIntent.LastPaymentError, 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 pay_by_bank 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.PaymentMethodConfiguration.CreateParams, stripe.PaymentMethodConfiguration.ModifyParams, stripe.SetupIntent.ConfirmParamsPaymentMethodData, stripe.SetupIntent.CreateParamsPaymentMethodData, stripe.SetupIntent.ModifyParamsPaymentMethodData, and stripe.checkout.Session.CreateParamsPaymentMethodOptions, and resources stripe.PaymentMethod and stripe.PaymentMethodConfiguration
    • Add support for phone_number_collection on parameter class stripe.PaymentLink.ModifyParams
    • Add support for discounts on resource stripe.checkout.Session
    • Add support for jpy on parameter classes stripe.terminal.Configuration.CreateParamsTipping and stripe.terminal.Configuration.ModifyParamsTipping and resource class stripe.terminal.Configuration.Tipping
    • 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 outbound_transfer on resource class stripe.treasury.ReceivedCredit.LinkedFlows.SourceFlowDetails
    • Add support for SD on enums stripe.checkout.Session.ShippingAddressCollection.allowed_countries, stripe.checkout.Session.CreateParamsShippingAddressCollection.allowed_countries, stripe.PaymentLink.ShippingAddressCollection.allowed_countries, stripe.PaymentLink.CreateParamsShippingAddressCollection.allowed_countries, and stripe.PaymentLink.ModifyParamsShippingAddressCollection.allowed_countries
    • Add support for pay_by_bank 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 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
    • Add support for 2025-01-27.acacia on enum stripe.WebhookEndpoint.CreateParams.api_version
    • Change type of pretax_credit_amounts on stripe.CreditNote and stripe.CreditNoteLineItem from Optional[List[PretaxCreditAmount]] to List[PretaxCreditAmount]
  • #1448 Updated upload artifact ci action
  • #1446 add just to publish CI
  • #1444 Added CONTRIBUTING.md file
  • #1445 minor justfile fixes & pin CI version
  • [#1440](https://github.com/stripe/stripe-python/...
Read more

v11.6.0b1

07 Feb 21:47
Compare
Choose a tag to compare
v11.6.0b1 Pre-release
Pre-release
  • #1449 Update generated code for beta
    • Add support for rejected_reason on resource class stripe.Account.RiskControls
    • Add support for product_tax_code_selector on parameter class stripe.AccountSession.CreateParamsComponents
    • Add support for brand_product on resource classes stripe.Charge.PaymentMethodDetails.AmazonPay.Funding.Card and stripe.Charge.PaymentMethodDetails.RevolutPay.Funding.Card
    • Add support for prices on parameter classes stripe.billing.CreditBalanceSummary.RetrieveParamsFilterApplicabilityScope and stripe.billing.CreditGrant.CreateParamsApplicabilityConfigScope and resource class stripe.billing.CreditGrant.ApplicabilityConfig.Scope
    • Add support for restrictions on parameter class stripe.checkout.Session.CreateParamsPaymentMethodOptionsCard and resource class stripe.checkout.Session.PaymentMethodOptions.Card
    • Change type of political_exposure on stripe.Account.CreatePersonParams, stripe.Account.ModifyPersonParams, and stripe.Token.CreateParamsPerson from str to Literal['existing', 'none']
    • Change type of price_type on stripe.billing.CreditGrant.ApplicabilityConfig.Scope from Literal['metered'] to Optional[Literal['metered']]

See the changelog for more details.

v11.5.0

27 Jan 21:29
Compare
Choose a tag to compare

11.5.0 - 2025-01-27

  • #1443 Update generated code
    • Add support for pay_by_bank_payments on resource class stripe.Account.Capabilities and parameter class stripe.Account.CreateParamsCapabilities
    • Add support for directorship_declaration on resource class stripe.Account.Company and parameter classes stripe.Account.CreateParamsCompany and stripe.Token.CreateParamsAccountCompany
    • 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 proof_of_ultimate_beneficial_ownership on parameter class stripe.Account.CreateParamsDocuments
    • Add support for financial_account on resource classes stripe.AccountSession.Components and stripe.treasury.OutboundTransfer.DestinationPaymentMethodDetails and parameter class stripe.AccountSession.CreateParamsComponents
    • Add support for issuing_card on resource class stripe.AccountSession.Components and parameter class stripe.AccountSession.CreateParamsComponents
    • Add support for advice_code on resource classes stripe.Charge.Outcome, stripe.Invoice.LastFinalizationError, stripe.PaymentIntent.LastPaymentError, 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 pay_by_bank 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.PaymentMethodConfiguration.CreateParams, stripe.PaymentMethodConfiguration.ModifyParams, stripe.SetupIntent.ConfirmParamsPaymentMethodData, stripe.SetupIntent.CreateParamsPaymentMethodData, stripe.SetupIntent.ModifyParamsPaymentMethodData, and stripe.checkout.Session.CreateParamsPaymentMethodOptions, and resources stripe.PaymentMethod and stripe.PaymentMethodConfiguration
    • Add support for phone_number_collection on parameter class stripe.PaymentLink.ModifyParams
    • Add support for discounts on resource stripe.checkout.Session
    • Add support for jpy on parameter classes stripe.terminal.Configuration.CreateParamsTipping and stripe.terminal.Configuration.ModifyParamsTipping and resource class stripe.terminal.Configuration.Tipping
    • 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 outbound_transfer on resource class stripe.treasury.ReceivedCredit.LinkedFlows.SourceFlowDetails
    • Add support for SD on enums stripe.checkout.Session.ShippingAddressCollection.allowed_countries, stripe.checkout.Session.CreateParamsShippingAddressCollection.allowed_countries, stripe.PaymentLink.ShippingAddressCollection.allowed_countries, stripe.PaymentLink.CreateParamsShippingAddressCollection.allowed_countries, and stripe.PaymentLink.ModifyParamsShippingAddressCollection.allowed_countries
    • Add support for pay_by_bank 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 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
    • Add support for 2025-01-27.acacia on enum stripe.WebhookEndpoint.CreateParams.api_version
    • Change type of pretax_credit_amounts on stripe.CreditNote and stripe.CreditNoteLineItem from Optional[List[PretaxCreditAmount]] to List[PretaxCreditAmount]
  • #1451 Upgrade to download-artifact@v4
  • #1448 Updated upload artifact ci action
  • #1446 add just to publish CI
  • #1444 Added CONTRIBUTING.md file
  • #1445 minor justfile fixes & pin CI version
  • #1440 add justfile, update readme, remove coveralls
  • #1442 Fix V2 ListObject.data type hint
    • Change stripe.v2.ListObject.data type hint from List[StripeObject] to List[T] where T is the specific stripe object contained within the list

See the changelog for more details.

v11.5.0b3

23 Jan 21:26
Compare
Choose a tag to compare
v11.5.0b3 Pre-release
Pre-release
  • #1447 Update generated code for beta
    • Remove support for stripe_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

See the changelog for more details.

v11.5.0b2

18 Jan 00:33
Compare
Choose a tag to compare
v11.5.0b2 Pre-release
Pre-release
  • #1439 Update generated code for beta
    • Add support for pay_by_bank_payments on resource class stripe.Account.Capabilities and parameter class stripe.Account.CreateParamsCapabilities
    • Add support for directorship_declaration on parameter classes stripe.Account.CreateParamsCompany and stripe.Token.CreateParamsAccountCompany
    • Add support for proof_of_ultimate_beneficial_ownership on parameter class stripe.Account.CreateParamsDocuments
    • Add support for financial_account on resource class stripe.AccountSession.Components
    • Add support for issuing_card on resource class stripe.AccountSession.Components
    • Add support for tax_threshold_monitoring on parameter class stripe.AccountSession.CreateParamsComponents
    • Add support for pay_by_bank 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.PaymentMethodConfiguration.CreateParams, stripe.PaymentMethodConfiguration.ModifyParams, stripe.SetupIntent.ConfirmParamsPaymentMethodData, stripe.SetupIntent.CreateParamsPaymentMethodData, stripe.SetupIntent.ModifyParamsPaymentMethodData, and stripe.checkout.Session.CreateParamsPaymentMethodOptions, and resources stripe.PaymentMethod and stripe.PaymentMethodConfiguration
    • Add support for discounts on resource stripe.checkout.Session
    • Add support for jpy on parameter classes stripe.terminal.Configuration.CreateParamsTipping and stripe.terminal.Configuration.ModifyParamsTipping and resource class stripe.terminal.Configuration.Tipping
    • Add 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 SD on enums stripe.checkout.Session.ShippingAddressCollection.allowed_countries, stripe.checkout.Session.CreateParamsShippingAddressCollection.allowed_countries, stripe.PaymentLink.ShippingAddressCollection.allowed_countries, stripe.PaymentLink.CreateParamsShippingAddressCollection.allowed_countries, and stripe.PaymentLink.ModifyParamsShippingAddressCollection.allowed_countries
    • Add support for pay_by_bank 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 2025-01-27.acacia on enum stripe.WebhookEndpoint.CreateParams.api_version

See the changelog for more details.

v11.5.0b1

09 Jan 21:40
Compare
Choose a tag to compare
v11.5.0b1 Pre-release
Pre-release
  • #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.

v11.4.1

19 Dec 23:16
Compare
Choose a tag to compare
  • #1438 Fix regression when using httpx HTTP client

See the changelog for more details.

v11.4.0

18 Dec 23:43
Compare
Choose a tag to compare
  • #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.ta...
Read more

v11.4.0b3

12 Dec 22:57
Compare
Choose a tag to compare
v11.4.0b3 Pre-release
Pre-release
  • #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.

v11.4.0b2

05 Dec 21:20
Compare
Choose a tag to compare
v11.4.0b2 Pre-release
Pre-release
  • #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.