Releases: stripe/stripe-python
Releases · stripe/stripe-python
v11.6.0
- #1450 Update generated code
- Add support for
target_date
on parameter classesstripe.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
, andstripe.checkout.Session.CreateParamsPaymentMethodOptionsUsBankAccount
and resource classesstripe.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
, andstripe.checkout.Session.PaymentMethodOptions.UsBankAccount
- Add support for
metadata
on parameter classstripe.Product.CreateParamsDefaultPriceData
- Add support for
prices
on parameter classesstripe.billing.CreditBalanceSummary.RetrieveParamsFilterApplicabilityScope
andstripe.billing.CreditGrant.CreateParamsApplicabilityConfigScope
and resource classstripe.billing.CreditGrant.ApplicabilityConfig.Scope
- Add support for
priority
on parameter classstripe.billing.CreditGrant.CreateParams
and resourcestripe.billing.CreditGrant
- Add support for
restrictions
on parameter classstripe.checkout.Session.CreateParamsPaymentMethodOptionsCard
and resource classstripe.checkout.Session.PaymentMethodOptions.Card
- Add support for
collected_information
on parameter classstripe.checkout.Session.ModifyParams
and resourcestripe.checkout.Session
- Change type of
price_type
onstripe.billing.CreditBalanceSummary.RetrieveParamsFilterApplicabilityScope
andstripe.billing.CreditGrant.CreateParamsApplicabilityConfigScope
fromLiteral['metered']
toNotRequired[Literal['metered']]
- Change type of
price_type
onstripe.billing.CreditGrant.ApplicabilityConfig.Scope
fromLiteral['metered']
toOptional[Literal['metered']]
- Add support for
2025-02-24.acacia
on enumstripe.WebhookEndpoint.CreateParams.api_version
- Add support for
- #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 classstripe.Account.Capabilities
and parameter classstripe.Account.CreateParamsCapabilities
- Add support for
directorship_declaration
on resource classstripe.Account.Company
and parameter classesstripe.Account.CreateParamsCompany
andstripe.Token.CreateParamsAccountCompany
- Add support for
ownership_exemption_reason
on resource classstripe.Account.Company
and parameter classesstripe.Account.CreateParamsCompany
andstripe.Token.CreateParamsAccountCompany
- Add support for
proof_of_ultimate_beneficial_ownership
on parameter classstripe.Account.CreateParamsDocuments
- Add support for
financial_account
on resource classesstripe.AccountSession.Components
andstripe.treasury.OutboundTransfer.DestinationPaymentMethodDetails
and parameter classstripe.AccountSession.CreateParamsComponents
- Add support for
issuing_card
on resource classstripe.AccountSession.Components
and parameter classstripe.AccountSession.CreateParamsComponents
- Add support for
advice_code
on resource classesstripe.Charge.Outcome
,stripe.Invoice.LastFinalizationError
,stripe.PaymentIntent.LastPaymentError
,stripe.SetupAttempt.SetupError
, andstripe.SetupIntent.LastSetupError
- Add support for
country
on resource classesstripe.Charge.PaymentMethodDetails.Paypal
,stripe.ConfirmationToken.PaymentMethodPreview.Paypal
, andstripe.PaymentMethod.Paypal
- Add support for
pay_by_bank
on resource classesstripe.Charge.PaymentMethodDetails
,stripe.ConfirmationToken.PaymentMethodPreview
, andstripe.PaymentIntent.PaymentMethodOptions
, parameter classesstripe.ConfirmationToken.CreateParamsPaymentMethodData
,stripe.PaymentIntent.ConfirmParamsPaymentMethodData
,stripe.PaymentIntent.ConfirmParamsPaymentMethodOptions
,stripe.PaymentIntent.CreateParamsPaymentMethodData
,stripe.PaymentIntent.CreateParamsPaymentMethodOptions
,stripe.PaymentIntent.ModifyParamsPaymentMethodData
,stripe.PaymentIntent.ModifyParamsPaymentMethodOptions
,stripe.PaymentMethod.CreateParams
,stripe.PaymentMethod.ModifyParams
,stripe.PaymentMethodConfiguration.CreateParams
,stripe.PaymentMethodConfiguration.ModifyParams
,stripe.SetupIntent.ConfirmParamsPaymentMethodData
,stripe.SetupIntent.CreateParamsPaymentMethodData
,stripe.SetupIntent.ModifyParamsPaymentMethodData
, andstripe.checkout.Session.CreateParamsPaymentMethodOptions
, and resourcesstripe.PaymentMethod
andstripe.PaymentMethodConfiguration
- Add support for
phone_number_collection
on parameter classstripe.PaymentLink.ModifyParams
- Add support for
discounts
on resourcestripe.checkout.Session
- Add support for
jpy
on parameter classesstripe.terminal.Configuration.CreateParamsTipping
andstripe.terminal.Configuration.ModifyParamsTipping
and resource classstripe.terminal.Configuration.Tipping
- Add support for
nickname
on parameter classesstripe.treasury.FinancialAccount.CreateParams
andstripe.treasury.FinancialAccount.ModifyParams
and resourcestripe.treasury.FinancialAccount
- Add support for
forwarding_settings
on parameter classstripe.treasury.FinancialAccount.ModifyParams
- Add support for
_cls_close
on resourcestripe.treasury.FinancialAccount
- Add support for
close
on resourcestripe.treasury.FinancialAccount
- Add support for
is_default
on resourcestripe.treasury.FinancialAccount
- Add support for
destination_payment_method_data
on parameter classstripe.treasury.OutboundTransfer.CreateParams
- Add support for
outbound_transfer
on resource classstripe.treasury.ReceivedCredit.LinkedFlows.SourceFlowDetails
- Add support for
SD
on enumsstripe.checkout.Session.ShippingAddressCollection.allowed_countries
,stripe.checkout.Session.CreateParamsShippingAddressCollection.allowed_countries
,stripe.PaymentLink.ShippingAddressCollection.allowed_countries
,stripe.PaymentLink.CreateParamsShippingAddressCollection.allowed_countries
, andstripe.PaymentLink.ModifyParamsShippingAddressCollection.allowed_countries
- Add support for
pay_by_bank
on enumsstripe.checkout.Session.CreateParams.payment_method_types
,stripe.ConfirmationToken.PaymentMethodPreview.type
,stripe.ConfirmationToken.CreateParamsPaymentMethodData.type
,stripe.Customer.ListPaymentMethodsParams.type
,stripe.PaymentIntent.ConfirmParamsPaymentMethodData.type
,stripe.PaymentIntent.CreateParamsPaymentMethodData.type
,stripe.PaymentIntent.ModifyParamsPaymentMethodData.type
,stripe.PaymentLink.payment_method_types
,stripe.PaymentLink.CreateParams.payment_method_types
,stripe.PaymentLink.ModifyParams.payment_method_types
,stripe.PaymentMethod.type
,stripe.PaymentMethod.CreateParams.type
,stripe.PaymentMethod.ListParams.type
,stripe.SetupIntent.ConfirmParamsPaymentMethodData.type
,stripe.SetupIntent.CreateParamsPaymentMethodData.type
, andstripe.SetupIntent.ModifyParamsPaymentMethodData.type
- Add support for
financial_account
on enumstripe.treasury.OutboundTransfer.DestinationPaymentMethodDetails.type
- Add support for
outbound_transfer
on enumsstripe.treasury.ReceivedCredit.LinkedFlows.SourceFlowDetails.type
andstripe.treasury.ReceivedCredit.ListParamsLinkedFlows.source_flow_type
- Add support for
2025-01-27.acacia
on enumstripe.WebhookEndpoint.CreateParams.api_version
- Change type of
pretax_credit_amounts
onstripe.CreditNote
andstripe.CreditNoteLineItem
fromOptional[List[PretaxCreditAmount]]
toList[PretaxCreditAmount]
- Add support for
- #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/...
v11.6.0b1
- #1449 Update generated code for beta
- Add support for
rejected_reason
on resource classstripe.Account.RiskControls
- Add support for
product_tax_code_selector
on parameter classstripe.AccountSession.CreateParamsComponents
- Add support for
brand_product
on resource classesstripe.Charge.PaymentMethodDetails.AmazonPay.Funding.Card
andstripe.Charge.PaymentMethodDetails.RevolutPay.Funding.Card
- Add support for
prices
on parameter classesstripe.billing.CreditBalanceSummary.RetrieveParamsFilterApplicabilityScope
andstripe.billing.CreditGrant.CreateParamsApplicabilityConfigScope
and resource classstripe.billing.CreditGrant.ApplicabilityConfig.Scope
- Add support for
restrictions
on parameter classstripe.checkout.Session.CreateParamsPaymentMethodOptionsCard
and resource classstripe.checkout.Session.PaymentMethodOptions.Card
- Change type of
political_exposure
onstripe.Account.CreatePersonParams
,stripe.Account.ModifyPersonParams
, andstripe.Token.CreateParamsPerson
fromstr
toLiteral['existing', 'none']
- Change type of
price_type
onstripe.billing.CreditGrant.ApplicabilityConfig.Scope
fromLiteral['metered']
toOptional[Literal['metered']]
- Add support for
v11.5.0
11.5.0 - 2025-01-27
- #1443 Update generated code
- Add support for
pay_by_bank_payments
on resource classstripe.Account.Capabilities
and parameter classstripe.Account.CreateParamsCapabilities
- Add support for
directorship_declaration
on resource classstripe.Account.Company
and parameter classesstripe.Account.CreateParamsCompany
andstripe.Token.CreateParamsAccountCompany
- Add support for
ownership_exemption_reason
on resource classstripe.Account.Company
and parameter classesstripe.Account.CreateParamsCompany
andstripe.Token.CreateParamsAccountCompany
- Add support for
proof_of_ultimate_beneficial_ownership
on parameter classstripe.Account.CreateParamsDocuments
- Add support for
financial_account
on resource classesstripe.AccountSession.Components
andstripe.treasury.OutboundTransfer.DestinationPaymentMethodDetails
and parameter classstripe.AccountSession.CreateParamsComponents
- Add support for
issuing_card
on resource classstripe.AccountSession.Components
and parameter classstripe.AccountSession.CreateParamsComponents
- Add support for
advice_code
on resource classesstripe.Charge.Outcome
,stripe.Invoice.LastFinalizationError
,stripe.PaymentIntent.LastPaymentError
,stripe.SetupAttempt.SetupError
, andstripe.SetupIntent.LastSetupError
- Add support for
country
on resource classesstripe.Charge.PaymentMethodDetails.Paypal
,stripe.ConfirmationToken.PaymentMethodPreview.Paypal
, andstripe.PaymentMethod.Paypal
- Add support for
pay_by_bank
on resource classesstripe.Charge.PaymentMethodDetails
,stripe.ConfirmationToken.PaymentMethodPreview
, andstripe.PaymentIntent.PaymentMethodOptions
, parameter classesstripe.ConfirmationToken.CreateParamsPaymentMethodData
,stripe.PaymentIntent.ConfirmParamsPaymentMethodData
,stripe.PaymentIntent.ConfirmParamsPaymentMethodOptions
,stripe.PaymentIntent.CreateParamsPaymentMethodData
,stripe.PaymentIntent.CreateParamsPaymentMethodOptions
,stripe.PaymentIntent.ModifyParamsPaymentMethodData
,stripe.PaymentIntent.ModifyParamsPaymentMethodOptions
,stripe.PaymentMethod.CreateParams
,stripe.PaymentMethod.ModifyParams
,stripe.PaymentMethodConfiguration.CreateParams
,stripe.PaymentMethodConfiguration.ModifyParams
,stripe.SetupIntent.ConfirmParamsPaymentMethodData
,stripe.SetupIntent.CreateParamsPaymentMethodData
,stripe.SetupIntent.ModifyParamsPaymentMethodData
, andstripe.checkout.Session.CreateParamsPaymentMethodOptions
, and resourcesstripe.PaymentMethod
andstripe.PaymentMethodConfiguration
- Add support for
phone_number_collection
on parameter classstripe.PaymentLink.ModifyParams
- Add support for
discounts
on resourcestripe.checkout.Session
- Add support for
jpy
on parameter classesstripe.terminal.Configuration.CreateParamsTipping
andstripe.terminal.Configuration.ModifyParamsTipping
and resource classstripe.terminal.Configuration.Tipping
- Add support for
nickname
on parameter classesstripe.treasury.FinancialAccount.CreateParams
andstripe.treasury.FinancialAccount.ModifyParams
and resourcestripe.treasury.FinancialAccount
- Add support for
forwarding_settings
on parameter classstripe.treasury.FinancialAccount.ModifyParams
- Add support for
_cls_close
on resourcestripe.treasury.FinancialAccount
- Add support for
close
on resourcestripe.treasury.FinancialAccount
- Add support for
is_default
on resourcestripe.treasury.FinancialAccount
- Add support for
destination_payment_method_data
on parameter classstripe.treasury.OutboundTransfer.CreateParams
- Add support for
outbound_transfer
on resource classstripe.treasury.ReceivedCredit.LinkedFlows.SourceFlowDetails
- Add support for
SD
on enumsstripe.checkout.Session.ShippingAddressCollection.allowed_countries
,stripe.checkout.Session.CreateParamsShippingAddressCollection.allowed_countries
,stripe.PaymentLink.ShippingAddressCollection.allowed_countries
,stripe.PaymentLink.CreateParamsShippingAddressCollection.allowed_countries
, andstripe.PaymentLink.ModifyParamsShippingAddressCollection.allowed_countries
- Add support for
pay_by_bank
on enumsstripe.checkout.Session.CreateParams.payment_method_types
,stripe.ConfirmationToken.PaymentMethodPreview.type
,stripe.ConfirmationToken.CreateParamsPaymentMethodData.type
,stripe.Customer.ListPaymentMethodsParams.type
,stripe.PaymentIntent.ConfirmParamsPaymentMethodData.type
,stripe.PaymentIntent.CreateParamsPaymentMethodData.type
,stripe.PaymentIntent.ModifyParamsPaymentMethodData.type
,stripe.PaymentLink.payment_method_types
,stripe.PaymentLink.CreateParams.payment_method_types
,stripe.PaymentLink.ModifyParams.payment_method_types
,stripe.PaymentMethod.type
,stripe.PaymentMethod.CreateParams.type
,stripe.PaymentMethod.ListParams.type
,stripe.SetupIntent.ConfirmParamsPaymentMethodData.type
,stripe.SetupIntent.CreateParamsPaymentMethodData.type
, andstripe.SetupIntent.ModifyParamsPaymentMethodData.type
- Add support for
financial_account
on enumstripe.treasury.OutboundTransfer.DestinationPaymentMethodDetails.type
- Add support for
outbound_transfer
on enumsstripe.treasury.ReceivedCredit.LinkedFlows.SourceFlowDetails.type
andstripe.treasury.ReceivedCredit.ListParamsLinkedFlows.source_flow_type
- Add support for
2025-01-27.acacia
on enumstripe.WebhookEndpoint.CreateParams.api_version
- Change type of
pretax_credit_amounts
onstripe.CreditNote
andstripe.CreditNoteLineItem
fromOptional[List[PretaxCreditAmount]]
toList[PretaxCreditAmount]
- Add support for
- #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 fromList[StripeObject]
toList[T]
where T is the specific stripe object contained within the list
- Change
v11.5.0b3
- #1447 Update generated code for beta
- Remove support for
stripe_account
on resource classesstripe.terminal.Reader.Action.CollectPaymentMethod
,stripe.terminal.Reader.Action.ConfirmPaymentIntent
,stripe.terminal.Reader.Action.ProcessPaymentIntent
, andstripe.terminal.Reader.Action.RefundPayment
- Remove support for
v11.5.0b2
- #1439 Update generated code for beta
- Add support for
pay_by_bank_payments
on resource classstripe.Account.Capabilities
and parameter classstripe.Account.CreateParamsCapabilities
- Add support for
directorship_declaration
on parameter classesstripe.Account.CreateParamsCompany
andstripe.Token.CreateParamsAccountCompany
- Add support for
proof_of_ultimate_beneficial_ownership
on parameter classstripe.Account.CreateParamsDocuments
- Add support for
financial_account
on resource classstripe.AccountSession.Components
- Add support for
issuing_card
on resource classstripe.AccountSession.Components
- Add support for
tax_threshold_monitoring
on parameter classstripe.AccountSession.CreateParamsComponents
- Add support for
pay_by_bank
on resource classesstripe.Charge.PaymentMethodDetails
,stripe.ConfirmationToken.PaymentMethodPreview
, andstripe.PaymentIntent.PaymentMethodOptions
, parameter classesstripe.ConfirmationToken.CreateParamsPaymentMethodData
,stripe.PaymentIntent.ConfirmParamsPaymentMethodData
,stripe.PaymentIntent.ConfirmParamsPaymentMethodOptions
,stripe.PaymentIntent.CreateParamsPaymentMethodData
,stripe.PaymentIntent.CreateParamsPaymentMethodOptions
,stripe.PaymentIntent.ModifyParamsPaymentMethodData
,stripe.PaymentIntent.ModifyParamsPaymentMethodOptions
,stripe.PaymentMethod.CreateParams
,stripe.PaymentMethod.ModifyParams
,stripe.PaymentMethodConfiguration.CreateParams
,stripe.PaymentMethodConfiguration.ModifyParams
,stripe.SetupIntent.ConfirmParamsPaymentMethodData
,stripe.SetupIntent.CreateParamsPaymentMethodData
,stripe.SetupIntent.ModifyParamsPaymentMethodData
, andstripe.checkout.Session.CreateParamsPaymentMethodOptions
, and resourcesstripe.PaymentMethod
andstripe.PaymentMethodConfiguration
- Add support for
discounts
on resourcestripe.checkout.Session
- Add support for
jpy
on parameter classesstripe.terminal.Configuration.CreateParamsTipping
andstripe.terminal.Configuration.ModifyParamsTipping
and resource classstripe.terminal.Configuration.Tipping
- Add support for
always_invoice
on enumsstripe.billing_portal.Configuration.Features.SubscriptionCancel.proration_behavior
,stripe.billing_portal.Configuration.CreateParamsFeaturesSubscriptionCancel.proration_behavior
, andstripe.billing_portal.Configuration.ModifyParamsFeaturesSubscriptionCancel.proration_behavior
- Add support for
SD
on enumsstripe.checkout.Session.ShippingAddressCollection.allowed_countries
,stripe.checkout.Session.CreateParamsShippingAddressCollection.allowed_countries
,stripe.PaymentLink.ShippingAddressCollection.allowed_countries
,stripe.PaymentLink.CreateParamsShippingAddressCollection.allowed_countries
, andstripe.PaymentLink.ModifyParamsShippingAddressCollection.allowed_countries
- Add support for
pay_by_bank
on enumsstripe.checkout.Session.CreateParams.payment_method_types
,stripe.ConfirmationToken.PaymentMethodPreview.type
,stripe.ConfirmationToken.CreateParamsPaymentMethodData.type
,stripe.Customer.ListPaymentMethodsParams.type
,stripe.PaymentIntent.ConfirmParamsPaymentMethodData.type
,stripe.PaymentIntent.CreateParamsPaymentMethodData.type
,stripe.PaymentIntent.ModifyParamsPaymentMethodData.type
,stripe.PaymentLink.payment_method_types
,stripe.PaymentLink.CreateParams.payment_method_types
,stripe.PaymentLink.ModifyParams.payment_method_types
,stripe.PaymentMethod.type
,stripe.PaymentMethod.CreateParams.type
,stripe.PaymentMethod.ListParams.type
,stripe.SetupIntent.ConfirmParamsPaymentMethodData.type
,stripe.SetupIntent.CreateParamsPaymentMethodData.type
, andstripe.SetupIntent.ModifyParamsPaymentMethodData.type
- Add support for
2025-01-27.acacia
on enumstripe.WebhookEndpoint.CreateParams.api_version
- Add support for
v11.5.0b1
- #1433 Update generated code for beta
- Add support for
directorship_declaration
on resource classstripe.Account.Company
- Add support for
ownership_exemption_reason
on resource classstripe.Account.Company
and parameter classesstripe.Account.CreateParamsCompany
andstripe.Token.CreateParamsAccountCompany
- Add support for
brand_product
on resourcestripe.Card
and resource classesstripe.Source.Card
,stripe.Source.CardPresent
, andstripe.Source.ThreeDSecure
- Add support for
advice_code
on resource classesstripe.Charge.Outcome
,stripe.Invoice.LastFinalizationError
,stripe.PaymentIntent.LastPaymentError
,stripe.QuotePreviewInvoice.LastFinalizationError
,stripe.SetupAttempt.SetupError
, andstripe.SetupIntent.LastSetupError
- Add support for
country
on resource classesstripe.Charge.PaymentMethodDetails.Paypal
,stripe.ConfirmationToken.PaymentMethodPreview.Paypal
, andstripe.PaymentMethod.Paypal
- Add support for
phone_number_collection
on parameter classstripe.PaymentLink.ModifyParams
- Add support for
nickname
on parameter classesstripe.treasury.FinancialAccount.CreateParams
andstripe.treasury.FinancialAccount.ModifyParams
and resourcestripe.treasury.FinancialAccount
- Add support for
forwarding_settings
on parameter classstripe.treasury.FinancialAccount.ModifyParams
- Add support for
_cls_close
on resourcestripe.treasury.FinancialAccount
- Add support for
close
on resourcestripe.treasury.FinancialAccount
- Add support for
is_default
on resourcestripe.treasury.FinancialAccount
- Add support for
destination_payment_method_data
on parameter classstripe.treasury.OutboundTransfer.CreateParams
- Add support for
financial_account
on resource classstripe.treasury.OutboundTransfer.DestinationPaymentMethodDetails
- Add support for
outbound_transfer
on resource classstripe.treasury.ReceivedCredit.LinkedFlows.SourceFlowDetails
- Remove support for
always_invoice
on enumsstripe.billing_portal.Configuration.Features.SubscriptionCancel.proration_behavior
,stripe.billing_portal.Configuration.CreateParamsFeaturesSubscriptionCancel.proration_behavior
, andstripe.billing_portal.Configuration.ModifyParamsFeaturesSubscriptionCancel.proration_behavior
- Add support for
al_tin
on enumsstripe.checkout.Session.CollectedInformation.TaxId.type
,stripe.Order.TaxDetails.TaxId.type
,stripe.Order.CreateParamsTaxDetailsTaxId.type
,stripe.Order.ModifyParamsTaxDetailsTaxId.type
, andstripe.QuotePreviewInvoice.CustomerTaxId.type
- Add support for
financial_account
on enumstripe.treasury.OutboundTransfer.DestinationPaymentMethodDetails.type
- Add support for
outbound_transfer
on enumsstripe.treasury.ReceivedCredit.LinkedFlows.SourceFlowDetails.type
andstripe.treasury.ReceivedCredit.ListParamsLinkedFlows.source_flow_type
- Change type of
pretax_credit_amounts
onstripe.CreditNote
andstripe.CreditNoteLineItem
fromOptional[List[PretaxCreditAmount]]
toList[PretaxCreditAmount]
- Add support for
v11.4.1
- #1438 Fix regression when using httpx HTTP client
v11.4.0
- #1430 This release changes the pinned API version to
2024-12-18.acacia
.- Add support for
allow_redisplay
on resourcesstripe.Card
andstripe.Source
- Add support for
regulated_status
on resourcestripe.Card
and resource classesstripe.Charge.PaymentMethodDetails.Card
,stripe.ConfirmationToken.PaymentMethodPreview.Card
, andstripe.PaymentMethod.Card
- Add support for
network_advice_code
on resource classesstripe.Charge.Outcome
,stripe.Invoice.LastFinalizationError
,stripe.PaymentIntent.LastPaymentError
,stripe.SetupAttempt.SetupError
, andstripe.SetupIntent.LastSetupError
- Add support for
network_decline_code
on resource classesstripe.Charge.Outcome
,stripe.Invoice.LastFinalizationError
,stripe.PaymentIntent.LastPaymentError
,stripe.SetupAttempt.SetupError
, andstripe.SetupIntent.LastSetupError
- Add support for
funding
on resource classesstripe.Charge.PaymentMethodDetails.AmazonPay
andstripe.Charge.PaymentMethodDetails.RevolutPay
- Add support for
network_transaction_id
on resource classstripe.Charge.PaymentMethodDetails.Card
- Add support for
visa_compliance
on resource classesstripe.Dispute.Evidence.EnhancedEvidence
andstripe.Dispute.EvidenceDetails.EnhancedEligibility
and parameter classstripe.Dispute.ModifyParamsEvidenceEnhancedEvidence
- Add support for
account_holder_address
on resource classesstripe.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
, andstripe.PaymentIntent.NextAction.DisplayBankTransferInstructions.FinancialAddress.Zengin
- Add support for
bank_address
on resource classesstripe.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
, andstripe.PaymentIntent.NextAction.DisplayBankTransferInstructions.FinancialAddress.Zengin
- Add support for
account_holder_name
on resource classesstripe.FundingInstructions.BankTransfer.FinancialAddress.Spei
andstripe.PaymentIntent.NextAction.DisplayBankTransferInstructions.FinancialAddress.Spei
- Add support for
disabled_reason
on resource classesstripe.Invoice.AutomaticTax
,stripe.Subscription.AutomaticTax
,stripe.SubscriptionSchedule.DefaultSettings.AutomaticTax
, andstripe.SubscriptionSchedule.Phase.AutomaticTax
- Add support for
reference_prefix
on parameter classesstripe.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
, andstripe.checkout.Session.CreateParamsPaymentMethodOptionsSepaDebitMandateOptions
and resource classesstripe.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
, andstripe.checkout.Session.PaymentMethodOptions.SepaDebit.MandateOptions
- Add support for
trial_period_days
on parameter classstripe.PaymentLink.ModifyParamsSubscriptionData
- Add support for
credits_application_invoice_voided
on resource classstripe.billing.CreditBalanceTransaction.Credit
- Add support for
tax_id
on resource classesstripe.issuing.Authorization.MerchantData
andstripe.issuing.Transaction.MerchantData
- Add support for
al
on resource classstripe.tax.Registration.CountryOptions
and parameter classstripe.tax.Registration.CreateParamsCountryOptions
- Add support for
am
on resource classstripe.tax.Registration.CountryOptions
and parameter classstripe.tax.Registration.CreateParamsCountryOptions
- Add support for
ao
on resource classstripe.tax.Registration.CountryOptions
and parameter classstripe.tax.Registration.CreateParamsCountryOptions
- Add support for
ba
on resource classstripe.tax.Registration.CountryOptions
and parameter classstripe.tax.Registration.CreateParamsCountryOptions
- Add support for
bb
on resource classstripe.tax.Registration.CountryOptions
and parameter classstripe.tax.Registration.CreateParamsCountryOptions
- Add support for
bs
on resource classstripe.tax.Registration.CountryOptions
and parameter classstripe.tax.Registration.CreateParamsCountryOptions
- Add support for
cd
on resource classstripe.tax.Registration.CountryOptions
and parameter classstripe.tax.Registration.CreateParamsCountryOptions
- Add support for
gn
on resource classstripe.tax.Registration.CountryOptions
and parameter classstripe.tax.Registration.CreateParamsCountryOptions
- Add support for
kh
on resource classstripe.tax.Registration.CountryOptions
and parameter classstripe.tax.Registration.CreateParamsCountryOptions
- Add support for
me
on resource classstripe.tax.Registration.CountryOptions
and parameter classstripe.tax.Registration.CreateParamsCountryOptions
- Add support for
mk
on resource classstripe.tax.Registration.CountryOptions
and parameter classstripe.tax.Registration.CreateParamsCountryOptions
- Add support for
mr
on resource classstripe.tax.Registration.CountryOptions
and parameter classstripe.tax.Registration.CreateParamsCountryOptions
- Add support for
np
on resource classstripe.tax.Registration.CountryOptions
and parameter classstripe.tax.Registration.CreateParamsCountryOptions
- Add support for
pe
on resource classstripe.tax.Registration.CountryOptions
and parameter classstripe.tax.Registration.CreateParamsCountryOptions
- Add support for
sn
on resource classstripe.tax.Registration.CountryOptions
and parameter classstripe.tax.Registration.CreateParamsCountryOptions
- Add support for
sr
on resource classstripe.tax.Registration.CountryOptions
and parameter classstripe.tax.Registration.CreateParamsCountryOptions
- Add support for
tj
on resource classstripe.tax.Registration.CountryOptions
and parameter classstripe.tax.Registration.CreateParamsCountryOptions
- Add support for
ug
on resource classstripe.tax.Registration.CountryOptions
and parameter classstripe.tax.Registration.CreateParamsCountryOptions
- Add support for
uy
on resource classstripe.tax.Registration.CountryOptions
and parameter classstripe.tax.Registration.CreateParamsCountryOptions
- Add support for
zm
on resource classstripe.tax.Registration.CountryOptions
and parameter classstripe.tax.Registration.CreateParamsCountryOptions
- Add support for
zw
on resource classstripe.tax.Registration.CountryOptions
and parameter classstripe.tax.Registration.CreateParamsCountryOptions
- Add support for
payout_minimum_balance_hold
on enumstripe.BalanceTransaction.type
- Add support for
payout_minimum_balance_release
on enumstripe.BalanceTransaction.type
- Add support for
credits_application_invoice_voided
on enumstripe.billing.CreditBalanceTransaction.Credit.type
- Add support for
al_tin
on enumsstripe.checkout.Session.CustomerDetails.TaxId.type
,stripe.Customer.CreateParamsTaxIdDatum.type
,stripe.Customer.CreateTaxIdParams.type
,stripe.Invoice.CustomerTaxId.type
,stripe.Invoice.CreatePreviewParamsCustomerDetailsTaxId.type
,stripe.Invoice.UpcomingParamsCustomerDetailsTaxId.type
,stripe.Invoice.UpcomingLinesParamsCustomerDetailsTaxId.type
,stripe.tax.Calculation.CustomerDetails.TaxId.type
,stripe.tax.Calculation.CreateParamsCustomerDetailsTaxId.type
,stripe.tax.Transaction.CustomerDetails.TaxId.type
,stripe.TaxId.type
, andstripe.TaxId.CreateParams.type
- Add support for
am_tin
on enumsstripe.checkout.Session.CustomerDetails.TaxId.type
,stripe.Customer.CreateParamsTaxIdDatum.type
,stripe.Customer.CreateTaxIdParams.type
,stripe.Invoice.CustomerTaxId.type
,stripe.Invoice.CreatePreviewParamsCustomerDetailsTaxId.type
,stripe.Invoice.UpcomingParamsCustomerDetailsTaxId.type
,stripe.Invoice.UpcomingLinesParamsCustomerDetailsTaxId.type
,stripe.tax.Calculation.CustomerDetails.TaxId.type
,stripe.tax.Calculation.CreateParamsCustomerDetailsTaxId.type
, `stripe.ta...
- Add support for
v11.4.0b3
- #1429 Update generated code for beta
- Add support for
allow_redisplay
on resourcesstripe.Card
andstripe.Source
- Add support for
account
on resource classesstripe.terminal.Reader.Action.CollectPaymentMethod
,stripe.terminal.Reader.Action.ConfirmPaymentIntent
,stripe.terminal.Reader.Action.ProcessPaymentIntent
, andstripe.terminal.Reader.Action.RefundPayment
- Remove support for
amount_refunded
on resourcestripe.PaymentRecord
- Add support for
am_tin
on enumsstripe.checkout.Session.CollectedInformation.TaxId.type
,stripe.Order.TaxDetails.TaxId.type
,stripe.Order.CreateParamsTaxDetailsTaxId.type
,stripe.Order.ModifyParamsTaxDetailsTaxId.type
, andstripe.QuotePreviewInvoice.CustomerTaxId.type
- Add support for
ao_tin
on enumsstripe.checkout.Session.CollectedInformation.TaxId.type
,stripe.Order.TaxDetails.TaxId.type
,stripe.Order.CreateParamsTaxDetailsTaxId.type
,stripe.Order.ModifyParamsTaxDetailsTaxId.type
, andstripe.QuotePreviewInvoice.CustomerTaxId.type
- Add support for
ba_tin
on enumsstripe.checkout.Session.CollectedInformation.TaxId.type
,stripe.Order.TaxDetails.TaxId.type
,stripe.Order.CreateParamsTaxDetailsTaxId.type
,stripe.Order.ModifyParamsTaxDetailsTaxId.type
, andstripe.QuotePreviewInvoice.CustomerTaxId.type
- Add support for
bb_tin
on enumsstripe.checkout.Session.CollectedInformation.TaxId.type
,stripe.Order.TaxDetails.TaxId.type
,stripe.Order.CreateParamsTaxDetailsTaxId.type
,stripe.Order.ModifyParamsTaxDetailsTaxId.type
, andstripe.QuotePreviewInvoice.CustomerTaxId.type
- Add support for
bs_tin
on enumsstripe.checkout.Session.CollectedInformation.TaxId.type
,stripe.Order.TaxDetails.TaxId.type
,stripe.Order.CreateParamsTaxDetailsTaxId.type
,stripe.Order.ModifyParamsTaxDetailsTaxId.type
, andstripe.QuotePreviewInvoice.CustomerTaxId.type
- Add support for
cd_nif
on enumsstripe.checkout.Session.CollectedInformation.TaxId.type
,stripe.Order.TaxDetails.TaxId.type
,stripe.Order.CreateParamsTaxDetailsTaxId.type
,stripe.Order.ModifyParamsTaxDetailsTaxId.type
, andstripe.QuotePreviewInvoice.CustomerTaxId.type
- Add support for
gn_nif
on enumsstripe.checkout.Session.CollectedInformation.TaxId.type
,stripe.Order.TaxDetails.TaxId.type
,stripe.Order.CreateParamsTaxDetailsTaxId.type
,stripe.Order.ModifyParamsTaxDetailsTaxId.type
, andstripe.QuotePreviewInvoice.CustomerTaxId.type
- Add support for
kh_tin
on enumsstripe.checkout.Session.CollectedInformation.TaxId.type
,stripe.Order.TaxDetails.TaxId.type
,stripe.Order.CreateParamsTaxDetailsTaxId.type
,stripe.Order.ModifyParamsTaxDetailsTaxId.type
, andstripe.QuotePreviewInvoice.CustomerTaxId.type
- Add support for
me_pib
on enumsstripe.checkout.Session.CollectedInformation.TaxId.type
,stripe.Order.TaxDetails.TaxId.type
,stripe.Order.CreateParamsTaxDetailsTaxId.type
,stripe.Order.ModifyParamsTaxDetailsTaxId.type
, andstripe.QuotePreviewInvoice.CustomerTaxId.type
- Add support for
mk_vat
on enumsstripe.checkout.Session.CollectedInformation.TaxId.type
,stripe.Order.TaxDetails.TaxId.type
,stripe.Order.CreateParamsTaxDetailsTaxId.type
,stripe.Order.ModifyParamsTaxDetailsTaxId.type
, andstripe.QuotePreviewInvoice.CustomerTaxId.type
- Add support for
mr_nif
on enumsstripe.checkout.Session.CollectedInformation.TaxId.type
,stripe.Order.TaxDetails.TaxId.type
,stripe.Order.CreateParamsTaxDetailsTaxId.type
,stripe.Order.ModifyParamsTaxDetailsTaxId.type
, andstripe.QuotePreviewInvoice.CustomerTaxId.type
- Add support for
np_pan
on enumsstripe.checkout.Session.CollectedInformation.TaxId.type
,stripe.Order.TaxDetails.TaxId.type
,stripe.Order.CreateParamsTaxDetailsTaxId.type
,stripe.Order.ModifyParamsTaxDetailsTaxId.type
, andstripe.QuotePreviewInvoice.CustomerTaxId.type
- Add support for
sn_ninea
on enumsstripe.checkout.Session.CollectedInformation.TaxId.type
,stripe.Order.TaxDetails.TaxId.type
,stripe.Order.CreateParamsTaxDetailsTaxId.type
,stripe.Order.ModifyParamsTaxDetailsTaxId.type
, andstripe.QuotePreviewInvoice.CustomerTaxId.type
- Add support for
sr_fin
on enumsstripe.checkout.Session.CollectedInformation.TaxId.type
,stripe.Order.TaxDetails.TaxId.type
,stripe.Order.CreateParamsTaxDetailsTaxId.type
,stripe.Order.ModifyParamsTaxDetailsTaxId.type
, andstripe.QuotePreviewInvoice.CustomerTaxId.type
- Add support for
tj_tin
on enumsstripe.checkout.Session.CollectedInformation.TaxId.type
,stripe.Order.TaxDetails.TaxId.type
,stripe.Order.CreateParamsTaxDetailsTaxId.type
,stripe.Order.ModifyParamsTaxDetailsTaxId.type
, andstripe.QuotePreviewInvoice.CustomerTaxId.type
- Add support for
ug_tin
on enumsstripe.checkout.Session.CollectedInformation.TaxId.type
,stripe.Order.TaxDetails.TaxId.type
,stripe.Order.CreateParamsTaxDetailsTaxId.type
,stripe.Order.ModifyParamsTaxDetailsTaxId.type
, andstripe.QuotePreviewInvoice.CustomerTaxId.type
- Add support for
zm_tin
on enumsstripe.checkout.Session.CollectedInformation.TaxId.type
,stripe.Order.TaxDetails.TaxId.type
,stripe.Order.CreateParamsTaxDetailsTaxId.type
,stripe.Order.ModifyParamsTaxDetailsTaxId.type
, andstripe.QuotePreviewInvoice.CustomerTaxId.type
- Add support for
zw_tin
on enumsstripe.checkout.Session.CollectedInformation.TaxId.type
,stripe.Order.TaxDetails.TaxId.type
,stripe.Order.CreateParamsTaxDetailsTaxId.type
,stripe.Order.ModifyParamsTaxDetailsTaxId.type
, andstripe.QuotePreviewInvoice.CustomerTaxId.type
- Add support for
network_fallback
on enumstripe.issuing.Authorization.RequestHistory.reason
- Add support for
v11.4.0b2
- #1426 Update generated code for beta
- Add support for
automatic_indirect_tax
on resource classstripe.Account.Capabilities
and parameter classstripe.Account.CreateParamsCapabilities
- Add support for
disabled_reason
on resource classesstripe.Invoice.AutomaticTax
,stripe.QuotePreviewInvoice.AutomaticTax
,stripe.QuotePreviewSubscriptionSchedule.DefaultSettings.AutomaticTax
,stripe.QuotePreviewSubscriptionSchedule.Phase.AutomaticTax
,stripe.Subscription.AutomaticTax
,stripe.SubscriptionSchedule.DefaultSettings.AutomaticTax
, andstripe.SubscriptionSchedule.Phase.AutomaticTax
- Add support for
reference_prefix
on parameter classesstripe.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
, andstripe.checkout.Session.CreateParamsPaymentMethodOptionsSepaDebitMandateOptions
and resource classesstripe.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
, andstripe.checkout.Session.PaymentMethodOptions.SepaDebit.MandateOptions
- Add support for
trial_period_days
on parameter classstripe.PaymentLink.ModifyParamsSubscriptionData
- Add support for
payout_minimum_balance_hold
on enumstripe.BalanceTransaction.type
- Add support for
payout_minimum_balance_release
on enumstripe.BalanceTransaction.type
- Add support for