Releases: stripe/stripe-python
Releases · stripe/stripe-python
v11.3.0b2
- #1421 Update generated code for beta
- Add support for
card_management
on parameter classstripe.AccountSession.CreateParamsComponentsIssuingCardFeatures
- Add support for
card_spend_dispute_management
on parameter classstripe.AccountSession.CreateParamsComponentsIssuingCardFeatures
- Add support for
cardholder_management
on parameter classstripe.AccountSession.CreateParamsComponentsIssuingCardFeatures
- Add support for
spend_control_management
on parameter classstripe.AccountSession.CreateParamsComponentsIssuingCardFeatures
- Add support for
disable_stripe_user_authentication
on parameter classstripe.AccountSession.CreateParamsComponentsIssuingCardsListFeatures
- Add support for
account_holder_address
on resource classesstripe.FundingInstructions.BankTransfer.FinancialAddress.Aba
,stripe.FundingInstructions.BankTransfer.FinancialAddress.Swift
,stripe.PaymentIntent.NextAction.DisplayBankTransferInstructions.FinancialAddress.Aba
, andstripe.PaymentIntent.NextAction.DisplayBankTransferInstructions.FinancialAddress.Swift
- Add support for
account_holder_name
on resource classesstripe.FundingInstructions.BankTransfer.FinancialAddress.Aba
,stripe.FundingInstructions.BankTransfer.FinancialAddress.Swift
,stripe.PaymentIntent.NextAction.DisplayBankTransferInstructions.FinancialAddress.Aba
, andstripe.PaymentIntent.NextAction.DisplayBankTransferInstructions.FinancialAddress.Swift
- Add support for
account_type
on resource classesstripe.FundingInstructions.BankTransfer.FinancialAddress.Aba
,stripe.FundingInstructions.BankTransfer.FinancialAddress.Swift
,stripe.PaymentIntent.NextAction.DisplayBankTransferInstructions.FinancialAddress.Aba
, andstripe.PaymentIntent.NextAction.DisplayBankTransferInstructions.FinancialAddress.Swift
- Add support for
bank_address
on resource classesstripe.FundingInstructions.BankTransfer.FinancialAddress.Aba
,stripe.FundingInstructions.BankTransfer.FinancialAddress.Swift
,stripe.PaymentIntent.NextAction.DisplayBankTransferInstructions.FinancialAddress.Aba
, andstripe.PaymentIntent.NextAction.DisplayBankTransferInstructions.FinancialAddress.Swift
- Add support for
payment_record
on parameter classstripe.Invoice.AttachPaymentParams
and resource classstripe.InvoicePayment.Payment
- Add support for
amount_overpaid
on resourcesstripe.Invoice
andstripe.QuotePreviewInvoice
- Add support for resource
stripe.PaymentAttemptRecord
- Add support for
submit_type
on parameter classstripe.PaymentLink.ModifyParams
- Add support for resource
stripe.PaymentRecord
- Add support for
adaptive_pricing
on parameter classstripe.checkout.Session.CreateParams
and resourcestripe.checkout.Session
- Add support for
mandate_options
on parameter classesstripe.checkout.Session.CreateParamsPaymentMethodOptionsBacsDebit
andstripe.checkout.Session.CreateParamsPaymentMethodOptionsSepaDebit
and resource classesstripe.checkout.Session.PaymentMethodOptions.BacsDebit
andstripe.checkout.Session.PaymentMethodOptions.SepaDebit
- Add support for
request_decremental_authorization
on parameter classstripe.checkout.Session.CreateParamsPaymentMethodOptionsCard
and resource classstripe.checkout.Session.PaymentMethodOptions.Card
- Add support for
request_extended_authorization
on parameter classstripe.checkout.Session.CreateParamsPaymentMethodOptionsCard
and resource classstripe.checkout.Session.PaymentMethodOptions.Card
- Add support for
request_incremental_authorization
on parameter classstripe.checkout.Session.CreateParamsPaymentMethodOptionsCard
and resource classstripe.checkout.Session.PaymentMethodOptions.Card
- Add support for
request_multicapture
on parameter classstripe.checkout.Session.CreateParamsPaymentMethodOptionsCard
and resource classstripe.checkout.Session.PaymentMethodOptions.Card
- Add support for
request_overcapture
on parameter classstripe.checkout.Session.CreateParamsPaymentMethodOptionsCard
and resource classstripe.checkout.Session.PaymentMethodOptions.Card
- Add support for
capture_method
on parameter classesstripe.checkout.Session.CreateParamsPaymentMethodOptionsKakaoPay
,stripe.checkout.Session.CreateParamsPaymentMethodOptionsKrCard
,stripe.checkout.Session.CreateParamsPaymentMethodOptionsNaverPay
,stripe.checkout.Session.CreateParamsPaymentMethodOptionsPayco
, andstripe.checkout.Session.CreateParamsPaymentMethodOptionsSamsungPay
- Add support for
merchant_amount
on parameter classstripe.issuing.Authorization.CreateParams
- Add support for
merchant_currency
on parameter classstripe.issuing.Authorization.CreateParams
- Add support for resource
stripe.issuing.FraudLiabilityDebit
- Remove support for
money_movement
on parameter classstripe.AccountSession.CreateParamsComponentsFinancialAccountFeatures
- Remove support for
out_of_band_payment
on parameter classstripe.Invoice.AttachPaymentParams
and resource classstripe.InvoicePayment.Payment
- Change type of
disabled_reason
onstripe.Account.FutureRequirements
andstripe.Account.Requirements
fromstr
toLiteral['action_required.requested_capabilities', 'listed', 'other', 'platform_paused', 'rejected.fraud', 'rejected.incomplete_verification', 'rejected.listed', 'rejected.other', 'rejected.platform_fraud', 'rejected.platform_other', 'rejected.platform_terms_of_service', 'rejected.terms_of_service', 'requirements.past_due', 'requirements.pending_verification', 'under_review']
- Change type of
disable_stripe_user_authentication
onstripe.AccountSession.Components.AccountManagement.Features
,stripe.AccountSession.Components.AccountOnboarding.Features
,stripe.AccountSession.Components.Balances.Features
,stripe.AccountSession.Components.NotificationBanner.Features
, andstripe.AccountSession.Components.Payouts.Features
fromOptional[bool]
tobool
- Add support for
li_vat
on enumsstripe.checkout.Session.CollectedInformation.TaxId.type
,stripe.checkout.Session.CustomerDetails.TaxId.type
,stripe.Customer.CreateParamsTaxIdDatum.type
,stripe.Customer.CreateTaxIdParams.type
,stripe.Invoice.CustomerTaxId.type
,stripe.Invoice.CreatePreviewParamsCustomerDetailsTaxId.type
,stripe.Invoice.UpcomingParamsCustomerDetailsTaxId.type
,stripe.Invoice.UpcomingLinesParamsCustomerDetailsTaxId.type
,stripe.Order.TaxDetails.TaxId.type
,stripe.Order.CreateParamsTaxDetailsTaxId.type
,stripe.Order.ModifyParamsTaxDetailsTaxId.type
,stripe.QuotePreviewInvoice.CustomerTaxId.type
,stripe.tax.Calculation.CustomerDetails.TaxId.type
,stripe.tax.Calculation.CreateParamsCustomerDetailsTaxId.type
,stripe.tax.Transaction.CustomerDetails.TaxId.type
,stripe.TaxId.type
, andstripe.TaxId.CreateParams.type
- Add support for
invoice.payment_attempt_required
on enumsstripe.Event.type
,stripe.WebhookEndpoint.CreateParams.enabled_events
, andstripe.WebhookEndpoint.ModifyParams.enabled_events
- Add support for
issuing_fraud_liability_debit.created
on enumsstripe.Event.type
,stripe.WebhookEndpoint.CreateParams.enabled_events
, andstripe.WebhookEndpoint.ModifyParams.enabled_events
- Add support for
custom
on enumsstripe.Invoice.PaymentSettings.payment_method_types
,stripe.Invoice.CreateParamsPaymentSettings.payment_method_types
,stripe.Invoice.ModifyParamsPaymentSettings.payment_method_types
,stripe.QuotePreviewInvoice.PaymentSettings.payment_method_types
,stripe.Subscription.PaymentSettings.payment_method_types
,stripe.Subscription.CreateParamsPaymentSettings.payment_method_types
, andstripe.Subscription.ModifyParamsPaymentSettings.payment_method_types
- Add support for
service_tax
on enumsstripe.Invoice.AddLinesParamsLineTaxAmountTaxRateData.tax_type
,stripe.Invoice.UpdateLinesParamsLineTaxAmountTaxRateData.tax_type
,stripe.InvoiceLineItem.ModifyParamsTaxAmountTaxRateData.tax_type
,stripe.tax.Calculation.ShippingCost.TaxBreakdown.TaxRateDetails.tax_type
,stripe.tax.Calculation.TaxBreakdown.TaxRateDetails.tax_type
,stripe.tax.CalculationLineItem.TaxBreakdown.TaxRateDetails.tax_type
,stripe.tax.Transaction.ShippingCost.TaxBreakdown.TaxRateDetails.tax_type
,stripe.TaxRate.tax_type
,stripe.TaxRate.CreateParams.tax_type
, andstripe.TaxRate.ModifyParams.tax_type
- Add support for
payment_record
on enumstripe.InvoicePayment.Payment.type
- Add support for
link
on enumsstripe.PaymentIntent.PaymentMethodOptions.Card.network
,stripe.PaymentIntent.ConfirmParamsPaymentMethodOptionsCard.network
,stripe.PaymentIntent.CreateParamsPaymentMethodOptionsCard.network
,stripe.PaymentIntent.ModifyParamsPaymentMethodOptionsCard.network
,stripe.SetupIntent.PaymentMethodOptions.Card.network
,stripe.SetupIntent.ConfirmParamsPaymentMethodOptionsCard.network
,stripe.SetupIntent.CreateParamsPaymentMethodOptionsCard.network
,stripe.SetupIntent.ModifyParamsPaymentMethodOptionsCard.network
,stripe.Subscription.PaymentSettings.PaymentMethodOptions.Card.network
,stripe.Subscription.CreateParamsPaymentSettingsPaymentMethodOptionsCard.network
, andstripe.Subscription.ModifyParamsPaymentSettingsPaymentMethodOptionsCard.network
- Change type of
amount
onstripe.issuing.Authorization.CreateParams
fromint
toNotRequired[int]
- Change type of
origin_payment_method
onstripe.treasury.InboundTransfer
fromstr
toOptional[str]
- Add support for
v11.3.0b1
- #1417 Update generated code for beta
- Add support for
id_bank_transfer_payments
on resource classstripe.Account.Capabilities
and parameter classstripe.Account.CreateParamsCapabilities
- Add support for
bank_bca_onboarding
on parameter classstripe.Account.CreateParamsSettings
and resource classstripe.Account.Settings
- Add support for
send_money
on parameter classstripe.AccountSession.CreateParamsComponentsRecipientsFeatures
- Add support for
id_bank_transfer
on resource classesstripe.Charge.PaymentMethodDetails
,stripe.ConfirmationToken.PaymentMethodPreview
,stripe.Invoice.PaymentSettings.PaymentMethodOptions
,stripe.PaymentIntent.PaymentMethodOptions
,stripe.QuotePreviewInvoice.PaymentSettings.PaymentMethodOptions
,stripe.Refund.DestinationDetails
,stripe.SetupAttempt.PaymentMethodDetails
, andstripe.Subscription.PaymentSettings.PaymentMethodOptions
, parameter classesstripe.ConfirmationToken.CreateParamsPaymentMethodData
,stripe.Invoice.CreateParamsPaymentSettingsPaymentMethodOptions
,stripe.Invoice.ModifyParamsPaymentSettingsPaymentMethodOptions
,stripe.PaymentIntent.ConfirmParamsPaymentMethodData
,stripe.PaymentIntent.ConfirmParamsPaymentMethodOptions
,stripe.PaymentIntent.CreateParamsPaymentMethodData
,stripe.PaymentIntent.CreateParamsPaymentMethodOptions
,stripe.PaymentIntent.ModifyParamsPaymentMethodData
,stripe.PaymentIntent.ModifyParamsPaymentMethodOptions
,stripe.PaymentMethod.CreateParams
,stripe.PaymentMethodConfiguration.CreateParams
,stripe.PaymentMethodConfiguration.ModifyParams
,stripe.SetupIntent.ConfirmParamsPaymentMethodData
,stripe.SetupIntent.CreateParamsPaymentMethodData
,stripe.SetupIntent.ModifyParamsPaymentMethodData
,stripe.Subscription.CreateParamsPaymentSettingsPaymentMethodOptions
, andstripe.Subscription.ModifyParamsPaymentSettingsPaymentMethodOptions
, and resourcesstripe.PaymentMethod
andstripe.PaymentMethodConfiguration
- Add support for
_cls_trigger_action
on resourcestripe.PaymentIntent
- Add support for
trigger_action
on resourcestripe.PaymentIntent
- Add support for
gopay
on parameter classesstripe.PaymentMethodConfiguration.CreateParams
andstripe.PaymentMethodConfiguration.ModifyParams
and resourcestripe.PaymentMethodConfiguration
- Add support for
qris
on parameter classesstripe.PaymentMethodConfiguration.CreateParams
andstripe.PaymentMethodConfiguration.ModifyParams
and resourcestripe.PaymentMethodConfiguration
- Add support for
shopeepay
on parameter classesstripe.PaymentMethodConfiguration.CreateParams
andstripe.PaymentMethodConfiguration.ModifyParams
and resourcestripe.PaymentMethodConfiguration
- Add support for
id_bank_transfer
on enumsstripe.ConfirmationToken.PaymentMethodPreview.type
,stripe.ConfirmationToken.CreateParamsPaymentMethodData.type
,stripe.Customer.ListPaymentMethodsParams.type
,stripe.Invoice.PaymentSettings.payment_method_types
,stripe.Invoice.CreateParamsPaymentSettings.payment_method_types
,stripe.Invoice.ModifyParamsPaymentSettings.payment_method_types
,stripe.PaymentIntent.ConfirmParamsPaymentMethodData.type
,stripe.PaymentIntent.CreateParamsPaymentMethodData.type
,stripe.PaymentIntent.ModifyParamsPaymentMethodData.type
,stripe.PaymentMethod.type
,stripe.PaymentMethod.CreateParams.type
,stripe.PaymentMethod.ListParams.type
,stripe.QuotePreviewInvoice.PaymentSettings.payment_method_types
,stripe.SetupIntent.ConfirmParamsPaymentMethodData.type
,stripe.SetupIntent.CreateParamsPaymentMethodData.type
,stripe.SetupIntent.ModifyParamsPaymentMethodData.type
,stripe.Subscription.PaymentSettings.payment_method_types
,stripe.Subscription.CreateParamsPaymentSettings.payment_method_types
, andstripe.Subscription.ModifyParamsPaymentSettings.payment_method_types
- Change type of
enhanced_eligibility_types
onstripe.Dispute
fromOptional[List[Literal['visa_compelling_evidence_3']]]
toList[Literal['visa_compelling_evidence_3']]
- Change type of
enhanced_evidence
onstripe.Dispute.Evidence
fromOptional[EnhancedEvidence]
toEnhancedEvidence
- Change type of
enhanced_eligibility
onstripe.Dispute.EvidenceDetails
fromOptional[EnhancedEligibility]
toEnhancedEligibility
- Remove support for
payout_statement_descriptor_profanity
on enumsstripe.Invoice.LastFinalizationError.code
,stripe.PaymentIntent.LastPaymentError.code
,stripe.QuotePreviewInvoice.LastFinalizationError.code
,stripe.SetupAttempt.SetupError.code
, andstripe.SetupIntent.LastSetupError.code
- Add support for
v11.2.0
- #1411 This release changes the pinned API version to
2024-10-28.acacia
.- Add support for resource
stripe.v2.EventDestinations
- Add support for
create
,retrieve
,update
,list
,delete
,disable
,enable
andping
methods on resourceV2.EventDestinations
- Add support for
alma_payments
,kakao_pay_payments
,kr_card_payments
,naver_pay_payments
,payco_payments
,samsung_pay_payments
on resource classstripe.Account.Capabilities
and parameter classstripe.Account.CreateParamsCapabilities
- Add support for
groups
on parameter classstripe.Account.CreateParams
and resourcestripe.Account
- Add support for
disable_stripe_user_authentication
on resource classesstripe.AccountSession.Components.AccountManagement.Features
,stripe.AccountSession.Components.AccountOnboarding.Features
,stripe.AccountSession.Components.Balances.Features
,stripe.AccountSession.Components.NotificationBanner.Features
, andstripe.AccountSession.Components.Payouts.Features
and parameter classesstripe.AccountSession.CreateParamsComponentsAccountManagementFeatures
,stripe.AccountSession.CreateParamsComponentsAccountOnboardingFeatures
,stripe.AccountSession.CreateParamsComponentsBalancesFeatures
,stripe.AccountSession.CreateParamsComponentsNotificationBannerFeatures
, andstripe.AccountSession.CreateParamsComponentsPayoutsFeatures
- Add support for
alma
on resource classesstripe.Charge.PaymentMethodDetails
,stripe.ConfirmationToken.PaymentMethodPreview
,stripe.PaymentIntent.PaymentMethodOptions
, andstripe.Refund.DestinationDetails
, parameter classesstripe.ConfirmationToken.CreateParamsPaymentMethodData
,stripe.PaymentIntent.ConfirmParamsPaymentMethodData
,stripe.PaymentIntent.ConfirmParamsPaymentMethodOptions
,stripe.PaymentIntent.CreateParamsPaymentMethodData
,stripe.PaymentIntent.CreateParamsPaymentMethodOptions
,stripe.PaymentIntent.ModifyParamsPaymentMethodData
,stripe.PaymentIntent.ModifyParamsPaymentMethodOptions
,stripe.PaymentMethod.CreateParams
,stripe.PaymentMethodConfiguration.CreateParams
,stripe.PaymentMethodConfiguration.ModifyParams
,stripe.SetupIntent.ConfirmParamsPaymentMethodData
,stripe.SetupIntent.CreateParamsPaymentMethodData
, andstripe.SetupIntent.ModifyParamsPaymentMethodData
, and resourcesstripe.PaymentMethod
andstripe.PaymentMethodConfiguration
- Add support for
kakao_pay
,kr_card
on resource classesstripe.Charge.PaymentMethodDetails
,stripe.ConfirmationToken.PaymentMethodPreview
,stripe.Mandate.PaymentMethodDetails
,stripe.PaymentIntent.PaymentMethodOptions
,stripe.SetupAttempt.PaymentMethodDetails
, 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.SetupIntent.ConfirmParamsPaymentMethodData
,stripe.SetupIntent.CreateParamsPaymentMethodData
,stripe.SetupIntent.ModifyParamsPaymentMethodData
, andstripe.checkout.Session.CreateParamsPaymentMethodOptions
, and resourcestripe.PaymentMethod
- Add support for
naver_pay
on resource classesstripe.Charge.PaymentMethodDetails
,stripe.ConfirmationToken.PaymentMethodPreview
,stripe.PaymentIntent.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.PaymentMethod.ModifyParams
,stripe.SetupIntent.ConfirmParamsPaymentMethodData
,stripe.SetupIntent.CreateParamsPaymentMethodData
,stripe.SetupIntent.ModifyParamsPaymentMethodData
, andstripe.checkout.Session.CreateParamsPaymentMethodOptions
, and resourcestripe.PaymentMethod
- Add support for
payco
,samsung_pay
on resource classesstripe.Charge.PaymentMethodDetails
,stripe.ConfirmationToken.PaymentMethodPreview
,stripe.PaymentIntent.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.SetupIntent.ConfirmParamsPaymentMethodData
,stripe.SetupIntent.CreateParamsPaymentMethodData
,stripe.SetupIntent.ModifyParamsPaymentMethodData
, andstripe.checkout.Session.CreateParamsPaymentMethodOptions
, and resourcestripe.PaymentMethod
- Add support for
enhanced_evidence
on resource classstripe.Dispute.Evidence
and parameter classstripe.Dispute.ModifyParamsEvidence
- Add support for
enhanced_eligibility
on resource classstripe.Dispute.EvidenceDetails
- Add support for
enhanced_eligibility_types
on resourcestripe.Dispute
- Add support for
automatically_finalizes_at
on parameter classesstripe.Invoice.CreateParams
andstripe.Invoice.ModifyParams
- Add support for
amazon_pay
on resourcestripe.PaymentMethodDomain
- Add support for
flat_amount
,rate_type
on resourcestripe.TaxRate
and resource classstripe.tax.Calculation.TaxBreakdown.TaxRateDetails
- Add support for
schedule_at_period_end
on parameter classesstripe.billing_portal.Configuration.CreateParamsFeaturesSubscriptionUpdate
andstripe.billing_portal.Configuration.ModifyParamsFeaturesSubscriptionUpdate
and resource classstripe.billing_portal.Configuration.Features.SubscriptionUpdate
- Add support for
metadata
on parameter classstripe.forwarding.Request.CreateParams
and resourcestripe.forwarding.Request
- Add support for
_cls_submit_card
on resourcestripe.issuing.Card
- Add support for
submit_card
on resourcestripe.issuing.Card
- Add support for
by
,cr
,ec
,ma
,md
,rs
,ru
,tz
,uz
on resource classstripe.tax.Registration.CountryOptions
and parameter classstripe.tax.Registration.CreateParamsCountryOptions
- Add support for
pln
on parameter classesstripe.terminal.Configuration.CreateParamsTipping
andstripe.terminal.Configuration.ModifyParamsTipping
and resource classstripe.terminal.Configuration.Tipping
- Change type of
business_profile
onstripe.billing_portal.Configuration.CreateParams
fromConfiguration.CreateParamsBusinessProfile
toNotRequired[Configuration.CreateParamsBusinessProfile]
- Add support for
by_tin
,ma_vat
,md_vat
,tz_vat
,uz_tin
,uz_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.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
alma
,kakao_pay
,kr_card
,naver_pay
,payco
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
samsung_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
auto
on enumstripe.Customer.ModifyParamsTax.validate_location
- Add support for
issuing_transaction.purchase_details_receipt_updated
,refund.failed
on enumsstripe.Event.type
,stripe.WebhookEndpoint.CreateParams.enabled_events
, andstripe.WebhookEndpoint.ModifyParams.enabled_events
- Add support for `jp...
- Add support for resource
v11.2.0b3
- #1413 Update generated code for beta
- Add support for
alma_payments
on resource classstripe.Account.Capabilities
and parameter classstripe.Account.CreateParamsCapabilities
- Add support for
gopay_payments
on resource classstripe.Account.Capabilities
and parameter classstripe.Account.CreateParamsCapabilities
- Add support for
kakao_pay_payments
on resource classstripe.Account.Capabilities
and parameter classstripe.Account.CreateParamsCapabilities
- Add support for
kr_card_payments
on resource classstripe.Account.Capabilities
and parameter classstripe.Account.CreateParamsCapabilities
- Add support for
naver_pay_payments
on resource classstripe.Account.Capabilities
and parameter classstripe.Account.CreateParamsCapabilities
- Add support for
payco_payments
on resource classstripe.Account.Capabilities
and parameter classstripe.Account.CreateParamsCapabilities
- Add support for
qris_payments
on resource classstripe.Account.Capabilities
and parameter classstripe.Account.CreateParamsCapabilities
- Add support for
samsung_pay_payments
on resource classstripe.Account.Capabilities
and parameter classstripe.Account.CreateParamsCapabilities
- Add support for
shopeepay_payments
on resource classstripe.Account.Capabilities
and parameter classstripe.Account.CreateParamsCapabilities
- Add support for
treasury_evolve
on resource classstripe.Account.Capabilities
and parameter classstripe.Account.CreateParamsCapabilities
- Add support for
treasury_fifth_third
on resource classstripe.Account.Capabilities
and parameter classstripe.Account.CreateParamsCapabilities
- Add support for
treasury_goldman_sachs
on resource classstripe.Account.Capabilities
and parameter classstripe.Account.CreateParamsCapabilities
- Add support for
alma
on resource classesstripe.Charge.PaymentMethodDetails
,stripe.ConfirmationToken.PaymentMethodPreview
,stripe.PaymentIntent.PaymentMethodOptions
, andstripe.Refund.DestinationDetails
, parameter classesstripe.ConfirmationToken.CreateParamsPaymentMethodData
,stripe.PaymentIntent.ConfirmParamsPaymentMethodData
,stripe.PaymentIntent.ConfirmParamsPaymentMethodOptions
,stripe.PaymentIntent.CreateParamsPaymentMethodData
,stripe.PaymentIntent.CreateParamsPaymentMethodOptions
,stripe.PaymentIntent.ModifyParamsPaymentMethodData
,stripe.PaymentIntent.ModifyParamsPaymentMethodOptions
,stripe.PaymentMethod.CreateParams
,stripe.PaymentMethodConfiguration.CreateParams
,stripe.PaymentMethodConfiguration.ModifyParams
,stripe.SetupIntent.ConfirmParamsPaymentMethodData
,stripe.SetupIntent.CreateParamsPaymentMethodData
, andstripe.SetupIntent.ModifyParamsPaymentMethodData
, and resourcesstripe.PaymentMethod
andstripe.PaymentMethodConfiguration
- Add support for
gopay
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.SetupIntent.ConfirmParamsPaymentMethodData
,stripe.SetupIntent.CreateParamsPaymentMethodData
, andstripe.SetupIntent.ModifyParamsPaymentMethodData
, and resourcestripe.PaymentMethod
- Add support for
qris
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.SetupIntent.ConfirmParamsPaymentMethodData
,stripe.SetupIntent.CreateParamsPaymentMethodData
, andstripe.SetupIntent.ModifyParamsPaymentMethodData
, and resourcestripe.PaymentMethod
- Add support for
shopeepay
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.SetupIntent.ConfirmParamsPaymentMethodData
,stripe.SetupIntent.CreateParamsPaymentMethodData
, andstripe.SetupIntent.ModifyParamsPaymentMethodData
, and resourcestripe.PaymentMethod
- Add support for
amazon_pay
on resourcestripe.PaymentMethodDomain
- Add support for
schedule_at_period_end
on parameter classesstripe.billing_portal.Configuration.CreateParamsFeaturesSubscriptionUpdate
andstripe.billing_portal.Configuration.ModifyParamsFeaturesSubscriptionUpdate
and resource classstripe.billing_portal.Configuration.Features.SubscriptionUpdate
- Add support for
metadata
on parameter classstripe.forwarding.Request.CreateParams
- Add support for
external_reference
on parameter classstripe.tax.Form.ListParamsPayee
and resource classstripe.tax.Form.Payee
- Add support for
au_serr
on resourcestripe.tax.Form
- Add support for
ca_mrdp
on resourcestripe.tax.Form
- Add support for
eu_dac7
on resourcestripe.tax.Form
- Add support for
gb_mrdp
on resourcestripe.tax.Form
- Add support for
nz_mrdp
on resourcestripe.tax.Form
- Add support for
pln
on parameter classesstripe.terminal.Configuration.CreateParamsTipping
andstripe.terminal.Configuration.ModifyParamsTipping
and resource classstripe.terminal.Configuration.Tipping
- Add support for
bank
on parameter classesstripe.treasury.FinancialAccount.CreateParamsFeaturesFinancialAddressesAba
,stripe.treasury.FinancialAccount.ModifyParamsFeaturesFinancialAddressesAba
, andstripe.treasury.FinancialAccount.UpdateFeaturesParamsFinancialAddressesAba
and resource classstripe.treasury.FinancialAccountFeatures.FinancialAddresses.Aba
- Change type of
business_profile
onstripe.billing_portal.Configuration.CreateParams
fromConfiguration.CreateParamsBusinessProfile
toNotRequired[Configuration.CreateParamsBusinessProfile]
- Add support for
alma
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
gopay
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
qris
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
shopeepay
on enumsstripe.checkout.Session.CreateParams.payment_method_types
,stripe.ConfirmationToken.PaymentMethodPreview.type
,stripe.ConfirmationToken.CreateParamsPaymentMethodData.type
,stripe.Customer.ListPaymentMethodsParams.type
, `...
- Add support for
v11.1.1
-
#1414 Deserialize into correct v2 EventData types
- Fixes a bug where v2 EventData was not being deserialized into the appropriate type for
V1BillingMeterErrorReportTriggeredEvent
andV1BillingMeterNoMeterFoundEvent
- Fixes a bug where v2 EventData was not being deserialized into the appropriate type for
-
#1415 update object tags for meter-related classes
- fixes a bug where the
object
property of theMeterEvent
,MeterEventAdjustment
, andMeterEventSession
didn't match the server.
- fixes a bug where the
-
#1412 Clean up examples
v11.2.0b2
- #1396 Update generated code for beta
- Add support for
groups
on parameter classstripe.Account.CreateParams
and resourcestripe.Account
- Add support for
disable_stripe_user_authentication
on resource classesstripe.AccountSession.Components.AccountManagement.Features
,stripe.AccountSession.Components.AccountOnboarding.Features
,stripe.AccountSession.Components.Balances.Features
,stripe.AccountSession.Components.NotificationBanner.Features
, andstripe.AccountSession.Components.Payouts.Features
and parameter classesstripe.AccountSession.CreateParamsComponentsAccountManagementFeatures
,stripe.AccountSession.CreateParamsComponentsAccountOnboardingFeatures
,stripe.AccountSession.CreateParamsComponentsBalancesFeatures
,stripe.AccountSession.CreateParamsComponentsFinancialAccountFeatures
,stripe.AccountSession.CreateParamsComponentsNotificationBannerFeatures
, andstripe.AccountSession.CreateParamsComponentsPayoutsFeatures
- Add support for
card_spend_dispute_management
on parameter classstripe.AccountSession.CreateParamsComponentsIssuingCardsListFeatures
- Add support for
spend_control_management
on parameter classstripe.AccountSession.CreateParamsComponentsIssuingCardsListFeatures
- Add support for
kakao_pay
andkr_card
on resource classesstripe.Charge.PaymentMethodDetails
,stripe.ConfirmationToken.PaymentMethodPreview
,stripe.Mandate.PaymentMethodDetails
,stripe.PaymentIntent.PaymentMethodOptions
, andstripe.SetupAttempt.PaymentMethodDetails
, parameter classesstripe.ConfirmationToken.CreateParamsPaymentMethodData
,stripe.PaymentIntent.ConfirmParamsPaymentMethodData
,stripe.PaymentIntent.ConfirmParamsPaymentMethodOptions
,stripe.PaymentIntent.CreateParamsPaymentMethodData
,stripe.PaymentIntent.CreateParamsPaymentMethodOptions
,stripe.PaymentIntent.ModifyParamsPaymentMethodData
,stripe.PaymentIntent.ModifyParamsPaymentMethodOptions
,stripe.PaymentMethod.CreateParams
,stripe.SetupIntent.ConfirmParamsPaymentMethodData
,stripe.SetupIntent.CreateParamsPaymentMethodData
, andstripe.SetupIntent.ModifyParamsPaymentMethodData
, and resourcestripe.PaymentMethod
- Add support for
naver_pay
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
payco
andsamsung_pay
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.SetupIntent.ConfirmParamsPaymentMethodData
,stripe.SetupIntent.CreateParamsPaymentMethodData
, andstripe.SetupIntent.ModifyParamsPaymentMethodData
, and resourcestripe.PaymentMethod
- Add support for
line_items
on parameter classesstripe.Order.CreateParamsPaymentSettingsPaymentMethodOptionsPaypal
,stripe.Order.ModifyParamsPaymentSettingsPaymentMethodOptionsPaypal
,stripe.PaymentIntent.ConfirmParamsPaymentMethodOptionsPaypal
,stripe.PaymentIntent.CreateParamsPaymentMethodOptionsPaypal
, andstripe.PaymentIntent.ModifyParamsPaymentMethodOptionsPaypal
and resource classesstripe.Order.Payment.Settings.PaymentMethodOptions.Paypal
andstripe.PaymentIntent.PaymentMethodOptions.Paypal
- Add support for
flat_amount
on resourcestripe.TaxRate
and resource classstripe.tax.Calculation.TaxBreakdown.TaxRateDetails
- Add support for
rate_type
on resourcestripe.TaxRate
and resource classstripe.tax.Calculation.TaxBreakdown.TaxRateDetails
- Add support for
metadata
on resourcestripe.forwarding.Request
- Add support for
_cls_submit_card
on resourcestripe.issuing.Card
- Add support for
submit_card
on resourcestripe.issuing.Card
- Add support for
by
,cr
,ec
,ma
,md
,rs
,ru
,tz
, anduz
on resource classstripe.tax.Registration.CountryOptions
and parameter classstripe.tax.Registration.CreateParamsCountryOptions
- Add support for
by_tin
,ma_vat
,md_vat
,tz_vat
,uz_tin
, anduz_vat
on enumsstripe.checkout.Session.CollectedInformation.TaxId.type
,stripe.checkout.Session.CustomerDetails.TaxId.type
,stripe.Customer.CreateParamsTaxIdDatum.type
,stripe.Customer.CreateTaxIdParams.type
,stripe.Invoice.CustomerTaxId.type
,stripe.Invoice.CreatePreviewParamsCustomerDetailsTaxId.type
,stripe.Invoice.UpcomingParamsCustomerDetailsTaxId.type
,stripe.Invoice.UpcomingLinesParamsCustomerDetailsTaxId.type
,stripe.Order.TaxDetails.TaxId.type
,stripe.Order.CreateParamsTaxDetailsTaxId.type
,stripe.Order.ModifyParamsTaxDetailsTaxId.type
,stripe.QuotePreviewInvoice.CustomerTaxId.type
,stripe.tax.Calculation.CustomerDetails.TaxId.type
,stripe.tax.Calculation.CreateParamsCustomerDetailsTaxId.type
,stripe.tax.Transaction.CustomerDetails.TaxId.type
,stripe.TaxId.type
, andstripe.TaxId.CreateParams.type
- Add support for
kakao_pay
,kr_card
,naver_pay
,payco
, andsamsung_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
refund.failed
on enumsstripe.Event.type
,stripe.WebhookEndpoint.CreateParams.enabled_events
, andstripe.WebhookEndpoint.ModifyParams.enabled_events
- Add support for
payout_statement_descriptor_profanity
on enumsstripe.Invoice.LastFinalizationError.code
,stripe.PaymentIntent.LastPaymentError.code
,stripe.QuotePreviewInvoice.LastFinalizationError.code
,stripe.SetupAttempt.SetupError.code
, andstripe.SetupIntent.LastSetupError.code
- Add support for
retail_delivery_fee
on enumsstripe.Invoice.AddLinesParamsLineTaxAmountTaxRateData.tax_type
,stripe.Invoice.UpdateLinesParamsLineTaxAmountTaxRateData.tax_type
,stripe.InvoiceLineItem.ModifyParamsTaxAmountTaxRateData.tax_type
,stripe.tax.Calculation.ShippingCost.TaxBreakdown.TaxRateDetails.tax_type
,stripe.tax.Calculation.TaxBreakdown.TaxRateDetails.tax_type
,stripe.tax.CalculationLineItem.TaxBreakdown.TaxRateDetails.tax_type
,stripe.tax.Transaction.ShippingCost.TaxBreakdown.TaxRateDetails.tax_type
,stripe.TaxRate.tax_type
,stripe.TaxRate.CreateParams.tax_type
, andstripe.TaxRate.ModifyParams.tax_type
- Add support for
expired
on enumsstripe.issuing.Authorization.status
andstripe.issuing.Authorization.ListParams.status
- Add support for
state_retail_delivery_fee
on enumsstripe.tax.Registration.CountryOptions.Us.type
andstripe.tax.Registration.CreateParamsCountryOptionsUs.type
- Add support for
v11.2.0b1
- #1407 Updates beta branch with changes in master & update generated code
- Add support for
reporting_chart
on parameter classstripe.AccountSession.CreateParamsComponents
- Add support for
total_pretax_credit_amounts
on resourcestripe.QuotePreviewInvoice
- Add support for
allow_redisplay
on parameter classstripe.terminal.Reader.CollectPaymentMethodParamsCollectConfig
- Remove support for
from_schedule
on resource classstripe.Quote.SubscriptionData
- Move
raw_request
and related methods from_raw_request
module to theStripeClient
class - Remove
_preview
module; use raw request methods in theStripeClient
class instead
- Add support for
v11.1.0
v11.0.0
-
#1404 Support for APIs in the new API version 2024-09-30.acacia
This release changes the pinned API version to
2024-09-30.acacia
. Please read the API Upgrade Guide and carefully review the API changes before upgrading.⚠️ Breaking changes due to changes in the API- Rename for
usage_threshold_config
tousage_threshold
on parameter classstripe.billing.Alert.CreateParams
and resourcestripe.billing.Alert
- Remove support for
filter
on parameter classstripe.billing.Alert.CreateParams
and resourcestripe.billing.Alert
. Use the filters on theusage_threshold
instead -
- Remove support for
customer_consent_collected
on parameter classstripe.terminal.Reader.ProcessSetupIntentParams
- Remove support for
⚠️ Other Breaking changes in the SDK- Adjusted default values for HTTP requests. You can use the old defaults by setting them explicitly. New values are:
- max retries:
0
->2
- max timeout (seconds):
2
->5
- max retries:
- Add method
parse_thin_event()
on theStripeClient
class to parse thin events. Renameconstruct_event()
method on the same class toparse_snapshot_event()
to clearly distinguish between the two kinds of events.
Additions
- Add support for
custom_unit_amount
on parameter classstripe.Product.CreateParamsDefaultPriceData
- Add support for
usage_threshold
on parameter classstripe.billing.Alert.CreateParams
and resourcestripe.billing.Alert
- Add support for
allow_redisplay
on parameter classesstripe.terminal.Reader.ProcessPaymentIntentParamsProcessConfig
andstripe.terminal.Reader.ProcessSetupIntentParams
- Add support for
international_transaction
on enumstripe.treasury.ReceivedCredit.failure_code
- Add support for
2024-09-30.acacia
on enumstripe.WebhookEndpoint.CreateParams.api_version
- Add support for new Usage Billing APIs
stripe.v2.billing.MeterEvent
,stripe.v2.billing.MeterEventAdjustments
,stripe.v2.billing.MeterEventSession
,stripe.v2.billing.MeterEventStream
and the new Events APIstripe.v2.core.Events
under the v2 namespace - Add method rawRequest() on the
StripeClient
class that takes a HTTP method type, url and relevant parameters to make requests to the Stripe API that are not yet supported in the SDK.
Other changes
- Change type of
default_allowed_updates
onstripe.billing_portal.Configuration.CreateParamsFeaturesSubscriptionUpdate
fromUnion[Literal[''], List[Literal['price', 'promotion_code', 'quantity']]]
toNotRequired[Literal['']|List[Literal['price', 'promotion_code', 'quantity']]]
- Change type of
products
onstripe.billing_portal.Configuration.CreateParamsFeaturesSubscriptionUpdate
fromUnion[Literal[''], List[Configuration.CreateParamsFeaturesSubscriptionUpdateProduct]]
toNotRequired[Literal['']|List[Configuration.CreateParamsFeaturesSubscriptionUpdateProduct]]
- Rename for
v10.13.0b1
- #1395 Update generated code for beta
- Add support for
send_money
on parameter classstripe.AccountSession.CreateParamsComponentsFinancialAccountFeatures
- Add support for
transfer_balance
on parameter classstripe.AccountSession.CreateParamsComponentsFinancialAccountFeatures
- Add support for
automatically_finalizes_at
on resourcestripe.QuotePreviewInvoice
- Remove support for resource
stripe.QuotePhase
- Add support for
rechnung
on enumsstripe.PaymentLink.payment_method_types
,stripe.PaymentLink.CreateParams.payment_method_types
, andstripe.PaymentLink.ModifyParams.payment_method_types
- Add support for
terminal_reader_invalid_location_for_activation
on enumstripe.QuotePreviewInvoice.LastFinalizationError.code
- Add support for