Releases: stripe/stripe-python
Releases · stripe/stripe-python
v9.6.0
- #1323 Update generated code
- Add support for
allow_redisplay
on resource classstripe.ConfirmationToken.PaymentMethodPreview
and resourcestripe.PaymentMethod
- Add support for
preview_mode
on parameter classesstripe.Invoice.CreatePreviewParams
,stripe.Invoice.UpcomingLinesParams
, andstripe.Invoice.UpcomingParams
- Add support for
_cls_update
on resourcesstripe.treasury.OutboundPayment
andstripe.treasury.OutboundTransfer
- Add support for
tracking_details
on resourcesstripe.treasury.OutboundPayment
andstripe.treasury.OutboundTransfer
- Add support for
update
on resourcesstripe.treasury.OutboundPayment
andstripe.treasury.OutboundTransfer
- Add support for
treasury.outbound_payment.tracking_details_updated
on enumsstripe.Event.type
,stripe.WebhookEndpoint.CreateParams.enabled_events
, andstripe.WebhookEndpoint.ModifyParams.enabled_events
- Add support for
treasury.outbound_transfer.tracking_details_updated
on enumsstripe.Event.type
,stripe.WebhookEndpoint.CreateParams.enabled_events
, andstripe.WebhookEndpoint.ModifyParams.enabled_events
- Add support for
v9.6.0b1
- #1318 Update generated code for beta
- Add support for
rechnung_payments
on resource classstripe.Account.Capabilities
and parameter classstripe.Account.CreateParamsCapabilities
- Add support for
rechnung
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.SetupIntent.ConfirmParamsPaymentMethodData
,stripe.SetupIntent.CreateParamsPaymentMethodData
, andstripe.SetupIntent.ModifyParamsPaymentMethodData
, and resourcestripe.PaymentMethod
- Add support for
multibanco
on parameter classstripe.checkout.Session.CreateParamsPaymentMethodOptions
and resource classstripe.checkout.Session.PaymentMethodOptions
- Add support for
multibanco
on enumstripe.checkout.Session.CreateParams.payment_method_types
- Add support for
rechnung
on enumsstripe.ConfirmationToken.PaymentMethodPreview.type
,stripe.ConfirmationToken.CreateParamsPaymentMethodData.type
,stripe.Customer.ListPaymentMethodsParams.type
,stripe.PaymentIntent.ConfirmParamsPaymentMethodData.type
,stripe.PaymentIntent.CreateParamsPaymentMethodData.type
,stripe.PaymentIntent.ModifyParamsPaymentMethodData.type
,stripe.PaymentMethod.type
,stripe.PaymentMethod.CreateParams.type
,stripe.PaymentMethod.ListParams.type
,stripe.SetupIntent.ConfirmParamsPaymentMethodData.type
,stripe.SetupIntent.CreateParamsPaymentMethodData.type
, andstripe.SetupIntent.ModifyParamsPaymentMethodData.type
- Change type of
transactions
onstripe.gift_cards.Card
fromListObject[Transaction]
toOptional[ListObject[Transaction]]
- Add support for
v9.5.0
- #1317 Update generated code
- Add support for
paypal
on resource classstripe.Dispute.PaymentMethodDetails
- Add support for
payment_method_types
on parameter classstripe.PaymentIntent.ConfirmParams
- Add support for
ship_from_details
on parameter classstripe.tax.Calculation.CreateParams
and resourcesstripe.tax.Calculation
andstripe.tax.Transaction
- Add support for
bh
,eg
,ge
,ke
,kz
,ng
,om
on resource classstripe.tax.Registration.CountryOptions
and parameter classstripe.tax.Registration.CreateParamsCountryOptions
- Add support for
paypal
on enumstripe.Dispute.PaymentMethodDetails.type
- Add support for
shipping_address_invalid
on enumsstripe.Invoice.LastFinalizationError.code
,stripe.PaymentIntent.LastPaymentError.code
,stripe.SetupAttempt.SetupError.code
, andstripe.SetupIntent.LastSetupError.code
- Change type of
metadata
onstripe.entitlements.Feature.ModifyParams
fromDict[str, str]
toLiteral['']|Dict[str, str]
- Add support for
- #1319 Fix type change entries in Python Changelog
v9.5.0b1
- #1308 Update generated code for beta
- Add support for
payment_method_settings
on parameter classstripe.AccountSession.CreateParamsComponents
- Add support for
cancel_subscription_schedule
on parameter classesstripe.Quote.CreateParamsLine
andstripe.Quote.ModifyParamsLine
and resourcestripe.QuoteLine
- Add support for
amazon_pay
on enumstripe.QuotePreviewInvoice.PaymentSettings.payment_method_types
- Add support for
revolut_pay
on enumstripe.QuotePreviewInvoice.PaymentSettings.payment_method_types
- Add support for
v9.4.0
- #1316 Update generated code
- Add support for
amazon_pay
on resource classesstripe.Mandate.PaymentMethodDetails
andstripe.SetupAttempt.PaymentMethodDetails
- Add support for
revolut_pay
on resource classesstripe.Mandate.PaymentMethodDetails
andstripe.SetupAttempt.PaymentMethodDetails
- Add support for
setup_future_usage
on resource classesstripe.PaymentIntent.PaymentMethodOptions.AmazonPay
,stripe.PaymentIntent.PaymentMethodOptions.RevolutPay
,stripe.checkout.Session.PaymentMethodOptions.AmazonPay
, andstripe.checkout.Session.PaymentMethodOptions.RevolutPay
- Add support for
mobilepay
on parameter classesstripe.PaymentMethodConfiguration.CreateParams
andstripe.PaymentMethodConfiguration.ModifyParams
and resourcestripe.PaymentMethodConfiguration
- Add support for
ending_before
on parameter classstripe.PaymentMethodConfiguration.ListParams
- Add support for
limit
on parameter classstripe.PaymentMethodConfiguration.ListParams
- Add support for
starting_after
on parameter classstripe.PaymentMethodConfiguration.ListParams
- Change type of
feature
onstripe.entitlements.ActiveEntitlement
fromstr
toExpandableField[Feature]
- Add support for
amazon_pay
on enumsstripe.Invoice.PaymentSettings.payment_method_types
,stripe.Invoice.CreateParamsPaymentSettings.payment_method_types
,stripe.Invoice.ModifyParamsPaymentSettings.payment_method_types
,stripe.Subscription.PaymentSettings.payment_method_types
,stripe.Subscription.CreateParamsPaymentSettings.payment_method_types
, andstripe.Subscription.ModifyParamsPaymentSettings.payment_method_types
- Add support for
revolut_pay
on enumsstripe.Invoice.PaymentSettings.payment_method_types
,stripe.Invoice.CreateParamsPaymentSettings.payment_method_types
,stripe.Invoice.ModifyParamsPaymentSettings.payment_method_types
,stripe.Subscription.PaymentSettings.payment_method_types
,stripe.Subscription.CreateParamsPaymentSettings.payment_method_types
, andstripe.Subscription.ModifyParamsPaymentSettings.payment_method_types
- Remove support for inadvertently released identity verification features
email
andphone
on parameter classesstripe.identity.VerificationSession.CreateParamsOptions
andstripe.identity.VerificationSession.ModifyParamsOptions
- Add support for
- #1307 Bump aiohttp from 3.9.2 to 3.9.4
v9.4.0b1
- #1302 Update generated code for beta
- Add support for
balances
on resource classstripe.AccountSession.Components
and parameter classstripe.AccountSession.CreateParamsComponents
- Add support for
payouts_list
on resource classstripe.AccountSession.Components
and parameter classstripe.AccountSession.CreateParamsComponents
- Add support for
capital_overview
on parameter classstripe.AccountSession.CreateParamsComponents
- Add support for
tax_registrations
on parameter classstripe.AccountSession.CreateParamsComponents
- Add support for
tax_settings
on parameter classstripe.AccountSession.CreateParamsComponents
- Add support for
external_account_collection
on parameter classstripe.AccountSession.CreateParamsComponentsFinancialAccountFeatures
- Add support for
allow_redisplay
on parameter classesstripe.ConfirmationToken.CreateParamsPaymentMethodData
,stripe.Customer.ListPaymentMethodsParams
,stripe.PaymentIntent.ConfirmParamsPaymentMethodData
,stripe.PaymentIntent.CreateParamsPaymentMethodData
,stripe.PaymentIntent.ModifyParamsPaymentMethodData
,stripe.PaymentMethod.CreateParams
,stripe.PaymentMethod.ModifyParams
,stripe.SetupIntent.ConfirmParamsPaymentMethodData
,stripe.SetupIntent.CreateParamsPaymentMethodData
, andstripe.SetupIntent.ModifyParamsPaymentMethodData
- Add support for
subscription_trial_from_plan
on parameter classesstripe.Invoice.UpcomingLinesParams
andstripe.Invoice.UpcomingParams
- Add support for
swish
on parameter classesstripe.PaymentMethodConfiguration.CreateParams
andstripe.PaymentMethodConfiguration.ModifyParams
and resourcestripe.PaymentMethodConfiguration
- Add support for
payment_method_data
on parameter classstripe.checkout.Session.CreateParams
- Add support for
saved_payment_method_options
on parameter classstripe.checkout.Session.CreateParams
and resourcestripe.checkout.Session
- Add support for
mobilepay
on parameter classstripe.checkout.Session.CreateParamsPaymentMethodOptions
and resource classstripe.checkout.Session.PaymentMethodOptions
- Remove support for
config
on parameter classstripe.forwarding.Request.CreateParams
and resourcestripe.forwarding.Request
- Change type of fields
stripe.AccountSession.Components.PaymentDetails.Features
andstripe.AccountSession.Components.Payments.Features
fromOptional[bool]
tobool
ofdestination_on_behalf_of_charge_management
- Change type of field
stripe.billing.MeterEvent.CreateParams
fromint
toNotRequired[int]
oftimestamp
- Add support for
mobilepay
on enumstripe.checkout.Session.CreateParams.payment_method_types
- Add support for
other
on enumsstripe.issuing.Authorization.CaptureParamsPurchaseDetailsFuel.unit
,stripe.issuing.Transaction.CreateForceCaptureParamsPurchaseDetailsFuel.unit
, andstripe.issuing.Transaction.CreateUnlinkedRefundParamsPurchaseDetailsFuel.unit
- Add support for
v9.3.0
- #1305 Update generated code
- Add support for
allow_redisplay
on parameter classesstripe.ConfirmationToken.CreateParamsPaymentMethodData
,stripe.Customer.ListPaymentMethodsParams
,stripe.PaymentIntent.ConfirmParamsPaymentMethodData
,stripe.PaymentIntent.CreateParamsPaymentMethodData
,stripe.PaymentIntent.ModifyParamsPaymentMethodData
,stripe.PaymentMethod.CreateParams
,stripe.PaymentMethod.ModifyParams
,stripe.SetupIntent.ConfirmParamsPaymentMethodData
,stripe.SetupIntent.CreateParamsPaymentMethodData
, andstripe.SetupIntent.ModifyParamsPaymentMethodData
- Add support for
schedule_details
on parameter classesstripe.Invoice.UpcomingLinesParams
andstripe.Invoice.UpcomingParams
- Add support for
subscription_details
on parameter classesstripe.Invoice.UpcomingLinesParams
andstripe.Invoice.UpcomingParams
- Add support for
create_preview
on resourcestripe.Invoice
- Add support for
payment_method_data
on parameter classstripe.checkout.Session.CreateParams
- Add support for
saved_payment_method_options
on parameter classstripe.checkout.Session.CreateParams
and resourcestripe.checkout.Session
- Add support for
mobilepay
on parameter classstripe.checkout.Session.CreateParamsPaymentMethodOptions
and resource classstripe.checkout.Session.PaymentMethodOptions
- Add support for
mobilepay
on enumstripe.checkout.Session.CreateParams.payment_method_types
- Add support for
other
on enumsstripe.issuing.Authorization.CaptureParamsPurchaseDetailsFuel.unit
,stripe.issuing.Transaction.CreateForceCaptureParamsPurchaseDetailsFuel.unit
, andstripe.issuing.Transaction.CreateUnlinkedRefundParamsPurchaseDetailsFuel.unit
- Add support for
- #1306 Update
Quote.pdf()
to use the right base address i.e. files.stripe.com instead of api.stripe.com. Fixes #1303
v9.2.0
- #1301 Update generated code
- Add support for
balances
on resource classstripe.AccountSession.Components
and parameter classstripe.AccountSession.CreateParamsComponents
- Add support for
payouts_list
on resource classstripe.AccountSession.Components
and parameter classstripe.AccountSession.CreateParamsComponents
- Add support for
capture_method
on parameter classesstripe.PaymentIntent.ConfirmParamsPaymentMethodOptionsRevolutPay
,stripe.PaymentIntent.CreateParamsPaymentMethodOptionsRevolutPay
, andstripe.PaymentIntent.ModifyParamsPaymentMethodOptionsRevolutPay
and resource classstripe.PaymentIntent.PaymentMethodOptions.RevolutPay
- Add support for
swish
on parameter classesstripe.PaymentMethodConfiguration.CreateParams
andstripe.PaymentMethodConfiguration.ModifyParams
and resourcestripe.PaymentMethodConfiguration
- Add support for resource
stripe.entitlements.ActiveEntitlementSummary
- Remove support for
config
on parameter classstripe.forwarding.Request.CreateParams
and resourcestripe.forwarding.Request
. This field is no longer used by the Forwarding Request API. - Change type of
destination_on_behalf_of_charge_management
onstripe.AccountSession.Components.PaymentDetails.Features
andstripe.AccountSession.Components.Payments.Features
fromOptional[bool]
tobool
- Change type of
timestamp
onstripe.billing.MeterEvent.CreateParams
fromint
toNotRequired[int]
- Add support for
entitlements.active_entitlement_summary.updated
on enumsstripe.Event.type
,stripe.WebhookEndpoint.CreateParams.enabled_events
, andstripe.WebhookEndpoint.ModifyParams.enabled_events
- Add support for
v9.2.0b1
- #1296 Update generated code for beta
- Add support for
external_account_collection
on resource classstripe.AccountSession.Components.AccountOnboarding.Features
and parameter classstripe.AccountSession.CreateParamsComponentsAccountOnboardingFeatures
- Add support for
account_management
on resource classstripe.AccountSession.Components
and parameter classstripe.AccountSession.CreateParamsComponents
- Add support for
notification_banner
on resource classstripe.AccountSession.Components
and parameter classstripe.AccountSession.CreateParamsComponents
- Add support for
amazon_pay
on resource classesstripe.Charge.PaymentMethodDetails
,stripe.ConfirmationToken.PaymentMethodPreview
,stripe.PaymentIntent.PaymentMethodOptions
,stripe.Refund.DestinationDetails
,stripe.SetupIntent.PaymentMethodOptions
, andstripe.checkout.Session.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.PaymentMethodConfiguration.CreateParams
,stripe.PaymentMethodConfiguration.ModifyParams
,stripe.SetupIntent.ConfirmParamsPaymentMethodData
,stripe.SetupIntent.ConfirmParamsPaymentMethodOptions
,stripe.SetupIntent.CreateParamsPaymentMethodData
,stripe.SetupIntent.CreateParamsPaymentMethodOptions
,stripe.SetupIntent.ModifyParamsPaymentMethodData
,stripe.SetupIntent.ModifyParamsPaymentMethodOptions
, andstripe.checkout.Session.CreateParamsPaymentMethodOptions
, and resourcesstripe.PaymentMethod
andstripe.PaymentMethodConfiguration
- Add support for
capture_method
on parameter classesstripe.PaymentIntent.ConfirmParamsPaymentMethodOptionsRevolutPay
,stripe.PaymentIntent.CreateParamsPaymentMethodOptionsRevolutPay
, andstripe.PaymentIntent.ModifyParamsPaymentMethodOptionsRevolutPay
and resource classstripe.PaymentIntent.PaymentMethodOptions.RevolutPay
- Change type of field
stripe.billing.MeterEventAdjustment
fromCancel
toOptional[Cancel]
ofcancel
- Change type of field
stripe.billing.MeterEventAdjustment.Cancel
fromstr
toOptional[str]
ofidentifier
- Change type of field
stripe.billing.MeterEventAdjustment.CreateParamsCancel
fromstr
toNotRequired[str]
ofidentifier
- Change type of field
stripe.billing.MeterEventAdjustment.CreateParams
fromMeterEventAdjustment.CreateParamsCancel
toNotRequired[MeterEventAdjustment.CreateParamsCancel]
ofcancel
- Change type of field
stripe.billing.MeterEventAdjustment.CreateParams
fromNotRequired[Literal['cancel']]
toLiteral['cancel']
oftype
- Add support for
bh_vat
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.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
, andstripe.TaxId.CreateParams.type
- Add support for
kz_bin
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.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
, andstripe.TaxId.CreateParams.type
- Add support for
ng_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.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
, andstripe.TaxId.CreateParams.type
- Add support for
om_vat
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.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
, andstripe.TaxId.CreateParams.type
- Add support for
amazon_pay
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.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
billing_policy_remote_function_response_invalid
on enumsstripe.Invoice.LastFinalizationError.code
,stripe.PaymentIntent.LastPaymentError.code
,stripe.QuotePreviewInvoice.LastFinalizationError.code
,stripe.SetupAttempt.SetupError.code
, andstripe.SetupIntent.LastSetupError.code
- Add support for
billing_policy_remote_function_timeout
on enumsstripe.Invoice.LastFinalizationError.code
,stripe.PaymentIntent.LastPaymentError.code
,stripe.QuotePreviewInvoice.LastFinalizationError.code
,stripe.SetupAttempt.SetupError.code
, andstripe.SetupIntent.LastSetupError.code
- Add support for
billing_policy_remote_function_unexpected_status_code
on enumsstripe.Invoice.LastFinalizationError.code
,stripe.PaymentIntent.LastPaymentError.code
,stripe.QuotePreviewInvoice.LastFinalizationError.code
,stripe.SetupAttempt.SetupError.code
, andstripe.SetupIntent.LastSetupError.code
- Add support for
billing_policy_remote_function_unreachable
on enumsstripe.Invoice.LastFinalizationError.code
,stripe.PaymentIntent.LastPaymentError.code
,stripe.QuotePreviewInvoice.LastFinalizationError.code
,stripe.SetupAttempt.SetupError.code
, andstripe.SetupIntent.LastSetupError.code
- Add support for
v9.1.0
- #1300 Update generated code
- Add support for
external_account_collection
on resource classstripe.AccountSession.Components.AccountOnboarding.Features
and parameter classstripe.AccountSession.CreateParamsComponentsAccountOnboardingFeatures
- Add support for
account_management
on resource classstripe.AccountSession.Components
and parameter classstripe.AccountSession.CreateParamsComponents
- Add support for
notification_banner
on resource classstripe.AccountSession.Components
and parameter classstripe.AccountSession.CreateParamsComponents
- Add support for
amazon_pay
on resource classesstripe.Charge.PaymentMethodDetails
,stripe.ConfirmationToken.PaymentMethodPreview
,stripe.PaymentIntent.PaymentMethodOptions
,stripe.Refund.DestinationDetails
,stripe.SetupIntent.PaymentMethodOptions
, andstripe.checkout.Session.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.PaymentMethodConfiguration.CreateParams
,stripe.PaymentMethodConfiguration.ModifyParams
,stripe.SetupIntent.ConfirmParamsPaymentMethodData
,stripe.SetupIntent.ConfirmParamsPaymentMethodOptions
,stripe.SetupIntent.CreateParamsPaymentMethodData
,stripe.SetupIntent.CreateParamsPaymentMethodOptions
,stripe.SetupIntent.ModifyParamsPaymentMethodData
,stripe.SetupIntent.ModifyParamsPaymentMethodOptions
, andstripe.checkout.Session.CreateParamsPaymentMethodOptions
, and resourcesstripe.PaymentMethod
andstripe.PaymentMethodConfiguration
- Add support for
next_refresh_available_at
on resource classstripe.financial_connections.Account.OwnershipRefresh
- Change type of
cancel
onstripe.billing.MeterEventAdjustment
fromCancel
toOptional[Cancel]
- Change type of
identifier
onstripe.billing.MeterEventAdjustment.Cancel
fromstr
toOptional[str]
- Change type of
identifier
onstripe.billing.MeterEventAdjustment.CreateParamsCancel
fromstr
toNotRequired[str]
- Change type of
cancel
onstripe.billing.MeterEventAdjustment.CreateParams
fromMeterEventAdjustment.CreateParamsCancel
toNotRequired[MeterEventAdjustment.CreateParamsCancel]
- Change type of
type
onstripe.billing.MeterEventAdjustment.CreateParams
fromNotRequired[Literal['cancel']]
toLiteral['cancel']
- Add support for
bh_vat
on enumsstripe.checkout.Session.CustomerDetails.TaxId.type
,stripe.Customer.CreateParamsTaxIdDatum.type
,stripe.Customer.CreateTaxIdParams.type
,stripe.Invoice.CustomerTaxId.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
kz_bin
on enumsstripe.checkout.Session.CustomerDetails.TaxId.type
,stripe.Customer.CreateParamsTaxIdDatum.type
,stripe.Customer.CreateTaxIdParams.type
,stripe.Invoice.CustomerTaxId.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
ng_tin
on enumsstripe.checkout.Session.CustomerDetails.TaxId.type
,stripe.Customer.CreateParamsTaxIdDatum.type
,stripe.Customer.CreateTaxIdParams.type
,stripe.Invoice.CustomerTaxId.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
om_vat
on enumsstripe.checkout.Session.CustomerDetails.TaxId.type
,stripe.Customer.CreateParamsTaxIdDatum.type
,stripe.Customer.CreateTaxIdParams.type
,stripe.Invoice.CustomerTaxId.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
ownership
on enumsstripe.checkout.Session.PaymentMethodOptions.UsBankAccount.FinancialConnections.prefetch
,stripe.checkout.Session.CreateParamsPaymentMethodOptionsUsBankAccountFinancialConnections.prefetch
,stripe.Invoice.PaymentSettings.PaymentMethodOptions.UsBankAccount.FinancialConnections.permissions
,stripe.Invoice.PaymentSettings.PaymentMethodOptions.UsBankAccount.FinancialConnections.prefetch
,stripe.Invoice.CreateParamsPaymentSettingsPaymentMethodOptionsUsBankAccountFinancialConnections.prefetch
,stripe.Invoice.ModifyParamsPaymentSettingsPaymentMethodOptionsUsBankAccountFinancialConnections.prefetch
,stripe.PaymentIntent.PaymentMethodOptions.UsBankAccount.FinancialConnections.prefetch
,stripe.PaymentIntent.ConfirmParamsPaymentMethodOptionsUsBankAccountFinancialConnections.prefetch
,stripe.PaymentIntent.CreateParamsPaymentMethodOptionsUsBankAccountFinancialConnections.prefetch
,stripe.PaymentIntent.ModifyParamsPaymentMethodOptionsUsBankAccountFinancialConnections.prefetch
,stripe.SetupIntent.PaymentMethodOptions.UsBankAccount.FinancialConnections.prefetch
,stripe.SetupIntent.ConfirmParamsPaymentMethodOptionsUsBankAccountFinancialConnections.prefetch
,stripe.SetupIntent.CreateParamsPaymentMethodOptionsUsBankAccountFinancialConnections.prefetch
,stripe.SetupIntent.ModifyParamsPaymentMethodOptionsUsBankAccountFinancialConnections.prefetch
,stripe.Subscription.PaymentSettings.PaymentMethodOptions.UsBankAccount.FinancialConnections.permissions
,stripe.Subscription.PaymentSettings.PaymentMethodOptions.UsBankAccount.FinancialConnections.prefetch
,stripe.Subscription.CreateParamsPaymentSettingsPaymentMethodOptionsUsBankAccountFinancialConnections.prefetch
, andstripe.Subscription.ModifyParamsPaymentSettingsPaymentMethodOptionsUsBankAccountFinancialConnections.prefetch
- Add support for
amazon_pay
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.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
billing_policy_remote_function_response_invalid
on enumsstripe.Invoice.LastFinalizationError.code
,stripe.PaymentIntent.LastPaymentError.code
,stripe.SetupAttempt.SetupError.code
, andstripe.SetupIntent.LastSetupError.code
- Add support for
billing_policy_remote_function_timeout
on enumsstripe.Invoice.LastFinalizationError.code
,stripe.PaymentIntent.LastPaymentError.code
,stripe.SetupAttempt.SetupError.code
, andstripe.SetupIntent.LastSetupError.code
- Add support for
billing_policy_remote_function_unexpected_status_code
on enumsstripe.Invoice.LastFinalizationError.code
,stripe.PaymentIntent.LastPaymentError.code
,stripe.SetupAttempt.SetupError.code
, andstripe.SetupIntent.LastSetupError.code
- Add support for
billing_policy_remote_function_unreachable
on enumsstripe.Invoice.LastFinalizationError.code
,stripe.PaymentIntent.LastPaymentError.code
,stripe.SetupAttempt.SetupError.code
, andstripe.SetupIntent.LastSetupError.code
- Add support for
- #1297 Use stdlib AsyncMock when available