fix(deps): update dependency stripe to v9 - autoclosed #2256
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^6.5.0
->^9.0.0
Release Notes
stripe/stripe-python (stripe)
v9.5.0
Compare Source
paypal
on resource classstripe.Dispute.PaymentMethodDetails
payment_method_types
on parameter classstripe.PaymentIntent.ConfirmParams
ship_from_details
on parameter classstripe.tax.Calculation.CreateParams
and resourcesstripe.tax.Calculation
andstripe.tax.Transaction
bh
,eg
,ge
,ke
,kz
,ng
,om
on resource classstripe.tax.Registration.CountryOptions
and parameter classstripe.tax.Registration.CreateParamsCountryOptions
paypal
on enumstripe.Dispute.PaymentMethodDetails.type
shipping_address_invalid
on enumsstripe.Invoice.LastFinalizationError.code
,stripe.PaymentIntent.LastPaymentError.code
,stripe.SetupAttempt.SetupError.code
, andstripe.SetupIntent.LastSetupError.code
metadata
onstripe.entitlements.Feature.ModifyParams
fromDict[str, str]
toLiteral['']|Dict[str, str]
v9.4.0
Compare Source
amazon_pay
on resource classesstripe.Mandate.PaymentMethodDetails
andstripe.SetupAttempt.PaymentMethodDetails
revolut_pay
on resource classesstripe.Mandate.PaymentMethodDetails
andstripe.SetupAttempt.PaymentMethodDetails
setup_future_usage
on resource classesstripe.PaymentIntent.PaymentMethodOptions.AmazonPay
,stripe.PaymentIntent.PaymentMethodOptions.RevolutPay
,stripe.checkout.Session.PaymentMethodOptions.AmazonPay
, andstripe.checkout.Session.PaymentMethodOptions.RevolutPay
mobilepay
on parameter classesstripe.PaymentMethodConfiguration.CreateParams
andstripe.PaymentMethodConfiguration.ModifyParams
and resourcestripe.PaymentMethodConfiguration
ending_before
on parameter classstripe.PaymentMethodConfiguration.ListParams
limit
on parameter classstripe.PaymentMethodConfiguration.ListParams
starting_after
on parameter classstripe.PaymentMethodConfiguration.ListParams
feature
onstripe.entitlements.ActiveEntitlement
fromstr
toExpandableField[Feature]
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
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
email
andphone
on parameter classesstripe.identity.VerificationSession.CreateParamsOptions
andstripe.identity.VerificationSession.ModifyParamsOptions
v9.3.0
Compare Source
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
schedule_details
on parameter classesstripe.Invoice.UpcomingLinesParams
andstripe.Invoice.UpcomingParams
subscription_details
on parameter classesstripe.Invoice.UpcomingLinesParams
andstripe.Invoice.UpcomingParams
create_preview
on resourcestripe.Invoice
payment_method_data
on parameter classstripe.checkout.Session.CreateParams
saved_payment_method_options
on parameter classstripe.checkout.Session.CreateParams
and resourcestripe.checkout.Session
mobilepay
on parameter classstripe.checkout.Session.CreateParamsPaymentMethodOptions
and resource classstripe.checkout.Session.PaymentMethodOptions
mobilepay
on enumstripe.checkout.Session.CreateParams.payment_method_types
other
on enumsstripe.issuing.Authorization.CaptureParamsPurchaseDetailsFuel.unit
,stripe.issuing.Transaction.CreateForceCaptureParamsPurchaseDetailsFuel.unit
, andstripe.issuing.Transaction.CreateUnlinkedRefundParamsPurchaseDetailsFuel.unit
Quote.pdf()
to use the right base address i.e. files.stripe.com instead of api.stripe.com. Fixes #1303v9.2.0
Compare Source
balances
on resource classstripe.AccountSession.Components
and parameter classstripe.AccountSession.CreateParamsComponents
payouts_list
on resource classstripe.AccountSession.Components
and parameter classstripe.AccountSession.CreateParamsComponents
capture_method
on parameter classesstripe.PaymentIntent.ConfirmParamsPaymentMethodOptionsRevolutPay
,stripe.PaymentIntent.CreateParamsPaymentMethodOptionsRevolutPay
, andstripe.PaymentIntent.ModifyParamsPaymentMethodOptionsRevolutPay
and resource classstripe.PaymentIntent.PaymentMethodOptions.RevolutPay
swish
on parameter classesstripe.PaymentMethodConfiguration.CreateParams
andstripe.PaymentMethodConfiguration.ModifyParams
and resourcestripe.PaymentMethodConfiguration
stripe.entitlements.ActiveEntitlementSummary
config
on parameter classstripe.forwarding.Request.CreateParams
and resourcestripe.forwarding.Request
. This field is no longer used by the Forwarding Request API.stripe.AccountSession.Components.PaymentDetails.Features
andstripe.AccountSession.Components.Payments.Features
fromOptional[bool]
tobool
ofdestination_on_behalf_of_charge_management
stripe.billing.MeterEvent.CreateParams
fromint
toNotRequired[int]
oftimestamp
entitlements.active_entitlement_summary.updated
on enumsstripe.Event.type
,stripe.WebhookEndpoint.CreateParams.enabled_events
, andstripe.WebhookEndpoint.ModifyParams.enabled_events
v9.1.0
Compare Source
external_account_collection
on resource classstripe.AccountSession.Components.AccountOnboarding.Features
and parameter classstripe.AccountSession.CreateParamsComponentsAccountOnboardingFeatures
account_management
on resource classstripe.AccountSession.Components
and parameter classstripe.AccountSession.CreateParamsComponents
notification_banner
on resource classstripe.AccountSession.Components
and parameter classstripe.AccountSession.CreateParamsComponents
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
next_refresh_available_at
on resource classstripe.financial_connections.Account.OwnershipRefresh
stripe.billing.MeterEventAdjustment
fromCancel
toOptional[Cancel]
ofcancel
stripe.billing.MeterEventAdjustment.Cancel
fromstr
toOptional[str]
ofidentifier
stripe.billing.MeterEventAdjustment.CreateParamsCancel
fromstr
toNotRequired[str]
ofidentifier
stripe.billing.MeterEventAdjustment.CreateParams
fromMeterEventAdjustment.CreateParamsCancel
toNotRequired[MeterEventAdjustment.CreateParamsCancel]
ofcancel
stripe.billing.MeterEventAdjustment.CreateParams
fromNotRequired[Literal['cancel']]
toLiteral['cancel']
oftype
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
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
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
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
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
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
billing_policy_remote_function_response_invalid
on enumsstripe.Invoice.LastFinalizationError.code
,stripe.PaymentIntent.LastPaymentError.code
,stripe.SetupAttempt.SetupError.code
, andstripe.SetupIntent.LastSetupError.code
billing_policy_remote_function_timeout
on enumsstripe.Invoice.LastFinalizationError.code
,stripe.PaymentIntent.LastPaymentError.code
,stripe.SetupAttempt.SetupError.code
, andstripe.SetupIntent.LastSetupError.code
billing_policy_remote_function_unexpected_status_code
on enumsstripe.Invoice.LastFinalizationError.code
,stripe.PaymentIntent.LastPaymentError.code
,stripe.SetupAttempt.SetupError.code
, andstripe.SetupIntent.LastSetupError.code
billing_policy_remote_function_unreachable
on enumsstripe.Invoice.LastFinalizationError.code
,stripe.PaymentIntent.LastPaymentError.code
,stripe.SetupAttempt.SetupError.code
, andstripe.SetupIntent.LastSetupError.code
v9.0.0
Compare Source
#1286
2024-04-10
. Please read the API Upgrade Guide and carefully review the API changes before upgrading.FinancialAccountFeaturesService.CreateParams
,FinancialAccountFeaturesService.ListParams
,FinancialAccountFeaturesService.create()
,FinancialAccountFeaturesService.list()
as Financial account features is a singleton and so should have retrieve and update methods instead of create and list methods.features
tomarketing_features
on parameter classesstripe.Product.CreateParams
andstripe.Product.ModifyParams
and resourcestripe.Product
..subscription_pause
from the below as the feature to pause subscription on the portal has been deprecatedConfiguration.Features
ConfigurationService.CreateParamsFeatures
ConfigurationService.UpdateParamsFeatures
BalanceTransaction.type
obligation_inbound
obligation_payout
obligation_payout_failure
obligation_reversal_outbound
Event.type
,WebhookEndpoint.CreateParams.enabled_events
,WebhookEndpoint.ModifyParams.enabled_events
,WebhookEndpointService.CreateParams.enabled_events
,WebhookEndpointService.ModifyParams.enabled_events
invoiceitem.updated
order.created
recipient.created
recipient.deleted
recipient.updated
sku.created
sku.deleted
sku.updated
include_and_require
forInvoice.CreateParams.pending_invoice_items_behavior
andInvoiceService.CreateParams.pending_invoice_items_behavior
service_tax
forTaxRate.RetrieveParams.tax_type
TaxRate.CreateParams.tax_type
TaxRate.ModifyParams.tax_type
TaxRateService.CreateParams.tax_type
TaxRateService.UpdateParams.tax_type
InvoiceLineItem.ModifyParamsTaxAmountTaxRateData.tax_type
InvoiceLineItemService.UpdateParamsTaxAmountTaxRateData.tax_type
request_incremental_authorization
fromPaymentIntent.ConfirmParamsPaymentMethodOptionsCardPresent
PaymentIntent.CreateParamsPaymentMethodOptionsCardPresent
PaymentIntent.ModifyParamsPaymentMethodOptionsCardPresent
PaymentIntentService.ConfirmParamsPaymentMethodOptionsCardPresent
PaymentIntentService.CreateParamsPaymentMethodOptionsCardPresent
PaymentIntentService.ModifyParamsPaymentMethodOptionsCardPresent
id_bank_transfer
,multibanco
,netbanking
,pay_by_bank
, andupi
onPaymentMethodConfiguration
challenge_only
fromSetupIntent.PaymentMethodOptions.Card.request_three_d_secure
various
forClimate.Supplier.removal_pathway
obligation
forReportRun.CreateParamsParameters.reporting_category
andReportRunService.CreateParamsParameters.reporting_category
rendering_options
on parameter classesstripe.Invoice.CreateParams
andstripe.Invoice.ModifyParams
and resourcestripe.Invoice
. Userendering
instead.v8.11.0
Compare Source
#1295 Update generated code
fees
,losses
,requirement_collection
&stripe_dashboard
on resource classstripe.Account.Controller
controller
on parameter classstripe.Account.CreateParams
create_feature
,delete_feature
,list_features
,retrieve_feature
on resourcestripe.Product
stripe.ProductFeature
event_name
on parameter classstripe.billing.MeterEventAdjustment.CreateParams
and resourcestripe.billing.MeterEventAdjustment
cancel
andtype
on resourcestripe.billing.MeterEventAdjustment
stripe.entitlements.ActiveEntitlement
stripe.entitlements.Feature
none
on enumstripe.Account.type
#1299 Fix README.md
#1292 Tweak changelog for python async note
v8.10.0
Compare Source
#1288 Port async support from beta to the stable channel. To use it, add an
_async
suffix to any request-making method.See the README for detailed usage instructions. Support is provided out of the box for async requests via the HTTPX (used by default) and aiohttp libraries. For other libraries, you can also provide your own
stripe.HTTPClient
implementation. Please do not hesitate to open a Github issue if you have any feedback on this feature.#1284 Update generated code
subscription_item
on resourcestripe.Discount
promotion_code
on parameter classesstripe.Invoice.CreateParamsDiscount
,stripe.Invoice.ModifyParamsDiscount
,stripe.InvoiceItem.CreateParamsDiscount
,stripe.InvoiceItem.ModifyParamsDiscount
,stripe.InvoiceLineItem.ModifyParamsDiscount
,stripe.Quote.CreateParamsDiscount
, andstripe.Quote.ModifyParamsDiscount
discounts
on parameter classesstripe.Invoice.UpcomingLinesParamsSubscriptionItem
,stripe.Invoice.UpcomingParamsSubscriptionItem
,stripe.Quote.CreateParamsLineItem
,stripe.Quote.ModifyParamsLineItem
,stripe.Subscription.CreateParams
,stripe.Subscription.CreateParamsAddInvoiceItem
,stripe.Subscription.CreateParamsItem
,stripe.Subscription.ModifyParams
,stripe.Subscription.ModifyParamsAddInvoiceItem
,stripe.Subscription.ModifyParamsItem
,stripe.SubscriptionItem.CreateParams
,stripe.SubscriptionItem.ModifyParams
,stripe.SubscriptionSchedule.CreateParamsPhase
,stripe.SubscriptionSchedule.CreateParamsPhaseAddInvoiceItem
,stripe.SubscriptionSchedule.CreateParamsPhaseItem
,stripe.SubscriptionSchedule.ModifyParamsPhase
,stripe.SubscriptionSchedule.ModifyParamsPhaseAddInvoiceItem
, andstripe.SubscriptionSchedule.ModifyParamsPhaseItem
, resourcesstripe.Subscription
andstripe.SubscriptionItem
, and resource classesstripe.SubscriptionSchedule.Phase.AddInvoiceItem
,stripe.SubscriptionSchedule.Phase.Item
, andstripe.SubscriptionSchedule.Phase
zip
on parameter classesstripe.PaymentMethodConfiguration.CreateParams
andstripe.PaymentMethodConfiguration.ModifyParams
and resourcestripe.PaymentMethodConfiguration
offline
on resource classstripe.SetupAttempt.PaymentMethodDetails.CardPresent
card_present
on parameter classesstripe.SetupIntent.ConfirmParamsPaymentMethodOptions
,stripe.SetupIntent.CreateParamsPaymentMethodOptions
, andstripe.SetupIntent.ModifyParamsPaymentMethodOptions
and resource classstripe.SetupIntent.PaymentMethodOptions
email
on resourcestripe.identity.VerificationReport
, parameter classesstripe.identity.VerificationSession.CreateParamsOptions
andstripe.identity.VerificationSession.ModifyParamsOptions
, and resource classesstripe.identity.VerificationSession.Options
andstripe.identity.VerificationSession.VerifiedOutputs
phone
on resourcestripe.identity.VerificationReport
, parameter classesstripe.identity.VerificationSession.CreateParamsOptions
andstripe.identity.VerificationSession.ModifyParamsOptions
, and resource classesstripe.identity.VerificationSession.Options
andstripe.identity.VerificationSession.VerifiedOutputs
verification_flow
on resourcesstripe.identity.VerificationReport
andstripe.identity.VerificationSession
and parameter classstripe.identity.VerificationSession.CreateParams
provided_details
on parameter classesstripe.identity.VerificationSession.CreateParams
andstripe.identity.VerificationSession.ModifyParams
and resourcestripe.identity.VerificationSession
allowed_merchant_countries
on parameter classesstripe.issuing.Card.CreateParamsSpendingControls
,stripe.issuing.Card.ModifyParamsSpendingControls
,stripe.issuing.Cardholder.CreateParamsSpendingControls
, andstripe.issuing.Cardholder.ModifyParamsSpendingControls
and resource classesstripe.issuing.Card.SpendingControls
andstripe.issuing.Cardholder.SpendingControls
blocked_merchant_countries
on parameter classesstripe.issuing.Card.CreateParamsSpendingControls
,stripe.issuing.Card.ModifyParamsSpendingControls
,stripe.issuing.Cardholder.CreateParamsSpendingControls
, andstripe.issuing.Cardholder.ModifyParamsSpendingControls
and resource classesstripe.issuing.Card.SpendingControls
andstripe.issuing.Cardholder.SpendingControls
stripe.checkout.Session.CreateParamsPaymentMethodOptionsSwish
fromLiteral['']|str
tostr
ofreference
verification_flow
on enumsstripe.identity.VerificationReport.type
andstripe.identity.VerificationSession.type
email_unverified_other
on enumstripe.identity.VerificationSession.LastError.code
email_verification_declined
on enumstripe.identity.VerificationSession.LastError.code
phone_unverified_other
on enumstripe.identity.VerificationSession.LastError.code
phone_verification_declined
on enumstripe.identity.VerificationSession.LastError.code
mobile_phone_reader
on enumsstripe.terminal.Reader.device_type
andstripe.terminal.Reader.ListParams.device_type
stripe.identity.VerificationSession.CreateParams
fromLiteral['document', 'id_number']
toNotRequired[Literal['document', 'id_number']]
oftype
stripe.Invoice
andstripe.InvoiceLineItem
fromOptional[List[ExpandableField[Discount]]]
toList[ExpandableField[Discount]]
ofdiscounts
stripe.PaymentIntent.NextAction.SwishHandleRedirectOrDisplayQrCode.QrCode
fromOptional[str]
tostr
ofdata
stripe.PaymentIntent.NextAction.SwishHandleRedirectOrDisplayQrCode.QrCode
fromOptional[str]
tostr
ofimage_url_png
stripe.PaymentIntent.NextAction.SwishHandleRedirectOrDisplayQrCode.QrCode
fromOptional[str]
tostr
ofimage_url_svg
stripe.PaymentIntent.NextAction.SwishHandleRedirectOrDisplayQrCode
fromOptional[str]
tostr
ofhosted_instructions_url
stripe.PaymentIntent.NextAction.SwishHandleRedirectOrDisplayQrCode
fromOptional[str]
tostr
ofmobile_auth_url
stripe.PaymentIntent.NextAction.SwishHandleRedirectOrDisplayQrCode
fromOptional[QrCode]
toQrCode
ofqr_code
#1289 Bump aiohttp from 3.9.0 to 3.9.2
v8.9.0
Compare Source
Billing.MeterEventAdjustment
,Billing.MeterEvent
, andBilling.Meter
create
,deactivate
,list
,modify
,reactivate
, andretrieve
methods on resourceMeter
create
method on resourcesMeterEventAdjustment
andMeterEvent
amazon_pay_payments
onAccount.Capabilities
,Account.CreateParamsCapabilities
,Account.UpdateParamsCapabilities
,AccountService.CreateParamsCapabilities
, andAccountService.UpdateParamsCapabilities
verification_failed_representative_authority
on enumsAccount.FutureRequirements.Error.code
,Account.Requirements.Errors.code
,BankAccount.FutureRequirements.Error.code
,BankAccount.Requirements.Errors.code
,Capability.FutureRequirements.Error.code
,Capability.Requirements.Errors.code
,Person.FutureRequirements.Error.code
,Person.Requirements.Errors.code
,destination_on_behalf_of_charge_management
onAccountSession.Components.PaymentDetails.Features
,AccountSession.Components.Payments.Features
,AccountSession.CreateParamsComponentsPaymentDetailsFeatures
,AccountSession.CreateParamsComponentsPaymentsFeatures
,AccountSessionService.CreateParamsComponentsPaymentDetailsFeatures
andAccountSessionService.CreateParamsComponentsPaymentsFeatures
meter
onPlan.CreateParams
,Plan
,PlanService.CreateParams
,Price.Recurring
,Price.CreateParamsRecurring
,Price.ListParamsRecurring
,PriceService.CreateParamsRecurring
, andPriceService.ListParamsRecurring
mandate
onCharge.PaymentMethodDetails.USBankAccount
,Treasury.InboundTransfer.OriginPaymentMethodDetails.USBankAccount
,Treasury.OutboundPayment.DestinationPaymentMethodDetails.USBankAccount
, andTreasury.OutboundTransfer.DestinationPaymentMethodDetails.USBankAccount
second_line
onIssuing.Card.CreateParams
v8.8.0
Compare Source
ConfirmationToken
andForwarding.Request
retrieve
method on resourceConfirmationToken
create
,list
, andretrieve
methods on resourceRequest
mobilepay_payments
onAccount.Capabilities
,Account.CreateParamsCapabilities
, andAccount.UpdateParamsCapabilities
forwarding_api_inactive
,forwarding_api_invalid_parameter
,forwarding_api_upstream_connection_error
, andforwarding_api_upstream_connection_timeout
on enumsInvoice.LastFinalizationError.code
,PaymentIntent.LastPaymentError.code
,SetupAttempt.SetupError.code
,SetupIntent.LastSetupError.code
, andStripeError.code
payment_reference
onCharge.PaymentMethodDetails.UsBankAccount
payout
onTreasury.ReceivedDebit.LinkedFlows
name
onConfigurationService.CreateParams
,ConfigurationService.UpdateParams
, andConfiguration
for terminalconfirmation_token
onPaymentIntentService.ConfirmParams
,PaymentIntentService.CreateParams
,SetupIntentService.ConfirmParams
, andSetupIntentService.CreateParams
mobilepay
on enumsCustomer.ListPaymentMethodsParams.type
,PaymentMethod.CreateParams.type
, andPaymentMethod.ListParams.type
mobilepay
onCharge.PaymentMethodDetails
,PaymentIntent.PaymentMethodOptions
,PaymentIntentService.ConfirmParamsPaymentMethodData
,PaymentIntentService.ConfirmParamsPaymentMethodOptions
,PaymentIntentService.CreateParamsPaymentMethodData
,PaymentIntentService.CreateParamsPaymentMethodOptions
,PaymentIntentService.UpdateParamsPaymentMethodData
,PaymentIntentService.UpdateParamsPaymentMethodOptions
,PaymentMethod.CreateParams
,PaymentMethod
,SetupIntentService.ConfirmParamsPaymentMethodData
,SetupIntentService.CreateParamsPaymentMethodData
, andSetupIntentService.UpdateParamsPaymentMethodData
mobilepay
on enumsPaymentIntentService.ConfirmParamsPaymentMethodData.type
,PaymentIntentService.CreateParamsPaymentMethodData.type
,PaymentIntentService.UpdateParamsPaymentMethodData.type
,SetupIntentService.ConfirmParamsPaymentMethodData.type
,SetupIntentService.CreateParamsPaymentMethodData.type
, andSetupIntentService.UpdateParamsPaymentMethodData.type
mobilepay
on enumPaymentMethod.type
v8.7.0
Compare Source
personalization_design
on parameter classesCardService.CreateParams
,CardService.ListParams
,CardService.UpdateParams
,stripe.issuing.Card.CreateParams
,stripe.issuing.Card.ListParams
, andstripe.issuing.Card.ModifyParams
and resourcestripe.issuing.Card
sepa_debit
on parameter classesSubscriptionService.CreateParamsPaymentSettingsPaymentMethodOptions
,SubscriptionService.UpdateParamsPaymentSettingsPaymentMethodOptions
,stripe.Subscription.CreateParamsPaymentSettingsPaymentMethodOptions
, andstripe.Subscription.ModifyParamsPaymentSettingsPaymentMethodOptions
and resource classstripe.Subscription.PaymentSettings.PaymentMethodOptions
stripe.issuing.PersonalizationDesign
stripe.issuing.PhysicalBundle
float
toLiteral['']|float
ofapplication_fee_percent
on fieldsstripe.Subscription.CreateParams
,stripe.Subscription.ModifyParams
,SubscriptionService.UpdateParams
, andSubscriptionService.CreateParams
v8.6.0
Compare Source
documents
onAccountSession.Components
request_three_d_secure
onCheckout.Session.PaymentMethodOptionsCard
andCheckout.Session.CreateParams.PaymentMethodOptionsCard
created
onCreditNote.ListParams
sepa_debit
onInvoice.PaymentSettings.PaymentMethodOptions
,InvoiceCreateParams.PaymentSettings.PaymentMethodOptions
, andInvoiceUpdateParams.PaymentSettings.PaymentMethodOptions
v8.5.0
Compare Source
identity.VerificationReport.type
to be requiredidentity.VerificationSession.type
fromOptional[Literal["document", "id_number"]]
toLiteral["document", "id_number"]
number
onInvoice.CreateParams
andInvoice.ModifyParams
enable_customer_cancellation
onterminal.Reader.Action.ProcessPaymentIntent.process_config
,Terminal.Reader.Action.ProcessSetupIntent.process_config
,Terminal.Reader.ProcessPaymentIntentParams.process_config
, andTerminal.Reader.ProcessSetupIntentParams.process_config
refund_payment_config
onTerminal.Reader.Action.refund_payment
andTerminal.Reader.RefundPaymentParams
payment_method
onToken.CreateParams.bank_account
list_refunds
andretrieve_refund
methods on resourceCharge
.v8.4.0
Compare Source
InvoiceLineItem.modify
method.create
,retrieve
,delete
, andlist
methods on resourceTaxId
instance_url
function on resourceTaxId
now returns the top-level/v1/tax_ids/{id}
path instead of the/v1/customers/{customer}/tax_ids/{id}
path.v8.3.0
Compare Source
networks
onCard
,PaymentMethod.CreateParamsCard
,PaymentMethod.ModifyParamsCard
, andToken.CreateParamsCard
no_voec
on enumsCheckout.Session.CustomerDetails.TaxId.type
,Invoice.CustomerTaxId.type
,Tax.Calculation.CustomerDetails.TaxId.type
,Tax.Transaction.CustomerDetails.TaxId.type
, andTaxId.type
no_voec
on enumsCustomer.CreateParams.tax_id_data[].type
,Invoice.UpcomingLinesParams.customer_details.tax_ids[].type
,Invoice.UpcomingParams.customer_details.tax_ids[].type
, andTax.Calculation.CreateParams.customer_details.tax_ids[].type
financial_connections.account.refreshed_ownership
on enumEvent.type
display_brand
onPaymentMethod.card
financial_connections.account.refreshed_ownership
on enumsWebhookEndpoint.CreateParams.enabled_events[]
andWebhookEndpoint.UpdateParams.enabled_events[]
CreditNoteLineItem.list
,CustomerCashBalanceTransaction.list
, andCustomerCashBalanceTransaction.retrieve
. These methods were included in the library unintentionally and never functioned.v8.2.0
Compare Source
invoices
onAccount.Settings
velobank
on various enumsPaymentMethodDetails.P24.bank
setup_future_usage
onPaymentMethodOptions.Blik
require_cvc_recollection
onPaymentMethodOptions.Card
account_tax_ids
on variousInvoiceSettings
request parametersv8.1.0
Compare Source
swish
payment method throughout the APIrelationship
on parameter classesAccount.CreateParamsIndividual
andToken.CreateParamsAccountIndividual
jurisdiction_level
on resourceTaxRate
str
toLiteral["offline", "online"]
ofstatus
on fieldterminal.Reader
v8.0.0
Compare Source
#1206 stripe-python v8 release
This release introduces
StripeClient
and a service-based call pattern. This new interface allows you to easily call Stripe APIs and has several benefits over the existing resource-based pattern:For full migration instructions, please refer to the v8 migration guide.
"⚠️ " symbol highlights breaking changes
api_key
,stripe_account
,stripe_version
, andidempotency_key
can no longer be passed in positionally on resource methods. Please pass these in as keyword arguments.BEFORE
AFTER
Quote.pdf
) now returns a single value of typeStripeResponseStream
instead of a tuple containing(StripeResponseStream, api_key)
.APIRequestor
.APIRequestor
's main use is internal, and we don't have a good understanding of its external use cases. We had to make several breaking changes to its interface as part of this update, so rather than leaving it public we made it private. If you have a use case forAPIRequestor
, please open up a Github issue describing it. We'd rather you rely on something specifically designed for your use case than having to reach into the library's internals.api_version
fromFile.create
parameters. Please usestripe_version
instead.util.read_special_variable()
utility method (importing directly fromstripe.util
is deprecated as of v7.8.0)StripeError.construct_error_object()
. This method was intended for internal stripe-python use only.ListObject.empty_list()
. This method was intended for internal stripe-python use only.SearchResultObject.empty_search_result()
. This method was intended for internal stripe-python use only.StripeObject.ReprJSONEncoder
. This class was intended for internal stripe-python use only.StripeObject.api_base
. This property was defunct and returnedNone
.v7.14.0
Compare Source
annual_revenue
andestimated_worker_count
onAccount.business_profile
,Account.CreateParams.business_profile
, andAccount.UpdateParams.business_profile
registered_charity
on enumsAccount.CreateParams.company.structure
,Account.UpdateParams.company.structure
, andToken.CreateParams.account.company.structure
collection_options
onAccountLink.CreateParams
liability
onCheckout.Session.automatic_tax
,PaymentLink.automatic_tax
,PaymentLink.CreateParams.automatic_tax
,PaymentLink.UpdateParams.automatic_tax
,Quote.automatic_tax
,Quote.CreateParams.automatic_tax
,Quote.UpdateParams.automatic_tax
,SubscriptionSchedule.default_settings.automatic_tax
,SubscriptionSchedule.phases[].automatic_tax
,SubscriptionSchedule.CreateParams.default_settings.automatic_tax
,SubscriptionSchedule.CreateParams.phases[].automatic_tax
,SubscriptionSchedule.UpdateParams.default_settings.automatic_tax
,SubscriptionSchedule.UpdateParams.phases[].automatic_tax
, andcheckout.Session.CreateParams.automatic_tax
issuer
onCheckout.Session.invoice_creation.invoice_data
,PaymentLink.invoice_creation.invoice_data
,PaymentLink.CreateParams.invoice_creation.invoice_data
,PaymentLink.UpdateParams.invoice_creation.invoice_data
,Quote.invoice_settings
,Quote.CreateParams.invoice_settings
,Quote.UpdateParams.invoice_settings
,SubscriptionSchedule.default_settings.invoice_settings
,SubscriptionSchedule.phases[].invoice_settings
,SubscriptionSchedule.CreateParams.default_settings.invoice_settings
,SubscriptionSchedule.CreateParams.phases[].invoice_settings
,SubscriptionSchedule.UpdateParams.default_settings.invoice_settings
,SubscriptionSchedule.UpdateParams.phases[].invoice_settings
, andcheckout.Session.CreateParams.invoice_creation.invoice_data
invoice_settings
onPaymentLink.subscription_data
,PaymentLink.CreateParams.subscription_data
,PaymentLink.UpdateParams.subscription_data
, andcheckout.Session.CreateParams.subscription_data
challenge
on enumsInvoice.CreateParams.payment_settings.payment_method_options.card.request_three_d_secure
,Invoice.UpdateParams.payment_settings.payment_method_options.card.request_three_d_secure
,Subscription.CreateParams.payment_settings.payment_method_options.card.request_three_d_secure
, andSubscription.UpdateParams.payment_settings.payment_method_options.card.request_three_d_secure
promotion_code
onInvoice.UpcomingLinesParams.discounts[]
,Invoice.UpcomingLinesParams.invoice_items[].discounts[]
,Invoice.UpcomingParams.discounts[]
, andInvoice.UpcomingParams.invoice_items[].discounts[]
account_type
onPaymentMethod.UpdateParams.us_bank_account
v7.13.0
Compare Source
BankAccount
,Card
, andCardToken
onAccount.CreateExternalAccountParams.external_account
andAccount.CreateParams.external_account
nn
on enumsCharge.PaymentMethodDetails.Ideal.bank
,PaymentIntent.ConfirmParamsPaymentMethodDataIdeal.bank
,PaymentIntent.CreateParamsPaymenMethodDataIdeal.bank
,PaymentIntent.UpdateParamsPaymentMethodDataIdeal.bank
,PaymentMethod.Ideal.bank
,PaymentMethod.CreateParamsIdeal.bank
,SetupAttempt.PaymentMethodDetails.Ideal.bank
,SetupIntent.ConfirmParamsPaymenMethodDataIdeal.bank
,SetupIntent.CreateParamsPaymenMethodDataIdeal.bank
, andSetupIntent.UpdateParamsPaymenMethodDataIdeal.bank
NNBANL2G
on enumsCharge.PaymentMethodDetails.Ideal.bic
,PaymentMethod.Ideal.bic
, andSetupAttempt.PaymentMethodDetails.Ideal.bic
CustomerSession.Components.buy_button
andCustomerSession.Components.pricing_table
to be requiredissuer
onInvoice.CreateParams
,Invoice.UpcomingLinesParams
,Invoice.UpcomingParams
,Invoice.UpdateParams
, andInvoice
liability
onInvoice.automatic_tax
,Invoice.CreateParams.automatic_tax
,Invoice.UpcomingLinesParams.automatic_tax
,Invoice.UpcomingParams.automatic_tax
,Invoice.UpdateParams.automatic_tax
,Subscription.automatic_tax
,Subscription.CreateParams.automatic_tax
, andSubscription.UpdateParams.automatic_tax
on_behalf_of
onInvoice.UpcomingLinesParams
andInvoice.UpcomingParams
pin
onissuing.Card.CreateParams
revocation_reason
onMandate.PaymentMethodDetails.bacs_debit
customer_balance
onPaymentMethodConfiguration.CreateParams
,PaymentMethodConfiguration.UpdateParams
, andPaymentMethodConfiguration
invoice_settings
onSubscription.CreateParams
andSubscription.UpdateParams
v7.12.0
Compare Source
CustomerSession
create
method on resourceCustomerSession
obligation_inbound
,obligation_payout_failure
,obligation_payout
, andobligation_reversal_outbound
from enumBalanceTransaction.type
eps
andp24
on enumsInvoice.payment_settings.payment_method_types[]
,InvoiceCreateParams.payment_settings.payment_method_types[]
,InvoiceUpdateParams.payment_settings.payment_method_types[]
,Subscription.payment_settings.payment_method_types[]
,SubscriptionCreateParams.payment_settings.payment_method_types[]
, andSubscriptionUpdateParams.payment_settings.payment_method_types[]
obligation
from enumReporting.ReportRunCreateParams.parameters.reporting_category
billing_cycle_anchor_config
onSubscriptionCreateParams
andSubscription
v7.11.0
Compare Source
retrieve
on resourcetax.Registration
Optional[PaymentDetails]
toPaymentDetails
ofpayment_details
on fieldAccountSession.Components
Optional[Payments]
toPayments
ofpayments
on fieldAccountSession.Components
Optional[Payouts]
toPayouts
ofpayouts
on fieldAccountSession.Components
Optional[Features]
toFeatures
offeatures
on fieldsAccountSession.Components.PaymentDetails
,AccountSession.Components.Payments
, andAccountSession.Components.Payouts
Optional[InvoiceSettings]
toInvoiceSettings
ofinvoice_settings
on fieldSubscriptionSchedule.DefaultSettings
v7.10.0
Compare Source
FinancialConnections.Transaction
list
andretrieve
methods on resourceTransaction
subscribe
andunsubscribe
methods on resourceFinancialConnections.Account
features
onAccountSessionCreateParams.components.payouts
edit_payout_schedule
,instant_payouts
, andstandard_payouts
onAccountSession.components.payouts.features
Checkout.Session.payment_method_options.us_bank_account.financial_connections.prefetch[]
,Checkout.SessionCreateParams.payment_method_options.us_bank_account.financial_connections.prefetch[]
,Invoice.payment_settings.payment_method_options.us_bank_account.financial_connections.prefetch[]
,InvoiceCreateParams.payment_settings.payment_method_options.us_bank_account.financial_connections.prefetch[]
,InvoiceUpdateParams.payment_settings.payment_method_options.us_bank_account.financial_connections.prefetch[]
,PaymentIntent.payment_method_options.us_bank_account.financial_connections.prefetch[]
,PaymentIntentConfirmParams.payment_method_options.us_bank_account.financial_connections.prefetch[]
,PaymentIntentCreateParams.payment_method_options.us_bank_account.financial_connections.prefetch[]
,PaymentIntentUpdateParams.payment_method_options.us_bank_account.financial_connections.prefetch[]
,SetupIntent.payment_method_options.us_bank_account.financial_connections.prefetch[]
,SetupIntentConfirmParams.payment_method_options.us_bank_account.financial_connections.prefetch[]
,SetupIntentCreateParams.payment_method_options.us_bank_account.financial_connections.prefetch[]
,SetupIntentUpdateParams.payment_method_options.us_bank_account.financial_connections.prefetch[]
,Subscription.payment_settings.payment_method_options.us_bank_account.financial_connections.prefetch[]
,SubscriptionCreateParams.payment_settings.payment_method_options.us_bank_account.financial_connections.prefetch[]
, andSubscriptionUpdateParams.payment_settings.payment_method_options.us_bank_account.financial_connections.prefetch[]
fromliteral('balances')
toenum('balances'|'transactions')
financial_connections.account.refreshed_transactions
on enumEvent.type
transactions
on enumFinancialConnections.AccountRefreshParams.features[]
subscriptions
andtransaction_refresh
onFinancialConnections.Account
next_refresh_available_at
onFinancialConnections.Account.balance_refresh
transactions
on enumsFinancialConnections.Session.prefetch[]
andFinancialConnections.SessionCreateParams.prefetch[]
unknown
on enumsIssuing.Authorization.verification_data.authentication_exemption.type
andIssuing.AuthorizationCreateParams.testHelpers.verification_data.authentication_exemption.type
challenge
on enumsPaymentIntent.payment_method_options.card.request_three_d_secure
,PaymentIntentConfirmParams.payment_method_options.card.request_three_d_secure
,PaymentIntentCreateParams.payment_method_options.card.request_three_d_secure
,PaymentIntentUpdateParams.payment_method_options.card.request_three_d_secure
,SetupIntent.payment_method_options.card.request_three_d_secure
,SetupIntentConfirmParams.payment_method_options.card.request_three_d_secure
,SetupIntentCreateParams.payment_method_options.card.request_three_d_secure
, andSetupIntentUpdateParams.payment_method_options.card.request_three_d_secure
revolut_pay
onPaymentMethodConfigurationCreateParams
,PaymentMethodConfigurationUpdateParams
, andPaymentMethodConfiguration
Quote.invoice_settings
fromInvoiceSettingQuoteSetting | null
toInvoiceSettingQuoteSetting
destination_details
onRefund
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.