- #1155 Update generated code
- Add support for
payment_details
,payments
, andpayouts
onAccountSession.components
andCreateParams.components
- Add support for
features
onAccountSession.components.account_onboarding
andCreateParams.components.account_onboarding
- Add support for new values
customer_tax_location_invalid
andfinancial_connections_no_successful_transaction_refresh
on enumsInvoice.last_finalization_error.code
,PaymentIntent.last_payment_error.code
,SetupAttempt.setup_error.code
,SetupIntent.last_setup_error.code
, andStripeError.code
- Add support for new values
payment_network_reserve_hold
andpayment_network_reserve_release
on enumBalanceTransaction.type
- Change
Climate.Product.metric_tons_available
to be required - Remove support for value
various
from enumClimate.Supplier.removal_pathway
- Remove support for values
challenge_only
andchallenge
from enumPaymentIntent.payment_method_options.card.request_three_d_secure
- Add support for
inactive_message
andrestrictions
onCreateParams
,ModifyParams
, andPaymentLink
- Add support for
transfer_group
onPaymentLink.payment_intent_data
,CreateParams.payment_intent_data
, andModifyParams.payment_intent_data
- Add support for
trial_settings
onPaymentLink.subscription_data
,CreateParams.subscription_data
, andModifyParams.subscription_data
- Add support for
- #1153 Move exports for more modules
stripe.app_info
,stripe.http_client
,stripe.oauth
,stripe.util
,stripe.version
,stripe.webhook
, modules are deprecated. All types are available directly fromstripe
module now.
Before:After:from stripe.util import convert_to_stripe_object # or stripe.util.convert_to_stripe_object
from stripe import convert_to_stripe_object # or stripe.convert_to_stripe_object
stripe.api_version
,stripe.multipart_data_generator
,stripe.request_metrics
are deprecated and will be fully removed in the future.
- #1142 Move resource type exports to stripe.___
stripe.error
,stripe.stripe_object
,stripe.api_requestor
,stripe.stripe_response
,stripe.request_options
,stripe.api_resources.*
,stripe.api_resources.abstract.*
modules are deprecated. All types are available directly fromstripe
module now.
Before:After:from stripe.error import APIError # or stripe.error.APIError
from stripe import APIError # or stripe.APIError