diff --git a/API_VERSION b/API_VERSION index e9da0dac3..24e270edd 100644 --- a/API_VERSION +++ b/API_VERSION @@ -1 +1 @@ -f7784849b5189b7bdf4d850b41365cec53d174b2 \ No newline at end of file +c0dacb8d26f5b7c5d68ef88b3f51d40c1eafeab7 \ No newline at end of file diff --git a/OPENAPI_VERSION b/OPENAPI_VERSION index 1ed5292e7..ea1ecdee1 100644 --- a/OPENAPI_VERSION +++ b/OPENAPI_VERSION @@ -1 +1 @@ -v2120 \ No newline at end of file +v2124 \ No newline at end of file diff --git a/stripe/__init__.py b/stripe/__init__.py index 5a4443985..9e6e98d37 100644 --- a/stripe/__init__.py +++ b/stripe/__init__.py @@ -223,6 +223,10 @@ def add_beta_version( from stripe._balance_transaction_service import ( BalanceTransactionService as BalanceTransactionService, ) + from stripe._balance_transfer import BalanceTransfer as BalanceTransfer + from stripe._balance_transfer_service import ( + BalanceTransferService as BalanceTransferService, + ) from stripe._bank_account import BankAccount as BankAccount from stripe._base_address import BaseAddress as BaseAddress from stripe._billing_portal_service import ( @@ -686,6 +690,8 @@ def add_beta_version( "stripe._balance_transaction_service", False, ), + "BalanceTransfer": ("stripe._balance_transfer", False), + "BalanceTransferService": ("stripe._balance_transfer_service", False), "BankAccount": ("stripe._bank_account", False), "BaseAddress": ("stripe._base_address", False), "BillingPortalService": ("stripe._billing_portal_service", False), diff --git a/stripe/_account.py b/stripe/_account.py index 45efe0b9f..4f63f5a23 100644 --- a/stripe/_account.py +++ b/stripe/_account.py @@ -183,6 +183,10 @@ class SupportAddress(StripeObject): """ Internal-only description of the product sold or service provided by the business. It's used by Stripe for risk and underwriting purposes. """ + specified_commercial_transactions_act_url: Optional[str] + """ + A link to the business's publicly available terms related to the Specified Commercial Transaction Act. Only used for accounts in Japan. + """ support_address: Optional[SupportAddress] """ A publicly available mailing address for sending support issues to. @@ -1414,7 +1418,7 @@ class Invoices(StripeObject): Literal["always", "never", "offer"] ] """ - Whether payment methods should be saved when a payment is completed for a one-time invoices on a hosted invoice page. + Whether to save the payment method after a payment is completed for a one-time invoice or a subscription invoice when the customer already has a default payment method on the hosted invoice page. """ class Payments(StripeObject): @@ -1487,6 +1491,12 @@ class Schedule(StripeObject): """ _inner_class_types = {"schedule": Schedule} + class PaypayPayments(StripeObject): + goods_type: Optional[Literal["digital_content", "other"]] + """ + Whether your business sells digital content or not. + """ + class SepaDebitPayments(StripeObject): creditor_id: Optional[str] """ @@ -1527,6 +1537,7 @@ class TosAcceptance(StripeObject): invoices: Optional[Invoices] payments: Payments payouts: Optional[Payouts] + paypay_payments: Optional[PaypayPayments] sepa_debit_payments: Optional[SepaDebitPayments] tax_forms: Optional[TaxForms] treasury: Optional[Treasury] @@ -1541,6 +1552,7 @@ class TosAcceptance(StripeObject): "invoices": Invoices, "payments": Payments, "payouts": Payouts, + "paypay_payments": PaypayPayments, "sepa_debit_payments": SepaDebitPayments, "tax_forms": TaxForms, "treasury": Treasury, diff --git a/stripe/_api_requestor.py b/stripe/_api_requestor.py index c45992e82..141769402 100644 --- a/stripe/_api_requestor.py +++ b/stripe/_api_requestor.py @@ -634,7 +634,7 @@ def _args_for_request_with_retries( **params, } - encoded_params = urlencode(list(_api_encode(params or {}, api_mode))) + encoded_params = urlencode(list(_api_encode(params or {}))) # Don't use strict form encoding by changing the square bracket control # characters back to their literals. This is fine by the server, and diff --git a/stripe/_api_version.py b/stripe/_api_version.py index da2f6b5bd..fa105a51e 100644 --- a/stripe/_api_version.py +++ b/stripe/_api_version.py @@ -1,4 +1,4 @@ # -*- coding: utf-8 -*- # File generated from our OpenAPI spec class _ApiVersion: - CURRENT = "2025-10-29.preview" + CURRENT = "2025-11-17.preview" diff --git a/stripe/_balance_transfer.py b/stripe/_balance_transfer.py new file mode 100644 index 000000000..1b1c991a8 --- /dev/null +++ b/stripe/_balance_transfer.py @@ -0,0 +1,152 @@ +# -*- coding: utf-8 -*- +# File generated from our OpenAPI spec +from stripe._createable_api_resource import CreateableAPIResource +from stripe._expandable_field import ExpandableField +from stripe._stripe_object import StripeObject +from typing import ClassVar, Dict, Optional, cast +from typing_extensions import Literal, Unpack, TYPE_CHECKING + +if TYPE_CHECKING: + from stripe._balance_transaction import BalanceTransaction + from stripe.params._balance_transfer_create_params import ( + BalanceTransferCreateParams, + ) + + +class BalanceTransfer(CreateableAPIResource["BalanceTransfer"]): + """ + Balance transfers represent funds moving between balance types on your Stripe account. + They currently support moving funds between your Stripe balance and your [Issuing](https://stripe.com/docs/issuing) balance and between your [Allocated Funds](https://stripe.com/docs/connect/funds-segregation) balance and your Stripe balance. + """ + + OBJECT_NAME: ClassVar[Literal["balance_transfer"]] = "balance_transfer" + + class DestinationBalance(StripeObject): + class Issuing(StripeObject): + balance_transaction: Optional[ + ExpandableField["BalanceTransaction"] + ] + """ + Identifier for the balance_transaction that increased the destination balance. + """ + + class Payments(StripeObject): + balance_transaction: Optional[ + ExpandableField["BalanceTransaction"] + ] + """ + Identifier for the balance_transaction that increased the destination balance. + """ + + issuing: Optional[Issuing] + payments: Optional[Payments] + type: str + """ + Destination balance type to adjust for the Balance Transfer. One of `payments`, `issuing`, or `allocated_funds`. + """ + _inner_class_types = {"issuing": Issuing, "payments": Payments} + + class SourceBalance(StripeObject): + class Issuing(StripeObject): + balance_transaction: Optional[ + ExpandableField["BalanceTransaction"] + ] + """ + Identifier for the balance_transaction that decreased the source balance. + """ + + class Payments(StripeObject): + balance_transaction: ExpandableField["BalanceTransaction"] + """ + Identifier for the balance_transaction that decreased the source balance. + """ + source_type: Optional[str] + """ + The payments balance type that this BalanceTransfer pulled funds from. One of `card`, `fpx`, or `bank_account`. + """ + + issuing: Optional[Issuing] + payments: Optional[Payments] + type: str + """ + Source balance type to adjust for the Balance Transfer. One of `payments`, `issuing`, or `allocated_funds`. + """ + _inner_class_types = {"issuing": Issuing, "payments": Payments} + + amount: int + """ + A positive integer representing how much was transferred in the smallest currency unit. + """ + created: int + """ + Time at which the object was created. Measured in seconds since the Unix epoch. + """ + currency: str + """ + Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). + """ + destination_balance: Optional[DestinationBalance] + """ + The balance that funds were transferred to. + """ + hosted_regulatory_receipt_url: Optional[str] + """ + A [hosted transaction receipt](https://stripe.com/docs/treasury/moving-money/regulatory-receipts) URL that is provided when money movement is considered regulated under Stripe's money transmission licenses. + """ + id: str + """ + Unique identifier for the object. + """ + livemode: bool + """ + Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode. + """ + metadata: Dict[str, str] + """ + Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. + """ + object: Literal["balance_transfer"] + """ + String representing the object's type. Objects of the same type share the same value. + """ + source_balance: Optional[SourceBalance] + """ + The balance that funds were transferred from. One of `card`, `fpx`, or `bank_account`. + """ + + @classmethod + def create( + cls, **params: Unpack["BalanceTransferCreateParams"] + ) -> "BalanceTransfer": + """ + Creates a balance transfer. For Issuing use cases, funds will be debited immediately from the source balance and credited to the destination balance immediately (if your account is based in the US) or next-business-day (if your account is based in the EU). For Segregated Separate Charges and Transfers use cases, funds will be debited immediately from the source balance and credited immediately to the destination balance. + """ + return cast( + "BalanceTransfer", + cls._static_request( + "post", + cls.class_url(), + params=params, + ), + ) + + @classmethod + async def create_async( + cls, **params: Unpack["BalanceTransferCreateParams"] + ) -> "BalanceTransfer": + """ + Creates a balance transfer. For Issuing use cases, funds will be debited immediately from the source balance and credited to the destination balance immediately (if your account is based in the US) or next-business-day (if your account is based in the EU). For Segregated Separate Charges and Transfers use cases, funds will be debited immediately from the source balance and credited immediately to the destination balance. + """ + return cast( + "BalanceTransfer", + await cls._static_request_async( + "post", + cls.class_url(), + params=params, + ), + ) + + _inner_class_types = { + "destination_balance": DestinationBalance, + "source_balance": SourceBalance, + } diff --git a/stripe/_balance_transfer_service.py b/stripe/_balance_transfer_service.py new file mode 100644 index 000000000..0ae056d47 --- /dev/null +++ b/stripe/_balance_transfer_service.py @@ -0,0 +1,52 @@ +# -*- coding: utf-8 -*- +# File generated from our OpenAPI spec +from stripe._stripe_service import StripeService +from typing import Optional, cast +from typing_extensions import TYPE_CHECKING + +if TYPE_CHECKING: + from stripe._balance_transfer import BalanceTransfer + from stripe._request_options import RequestOptions + from stripe.params._balance_transfer_create_params import ( + BalanceTransferCreateParams, + ) + + +class BalanceTransferService(StripeService): + def create( + self, + params: "BalanceTransferCreateParams", + options: Optional["RequestOptions"] = None, + ) -> "BalanceTransfer": + """ + Creates a balance transfer. For Issuing use cases, funds will be debited immediately from the source balance and credited to the destination balance immediately (if your account is based in the US) or next-business-day (if your account is based in the EU). For Segregated Separate Charges and Transfers use cases, funds will be debited immediately from the source balance and credited immediately to the destination balance. + """ + return cast( + "BalanceTransfer", + self._request( + "post", + "/v1/balance_transfers", + base_address="api", + params=params, + options=options, + ), + ) + + async def create_async( + self, + params: "BalanceTransferCreateParams", + options: Optional["RequestOptions"] = None, + ) -> "BalanceTransfer": + """ + Creates a balance transfer. For Issuing use cases, funds will be debited immediately from the source balance and credited to the destination balance immediately (if your account is based in the US) or next-business-day (if your account is based in the EU). For Segregated Separate Charges and Transfers use cases, funds will be debited immediately from the source balance and credited immediately to the destination balance. + """ + return cast( + "BalanceTransfer", + await self._request_async( + "post", + "/v1/balance_transfers", + base_address="api", + params=params, + options=options, + ), + ) diff --git a/stripe/_bank_account.py b/stripe/_bank_account.py index 4a2c291df..f90c571fb 100644 --- a/stripe/_bank_account.py +++ b/stripe/_bank_account.py @@ -378,9 +378,9 @@ class Error(StripeObject): """ status: str """ - For bank accounts, possible values are `new`, `validated`, `verified`, `verification_failed`, or `errored`. A bank account that hasn't had any activity or validation performed is `new`. If Stripe can determine that the bank account exists, its status will be `validated`. Note that there often isn't enough information to know (e.g., for smaller credit unions), and the validation is not always run. If customer bank account verification has succeeded, the bank account status will be `verified`. If the verification failed for any reason, such as microdeposit failure, the status will be `verification_failed`. If a payout sent to this bank account fails, we'll set the status to `errored` and will not continue to send [scheduled payouts](https://stripe.com/docs/payouts#payout-schedule) until the bank details are updated. + For bank accounts, possible values are `new`, `validated`, `verified`, `verification_failed`, `tokenized_account_number_deactivated` or `errored`. A bank account that hasn't had any activity or validation performed is `new`. If Stripe can determine that the bank account exists, its status will be `validated`. Note that there often isn't enough information to know (e.g., for smaller credit unions), and the validation is not always run. If customer bank account verification has succeeded, the bank account status will be `verified`. If the verification failed for any reason, such as microdeposit failure, the status will be `verification_failed`. If the status is `tokenized_account_number_deactivated`, the account utilizes a tokenized account number which has been deactivated due to expiration or revocation. This account will need to be reverified to continue using it for money movement. If a payout sent to this bank account fails, we'll set the status to `errored` and will not continue to send [scheduled payouts](https://stripe.com/docs/payouts#payout-schedule) until the bank details are updated. - For external accounts, possible values are `new`, `errored` and `verification_failed`. If a payout fails, the status is set to `errored` and scheduled payouts are stopped until account details are updated. In the US and India, if we can't [verify the owner of the bank account](https://support.stripe.com/questions/bank-account-ownership-verification), we'll set the status to `verification_failed`. Other validations aren't run against external accounts because they're only used for payouts. This means the other statuses don't apply. + For external accounts, possible values are `new`, `errored`, `verification_failed`, and `tokenized_account_number_deactivated`. If a payout fails, the status is set to `errored` and scheduled payouts are stopped until account details are updated. In the US and India, if we can't [verify the owner of the bank account](https://support.stripe.com/questions/bank-account-ownership-verification), we'll set the status to `verification_failed`. Other validations aren't run against external accounts because they're only used for payouts. This means the other statuses don't apply. """ @classmethod diff --git a/stripe/_charge.py b/stripe/_charge.py index e064b0fed..c845009eb 100644 --- a/stripe/_charge.py +++ b/stripe/_charge.py @@ -1282,6 +1282,7 @@ class Ideal(StripeObject): "asn_bank", "bunq", "buut", + "finom", "handelsbanken", "ing", "knab", @@ -1298,7 +1299,7 @@ class Ideal(StripeObject): ] ] """ - The customer's bank. Can be one of `abn_amro`, `asn_bank`, `bunq`, `buut`, `handelsbanken`, `ing`, `knab`, `moneyou`, `n26`, `nn`, `rabobank`, `regiobank`, `revolut`, `sns_bank`, `triodos_bank`, `van_lanschot`, or `yoursafe`. + The customer's bank. Can be one of `abn_amro`, `asn_bank`, `bunq`, `buut`, `finom`, `handelsbanken`, `ing`, `knab`, `moneyou`, `n26`, `nn`, `rabobank`, `regiobank`, `revolut`, `sns_bank`, `triodos_bank`, `van_lanschot`, or `yoursafe`. """ bic: Optional[ Literal[ @@ -1307,6 +1308,7 @@ class Ideal(StripeObject): "BITSNL2A", "BUNQNL2A", "BUUTNL2A", + "FNOMNL22", "FVLBNL22", "HANDNL2A", "INGBNL2A", @@ -1337,6 +1339,10 @@ class Ideal(StripeObject): """ Last four characters of the IBAN. """ + transaction_id: Optional[str] + """ + Unique transaction ID generated by iDEAL. + """ verified_name: Optional[str] """ Owner's verified full name. Values are verified or provided by iDEAL directly diff --git a/stripe/_confirmation_token.py b/stripe/_confirmation_token.py index f182ff2b1..3dace7e58 100644 --- a/stripe/_confirmation_token.py +++ b/stripe/_confirmation_token.py @@ -969,6 +969,7 @@ class Ideal(StripeObject): "asn_bank", "bunq", "buut", + "finom", "handelsbanken", "ing", "knab", @@ -985,7 +986,7 @@ class Ideal(StripeObject): ] ] """ - The customer's bank, if provided. Can be one of `abn_amro`, `asn_bank`, `bunq`, `buut`, `handelsbanken`, `ing`, `knab`, `moneyou`, `n26`, `nn`, `rabobank`, `regiobank`, `revolut`, `sns_bank`, `triodos_bank`, `van_lanschot`, or `yoursafe`. + The customer's bank, if provided. Can be one of `abn_amro`, `asn_bank`, `bunq`, `buut`, `finom`, `handelsbanken`, `ing`, `knab`, `moneyou`, `n26`, `nn`, `rabobank`, `regiobank`, `revolut`, `sns_bank`, `triodos_bank`, `van_lanschot`, or `yoursafe`. """ bic: Optional[ Literal[ @@ -994,6 +995,7 @@ class Ideal(StripeObject): "BITSNL2A", "BUNQNL2A", "BUUTNL2A", + "FNOMNL22", "FVLBNL22", "HANDNL2A", "INGBNL2A", @@ -1435,6 +1437,7 @@ class Blocked(StripeObject): "bank_account_restricted", "bank_account_unusable", "debit_not_authorized", + "tokenized_account_number_deactivated", ] ] """ diff --git a/stripe/_encode.py b/stripe/_encode.py index 8ad5f484f..228edfdc6 100644 --- a/stripe/_encode.py +++ b/stripe/_encode.py @@ -2,7 +2,7 @@ import datetime import time from collections import OrderedDict -from typing import Generator, Optional, Tuple, Any +from typing import Generator, Tuple, Any def _encode_datetime(dttime: datetime.datetime): @@ -27,9 +27,7 @@ def _json_encode_date_callback(value): return value -def _api_encode( - data, api_mode: Optional[str] -) -> Generator[Tuple[str, Any], None, None]: +def _api_encode(data) -> Generator[Tuple[str, Any], None, None]: for key, value in data.items(): if value is None: continue @@ -37,16 +35,17 @@ def _api_encode( yield (key, value.stripe_id) elif isinstance(value, list) or isinstance(value, tuple): for i, sv in enumerate(value): - encoded_key = key if api_mode == "V2" else "%s[%d]" % (key, i) + # Always use indexed format for arrays + encoded_key = "%s[%d]" % (key, i) if isinstance(sv, dict): subdict = _encode_nested_dict(encoded_key, sv) - for k, v in _api_encode(subdict, api_mode): + for k, v in _api_encode(subdict): yield (k, v) else: yield (encoded_key, sv) elif isinstance(value, dict): subdict = _encode_nested_dict(key, value) - for subkey, subvalue in _api_encode(subdict, api_mode): + for subkey, subvalue in _api_encode(subdict): yield (subkey, subvalue) elif isinstance(value, datetime.datetime): yield (key, _encode_datetime(value)) diff --git a/stripe/_event.py b/stripe/_event.py index ef55f3f9d..47b561f2a 100644 --- a/stripe/_event.py +++ b/stripe/_event.py @@ -162,6 +162,7 @@ class Request(StripeObject): "billing_portal.session.created", "capability.updated", "capital.financing_offer.accepted", + "capital.financing_offer.accepted_other_offer", "capital.financing_offer.canceled", "capital.financing_offer.created", "capital.financing_offer.expired", @@ -229,6 +230,7 @@ class Request(StripeObject): "customer_cash_balance_transaction.created", "entitlements.active_entitlement_summary.updated", "file.created", + "financial_connections.account.account_numbers_updated", "financial_connections.account.created", "financial_connections.account.deactivated", "financial_connections.account.disconnected", @@ -237,6 +239,7 @@ class Request(StripeObject): "financial_connections.account.refreshed_inferred_balances", "financial_connections.account.refreshed_ownership", "financial_connections.account.refreshed_transactions", + "financial_connections.account.upcoming_account_number_expiry", "financial_connections.session.updated", "fx_quote.expired", "identity.verification_session.canceled", diff --git a/stripe/_invoice.py b/stripe/_invoice.py index 79d5a840c..5547894d5 100644 --- a/stripe/_invoice.py +++ b/stripe/_invoice.py @@ -1420,7 +1420,7 @@ class TaxRateDetails(StripeObject): * `subscription_cycle`: A subscription advanced into a new period. * `subscription_threshold`: A subscription reached a billing threshold. * `subscription_update`: A subscription was updated. - * `upcoming`: Reserved for simulated invoices, per the upcoming invoice endpoint. + * `upcoming`: Reserved for upcoming invoices created through the Create Preview Invoice API or when an `invoice.upcoming` event is generated for an upcoming invoice on a subscription. """ collection_method: Literal["charge_automatically", "send_invoice"] """ diff --git a/stripe/_mandate.py b/stripe/_mandate.py index a02b82012..cbc41da01 100644 --- a/stripe/_mandate.py +++ b/stripe/_mandate.py @@ -162,7 +162,7 @@ class Payto(StripeObject): """ amount_type: Literal["fixed", "maximum"] """ - The type of amount that will be collected. The amount charged must be exact or up to the value of `amount` param for `fixed` or `maximum` type respectively. + The type of amount that will be collected. The amount charged must be exact or up to the value of `amount` param for `fixed` or `maximum` type respectively. Defaults to `maximum`. """ end_date: Optional[str] """ @@ -179,7 +179,7 @@ class Payto(StripeObject): "weekly", ] """ - The periodicity at which payments will be collected. + The periodicity at which payments will be collected. Defaults to `adhoc`. """ payments_per_period: Optional[int] """ @@ -201,7 +201,7 @@ class Payto(StripeObject): ] ] """ - The purpose for which payments are made. Defaults to retail. + The purpose for which payments are made. Has a default value based on your merchant category code. """ start_date: Optional[str] """ diff --git a/stripe/_multipart_data_generator.py b/stripe/_multipart_data_generator.py index 1e0be2ba1..3151df83e 100644 --- a/stripe/_multipart_data_generator.py +++ b/stripe/_multipart_data_generator.py @@ -19,7 +19,7 @@ def __init__(self, chunk_size: int = 1028): def add_params(self, params): # Flatten parameters first - params = dict(_api_encode(params, "V1")) + params = dict(_api_encode(params)) for key, value in params.items(): if value is None: diff --git a/stripe/_oauth.py b/stripe/_oauth.py index 8f6b9d5dd..ba0214548 100644 --- a/stripe/_oauth.py +++ b/stripe/_oauth.py @@ -323,7 +323,7 @@ def authorize_url( OAuth._set_client_id(params) if "response_type" not in params: params["response_type"] = "code" - query = urlencode(list(_api_encode(params, "V1"))) + query = urlencode(list(_api_encode(params))) url = connect_api_base + path + "?" + query return url diff --git a/stripe/_oauth_service.py b/stripe/_oauth_service.py index 3744f9533..b02260a14 100644 --- a/stripe/_oauth_service.py +++ b/stripe/_oauth_service.py @@ -64,7 +64,7 @@ def authorize_url( self._set_client_id(params) if "response_type" not in params: params["response_type"] = "code" - query = urlencode(list(_api_encode(params, "V1"))) + query = urlencode(list(_api_encode(params))) # connect_api_base will be always set to stripe.DEFAULT_CONNECT_API_BASE # if it is not overridden on the client explicitly. diff --git a/stripe/_object_classes.py b/stripe/_object_classes.py index 1a3c24992..cb8a46a7b 100644 --- a/stripe/_object_classes.py +++ b/stripe/_object_classes.py @@ -31,6 +31,7 @@ "stripe._balance_transaction", "BalanceTransaction", ), + "balance_transfer": ("stripe._balance_transfer", "BalanceTransfer"), "bank_account": ("stripe._bank_account", "BankAccount"), "billing_portal.configuration": ( "stripe.billing_portal._configuration", @@ -267,6 +268,10 @@ "stripe._quote_preview_subscription_schedule", "QuotePreviewSubscriptionSchedule", ), + "radar.account_evaluation": ( + "stripe.radar._account_evaluation", + "AccountEvaluation", + ), "radar.early_fraud_warning": ( "stripe.radar._early_fraud_warning", "EarlyFraudWarning", diff --git a/stripe/_payment_attempt_record.py b/stripe/_payment_attempt_record.py index 2163c01b1..4636a3773 100644 --- a/stripe/_payment_attempt_record.py +++ b/stripe/_payment_attempt_record.py @@ -944,6 +944,7 @@ class Ideal(StripeObject): "asn_bank", "bunq", "buut", + "finom", "handelsbanken", "ing", "knab", @@ -960,7 +961,7 @@ class Ideal(StripeObject): ] ] """ - The customer's bank. Can be one of `abn_amro`, `asn_bank`, `bunq`, `buut`, `handelsbanken`, `ing`, `knab`, `moneyou`, `n26`, `nn`, `rabobank`, `regiobank`, `revolut`, `sns_bank`, `triodos_bank`, `van_lanschot`, or `yoursafe`. + The customer's bank. Can be one of `abn_amro`, `asn_bank`, `bunq`, `buut`, `finom`, `handelsbanken`, `ing`, `knab`, `moneyou`, `n26`, `nn`, `rabobank`, `regiobank`, `revolut`, `sns_bank`, `triodos_bank`, `van_lanschot`, or `yoursafe`. """ bic: Optional[ Literal[ @@ -969,6 +970,7 @@ class Ideal(StripeObject): "BITSNL2A", "BUNQNL2A", "BUUTNL2A", + "FNOMNL22", "FVLBNL22", "HANDNL2A", "INGBNL2A", @@ -999,6 +1001,10 @@ class Ideal(StripeObject): """ Last four characters of the IBAN. """ + transaction_id: Optional[str] + """ + Unique transaction ID generated by iDEAL. + """ verified_name: Optional[str] """ Owner's verified full name. Values are verified or provided by iDEAL directly @@ -1737,7 +1743,13 @@ class Twint(StripeObject): class UsBankAccount(StripeObject): account_holder_type: Optional[Literal["company", "individual"]] + """ + The type of entity that holds the account. This can be either 'individual' or 'company'. + """ account_type: Optional[Literal["checking", "savings"]] + """ + The type of the bank account. This can be either 'checking' or 'savings'. + """ bank_name: Optional[str] """ Name of the bank associated with the bank account. @@ -1756,11 +1768,11 @@ class UsBankAccount(StripeObject): """ payment_reference: Optional[str] """ - Reference number to locate ACH payments with customer's bank. + The ACH payment reference for this transaction. """ routing_number: Optional[str] """ - Routing number of the bank account. + The routing number for the bank account. """ class Wechat(StripeObject): @@ -1871,9 +1883,6 @@ class Zip(StripeObject): It contains information specific to the payment method. """ us_bank_account: Optional[UsBankAccount] - """ - Details of the US Bank Account used for this payment attempt. - """ wechat: Optional[Wechat] wechat_pay: Optional[WechatPay] zip: Optional[Zip] diff --git a/stripe/_payment_intent.py b/stripe/_payment_intent.py index c345c037f..f25f033d7 100644 --- a/stripe/_payment_intent.py +++ b/stripe/_payment_intent.py @@ -115,21 +115,23 @@ class AmountDetails(StripeObject): class Shipping(StripeObject): amount: Optional[int] """ - Portion of the amount that is for shipping. + If a physical good is being shipped, the cost of shipping represented in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal). An integer greater than or equal to 0. """ from_postal_code: Optional[str] """ - The postal code that represents the shipping source. + If a physical good is being shipped, the postal code of where it is being shipped from. At most 10 alphanumeric characters long, hyphens are allowed. """ to_postal_code: Optional[str] """ - The postal code that represents the shipping destination. + If a physical good is being shipped, the postal code of where it is being shipped to. At most 10 alphanumeric characters long, hyphens are allowed. """ class Tax(StripeObject): total_tax_amount: Optional[int] """ - Total portion of the amount that is for tax. + The total amount of tax on the transaction represented in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal). Required for L2 rates. An integer greater than or equal to 0. + + This field is mutually exclusive with the `amount_details[line_items][#][tax][total_tax_amount]` field. """ class Tip(StripeObject): @@ -140,7 +142,9 @@ class Tip(StripeObject): discount_amount: Optional[int] """ - The total discount applied on the transaction. + The total discount applied on the transaction represented in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal). An integer greater than 0. + + This field is mutually exclusive with the `amount_details[line_items][#][discount_amount]` field. """ line_items: Optional[ListObject["PaymentIntentAmountDetailsLineItem"]] """ @@ -1780,12 +1784,18 @@ class BillingInterval(StripeObject): car_rental: Optional[CarRental] customer_reference: Optional[str] """ - Some customers might be required by their company or organization to provide this information. If so, provide this value. Otherwise you can ignore this field. + A unique value to identify the customer. This field is available only for card payments. + + This field is truncated to 25 alphanumeric characters, excluding spaces, before being sent to card networks. """ event_details: Optional[EventDetails] order_reference: Optional[str] """ - A unique value assigned by the business to identify the transaction. + A unique value assigned by the business to identify the transaction. Required for L2 and L3 rates. + + Required when the Payment Method Types array contains `card`, including when [automatic_payment_methods.enabled](https://docs.stripe.com/api/payment_intents/create#create_payment_intent-automatic_payment_methods-enabled) is set to `true`. + + For Cards, this field is truncated to 25 alphanumeric characters, excluding spaces, before being sent to card networks. For Klarna, this field is truncated to 255 characters and is visible to customers when they view the order in the Klarna app. """ subscription: Optional[Subscription] _inner_class_types = { @@ -2256,6 +2266,10 @@ class Routing(StripeObject): Requested routing priority """ + capture_method: Optional[Literal["manual", "manual_preferred"]] + """ + Controls when the funds will be captured from the customer's account. + """ request_extended_authorization: Optional[bool] """ Request ability to capture this payment beyond the standard [authorization validity window](https://stripe.com/docs/terminal/features/extended-authorizations#authorization-validity) @@ -2767,7 +2781,7 @@ class MandateOptions(StripeObject): """ amount_type: Optional[Literal["fixed", "maximum"]] """ - The type of amount that will be collected. The amount charged must be exact or up to the value of `amount` param for `fixed` or `maximum` type respectively. + The type of amount that will be collected. The amount charged must be exact or up to the value of `amount` param for `fixed` or `maximum` type respectively. Defaults to `maximum`. """ end_date: Optional[str] """ @@ -2786,7 +2800,7 @@ class MandateOptions(StripeObject): ] ] """ - The periodicity at which payments will be collected. + The periodicity at which payments will be collected. Defaults to `adhoc`. """ payments_per_period: Optional[int] """ @@ -2808,7 +2822,7 @@ class MandateOptions(StripeObject): ] ] """ - The purpose for which payments are made. Defaults to retail. + The purpose for which payments are made. Has a default value based on your merchant category code. """ mandate_options: Optional[MandateOptions] diff --git a/stripe/_payment_intent_amount_details_line_item.py b/stripe/_payment_intent_amount_details_line_item.py index bb6f12af1..2c1e291f8 100644 --- a/stripe/_payment_intent_amount_details_line_item.py +++ b/stripe/_payment_intent_amount_details_line_item.py @@ -53,12 +53,16 @@ class Paypal(StripeObject): class Tax(StripeObject): total_tax_amount: int """ - Total portion of the amount that is for tax. + The total amount of tax on the transaction represented in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal). Required for L2 rates. An integer greater than or equal to 0. + + This field is mutually exclusive with the `amount_details[line_items][#][tax][total_tax_amount]` field. """ discount_amount: Optional[int] """ - The amount an item was discounted for. Positive integer. + The discount applied on this line item represented in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal). An integer greater than 0. + + This field is mutually exclusive with the `amount_details[discount_amount]` field. """ id: str """ @@ -74,15 +78,17 @@ class Tax(StripeObject): """ product_code: Optional[str] """ - Unique identifier of the product. At most 12 characters long. + The product code of the line item, such as an SKU. Required for L3 rates. At most 12 characters long. """ product_name: str """ - Name of the product. At most 100 characters long. + The product name of the line item. Required for L3 rates. At most 1024 characters long. + + For Cards, this field is truncated to 26 alphanumeric characters before being sent to the card networks. For Paypal, this field is truncated to 127 characters. """ quantity: int """ - Number of items of the product. Positive integer. + The quantity of items. Required for L3 rates. An integer greater than 0. """ tax: Optional[Tax] """ @@ -90,11 +96,11 @@ class Tax(StripeObject): """ unit_cost: int """ - Cost of the product. Non-negative integer. + The unit cost of the line item represented in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal). Required for L3 rates. An integer greater than or equal to 0. """ unit_of_measure: Optional[str] """ - A unit of measure for the line item, such as gallons, feet, meters, etc. + A unit of measure for the line item, such as gallons, feet, meters, etc. Required for L3 rates. At most 12 alphanumeric characters long. """ _inner_class_types = { "payment_method_options": PaymentMethodOptions, diff --git a/stripe/_payment_method.py b/stripe/_payment_method.py index 964763e61..73825b0d5 100644 --- a/stripe/_payment_method.py +++ b/stripe/_payment_method.py @@ -943,6 +943,7 @@ class Ideal(StripeObject): "asn_bank", "bunq", "buut", + "finom", "handelsbanken", "ing", "knab", @@ -959,7 +960,7 @@ class Ideal(StripeObject): ] ] """ - The customer's bank, if provided. Can be one of `abn_amro`, `asn_bank`, `bunq`, `buut`, `handelsbanken`, `ing`, `knab`, `moneyou`, `n26`, `nn`, `rabobank`, `regiobank`, `revolut`, `sns_bank`, `triodos_bank`, `van_lanschot`, or `yoursafe`. + The customer's bank, if provided. Can be one of `abn_amro`, `asn_bank`, `bunq`, `buut`, `finom`, `handelsbanken`, `ing`, `knab`, `moneyou`, `n26`, `nn`, `rabobank`, `regiobank`, `revolut`, `sns_bank`, `triodos_bank`, `van_lanschot`, or `yoursafe`. """ bic: Optional[ Literal[ @@ -968,6 +969,7 @@ class Ideal(StripeObject): "BITSNL2A", "BUNQNL2A", "BUUTNL2A", + "FNOMNL22", "FVLBNL22", "HANDNL2A", "INGBNL2A", @@ -1415,6 +1417,7 @@ class Blocked(StripeObject): "bank_account_restricted", "bank_account_unusable", "debit_not_authorized", + "tokenized_account_number_deactivated", ] ] """ diff --git a/stripe/_payment_record.py b/stripe/_payment_record.py index 772fbafa2..38b5e8589 100644 --- a/stripe/_payment_record.py +++ b/stripe/_payment_record.py @@ -960,6 +960,7 @@ class Ideal(StripeObject): "asn_bank", "bunq", "buut", + "finom", "handelsbanken", "ing", "knab", @@ -976,7 +977,7 @@ class Ideal(StripeObject): ] ] """ - The customer's bank. Can be one of `abn_amro`, `asn_bank`, `bunq`, `buut`, `handelsbanken`, `ing`, `knab`, `moneyou`, `n26`, `nn`, `rabobank`, `regiobank`, `revolut`, `sns_bank`, `triodos_bank`, `van_lanschot`, or `yoursafe`. + The customer's bank. Can be one of `abn_amro`, `asn_bank`, `bunq`, `buut`, `finom`, `handelsbanken`, `ing`, `knab`, `moneyou`, `n26`, `nn`, `rabobank`, `regiobank`, `revolut`, `sns_bank`, `triodos_bank`, `van_lanschot`, or `yoursafe`. """ bic: Optional[ Literal[ @@ -985,6 +986,7 @@ class Ideal(StripeObject): "BITSNL2A", "BUNQNL2A", "BUUTNL2A", + "FNOMNL22", "FVLBNL22", "HANDNL2A", "INGBNL2A", @@ -1015,6 +1017,10 @@ class Ideal(StripeObject): """ Last four characters of the IBAN. """ + transaction_id: Optional[str] + """ + Unique transaction ID generated by iDEAL. + """ verified_name: Optional[str] """ Owner's verified full name. Values are verified or provided by iDEAL directly @@ -1753,7 +1759,13 @@ class Twint(StripeObject): class UsBankAccount(StripeObject): account_holder_type: Optional[Literal["company", "individual"]] + """ + The type of entity that holds the account. This can be either 'individual' or 'company'. + """ account_type: Optional[Literal["checking", "savings"]] + """ + The type of the bank account. This can be either 'checking' or 'savings'. + """ bank_name: Optional[str] """ Name of the bank associated with the bank account. @@ -1772,11 +1784,11 @@ class UsBankAccount(StripeObject): """ payment_reference: Optional[str] """ - Reference number to locate ACH payments with customer's bank. + The ACH payment reference for this transaction. """ routing_number: Optional[str] """ - Routing number of the bank account. + The routing number for the bank account. """ class Wechat(StripeObject): @@ -1887,9 +1899,6 @@ class Zip(StripeObject): It contains information specific to the payment method. """ us_bank_account: Optional[UsBankAccount] - """ - Details of the US Bank Account used for this payment attempt. - """ wechat: Optional[Wechat] wechat_pay: Optional[WechatPay] zip: Optional[Zip] diff --git a/stripe/_quote.py b/stripe/_quote.py index cff2bd0ad..7d6b631ac 100644 --- a/stripe/_quote.py +++ b/stripe/_quote.py @@ -759,7 +759,7 @@ class LineEndsAt(StripeObject): """ bill_until: BillUntil """ - Specifies the billing period. + Specifies the end of billing period. """ key: str """ @@ -1093,7 +1093,7 @@ class LineEndsAt(StripeObject): """ bill_until: BillUntil """ - Specifies the billing period. + Specifies the end of billing period. """ key: str """ diff --git a/stripe/_quote_preview_invoice.py b/stripe/_quote_preview_invoice.py index 3b6c0f4ad..44b48ab1e 100644 --- a/stripe/_quote_preview_invoice.py +++ b/stripe/_quote_preview_invoice.py @@ -1375,7 +1375,7 @@ class TaxRateDetails(StripeObject): * `subscription_cycle`: A subscription advanced into a new period. * `subscription_threshold`: A subscription reached a billing threshold. * `subscription_update`: A subscription was updated. - * `upcoming`: Reserved for simulated invoices, per the upcoming invoice endpoint. + * `upcoming`: Reserved for upcoming invoices created through the Create Preview Invoice API or when an `invoice.upcoming` event is generated for an upcoming invoice on a subscription. """ collection_method: Literal["charge_automatically", "send_invoice"] """ diff --git a/stripe/_quote_preview_subscription_schedule.py b/stripe/_quote_preview_subscription_schedule.py index 4b6eaa94c..473f0582c 100644 --- a/stripe/_quote_preview_subscription_schedule.py +++ b/stripe/_quote_preview_subscription_schedule.py @@ -204,7 +204,7 @@ class LineEndsAt(StripeObject): """ bill_until: BillUntil """ - Specifies the billing period. + Specifies the end of billing period. """ key: str """ diff --git a/stripe/_radar_service.py b/stripe/_radar_service.py index db686e5d3..eb97ef95f 100644 --- a/stripe/_radar_service.py +++ b/stripe/_radar_service.py @@ -5,6 +5,9 @@ from typing_extensions import TYPE_CHECKING if TYPE_CHECKING: + from stripe.radar._account_evaluation_service import ( + AccountEvaluationService, + ) from stripe.radar._early_fraud_warning_service import ( EarlyFraudWarningService, ) @@ -12,6 +15,10 @@ from stripe.radar._value_list_service import ValueListService _subservices = { + "account_evaluations": [ + "stripe.radar._account_evaluation_service", + "AccountEvaluationService", + ], "early_fraud_warnings": [ "stripe.radar._early_fraud_warning_service", "EarlyFraudWarningService", @@ -25,6 +32,7 @@ class RadarService(StripeService): + account_evaluations: "AccountEvaluationService" early_fraud_warnings: "EarlyFraudWarningService" value_lists: "ValueListService" value_list_items: "ValueListItemService" diff --git a/stripe/_refund.py b/stripe/_refund.py index 10c71f463..e9d412ad5 100644 --- a/stripe/_refund.py +++ b/stripe/_refund.py @@ -164,6 +164,16 @@ class JpBankTransfer(StripeObject): class Klarna(StripeObject): pass + class MbWay(StripeObject): + reference: Optional[str] + """ + The reference assigned to the refund. + """ + reference_status: Optional[str] + """ + Status of the reference on the refund. This can be `pending`, `available` or `unavailable`. + """ + class Multibanco(StripeObject): reference: Optional[str] """ @@ -239,6 +249,9 @@ class ThBankTransfer(StripeObject): Status of the reference on the refund. This can be `pending`, `available` or `unavailable`. """ + class Twint(StripeObject): + pass + class UsBankTransfer(StripeObject): reference: Optional[str] """ @@ -275,6 +288,7 @@ class Zip(StripeObject): id_bank_transfer: Optional[IdBankTransfer] jp_bank_transfer: Optional[JpBankTransfer] klarna: Optional[Klarna] + mb_way: Optional[MbWay] multibanco: Optional[Multibanco] mx_bank_transfer: Optional[MxBankTransfer] nz_bank_transfer: Optional[NzBankTransfer] @@ -286,6 +300,7 @@ class Zip(StripeObject): sofort: Optional[Sofort] swish: Optional[Swish] th_bank_transfer: Optional[ThBankTransfer] + twint: Optional[Twint] type: str """ The type of transaction-specific details of the payment method used in the refund (e.g., `card`). An additional hash is included on `destination_details` with a name matching this value. It contains information specific to the refund transaction. @@ -314,6 +329,7 @@ class Zip(StripeObject): "id_bank_transfer": IdBankTransfer, "jp_bank_transfer": JpBankTransfer, "klarna": Klarna, + "mb_way": MbWay, "multibanco": Multibanco, "mx_bank_transfer": MxBankTransfer, "nz_bank_transfer": NzBankTransfer, @@ -325,6 +341,7 @@ class Zip(StripeObject): "sofort": Sofort, "swish": Swish, "th_bank_transfer": ThBankTransfer, + "twint": Twint, "us_bank_transfer": UsBankTransfer, "wechat_pay": WechatPay, "zip": Zip, diff --git a/stripe/_setup_attempt.py b/stripe/_setup_attempt.py index 3e65b07fa..da132c07d 100644 --- a/stripe/_setup_attempt.py +++ b/stripe/_setup_attempt.py @@ -282,6 +282,7 @@ class Ideal(StripeObject): "asn_bank", "bunq", "buut", + "finom", "handelsbanken", "ing", "knab", @@ -298,7 +299,7 @@ class Ideal(StripeObject): ] ] """ - The customer's bank. Can be one of `abn_amro`, `asn_bank`, `bunq`, `buut`, `handelsbanken`, `ing`, `knab`, `moneyou`, `n26`, `nn`, `rabobank`, `regiobank`, `revolut`, `sns_bank`, `triodos_bank`, `van_lanschot`, or `yoursafe`. + The customer's bank. Can be one of `abn_amro`, `asn_bank`, `bunq`, `buut`, `finom`, `handelsbanken`, `ing`, `knab`, `moneyou`, `n26`, `nn`, `rabobank`, `regiobank`, `revolut`, `sns_bank`, `triodos_bank`, `van_lanschot`, or `yoursafe`. """ bic: Optional[ Literal[ @@ -307,6 +308,7 @@ class Ideal(StripeObject): "BITSNL2A", "BUNQNL2A", "BUUTNL2A", + "FNOMNL22", "FVLBNL22", "HANDNL2A", "INGBNL2A", diff --git a/stripe/_setup_intent.py b/stripe/_setup_intent.py index a104aa8cf..bd2f0430e 100644 --- a/stripe/_setup_intent.py +++ b/stripe/_setup_intent.py @@ -651,7 +651,7 @@ class MandateOptions(StripeObject): """ amount_type: Optional[Literal["fixed", "maximum"]] """ - The type of amount that will be collected. The amount charged must be exact or up to the value of `amount` param for `fixed` or `maximum` type respectively. + The type of amount that will be collected. The amount charged must be exact or up to the value of `amount` param for `fixed` or `maximum` type respectively. Defaults to `maximum`. """ end_date: Optional[str] """ @@ -670,7 +670,7 @@ class MandateOptions(StripeObject): ] ] """ - The periodicity at which payments will be collected. + The periodicity at which payments will be collected. Defaults to `adhoc`. """ payments_per_period: Optional[int] """ @@ -692,7 +692,7 @@ class MandateOptions(StripeObject): ] ] """ - The purpose for which payments are made. Defaults to retail. + The purpose for which payments are made. Has a default value based on your merchant category code. """ start_date: Optional[str] """ diff --git a/stripe/_stripe_client.py b/stripe/_stripe_client.py index 16ab521ef..ea87b19c7 100644 --- a/stripe/_stripe_client.py +++ b/stripe/_stripe_client.py @@ -52,6 +52,7 @@ from stripe._balance_service import BalanceService from stripe._balance_settings_service import BalanceSettingsService from stripe._balance_transaction_service import BalanceTransactionService + from stripe._balance_transfer_service import BalanceTransferService from stripe._billing_service import BillingService from stripe._billing_portal_service import BillingPortalService from stripe._capital_service import CapitalService @@ -438,6 +439,17 @@ def balance_settings(self) -> "BalanceSettingsService": def balance_transactions(self) -> "BalanceTransactionService": return self.v1.balance_transactions + @property + @deprecated( + """ + StripeClient.balance_transfers is deprecated, use StripeClient.v1.balance_transfers instead. + All functionality under it has been copied over to StripeClient.v1.balance_transfers. + See [migration guide](https://github.com/stripe/stripe-python/wiki/v1-namespace-in-StripeClient) for more on this and tips on migrating to the new v1 namespace. + """, + ) + def balance_transfers(self) -> "BalanceTransferService": + return self.v1.balance_transfers + @property @deprecated( """ diff --git a/stripe/_subscription.py b/stripe/_subscription.py index 227216e93..85b3e3b87 100644 --- a/stripe/_subscription.py +++ b/stripe/_subscription.py @@ -295,7 +295,7 @@ class LineEndsAt(StripeObject): """ bill_until: BillUntil """ - Specifies the billing period. + Specifies the end of billing period. """ key: str """ diff --git a/stripe/_subscription_schedule.py b/stripe/_subscription_schedule.py index 538fd28f6..5dc04746d 100644 --- a/stripe/_subscription_schedule.py +++ b/stripe/_subscription_schedule.py @@ -226,7 +226,7 @@ class LineEndsAt(StripeObject): """ bill_until: BillUntil """ - Specifies the billing period. + Specifies the end of billing period. """ key: str """ diff --git a/stripe/_v1_services.py b/stripe/_v1_services.py index f10268e05..29fd03a52 100644 --- a/stripe/_v1_services.py +++ b/stripe/_v1_services.py @@ -15,6 +15,7 @@ from stripe._balance_service import BalanceService from stripe._balance_settings_service import BalanceSettingsService from stripe._balance_transaction_service import BalanceTransactionService + from stripe._balance_transfer_service import BalanceTransferService from stripe._billing_portal_service import BillingPortalService from stripe._billing_service import BillingService from stripe._capital_service import CapitalService @@ -127,6 +128,10 @@ "stripe._balance_transaction_service", "BalanceTransactionService", ], + "balance_transfers": [ + "stripe._balance_transfer_service", + "BalanceTransferService", + ], "billing": ["stripe._billing_service", "BillingService"], "billing_portal": [ "stripe._billing_portal_service", @@ -265,6 +270,7 @@ class V1Services(StripeService): balance: "BalanceService" balance_settings: "BalanceSettingsService" balance_transactions: "BalanceTransactionService" + balance_transfers: "BalanceTransferService" billing: "BillingService" billing_portal: "BillingPortalService" capital: "CapitalService" diff --git a/stripe/billing_portal/_configuration.py b/stripe/billing_portal/_configuration.py index 7006d6042..451dca049 100644 --- a/stripe/billing_portal/_configuration.py +++ b/stripe/billing_portal/_configuration.py @@ -79,6 +79,10 @@ class PaymentMethodUpdate(StripeObject): """ Whether the feature is enabled. """ + payment_method_configuration: Optional[str] + """ + The [Payment Method Configuration](https://docs.stripe.com/api/payment_method_configurations) to use for this portal session. When specified, customers will be able to update their payment method to one of the options specified by the payment method configuration. If not set, the default payment method configuration is used. + """ class SubscriptionCancel(StripeObject): class CancellationReason(StripeObject): diff --git a/stripe/capital/_financing_offer.py b/stripe/capital/_financing_offer.py index 340719461..84fa5fdb7 100644 --- a/stripe/capital/_financing_offer.py +++ b/stripe/capital/_financing_offer.py @@ -39,7 +39,7 @@ class FinancingOffer(ListableAPIResource["FinancingOffer"]): class AcceptedTerms(StripeObject): advance_amount: int """ - Amount of financing offered, in minor units. For example, $1,000 USD will be represented as 100000. + Amount of financing offered, in minor units. For example, 1,000 USD is represented as 100000. """ currency: str """ @@ -47,7 +47,7 @@ class AcceptedTerms(StripeObject): """ fee_amount: int """ - Fixed fee amount, in minor units. For example, $100 USD will be represented as 10000. + Fixed fee amount, in minor units. For example, 100 USD is represented as 10000. """ previous_financing_fee_discount_amount: Optional[int] """ @@ -56,13 +56,13 @@ class AcceptedTerms(StripeObject): """ withhold_rate: float """ - Per-transaction rate at which Stripe will withhold funds to repay the financing. + Per-transaction rate at which Stripe withholds funds to repay the financing. """ class OfferedTerms(StripeObject): advance_amount: int """ - Amount of financing offered, in minor units. For example, $1,000 USD will be represented as 100000. + Amount of financing offered, in minor units. For example, 1,000 USD is represented as 100000. """ campaign_type: Literal[ "newly_eligible_user", "previously_eligible_user", "repeat_user" @@ -76,7 +76,7 @@ class OfferedTerms(StripeObject): """ fee_amount: int """ - Fixed fee amount, in minor units. For example, $100 USD will be represented as 10000. + Fixed fee amount, in minor units. For example, 100 USD is represented as 10000. """ previous_financing_fee_discount_rate: Optional[float] """ @@ -87,7 +87,7 @@ class OfferedTerms(StripeObject): """ withhold_rate: float """ - Per-transaction rate at which Stripe will withhold funds to repay the financing. + Per-transaction rate at which Stripe withholds funds to repay the financing. """ accepted_terms: Optional[AcceptedTerms] diff --git a/stripe/capital/_financing_summary.py b/stripe/capital/_financing_summary.py index e50643321..5d1633562 100644 --- a/stripe/capital/_financing_summary.py +++ b/stripe/capital/_financing_summary.py @@ -30,16 +30,16 @@ class CurrentRepaymentInterval(StripeObject): """ paid_amount: Optional[int] """ - The amount that has already been paid in the current repayment interval, in minor units. For example, $100 USD will be represented as 10000. + The amount that has already been paid in the current repayment interval, in minor units. For example, 100 USD is represented as 10000. """ remaining_amount: int """ - The amount that is yet to be paid in the current repayment interval, in minor units. For example, $100 USD will be represented as 10000. + The amount that is yet to be paid in the current repayment interval, in minor units. For example, 100 USD is represented as 10000. """ advance_amount: int """ - Amount of financing offered, in minor units. For example, $1,000 USD will be represented as 100000. + Amount of financing offered, in minor units. For example, 1,000 USD is represented as 100000. """ advance_paid_out_at: Optional[float] """ @@ -55,15 +55,15 @@ class CurrentRepaymentInterval(StripeObject): """ fee_amount: int """ - Fixed fee amount, in minor units. For example, $100 USD will be represented as 10000. + Fixed fee amount, in minor units. For example, 100 USD is represented as 10000. """ paid_amount: int """ - The amount the Connected account has paid toward the financing debt so far, in minor units. For example, $1,000 USD will be represented as 100000. + The amount the Connected account has paid toward the financing debt so far, in minor units. For example, 1,000 USD is represented as 100000. """ remaining_amount: int """ - The balance remaining to be paid on the financing, in minor units. For example, $1,000 USD will be represented as 100000. + The balance remaining to be paid on the financing, in minor units. For example, 1,000 USD is represented as 100000. """ repayments_begin_at: Optional[float] """ @@ -71,7 +71,7 @@ class CurrentRepaymentInterval(StripeObject): """ withhold_rate: float """ - Per-transaction rate at which Stripe will withhold funds to repay the financing. + Per-transaction rate at which Stripe withholds funds to repay the financing. """ _inner_class_types = { "current_repayment_interval": CurrentRepaymentInterval, diff --git a/stripe/checkout/_session.py b/stripe/checkout/_session.py index a0ca2606b..4527db5e7 100644 --- a/stripe/checkout/_session.py +++ b/stripe/checkout/_session.py @@ -1561,7 +1561,7 @@ class MandateOptions(StripeObject): """ amount_type: Optional[Literal["fixed", "maximum"]] """ - The type of amount that will be collected. The amount charged must be exact or up to the value of `amount` param for `fixed` or `maximum` type respectively. + The type of amount that will be collected. The amount charged must be exact or up to the value of `amount` param for `fixed` or `maximum` type respectively. Defaults to `maximum`. """ end_date: Optional[str] """ @@ -1580,7 +1580,7 @@ class MandateOptions(StripeObject): ] ] """ - The periodicity at which payments will be collected. + The periodicity at which payments will be collected. Defaults to `adhoc`. """ payments_per_period: Optional[int] """ @@ -1602,7 +1602,7 @@ class MandateOptions(StripeObject): ] ] """ - The purpose for which payments are made. Defaults to retail. + The purpose for which payments are made. Has a default value based on your merchant category code. """ start_date: Optional[str] """ diff --git a/stripe/financial_connections/_account.py b/stripe/financial_connections/_account.py index bfd3113aa..d8f88e603 100644 --- a/stripe/financial_connections/_account.py +++ b/stripe/financial_connections/_account.py @@ -71,6 +71,24 @@ class AccountHolder(StripeObject): Type of account holder that this account belongs to. """ + class AccountNumber(StripeObject): + expected_expiry_date: Optional[int] + """ + When the account number is expected to expire, if applicable. + """ + identifier_type: Literal["account_number", "tokenized_account_number"] + """ + The type of account number associated with the account. + """ + status: Literal["deactivated", "transactable"] + """ + Whether the account number is currently active and usable for transactions. + """ + supported_networks: List[Literal["ach"]] + """ + The payment networks that the account number can be used for. + """ + class Balance(StripeObject): class Cash(StripeObject): available: Optional[Dict[str, int]] @@ -176,6 +194,10 @@ class TransactionRefresh(StripeObject): """ The account holder that this account belongs to. """ + account_numbers: Optional[List[AccountNumber]] + """ + Details about the account numbers. + """ balance: Optional[Balance] """ The most recent information about the account's balance. @@ -937,6 +959,7 @@ async def list_inferred_balances_async( _inner_class_types = { "account_holder": AccountHolder, + "account_numbers": AccountNumber, "balance": Balance, "balance_refresh": BalanceRefresh, "inferred_balances_refresh": InferredBalancesRefresh, diff --git a/stripe/financial_connections/_session.py b/stripe/financial_connections/_session.py index 5b5a67173..2dd6bc7d6 100644 --- a/stripe/financial_connections/_session.py +++ b/stripe/financial_connections/_session.py @@ -96,7 +96,7 @@ class Cancelled(StripeObject): """ The accounts that were collected as part of this Session. """ - client_secret: str + client_secret: Optional[str] """ A value that will be passed to the client to launch the authentication flow. """ diff --git a/stripe/issuing/_card.py b/stripe/issuing/_card.py index ebce1fe2b..bd805f845 100644 --- a/stripe/issuing/_card.py +++ b/stripe/issuing/_card.py @@ -42,6 +42,23 @@ class Card( OBJECT_NAME: ClassVar[Literal["issuing.card"]] = "issuing.card" + class LatestFraudWarning(StripeObject): + started_at: Optional[int] + """ + Timestamp of the most recent fraud warning. + """ + type: Optional[ + Literal[ + "card_testing_exposure", + "fraud_dispute_filed", + "third_party_reported", + "user_indicated_fraud", + ] + ] + """ + The type of fraud warning that most recently took place on this card. This field updates with every new fraud warning, so the value changes over time. If populated, cancel and reissue the card. + """ + class Shipping(StripeObject): class Address(StripeObject): city: Optional[str] @@ -1226,6 +1243,10 @@ class GooglePay(StripeObject): """ The last 4 digits of the card number. """ + latest_fraud_warning: Optional[LatestFraudWarning] + """ + Stripe's assessment of whether this card's details have been compromised. If this property isn't null, cancel and reissue the card to prevent fraudulent activity risk. + """ livemode: bool """ Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode. @@ -1958,6 +1979,7 @@ def test_helpers(self): return self.TestHelpers(self) _inner_class_types = { + "latest_fraud_warning": LatestFraudWarning, "shipping": Shipping, "spending_controls": SpendingControls, "wallets": Wallets, diff --git a/stripe/params/__init__.py b/stripe/params/__init__.py index 23d0bd0c0..dc8415854 100644 --- a/stripe/params/__init__.py +++ b/stripe/params/__init__.py @@ -183,6 +183,7 @@ AccountCreateParamsSettingsPayments as AccountCreateParamsSettingsPayments, AccountCreateParamsSettingsPayouts as AccountCreateParamsSettingsPayouts, AccountCreateParamsSettingsPayoutsSchedule as AccountCreateParamsSettingsPayoutsSchedule, + AccountCreateParamsSettingsPaypayPayments as AccountCreateParamsSettingsPaypayPayments, AccountCreateParamsSettingsTaxForms as AccountCreateParamsSettingsTaxForms, AccountCreateParamsSettingsTreasury as AccountCreateParamsSettingsTreasury, AccountCreateParamsSettingsTreasuryTosAcceptance as AccountCreateParamsSettingsTreasuryTosAcceptance, @@ -583,6 +584,7 @@ AccountUpdateParamsSettingsPayments as AccountUpdateParamsSettingsPayments, AccountUpdateParamsSettingsPayouts as AccountUpdateParamsSettingsPayouts, AccountUpdateParamsSettingsPayoutsSchedule as AccountUpdateParamsSettingsPayoutsSchedule, + AccountUpdateParamsSettingsPaypayPayments as AccountUpdateParamsSettingsPaypayPayments, AccountUpdateParamsSettingsTaxForms as AccountUpdateParamsSettingsTaxForms, AccountUpdateParamsSettingsTreasury as AccountUpdateParamsSettingsTreasury, AccountUpdateParamsSettingsTreasuryTosAcceptance as AccountUpdateParamsSettingsTreasuryTosAcceptance, @@ -661,6 +663,12 @@ from stripe.params._balance_transaction_retrieve_params import ( BalanceTransactionRetrieveParams as BalanceTransactionRetrieveParams, ) + from stripe.params._balance_transfer_create_params import ( + BalanceTransferCreateParams as BalanceTransferCreateParams, + BalanceTransferCreateParamsDestinationBalance as BalanceTransferCreateParamsDestinationBalance, + BalanceTransferCreateParamsSourceBalance as BalanceTransferCreateParamsSourceBalance, + BalanceTransferCreateParamsSourceBalanceAllocatedFunds as BalanceTransferCreateParamsSourceBalanceAllocatedFunds, + ) from stripe.params._bank_account_delete_params import ( BankAccountDeleteParams as BankAccountDeleteParams, ) @@ -672,6 +680,22 @@ ChargeCaptureParamsPaymentDetails as ChargeCaptureParamsPaymentDetails, ChargeCaptureParamsPaymentDetailsCarRental as ChargeCaptureParamsPaymentDetailsCarRental, ChargeCaptureParamsPaymentDetailsCarRentalAffiliate as ChargeCaptureParamsPaymentDetailsCarRentalAffiliate, + ChargeCaptureParamsPaymentDetailsCarRentalDatum as ChargeCaptureParamsPaymentDetailsCarRentalDatum, + ChargeCaptureParamsPaymentDetailsCarRentalDatumAffiliate as ChargeCaptureParamsPaymentDetailsCarRentalDatumAffiliate, + ChargeCaptureParamsPaymentDetailsCarRentalDatumDistance as ChargeCaptureParamsPaymentDetailsCarRentalDatumDistance, + ChargeCaptureParamsPaymentDetailsCarRentalDatumDriver as ChargeCaptureParamsPaymentDetailsCarRentalDatumDriver, + ChargeCaptureParamsPaymentDetailsCarRentalDatumDriverDateOfBirth as ChargeCaptureParamsPaymentDetailsCarRentalDatumDriverDateOfBirth, + ChargeCaptureParamsPaymentDetailsCarRentalDatumDropOff as ChargeCaptureParamsPaymentDetailsCarRentalDatumDropOff, + ChargeCaptureParamsPaymentDetailsCarRentalDatumDropOffAddress as ChargeCaptureParamsPaymentDetailsCarRentalDatumDropOffAddress, + ChargeCaptureParamsPaymentDetailsCarRentalDatumInsurance as ChargeCaptureParamsPaymentDetailsCarRentalDatumInsurance, + ChargeCaptureParamsPaymentDetailsCarRentalDatumPickup as ChargeCaptureParamsPaymentDetailsCarRentalDatumPickup, + ChargeCaptureParamsPaymentDetailsCarRentalDatumPickupAddress as ChargeCaptureParamsPaymentDetailsCarRentalDatumPickupAddress, + ChargeCaptureParamsPaymentDetailsCarRentalDatumTotal as ChargeCaptureParamsPaymentDetailsCarRentalDatumTotal, + ChargeCaptureParamsPaymentDetailsCarRentalDatumTotalDiscounts as ChargeCaptureParamsPaymentDetailsCarRentalDatumTotalDiscounts, + ChargeCaptureParamsPaymentDetailsCarRentalDatumTotalExtraCharge as ChargeCaptureParamsPaymentDetailsCarRentalDatumTotalExtraCharge, + ChargeCaptureParamsPaymentDetailsCarRentalDatumTotalTax as ChargeCaptureParamsPaymentDetailsCarRentalDatumTotalTax, + ChargeCaptureParamsPaymentDetailsCarRentalDatumTotalTaxTax as ChargeCaptureParamsPaymentDetailsCarRentalDatumTotalTaxTax, + ChargeCaptureParamsPaymentDetailsCarRentalDatumVehicle as ChargeCaptureParamsPaymentDetailsCarRentalDatumVehicle, ChargeCaptureParamsPaymentDetailsCarRentalDelivery as ChargeCaptureParamsPaymentDetailsCarRentalDelivery, ChargeCaptureParamsPaymentDetailsCarRentalDeliveryRecipient as ChargeCaptureParamsPaymentDetailsCarRentalDeliveryRecipient, ChargeCaptureParamsPaymentDetailsCarRentalDistance as ChargeCaptureParamsPaymentDetailsCarRentalDistance, @@ -685,6 +709,18 @@ ChargeCaptureParamsPaymentDetailsEventDetailsDeliveryRecipient as ChargeCaptureParamsPaymentDetailsEventDetailsDeliveryRecipient, ChargeCaptureParamsPaymentDetailsFlight as ChargeCaptureParamsPaymentDetailsFlight, ChargeCaptureParamsPaymentDetailsFlightAffiliate as ChargeCaptureParamsPaymentDetailsFlightAffiliate, + ChargeCaptureParamsPaymentDetailsFlightDatum as ChargeCaptureParamsPaymentDetailsFlightDatum, + ChargeCaptureParamsPaymentDetailsFlightDatumAffiliate as ChargeCaptureParamsPaymentDetailsFlightDatumAffiliate, + ChargeCaptureParamsPaymentDetailsFlightDatumInsurance as ChargeCaptureParamsPaymentDetailsFlightDatumInsurance, + ChargeCaptureParamsPaymentDetailsFlightDatumPassenger as ChargeCaptureParamsPaymentDetailsFlightDatumPassenger, + ChargeCaptureParamsPaymentDetailsFlightDatumSegment as ChargeCaptureParamsPaymentDetailsFlightDatumSegment, + ChargeCaptureParamsPaymentDetailsFlightDatumSegmentArrival as ChargeCaptureParamsPaymentDetailsFlightDatumSegmentArrival, + ChargeCaptureParamsPaymentDetailsFlightDatumSegmentDeparture as ChargeCaptureParamsPaymentDetailsFlightDatumSegmentDeparture, + ChargeCaptureParamsPaymentDetailsFlightDatumTotal as ChargeCaptureParamsPaymentDetailsFlightDatumTotal, + ChargeCaptureParamsPaymentDetailsFlightDatumTotalDiscounts as ChargeCaptureParamsPaymentDetailsFlightDatumTotalDiscounts, + ChargeCaptureParamsPaymentDetailsFlightDatumTotalExtraCharge as ChargeCaptureParamsPaymentDetailsFlightDatumTotalExtraCharge, + ChargeCaptureParamsPaymentDetailsFlightDatumTotalTax as ChargeCaptureParamsPaymentDetailsFlightDatumTotalTax, + ChargeCaptureParamsPaymentDetailsFlightDatumTotalTaxTax as ChargeCaptureParamsPaymentDetailsFlightDatumTotalTaxTax, ChargeCaptureParamsPaymentDetailsFlightDelivery as ChargeCaptureParamsPaymentDetailsFlightDelivery, ChargeCaptureParamsPaymentDetailsFlightDeliveryRecipient as ChargeCaptureParamsPaymentDetailsFlightDeliveryRecipient, ChargeCaptureParamsPaymentDetailsFlightPassenger as ChargeCaptureParamsPaymentDetailsFlightPassenger, @@ -692,6 +728,18 @@ ChargeCaptureParamsPaymentDetailsLodging as ChargeCaptureParamsPaymentDetailsLodging, ChargeCaptureParamsPaymentDetailsLodgingAddress as ChargeCaptureParamsPaymentDetailsLodgingAddress, ChargeCaptureParamsPaymentDetailsLodgingAffiliate as ChargeCaptureParamsPaymentDetailsLodgingAffiliate, + ChargeCaptureParamsPaymentDetailsLodgingDatum as ChargeCaptureParamsPaymentDetailsLodgingDatum, + ChargeCaptureParamsPaymentDetailsLodgingDatumAccommodation as ChargeCaptureParamsPaymentDetailsLodgingDatumAccommodation, + ChargeCaptureParamsPaymentDetailsLodgingDatumAffiliate as ChargeCaptureParamsPaymentDetailsLodgingDatumAffiliate, + ChargeCaptureParamsPaymentDetailsLodgingDatumGuest as ChargeCaptureParamsPaymentDetailsLodgingDatumGuest, + ChargeCaptureParamsPaymentDetailsLodgingDatumHost as ChargeCaptureParamsPaymentDetailsLodgingDatumHost, + ChargeCaptureParamsPaymentDetailsLodgingDatumHostAddress as ChargeCaptureParamsPaymentDetailsLodgingDatumHostAddress, + ChargeCaptureParamsPaymentDetailsLodgingDatumInsurance as ChargeCaptureParamsPaymentDetailsLodgingDatumInsurance, + ChargeCaptureParamsPaymentDetailsLodgingDatumTotal as ChargeCaptureParamsPaymentDetailsLodgingDatumTotal, + ChargeCaptureParamsPaymentDetailsLodgingDatumTotalDiscounts as ChargeCaptureParamsPaymentDetailsLodgingDatumTotalDiscounts, + ChargeCaptureParamsPaymentDetailsLodgingDatumTotalExtraCharge as ChargeCaptureParamsPaymentDetailsLodgingDatumTotalExtraCharge, + ChargeCaptureParamsPaymentDetailsLodgingDatumTotalTax as ChargeCaptureParamsPaymentDetailsLodgingDatumTotalTax, + ChargeCaptureParamsPaymentDetailsLodgingDatumTotalTaxTax as ChargeCaptureParamsPaymentDetailsLodgingDatumTotalTaxTax, ChargeCaptureParamsPaymentDetailsLodgingDelivery as ChargeCaptureParamsPaymentDetailsLodgingDelivery, ChargeCaptureParamsPaymentDetailsLodgingDeliveryRecipient as ChargeCaptureParamsPaymentDetailsLodgingDeliveryRecipient, ChargeCaptureParamsPaymentDetailsLodgingPassenger as ChargeCaptureParamsPaymentDetailsLodgingPassenger, @@ -721,6 +769,22 @@ ChargeModifyParamsPaymentDetails as ChargeModifyParamsPaymentDetails, ChargeModifyParamsPaymentDetailsCarRental as ChargeModifyParamsPaymentDetailsCarRental, ChargeModifyParamsPaymentDetailsCarRentalAffiliate as ChargeModifyParamsPaymentDetailsCarRentalAffiliate, + ChargeModifyParamsPaymentDetailsCarRentalDatum as ChargeModifyParamsPaymentDetailsCarRentalDatum, + ChargeModifyParamsPaymentDetailsCarRentalDatumAffiliate as ChargeModifyParamsPaymentDetailsCarRentalDatumAffiliate, + ChargeModifyParamsPaymentDetailsCarRentalDatumDistance as ChargeModifyParamsPaymentDetailsCarRentalDatumDistance, + ChargeModifyParamsPaymentDetailsCarRentalDatumDriver as ChargeModifyParamsPaymentDetailsCarRentalDatumDriver, + ChargeModifyParamsPaymentDetailsCarRentalDatumDriverDateOfBirth as ChargeModifyParamsPaymentDetailsCarRentalDatumDriverDateOfBirth, + ChargeModifyParamsPaymentDetailsCarRentalDatumDropOff as ChargeModifyParamsPaymentDetailsCarRentalDatumDropOff, + ChargeModifyParamsPaymentDetailsCarRentalDatumDropOffAddress as ChargeModifyParamsPaymentDetailsCarRentalDatumDropOffAddress, + ChargeModifyParamsPaymentDetailsCarRentalDatumInsurance as ChargeModifyParamsPaymentDetailsCarRentalDatumInsurance, + ChargeModifyParamsPaymentDetailsCarRentalDatumPickup as ChargeModifyParamsPaymentDetailsCarRentalDatumPickup, + ChargeModifyParamsPaymentDetailsCarRentalDatumPickupAddress as ChargeModifyParamsPaymentDetailsCarRentalDatumPickupAddress, + ChargeModifyParamsPaymentDetailsCarRentalDatumTotal as ChargeModifyParamsPaymentDetailsCarRentalDatumTotal, + ChargeModifyParamsPaymentDetailsCarRentalDatumTotalDiscounts as ChargeModifyParamsPaymentDetailsCarRentalDatumTotalDiscounts, + ChargeModifyParamsPaymentDetailsCarRentalDatumTotalExtraCharge as ChargeModifyParamsPaymentDetailsCarRentalDatumTotalExtraCharge, + ChargeModifyParamsPaymentDetailsCarRentalDatumTotalTax as ChargeModifyParamsPaymentDetailsCarRentalDatumTotalTax, + ChargeModifyParamsPaymentDetailsCarRentalDatumTotalTaxTax as ChargeModifyParamsPaymentDetailsCarRentalDatumTotalTaxTax, + ChargeModifyParamsPaymentDetailsCarRentalDatumVehicle as ChargeModifyParamsPaymentDetailsCarRentalDatumVehicle, ChargeModifyParamsPaymentDetailsCarRentalDelivery as ChargeModifyParamsPaymentDetailsCarRentalDelivery, ChargeModifyParamsPaymentDetailsCarRentalDeliveryRecipient as ChargeModifyParamsPaymentDetailsCarRentalDeliveryRecipient, ChargeModifyParamsPaymentDetailsCarRentalDistance as ChargeModifyParamsPaymentDetailsCarRentalDistance, @@ -734,6 +798,18 @@ ChargeModifyParamsPaymentDetailsEventDetailsDeliveryRecipient as ChargeModifyParamsPaymentDetailsEventDetailsDeliveryRecipient, ChargeModifyParamsPaymentDetailsFlight as ChargeModifyParamsPaymentDetailsFlight, ChargeModifyParamsPaymentDetailsFlightAffiliate as ChargeModifyParamsPaymentDetailsFlightAffiliate, + ChargeModifyParamsPaymentDetailsFlightDatum as ChargeModifyParamsPaymentDetailsFlightDatum, + ChargeModifyParamsPaymentDetailsFlightDatumAffiliate as ChargeModifyParamsPaymentDetailsFlightDatumAffiliate, + ChargeModifyParamsPaymentDetailsFlightDatumInsurance as ChargeModifyParamsPaymentDetailsFlightDatumInsurance, + ChargeModifyParamsPaymentDetailsFlightDatumPassenger as ChargeModifyParamsPaymentDetailsFlightDatumPassenger, + ChargeModifyParamsPaymentDetailsFlightDatumSegment as ChargeModifyParamsPaymentDetailsFlightDatumSegment, + ChargeModifyParamsPaymentDetailsFlightDatumSegmentArrival as ChargeModifyParamsPaymentDetailsFlightDatumSegmentArrival, + ChargeModifyParamsPaymentDetailsFlightDatumSegmentDeparture as ChargeModifyParamsPaymentDetailsFlightDatumSegmentDeparture, + ChargeModifyParamsPaymentDetailsFlightDatumTotal as ChargeModifyParamsPaymentDetailsFlightDatumTotal, + ChargeModifyParamsPaymentDetailsFlightDatumTotalDiscounts as ChargeModifyParamsPaymentDetailsFlightDatumTotalDiscounts, + ChargeModifyParamsPaymentDetailsFlightDatumTotalExtraCharge as ChargeModifyParamsPaymentDetailsFlightDatumTotalExtraCharge, + ChargeModifyParamsPaymentDetailsFlightDatumTotalTax as ChargeModifyParamsPaymentDetailsFlightDatumTotalTax, + ChargeModifyParamsPaymentDetailsFlightDatumTotalTaxTax as ChargeModifyParamsPaymentDetailsFlightDatumTotalTaxTax, ChargeModifyParamsPaymentDetailsFlightDelivery as ChargeModifyParamsPaymentDetailsFlightDelivery, ChargeModifyParamsPaymentDetailsFlightDeliveryRecipient as ChargeModifyParamsPaymentDetailsFlightDeliveryRecipient, ChargeModifyParamsPaymentDetailsFlightPassenger as ChargeModifyParamsPaymentDetailsFlightPassenger, @@ -741,6 +817,18 @@ ChargeModifyParamsPaymentDetailsLodging as ChargeModifyParamsPaymentDetailsLodging, ChargeModifyParamsPaymentDetailsLodgingAddress as ChargeModifyParamsPaymentDetailsLodgingAddress, ChargeModifyParamsPaymentDetailsLodgingAffiliate as ChargeModifyParamsPaymentDetailsLodgingAffiliate, + ChargeModifyParamsPaymentDetailsLodgingDatum as ChargeModifyParamsPaymentDetailsLodgingDatum, + ChargeModifyParamsPaymentDetailsLodgingDatumAccommodation as ChargeModifyParamsPaymentDetailsLodgingDatumAccommodation, + ChargeModifyParamsPaymentDetailsLodgingDatumAffiliate as ChargeModifyParamsPaymentDetailsLodgingDatumAffiliate, + ChargeModifyParamsPaymentDetailsLodgingDatumGuest as ChargeModifyParamsPaymentDetailsLodgingDatumGuest, + ChargeModifyParamsPaymentDetailsLodgingDatumHost as ChargeModifyParamsPaymentDetailsLodgingDatumHost, + ChargeModifyParamsPaymentDetailsLodgingDatumHostAddress as ChargeModifyParamsPaymentDetailsLodgingDatumHostAddress, + ChargeModifyParamsPaymentDetailsLodgingDatumInsurance as ChargeModifyParamsPaymentDetailsLodgingDatumInsurance, + ChargeModifyParamsPaymentDetailsLodgingDatumTotal as ChargeModifyParamsPaymentDetailsLodgingDatumTotal, + ChargeModifyParamsPaymentDetailsLodgingDatumTotalDiscounts as ChargeModifyParamsPaymentDetailsLodgingDatumTotalDiscounts, + ChargeModifyParamsPaymentDetailsLodgingDatumTotalExtraCharge as ChargeModifyParamsPaymentDetailsLodgingDatumTotalExtraCharge, + ChargeModifyParamsPaymentDetailsLodgingDatumTotalTax as ChargeModifyParamsPaymentDetailsLodgingDatumTotalTax, + ChargeModifyParamsPaymentDetailsLodgingDatumTotalTaxTax as ChargeModifyParamsPaymentDetailsLodgingDatumTotalTaxTax, ChargeModifyParamsPaymentDetailsLodgingDelivery as ChargeModifyParamsPaymentDetailsLodgingDelivery, ChargeModifyParamsPaymentDetailsLodgingDeliveryRecipient as ChargeModifyParamsPaymentDetailsLodgingDeliveryRecipient, ChargeModifyParamsPaymentDetailsLodgingPassenger as ChargeModifyParamsPaymentDetailsLodgingPassenger, @@ -765,6 +853,22 @@ ChargeUpdateParamsPaymentDetails as ChargeUpdateParamsPaymentDetails, ChargeUpdateParamsPaymentDetailsCarRental as ChargeUpdateParamsPaymentDetailsCarRental, ChargeUpdateParamsPaymentDetailsCarRentalAffiliate as ChargeUpdateParamsPaymentDetailsCarRentalAffiliate, + ChargeUpdateParamsPaymentDetailsCarRentalDatum as ChargeUpdateParamsPaymentDetailsCarRentalDatum, + ChargeUpdateParamsPaymentDetailsCarRentalDatumAffiliate as ChargeUpdateParamsPaymentDetailsCarRentalDatumAffiliate, + ChargeUpdateParamsPaymentDetailsCarRentalDatumDistance as ChargeUpdateParamsPaymentDetailsCarRentalDatumDistance, + ChargeUpdateParamsPaymentDetailsCarRentalDatumDriver as ChargeUpdateParamsPaymentDetailsCarRentalDatumDriver, + ChargeUpdateParamsPaymentDetailsCarRentalDatumDriverDateOfBirth as ChargeUpdateParamsPaymentDetailsCarRentalDatumDriverDateOfBirth, + ChargeUpdateParamsPaymentDetailsCarRentalDatumDropOff as ChargeUpdateParamsPaymentDetailsCarRentalDatumDropOff, + ChargeUpdateParamsPaymentDetailsCarRentalDatumDropOffAddress as ChargeUpdateParamsPaymentDetailsCarRentalDatumDropOffAddress, + ChargeUpdateParamsPaymentDetailsCarRentalDatumInsurance as ChargeUpdateParamsPaymentDetailsCarRentalDatumInsurance, + ChargeUpdateParamsPaymentDetailsCarRentalDatumPickup as ChargeUpdateParamsPaymentDetailsCarRentalDatumPickup, + ChargeUpdateParamsPaymentDetailsCarRentalDatumPickupAddress as ChargeUpdateParamsPaymentDetailsCarRentalDatumPickupAddress, + ChargeUpdateParamsPaymentDetailsCarRentalDatumTotal as ChargeUpdateParamsPaymentDetailsCarRentalDatumTotal, + ChargeUpdateParamsPaymentDetailsCarRentalDatumTotalDiscounts as ChargeUpdateParamsPaymentDetailsCarRentalDatumTotalDiscounts, + ChargeUpdateParamsPaymentDetailsCarRentalDatumTotalExtraCharge as ChargeUpdateParamsPaymentDetailsCarRentalDatumTotalExtraCharge, + ChargeUpdateParamsPaymentDetailsCarRentalDatumTotalTax as ChargeUpdateParamsPaymentDetailsCarRentalDatumTotalTax, + ChargeUpdateParamsPaymentDetailsCarRentalDatumTotalTaxTax as ChargeUpdateParamsPaymentDetailsCarRentalDatumTotalTaxTax, + ChargeUpdateParamsPaymentDetailsCarRentalDatumVehicle as ChargeUpdateParamsPaymentDetailsCarRentalDatumVehicle, ChargeUpdateParamsPaymentDetailsCarRentalDelivery as ChargeUpdateParamsPaymentDetailsCarRentalDelivery, ChargeUpdateParamsPaymentDetailsCarRentalDeliveryRecipient as ChargeUpdateParamsPaymentDetailsCarRentalDeliveryRecipient, ChargeUpdateParamsPaymentDetailsCarRentalDistance as ChargeUpdateParamsPaymentDetailsCarRentalDistance, @@ -778,6 +882,18 @@ ChargeUpdateParamsPaymentDetailsEventDetailsDeliveryRecipient as ChargeUpdateParamsPaymentDetailsEventDetailsDeliveryRecipient, ChargeUpdateParamsPaymentDetailsFlight as ChargeUpdateParamsPaymentDetailsFlight, ChargeUpdateParamsPaymentDetailsFlightAffiliate as ChargeUpdateParamsPaymentDetailsFlightAffiliate, + ChargeUpdateParamsPaymentDetailsFlightDatum as ChargeUpdateParamsPaymentDetailsFlightDatum, + ChargeUpdateParamsPaymentDetailsFlightDatumAffiliate as ChargeUpdateParamsPaymentDetailsFlightDatumAffiliate, + ChargeUpdateParamsPaymentDetailsFlightDatumInsurance as ChargeUpdateParamsPaymentDetailsFlightDatumInsurance, + ChargeUpdateParamsPaymentDetailsFlightDatumPassenger as ChargeUpdateParamsPaymentDetailsFlightDatumPassenger, + ChargeUpdateParamsPaymentDetailsFlightDatumSegment as ChargeUpdateParamsPaymentDetailsFlightDatumSegment, + ChargeUpdateParamsPaymentDetailsFlightDatumSegmentArrival as ChargeUpdateParamsPaymentDetailsFlightDatumSegmentArrival, + ChargeUpdateParamsPaymentDetailsFlightDatumSegmentDeparture as ChargeUpdateParamsPaymentDetailsFlightDatumSegmentDeparture, + ChargeUpdateParamsPaymentDetailsFlightDatumTotal as ChargeUpdateParamsPaymentDetailsFlightDatumTotal, + ChargeUpdateParamsPaymentDetailsFlightDatumTotalDiscounts as ChargeUpdateParamsPaymentDetailsFlightDatumTotalDiscounts, + ChargeUpdateParamsPaymentDetailsFlightDatumTotalExtraCharge as ChargeUpdateParamsPaymentDetailsFlightDatumTotalExtraCharge, + ChargeUpdateParamsPaymentDetailsFlightDatumTotalTax as ChargeUpdateParamsPaymentDetailsFlightDatumTotalTax, + ChargeUpdateParamsPaymentDetailsFlightDatumTotalTaxTax as ChargeUpdateParamsPaymentDetailsFlightDatumTotalTaxTax, ChargeUpdateParamsPaymentDetailsFlightDelivery as ChargeUpdateParamsPaymentDetailsFlightDelivery, ChargeUpdateParamsPaymentDetailsFlightDeliveryRecipient as ChargeUpdateParamsPaymentDetailsFlightDeliveryRecipient, ChargeUpdateParamsPaymentDetailsFlightPassenger as ChargeUpdateParamsPaymentDetailsFlightPassenger, @@ -785,6 +901,18 @@ ChargeUpdateParamsPaymentDetailsLodging as ChargeUpdateParamsPaymentDetailsLodging, ChargeUpdateParamsPaymentDetailsLodgingAddress as ChargeUpdateParamsPaymentDetailsLodgingAddress, ChargeUpdateParamsPaymentDetailsLodgingAffiliate as ChargeUpdateParamsPaymentDetailsLodgingAffiliate, + ChargeUpdateParamsPaymentDetailsLodgingDatum as ChargeUpdateParamsPaymentDetailsLodgingDatum, + ChargeUpdateParamsPaymentDetailsLodgingDatumAccommodation as ChargeUpdateParamsPaymentDetailsLodgingDatumAccommodation, + ChargeUpdateParamsPaymentDetailsLodgingDatumAffiliate as ChargeUpdateParamsPaymentDetailsLodgingDatumAffiliate, + ChargeUpdateParamsPaymentDetailsLodgingDatumGuest as ChargeUpdateParamsPaymentDetailsLodgingDatumGuest, + ChargeUpdateParamsPaymentDetailsLodgingDatumHost as ChargeUpdateParamsPaymentDetailsLodgingDatumHost, + ChargeUpdateParamsPaymentDetailsLodgingDatumHostAddress as ChargeUpdateParamsPaymentDetailsLodgingDatumHostAddress, + ChargeUpdateParamsPaymentDetailsLodgingDatumInsurance as ChargeUpdateParamsPaymentDetailsLodgingDatumInsurance, + ChargeUpdateParamsPaymentDetailsLodgingDatumTotal as ChargeUpdateParamsPaymentDetailsLodgingDatumTotal, + ChargeUpdateParamsPaymentDetailsLodgingDatumTotalDiscounts as ChargeUpdateParamsPaymentDetailsLodgingDatumTotalDiscounts, + ChargeUpdateParamsPaymentDetailsLodgingDatumTotalExtraCharge as ChargeUpdateParamsPaymentDetailsLodgingDatumTotalExtraCharge, + ChargeUpdateParamsPaymentDetailsLodgingDatumTotalTax as ChargeUpdateParamsPaymentDetailsLodgingDatumTotalTax, + ChargeUpdateParamsPaymentDetailsLodgingDatumTotalTaxTax as ChargeUpdateParamsPaymentDetailsLodgingDatumTotalTaxTax, ChargeUpdateParamsPaymentDetailsLodgingDelivery as ChargeUpdateParamsPaymentDetailsLodgingDelivery, ChargeUpdateParamsPaymentDetailsLodgingDeliveryRecipient as ChargeUpdateParamsPaymentDetailsLodgingDeliveryRecipient, ChargeUpdateParamsPaymentDetailsLodgingPassenger as ChargeUpdateParamsPaymentDetailsLodgingPassenger, @@ -958,6 +1086,7 @@ ) from stripe.params._customer_balance_transaction_list_params import ( CustomerBalanceTransactionListParams as CustomerBalanceTransactionListParams, + CustomerBalanceTransactionListParamsCreated as CustomerBalanceTransactionListParamsCreated, ) from stripe.params._customer_balance_transaction_retrieve_params import ( CustomerBalanceTransactionRetrieveParams as CustomerBalanceTransactionRetrieveParams, @@ -1027,6 +1156,7 @@ ) from stripe.params._customer_list_balance_transactions_params import ( CustomerListBalanceTransactionsParams as CustomerListBalanceTransactionsParams, + CustomerListBalanceTransactionsParamsCreated as CustomerListBalanceTransactionsParamsCreated, ) from stripe.params._customer_list_cash_balance_transactions_params import ( CustomerListCashBalanceTransactionsParams as CustomerListCashBalanceTransactionsParams, @@ -1550,6 +1680,7 @@ ) from stripe.params._invoice_payment_list_params import ( InvoicePaymentListParams as InvoicePaymentListParams, + InvoicePaymentListParamsCreated as InvoicePaymentListParamsCreated, InvoicePaymentListParamsPayment as InvoicePaymentListParamsPayment, ) from stripe.params._invoice_payment_retrieve_params import ( @@ -1691,6 +1822,42 @@ OrderCreateParamsPaymentSettingsPaymentMethodOptionsKlarnaOnDemand as OrderCreateParamsPaymentSettingsPaymentMethodOptionsKlarnaOnDemand, OrderCreateParamsPaymentSettingsPaymentMethodOptionsKlarnaSubscription as OrderCreateParamsPaymentSettingsPaymentMethodOptionsKlarnaSubscription, OrderCreateParamsPaymentSettingsPaymentMethodOptionsKlarnaSubscriptionNextBilling as OrderCreateParamsPaymentSettingsPaymentMethodOptionsKlarnaSubscriptionNextBilling, + OrderCreateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseData as OrderCreateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseData, + OrderCreateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataBusReservationDetail as OrderCreateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataBusReservationDetail, + OrderCreateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataBusReservationDetailArrival as OrderCreateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataBusReservationDetailArrival, + OrderCreateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataBusReservationDetailArrivalAddress as OrderCreateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataBusReservationDetailArrivalAddress, + OrderCreateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataBusReservationDetailDeparture as OrderCreateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataBusReservationDetailDeparture, + OrderCreateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataBusReservationDetailDepartureAddress as OrderCreateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataBusReservationDetailDepartureAddress, + OrderCreateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataBusReservationDetailInsurance as OrderCreateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataBusReservationDetailInsurance, + OrderCreateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataBusReservationDetailPassenger as OrderCreateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataBusReservationDetailPassenger, + OrderCreateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataEventReservationDetail as OrderCreateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataEventReservationDetail, + OrderCreateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataEventReservationDetailAddress as OrderCreateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataEventReservationDetailAddress, + OrderCreateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataEventReservationDetailInsurance as OrderCreateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataEventReservationDetailInsurance, + OrderCreateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataFerryReservationDetail as OrderCreateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataFerryReservationDetail, + OrderCreateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataFerryReservationDetailArrival as OrderCreateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataFerryReservationDetailArrival, + OrderCreateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataFerryReservationDetailArrivalAddress as OrderCreateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataFerryReservationDetailArrivalAddress, + OrderCreateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataFerryReservationDetailDeparture as OrderCreateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataFerryReservationDetailDeparture, + OrderCreateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataFerryReservationDetailDepartureAddress as OrderCreateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataFerryReservationDetailDepartureAddress, + OrderCreateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataFerryReservationDetailInsurance as OrderCreateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataFerryReservationDetailInsurance, + OrderCreateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataFerryReservationDetailPassenger as OrderCreateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataFerryReservationDetailPassenger, + OrderCreateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataInsurance as OrderCreateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataInsurance, + OrderCreateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataMarketplaceSeller as OrderCreateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataMarketplaceSeller, + OrderCreateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataMarketplaceSellerMarketplaceSellerAddress as OrderCreateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataMarketplaceSellerMarketplaceSellerAddress, + OrderCreateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataRoundTripReservationDetail as OrderCreateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataRoundTripReservationDetail, + OrderCreateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataRoundTripReservationDetailArrival as OrderCreateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataRoundTripReservationDetailArrival, + OrderCreateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataRoundTripReservationDetailArrivalAddress as OrderCreateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataRoundTripReservationDetailArrivalAddress, + OrderCreateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataRoundTripReservationDetailDeparture as OrderCreateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataRoundTripReservationDetailDeparture, + OrderCreateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataRoundTripReservationDetailDepartureAddress as OrderCreateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataRoundTripReservationDetailDepartureAddress, + OrderCreateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataRoundTripReservationDetailInsurance as OrderCreateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataRoundTripReservationDetailInsurance, + OrderCreateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataRoundTripReservationDetailPassenger as OrderCreateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataRoundTripReservationDetailPassenger, + OrderCreateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataTrainReservationDetail as OrderCreateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataTrainReservationDetail, + OrderCreateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataTrainReservationDetailArrival as OrderCreateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataTrainReservationDetailArrival, + OrderCreateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataTrainReservationDetailArrivalAddress as OrderCreateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataTrainReservationDetailArrivalAddress, + OrderCreateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataTrainReservationDetailDeparture as OrderCreateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataTrainReservationDetailDeparture, + OrderCreateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataTrainReservationDetailDepartureAddress as OrderCreateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataTrainReservationDetailDepartureAddress, + OrderCreateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataTrainReservationDetailInsurance as OrderCreateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataTrainReservationDetailInsurance, + OrderCreateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataTrainReservationDetailPassenger as OrderCreateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataTrainReservationDetailPassenger, + OrderCreateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataVoucher as OrderCreateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataVoucher, OrderCreateParamsPaymentSettingsPaymentMethodOptionsLink as OrderCreateParamsPaymentSettingsPaymentMethodOptionsLink, OrderCreateParamsPaymentSettingsPaymentMethodOptionsOxxo as OrderCreateParamsPaymentSettingsPaymentMethodOptionsOxxo, OrderCreateParamsPaymentSettingsPaymentMethodOptionsP24 as OrderCreateParamsPaymentSettingsPaymentMethodOptionsP24, @@ -1751,6 +1918,42 @@ OrderModifyParamsPaymentSettingsPaymentMethodOptionsKlarnaOnDemand as OrderModifyParamsPaymentSettingsPaymentMethodOptionsKlarnaOnDemand, OrderModifyParamsPaymentSettingsPaymentMethodOptionsKlarnaSubscription as OrderModifyParamsPaymentSettingsPaymentMethodOptionsKlarnaSubscription, OrderModifyParamsPaymentSettingsPaymentMethodOptionsKlarnaSubscriptionNextBilling as OrderModifyParamsPaymentSettingsPaymentMethodOptionsKlarnaSubscriptionNextBilling, + OrderModifyParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseData as OrderModifyParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseData, + OrderModifyParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataBusReservationDetail as OrderModifyParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataBusReservationDetail, + OrderModifyParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataBusReservationDetailArrival as OrderModifyParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataBusReservationDetailArrival, + OrderModifyParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataBusReservationDetailArrivalAddress as OrderModifyParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataBusReservationDetailArrivalAddress, + OrderModifyParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataBusReservationDetailDeparture as OrderModifyParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataBusReservationDetailDeparture, + OrderModifyParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataBusReservationDetailDepartureAddress as OrderModifyParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataBusReservationDetailDepartureAddress, + OrderModifyParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataBusReservationDetailInsurance as OrderModifyParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataBusReservationDetailInsurance, + OrderModifyParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataBusReservationDetailPassenger as OrderModifyParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataBusReservationDetailPassenger, + OrderModifyParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataEventReservationDetail as OrderModifyParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataEventReservationDetail, + OrderModifyParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataEventReservationDetailAddress as OrderModifyParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataEventReservationDetailAddress, + OrderModifyParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataEventReservationDetailInsurance as OrderModifyParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataEventReservationDetailInsurance, + OrderModifyParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataFerryReservationDetail as OrderModifyParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataFerryReservationDetail, + OrderModifyParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataFerryReservationDetailArrival as OrderModifyParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataFerryReservationDetailArrival, + OrderModifyParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataFerryReservationDetailArrivalAddress as OrderModifyParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataFerryReservationDetailArrivalAddress, + OrderModifyParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataFerryReservationDetailDeparture as OrderModifyParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataFerryReservationDetailDeparture, + OrderModifyParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataFerryReservationDetailDepartureAddress as OrderModifyParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataFerryReservationDetailDepartureAddress, + OrderModifyParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataFerryReservationDetailInsurance as OrderModifyParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataFerryReservationDetailInsurance, + OrderModifyParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataFerryReservationDetailPassenger as OrderModifyParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataFerryReservationDetailPassenger, + OrderModifyParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataInsurance as OrderModifyParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataInsurance, + OrderModifyParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataMarketplaceSeller as OrderModifyParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataMarketplaceSeller, + OrderModifyParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataMarketplaceSellerMarketplaceSellerAddress as OrderModifyParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataMarketplaceSellerMarketplaceSellerAddress, + OrderModifyParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataRoundTripReservationDetail as OrderModifyParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataRoundTripReservationDetail, + OrderModifyParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataRoundTripReservationDetailArrival as OrderModifyParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataRoundTripReservationDetailArrival, + OrderModifyParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataRoundTripReservationDetailArrivalAddress as OrderModifyParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataRoundTripReservationDetailArrivalAddress, + OrderModifyParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataRoundTripReservationDetailDeparture as OrderModifyParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataRoundTripReservationDetailDeparture, + OrderModifyParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataRoundTripReservationDetailDepartureAddress as OrderModifyParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataRoundTripReservationDetailDepartureAddress, + OrderModifyParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataRoundTripReservationDetailInsurance as OrderModifyParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataRoundTripReservationDetailInsurance, + OrderModifyParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataRoundTripReservationDetailPassenger as OrderModifyParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataRoundTripReservationDetailPassenger, + OrderModifyParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataTrainReservationDetail as OrderModifyParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataTrainReservationDetail, + OrderModifyParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataTrainReservationDetailArrival as OrderModifyParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataTrainReservationDetailArrival, + OrderModifyParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataTrainReservationDetailArrivalAddress as OrderModifyParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataTrainReservationDetailArrivalAddress, + OrderModifyParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataTrainReservationDetailDeparture as OrderModifyParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataTrainReservationDetailDeparture, + OrderModifyParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataTrainReservationDetailDepartureAddress as OrderModifyParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataTrainReservationDetailDepartureAddress, + OrderModifyParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataTrainReservationDetailInsurance as OrderModifyParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataTrainReservationDetailInsurance, + OrderModifyParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataTrainReservationDetailPassenger as OrderModifyParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataTrainReservationDetailPassenger, + OrderModifyParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataVoucher as OrderModifyParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataVoucher, OrderModifyParamsPaymentSettingsPaymentMethodOptionsLink as OrderModifyParamsPaymentSettingsPaymentMethodOptionsLink, OrderModifyParamsPaymentSettingsPaymentMethodOptionsOxxo as OrderModifyParamsPaymentSettingsPaymentMethodOptionsOxxo, OrderModifyParamsPaymentSettingsPaymentMethodOptionsP24 as OrderModifyParamsPaymentSettingsPaymentMethodOptionsP24, @@ -1811,6 +2014,42 @@ OrderUpdateParamsPaymentSettingsPaymentMethodOptionsKlarnaOnDemand as OrderUpdateParamsPaymentSettingsPaymentMethodOptionsKlarnaOnDemand, OrderUpdateParamsPaymentSettingsPaymentMethodOptionsKlarnaSubscription as OrderUpdateParamsPaymentSettingsPaymentMethodOptionsKlarnaSubscription, OrderUpdateParamsPaymentSettingsPaymentMethodOptionsKlarnaSubscriptionNextBilling as OrderUpdateParamsPaymentSettingsPaymentMethodOptionsKlarnaSubscriptionNextBilling, + OrderUpdateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseData as OrderUpdateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseData, + OrderUpdateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataBusReservationDetail as OrderUpdateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataBusReservationDetail, + OrderUpdateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataBusReservationDetailArrival as OrderUpdateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataBusReservationDetailArrival, + OrderUpdateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataBusReservationDetailArrivalAddress as OrderUpdateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataBusReservationDetailArrivalAddress, + OrderUpdateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataBusReservationDetailDeparture as OrderUpdateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataBusReservationDetailDeparture, + OrderUpdateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataBusReservationDetailDepartureAddress as OrderUpdateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataBusReservationDetailDepartureAddress, + OrderUpdateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataBusReservationDetailInsurance as OrderUpdateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataBusReservationDetailInsurance, + OrderUpdateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataBusReservationDetailPassenger as OrderUpdateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataBusReservationDetailPassenger, + OrderUpdateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataEventReservationDetail as OrderUpdateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataEventReservationDetail, + OrderUpdateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataEventReservationDetailAddress as OrderUpdateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataEventReservationDetailAddress, + OrderUpdateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataEventReservationDetailInsurance as OrderUpdateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataEventReservationDetailInsurance, + OrderUpdateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataFerryReservationDetail as OrderUpdateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataFerryReservationDetail, + OrderUpdateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataFerryReservationDetailArrival as OrderUpdateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataFerryReservationDetailArrival, + OrderUpdateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataFerryReservationDetailArrivalAddress as OrderUpdateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataFerryReservationDetailArrivalAddress, + OrderUpdateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataFerryReservationDetailDeparture as OrderUpdateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataFerryReservationDetailDeparture, + OrderUpdateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataFerryReservationDetailDepartureAddress as OrderUpdateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataFerryReservationDetailDepartureAddress, + OrderUpdateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataFerryReservationDetailInsurance as OrderUpdateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataFerryReservationDetailInsurance, + OrderUpdateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataFerryReservationDetailPassenger as OrderUpdateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataFerryReservationDetailPassenger, + OrderUpdateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataInsurance as OrderUpdateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataInsurance, + OrderUpdateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataMarketplaceSeller as OrderUpdateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataMarketplaceSeller, + OrderUpdateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataMarketplaceSellerMarketplaceSellerAddress as OrderUpdateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataMarketplaceSellerMarketplaceSellerAddress, + OrderUpdateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataRoundTripReservationDetail as OrderUpdateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataRoundTripReservationDetail, + OrderUpdateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataRoundTripReservationDetailArrival as OrderUpdateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataRoundTripReservationDetailArrival, + OrderUpdateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataRoundTripReservationDetailArrivalAddress as OrderUpdateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataRoundTripReservationDetailArrivalAddress, + OrderUpdateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataRoundTripReservationDetailDeparture as OrderUpdateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataRoundTripReservationDetailDeparture, + OrderUpdateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataRoundTripReservationDetailDepartureAddress as OrderUpdateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataRoundTripReservationDetailDepartureAddress, + OrderUpdateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataRoundTripReservationDetailInsurance as OrderUpdateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataRoundTripReservationDetailInsurance, + OrderUpdateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataRoundTripReservationDetailPassenger as OrderUpdateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataRoundTripReservationDetailPassenger, + OrderUpdateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataTrainReservationDetail as OrderUpdateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataTrainReservationDetail, + OrderUpdateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataTrainReservationDetailArrival as OrderUpdateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataTrainReservationDetailArrival, + OrderUpdateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataTrainReservationDetailArrivalAddress as OrderUpdateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataTrainReservationDetailArrivalAddress, + OrderUpdateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataTrainReservationDetailDeparture as OrderUpdateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataTrainReservationDetailDeparture, + OrderUpdateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataTrainReservationDetailDepartureAddress as OrderUpdateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataTrainReservationDetailDepartureAddress, + OrderUpdateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataTrainReservationDetailInsurance as OrderUpdateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataTrainReservationDetailInsurance, + OrderUpdateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataTrainReservationDetailPassenger as OrderUpdateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataTrainReservationDetailPassenger, + OrderUpdateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataVoucher as OrderUpdateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataVoucher, OrderUpdateParamsPaymentSettingsPaymentMethodOptionsLink as OrderUpdateParamsPaymentSettingsPaymentMethodOptionsLink, OrderUpdateParamsPaymentSettingsPaymentMethodOptionsOxxo as OrderUpdateParamsPaymentSettingsPaymentMethodOptionsOxxo, OrderUpdateParamsPaymentSettingsPaymentMethodOptionsP24 as OrderUpdateParamsPaymentSettingsPaymentMethodOptionsP24, @@ -1867,6 +2106,22 @@ PaymentIntentCaptureParamsPaymentDetails as PaymentIntentCaptureParamsPaymentDetails, PaymentIntentCaptureParamsPaymentDetailsCarRental as PaymentIntentCaptureParamsPaymentDetailsCarRental, PaymentIntentCaptureParamsPaymentDetailsCarRentalAffiliate as PaymentIntentCaptureParamsPaymentDetailsCarRentalAffiliate, + PaymentIntentCaptureParamsPaymentDetailsCarRentalDatum as PaymentIntentCaptureParamsPaymentDetailsCarRentalDatum, + PaymentIntentCaptureParamsPaymentDetailsCarRentalDatumAffiliate as PaymentIntentCaptureParamsPaymentDetailsCarRentalDatumAffiliate, + PaymentIntentCaptureParamsPaymentDetailsCarRentalDatumDistance as PaymentIntentCaptureParamsPaymentDetailsCarRentalDatumDistance, + PaymentIntentCaptureParamsPaymentDetailsCarRentalDatumDriver as PaymentIntentCaptureParamsPaymentDetailsCarRentalDatumDriver, + PaymentIntentCaptureParamsPaymentDetailsCarRentalDatumDriverDateOfBirth as PaymentIntentCaptureParamsPaymentDetailsCarRentalDatumDriverDateOfBirth, + PaymentIntentCaptureParamsPaymentDetailsCarRentalDatumDropOff as PaymentIntentCaptureParamsPaymentDetailsCarRentalDatumDropOff, + PaymentIntentCaptureParamsPaymentDetailsCarRentalDatumDropOffAddress as PaymentIntentCaptureParamsPaymentDetailsCarRentalDatumDropOffAddress, + PaymentIntentCaptureParamsPaymentDetailsCarRentalDatumInsurance as PaymentIntentCaptureParamsPaymentDetailsCarRentalDatumInsurance, + PaymentIntentCaptureParamsPaymentDetailsCarRentalDatumPickup as PaymentIntentCaptureParamsPaymentDetailsCarRentalDatumPickup, + PaymentIntentCaptureParamsPaymentDetailsCarRentalDatumPickupAddress as PaymentIntentCaptureParamsPaymentDetailsCarRentalDatumPickupAddress, + PaymentIntentCaptureParamsPaymentDetailsCarRentalDatumTotal as PaymentIntentCaptureParamsPaymentDetailsCarRentalDatumTotal, + PaymentIntentCaptureParamsPaymentDetailsCarRentalDatumTotalDiscounts as PaymentIntentCaptureParamsPaymentDetailsCarRentalDatumTotalDiscounts, + PaymentIntentCaptureParamsPaymentDetailsCarRentalDatumTotalExtraCharge as PaymentIntentCaptureParamsPaymentDetailsCarRentalDatumTotalExtraCharge, + PaymentIntentCaptureParamsPaymentDetailsCarRentalDatumTotalTax as PaymentIntentCaptureParamsPaymentDetailsCarRentalDatumTotalTax, + PaymentIntentCaptureParamsPaymentDetailsCarRentalDatumTotalTaxTax as PaymentIntentCaptureParamsPaymentDetailsCarRentalDatumTotalTaxTax, + PaymentIntentCaptureParamsPaymentDetailsCarRentalDatumVehicle as PaymentIntentCaptureParamsPaymentDetailsCarRentalDatumVehicle, PaymentIntentCaptureParamsPaymentDetailsCarRentalDelivery as PaymentIntentCaptureParamsPaymentDetailsCarRentalDelivery, PaymentIntentCaptureParamsPaymentDetailsCarRentalDeliveryRecipient as PaymentIntentCaptureParamsPaymentDetailsCarRentalDeliveryRecipient, PaymentIntentCaptureParamsPaymentDetailsCarRentalDistance as PaymentIntentCaptureParamsPaymentDetailsCarRentalDistance, @@ -1880,6 +2135,18 @@ PaymentIntentCaptureParamsPaymentDetailsEventDetailsDeliveryRecipient as PaymentIntentCaptureParamsPaymentDetailsEventDetailsDeliveryRecipient, PaymentIntentCaptureParamsPaymentDetailsFlight as PaymentIntentCaptureParamsPaymentDetailsFlight, PaymentIntentCaptureParamsPaymentDetailsFlightAffiliate as PaymentIntentCaptureParamsPaymentDetailsFlightAffiliate, + PaymentIntentCaptureParamsPaymentDetailsFlightDatum as PaymentIntentCaptureParamsPaymentDetailsFlightDatum, + PaymentIntentCaptureParamsPaymentDetailsFlightDatumAffiliate as PaymentIntentCaptureParamsPaymentDetailsFlightDatumAffiliate, + PaymentIntentCaptureParamsPaymentDetailsFlightDatumInsurance as PaymentIntentCaptureParamsPaymentDetailsFlightDatumInsurance, + PaymentIntentCaptureParamsPaymentDetailsFlightDatumPassenger as PaymentIntentCaptureParamsPaymentDetailsFlightDatumPassenger, + PaymentIntentCaptureParamsPaymentDetailsFlightDatumSegment as PaymentIntentCaptureParamsPaymentDetailsFlightDatumSegment, + PaymentIntentCaptureParamsPaymentDetailsFlightDatumSegmentArrival as PaymentIntentCaptureParamsPaymentDetailsFlightDatumSegmentArrival, + PaymentIntentCaptureParamsPaymentDetailsFlightDatumSegmentDeparture as PaymentIntentCaptureParamsPaymentDetailsFlightDatumSegmentDeparture, + PaymentIntentCaptureParamsPaymentDetailsFlightDatumTotal as PaymentIntentCaptureParamsPaymentDetailsFlightDatumTotal, + PaymentIntentCaptureParamsPaymentDetailsFlightDatumTotalDiscounts as PaymentIntentCaptureParamsPaymentDetailsFlightDatumTotalDiscounts, + PaymentIntentCaptureParamsPaymentDetailsFlightDatumTotalExtraCharge as PaymentIntentCaptureParamsPaymentDetailsFlightDatumTotalExtraCharge, + PaymentIntentCaptureParamsPaymentDetailsFlightDatumTotalTax as PaymentIntentCaptureParamsPaymentDetailsFlightDatumTotalTax, + PaymentIntentCaptureParamsPaymentDetailsFlightDatumTotalTaxTax as PaymentIntentCaptureParamsPaymentDetailsFlightDatumTotalTaxTax, PaymentIntentCaptureParamsPaymentDetailsFlightDelivery as PaymentIntentCaptureParamsPaymentDetailsFlightDelivery, PaymentIntentCaptureParamsPaymentDetailsFlightDeliveryRecipient as PaymentIntentCaptureParamsPaymentDetailsFlightDeliveryRecipient, PaymentIntentCaptureParamsPaymentDetailsFlightPassenger as PaymentIntentCaptureParamsPaymentDetailsFlightPassenger, @@ -1887,6 +2154,18 @@ PaymentIntentCaptureParamsPaymentDetailsLodging as PaymentIntentCaptureParamsPaymentDetailsLodging, PaymentIntentCaptureParamsPaymentDetailsLodgingAddress as PaymentIntentCaptureParamsPaymentDetailsLodgingAddress, PaymentIntentCaptureParamsPaymentDetailsLodgingAffiliate as PaymentIntentCaptureParamsPaymentDetailsLodgingAffiliate, + PaymentIntentCaptureParamsPaymentDetailsLodgingDatum as PaymentIntentCaptureParamsPaymentDetailsLodgingDatum, + PaymentIntentCaptureParamsPaymentDetailsLodgingDatumAccommodation as PaymentIntentCaptureParamsPaymentDetailsLodgingDatumAccommodation, + PaymentIntentCaptureParamsPaymentDetailsLodgingDatumAffiliate as PaymentIntentCaptureParamsPaymentDetailsLodgingDatumAffiliate, + PaymentIntentCaptureParamsPaymentDetailsLodgingDatumGuest as PaymentIntentCaptureParamsPaymentDetailsLodgingDatumGuest, + PaymentIntentCaptureParamsPaymentDetailsLodgingDatumHost as PaymentIntentCaptureParamsPaymentDetailsLodgingDatumHost, + PaymentIntentCaptureParamsPaymentDetailsLodgingDatumHostAddress as PaymentIntentCaptureParamsPaymentDetailsLodgingDatumHostAddress, + PaymentIntentCaptureParamsPaymentDetailsLodgingDatumInsurance as PaymentIntentCaptureParamsPaymentDetailsLodgingDatumInsurance, + PaymentIntentCaptureParamsPaymentDetailsLodgingDatumTotal as PaymentIntentCaptureParamsPaymentDetailsLodgingDatumTotal, + PaymentIntentCaptureParamsPaymentDetailsLodgingDatumTotalDiscounts as PaymentIntentCaptureParamsPaymentDetailsLodgingDatumTotalDiscounts, + PaymentIntentCaptureParamsPaymentDetailsLodgingDatumTotalExtraCharge as PaymentIntentCaptureParamsPaymentDetailsLodgingDatumTotalExtraCharge, + PaymentIntentCaptureParamsPaymentDetailsLodgingDatumTotalTax as PaymentIntentCaptureParamsPaymentDetailsLodgingDatumTotalTax, + PaymentIntentCaptureParamsPaymentDetailsLodgingDatumTotalTaxTax as PaymentIntentCaptureParamsPaymentDetailsLodgingDatumTotalTaxTax, PaymentIntentCaptureParamsPaymentDetailsLodgingDelivery as PaymentIntentCaptureParamsPaymentDetailsLodgingDelivery, PaymentIntentCaptureParamsPaymentDetailsLodgingDeliveryRecipient as PaymentIntentCaptureParamsPaymentDetailsLodgingDeliveryRecipient, PaymentIntentCaptureParamsPaymentDetailsLodgingPassenger as PaymentIntentCaptureParamsPaymentDetailsLodgingPassenger, @@ -1920,6 +2199,22 @@ PaymentIntentConfirmParamsPaymentDetailsBenefitFrMealVoucher as PaymentIntentConfirmParamsPaymentDetailsBenefitFrMealVoucher, PaymentIntentConfirmParamsPaymentDetailsCarRental as PaymentIntentConfirmParamsPaymentDetailsCarRental, PaymentIntentConfirmParamsPaymentDetailsCarRentalAffiliate as PaymentIntentConfirmParamsPaymentDetailsCarRentalAffiliate, + PaymentIntentConfirmParamsPaymentDetailsCarRentalDatum as PaymentIntentConfirmParamsPaymentDetailsCarRentalDatum, + PaymentIntentConfirmParamsPaymentDetailsCarRentalDatumAffiliate as PaymentIntentConfirmParamsPaymentDetailsCarRentalDatumAffiliate, + PaymentIntentConfirmParamsPaymentDetailsCarRentalDatumDistance as PaymentIntentConfirmParamsPaymentDetailsCarRentalDatumDistance, + PaymentIntentConfirmParamsPaymentDetailsCarRentalDatumDriver as PaymentIntentConfirmParamsPaymentDetailsCarRentalDatumDriver, + PaymentIntentConfirmParamsPaymentDetailsCarRentalDatumDriverDateOfBirth as PaymentIntentConfirmParamsPaymentDetailsCarRentalDatumDriverDateOfBirth, + PaymentIntentConfirmParamsPaymentDetailsCarRentalDatumDropOff as PaymentIntentConfirmParamsPaymentDetailsCarRentalDatumDropOff, + PaymentIntentConfirmParamsPaymentDetailsCarRentalDatumDropOffAddress as PaymentIntentConfirmParamsPaymentDetailsCarRentalDatumDropOffAddress, + PaymentIntentConfirmParamsPaymentDetailsCarRentalDatumInsurance as PaymentIntentConfirmParamsPaymentDetailsCarRentalDatumInsurance, + PaymentIntentConfirmParamsPaymentDetailsCarRentalDatumPickup as PaymentIntentConfirmParamsPaymentDetailsCarRentalDatumPickup, + PaymentIntentConfirmParamsPaymentDetailsCarRentalDatumPickupAddress as PaymentIntentConfirmParamsPaymentDetailsCarRentalDatumPickupAddress, + PaymentIntentConfirmParamsPaymentDetailsCarRentalDatumTotal as PaymentIntentConfirmParamsPaymentDetailsCarRentalDatumTotal, + PaymentIntentConfirmParamsPaymentDetailsCarRentalDatumTotalDiscounts as PaymentIntentConfirmParamsPaymentDetailsCarRentalDatumTotalDiscounts, + PaymentIntentConfirmParamsPaymentDetailsCarRentalDatumTotalExtraCharge as PaymentIntentConfirmParamsPaymentDetailsCarRentalDatumTotalExtraCharge, + PaymentIntentConfirmParamsPaymentDetailsCarRentalDatumTotalTax as PaymentIntentConfirmParamsPaymentDetailsCarRentalDatumTotalTax, + PaymentIntentConfirmParamsPaymentDetailsCarRentalDatumTotalTaxTax as PaymentIntentConfirmParamsPaymentDetailsCarRentalDatumTotalTaxTax, + PaymentIntentConfirmParamsPaymentDetailsCarRentalDatumVehicle as PaymentIntentConfirmParamsPaymentDetailsCarRentalDatumVehicle, PaymentIntentConfirmParamsPaymentDetailsCarRentalDelivery as PaymentIntentConfirmParamsPaymentDetailsCarRentalDelivery, PaymentIntentConfirmParamsPaymentDetailsCarRentalDeliveryRecipient as PaymentIntentConfirmParamsPaymentDetailsCarRentalDeliveryRecipient, PaymentIntentConfirmParamsPaymentDetailsCarRentalDistance as PaymentIntentConfirmParamsPaymentDetailsCarRentalDistance, @@ -1933,6 +2228,18 @@ PaymentIntentConfirmParamsPaymentDetailsEventDetailsDeliveryRecipient as PaymentIntentConfirmParamsPaymentDetailsEventDetailsDeliveryRecipient, PaymentIntentConfirmParamsPaymentDetailsFlight as PaymentIntentConfirmParamsPaymentDetailsFlight, PaymentIntentConfirmParamsPaymentDetailsFlightAffiliate as PaymentIntentConfirmParamsPaymentDetailsFlightAffiliate, + PaymentIntentConfirmParamsPaymentDetailsFlightDatum as PaymentIntentConfirmParamsPaymentDetailsFlightDatum, + PaymentIntentConfirmParamsPaymentDetailsFlightDatumAffiliate as PaymentIntentConfirmParamsPaymentDetailsFlightDatumAffiliate, + PaymentIntentConfirmParamsPaymentDetailsFlightDatumInsurance as PaymentIntentConfirmParamsPaymentDetailsFlightDatumInsurance, + PaymentIntentConfirmParamsPaymentDetailsFlightDatumPassenger as PaymentIntentConfirmParamsPaymentDetailsFlightDatumPassenger, + PaymentIntentConfirmParamsPaymentDetailsFlightDatumSegment as PaymentIntentConfirmParamsPaymentDetailsFlightDatumSegment, + PaymentIntentConfirmParamsPaymentDetailsFlightDatumSegmentArrival as PaymentIntentConfirmParamsPaymentDetailsFlightDatumSegmentArrival, + PaymentIntentConfirmParamsPaymentDetailsFlightDatumSegmentDeparture as PaymentIntentConfirmParamsPaymentDetailsFlightDatumSegmentDeparture, + PaymentIntentConfirmParamsPaymentDetailsFlightDatumTotal as PaymentIntentConfirmParamsPaymentDetailsFlightDatumTotal, + PaymentIntentConfirmParamsPaymentDetailsFlightDatumTotalDiscounts as PaymentIntentConfirmParamsPaymentDetailsFlightDatumTotalDiscounts, + PaymentIntentConfirmParamsPaymentDetailsFlightDatumTotalExtraCharge as PaymentIntentConfirmParamsPaymentDetailsFlightDatumTotalExtraCharge, + PaymentIntentConfirmParamsPaymentDetailsFlightDatumTotalTax as PaymentIntentConfirmParamsPaymentDetailsFlightDatumTotalTax, + PaymentIntentConfirmParamsPaymentDetailsFlightDatumTotalTaxTax as PaymentIntentConfirmParamsPaymentDetailsFlightDatumTotalTaxTax, PaymentIntentConfirmParamsPaymentDetailsFlightDelivery as PaymentIntentConfirmParamsPaymentDetailsFlightDelivery, PaymentIntentConfirmParamsPaymentDetailsFlightDeliveryRecipient as PaymentIntentConfirmParamsPaymentDetailsFlightDeliveryRecipient, PaymentIntentConfirmParamsPaymentDetailsFlightPassenger as PaymentIntentConfirmParamsPaymentDetailsFlightPassenger, @@ -1940,6 +2247,18 @@ PaymentIntentConfirmParamsPaymentDetailsLodging as PaymentIntentConfirmParamsPaymentDetailsLodging, PaymentIntentConfirmParamsPaymentDetailsLodgingAddress as PaymentIntentConfirmParamsPaymentDetailsLodgingAddress, PaymentIntentConfirmParamsPaymentDetailsLodgingAffiliate as PaymentIntentConfirmParamsPaymentDetailsLodgingAffiliate, + PaymentIntentConfirmParamsPaymentDetailsLodgingDatum as PaymentIntentConfirmParamsPaymentDetailsLodgingDatum, + PaymentIntentConfirmParamsPaymentDetailsLodgingDatumAccommodation as PaymentIntentConfirmParamsPaymentDetailsLodgingDatumAccommodation, + PaymentIntentConfirmParamsPaymentDetailsLodgingDatumAffiliate as PaymentIntentConfirmParamsPaymentDetailsLodgingDatumAffiliate, + PaymentIntentConfirmParamsPaymentDetailsLodgingDatumGuest as PaymentIntentConfirmParamsPaymentDetailsLodgingDatumGuest, + PaymentIntentConfirmParamsPaymentDetailsLodgingDatumHost as PaymentIntentConfirmParamsPaymentDetailsLodgingDatumHost, + PaymentIntentConfirmParamsPaymentDetailsLodgingDatumHostAddress as PaymentIntentConfirmParamsPaymentDetailsLodgingDatumHostAddress, + PaymentIntentConfirmParamsPaymentDetailsLodgingDatumInsurance as PaymentIntentConfirmParamsPaymentDetailsLodgingDatumInsurance, + PaymentIntentConfirmParamsPaymentDetailsLodgingDatumTotal as PaymentIntentConfirmParamsPaymentDetailsLodgingDatumTotal, + PaymentIntentConfirmParamsPaymentDetailsLodgingDatumTotalDiscounts as PaymentIntentConfirmParamsPaymentDetailsLodgingDatumTotalDiscounts, + PaymentIntentConfirmParamsPaymentDetailsLodgingDatumTotalExtraCharge as PaymentIntentConfirmParamsPaymentDetailsLodgingDatumTotalExtraCharge, + PaymentIntentConfirmParamsPaymentDetailsLodgingDatumTotalTax as PaymentIntentConfirmParamsPaymentDetailsLodgingDatumTotalTax, + PaymentIntentConfirmParamsPaymentDetailsLodgingDatumTotalTaxTax as PaymentIntentConfirmParamsPaymentDetailsLodgingDatumTotalTaxTax, PaymentIntentConfirmParamsPaymentDetailsLodgingDelivery as PaymentIntentConfirmParamsPaymentDetailsLodgingDelivery, PaymentIntentConfirmParamsPaymentDetailsLodgingDeliveryRecipient as PaymentIntentConfirmParamsPaymentDetailsLodgingDeliveryRecipient, PaymentIntentConfirmParamsPaymentDetailsLodgingPassenger as PaymentIntentConfirmParamsPaymentDetailsLodgingPassenger, @@ -2053,6 +2372,42 @@ PaymentIntentConfirmParamsPaymentMethodOptionsKlarnaOnDemand as PaymentIntentConfirmParamsPaymentMethodOptionsKlarnaOnDemand, PaymentIntentConfirmParamsPaymentMethodOptionsKlarnaSubscription as PaymentIntentConfirmParamsPaymentMethodOptionsKlarnaSubscription, PaymentIntentConfirmParamsPaymentMethodOptionsKlarnaSubscriptionNextBilling as PaymentIntentConfirmParamsPaymentMethodOptionsKlarnaSubscriptionNextBilling, + PaymentIntentConfirmParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseData as PaymentIntentConfirmParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseData, + PaymentIntentConfirmParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataBusReservationDetail as PaymentIntentConfirmParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataBusReservationDetail, + PaymentIntentConfirmParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataBusReservationDetailArrival as PaymentIntentConfirmParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataBusReservationDetailArrival, + PaymentIntentConfirmParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataBusReservationDetailArrivalAddress as PaymentIntentConfirmParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataBusReservationDetailArrivalAddress, + PaymentIntentConfirmParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataBusReservationDetailDeparture as PaymentIntentConfirmParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataBusReservationDetailDeparture, + PaymentIntentConfirmParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataBusReservationDetailDepartureAddress as PaymentIntentConfirmParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataBusReservationDetailDepartureAddress, + PaymentIntentConfirmParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataBusReservationDetailInsurance as PaymentIntentConfirmParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataBusReservationDetailInsurance, + PaymentIntentConfirmParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataBusReservationDetailPassenger as PaymentIntentConfirmParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataBusReservationDetailPassenger, + PaymentIntentConfirmParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataEventReservationDetail as PaymentIntentConfirmParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataEventReservationDetail, + PaymentIntentConfirmParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataEventReservationDetailAddress as PaymentIntentConfirmParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataEventReservationDetailAddress, + PaymentIntentConfirmParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataEventReservationDetailInsurance as PaymentIntentConfirmParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataEventReservationDetailInsurance, + PaymentIntentConfirmParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataFerryReservationDetail as PaymentIntentConfirmParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataFerryReservationDetail, + PaymentIntentConfirmParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataFerryReservationDetailArrival as PaymentIntentConfirmParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataFerryReservationDetailArrival, + PaymentIntentConfirmParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataFerryReservationDetailArrivalAddress as PaymentIntentConfirmParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataFerryReservationDetailArrivalAddress, + PaymentIntentConfirmParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataFerryReservationDetailDeparture as PaymentIntentConfirmParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataFerryReservationDetailDeparture, + PaymentIntentConfirmParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataFerryReservationDetailDepartureAddress as PaymentIntentConfirmParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataFerryReservationDetailDepartureAddress, + PaymentIntentConfirmParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataFerryReservationDetailInsurance as PaymentIntentConfirmParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataFerryReservationDetailInsurance, + PaymentIntentConfirmParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataFerryReservationDetailPassenger as PaymentIntentConfirmParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataFerryReservationDetailPassenger, + PaymentIntentConfirmParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataInsurance as PaymentIntentConfirmParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataInsurance, + PaymentIntentConfirmParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataMarketplaceSeller as PaymentIntentConfirmParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataMarketplaceSeller, + PaymentIntentConfirmParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataMarketplaceSellerMarketplaceSellerAddress as PaymentIntentConfirmParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataMarketplaceSellerMarketplaceSellerAddress, + PaymentIntentConfirmParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataRoundTripReservationDetail as PaymentIntentConfirmParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataRoundTripReservationDetail, + PaymentIntentConfirmParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataRoundTripReservationDetailArrival as PaymentIntentConfirmParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataRoundTripReservationDetailArrival, + PaymentIntentConfirmParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataRoundTripReservationDetailArrivalAddress as PaymentIntentConfirmParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataRoundTripReservationDetailArrivalAddress, + PaymentIntentConfirmParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataRoundTripReservationDetailDeparture as PaymentIntentConfirmParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataRoundTripReservationDetailDeparture, + PaymentIntentConfirmParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataRoundTripReservationDetailDepartureAddress as PaymentIntentConfirmParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataRoundTripReservationDetailDepartureAddress, + PaymentIntentConfirmParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataRoundTripReservationDetailInsurance as PaymentIntentConfirmParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataRoundTripReservationDetailInsurance, + PaymentIntentConfirmParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataRoundTripReservationDetailPassenger as PaymentIntentConfirmParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataRoundTripReservationDetailPassenger, + PaymentIntentConfirmParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataTrainReservationDetail as PaymentIntentConfirmParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataTrainReservationDetail, + PaymentIntentConfirmParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataTrainReservationDetailArrival as PaymentIntentConfirmParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataTrainReservationDetailArrival, + PaymentIntentConfirmParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataTrainReservationDetailArrivalAddress as PaymentIntentConfirmParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataTrainReservationDetailArrivalAddress, + PaymentIntentConfirmParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataTrainReservationDetailDeparture as PaymentIntentConfirmParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataTrainReservationDetailDeparture, + PaymentIntentConfirmParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataTrainReservationDetailDepartureAddress as PaymentIntentConfirmParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataTrainReservationDetailDepartureAddress, + PaymentIntentConfirmParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataTrainReservationDetailInsurance as PaymentIntentConfirmParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataTrainReservationDetailInsurance, + PaymentIntentConfirmParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataTrainReservationDetailPassenger as PaymentIntentConfirmParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataTrainReservationDetailPassenger, + PaymentIntentConfirmParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataVoucher as PaymentIntentConfirmParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataVoucher, PaymentIntentConfirmParamsPaymentMethodOptionsKonbini as PaymentIntentConfirmParamsPaymentMethodOptionsKonbini, PaymentIntentConfirmParamsPaymentMethodOptionsKrCard as PaymentIntentConfirmParamsPaymentMethodOptionsKrCard, PaymentIntentConfirmParamsPaymentMethodOptionsLink as PaymentIntentConfirmParamsPaymentMethodOptionsLink, @@ -2125,6 +2480,22 @@ PaymentIntentCreateParamsPaymentDetailsBenefitFrMealVoucher as PaymentIntentCreateParamsPaymentDetailsBenefitFrMealVoucher, PaymentIntentCreateParamsPaymentDetailsCarRental as PaymentIntentCreateParamsPaymentDetailsCarRental, PaymentIntentCreateParamsPaymentDetailsCarRentalAffiliate as PaymentIntentCreateParamsPaymentDetailsCarRentalAffiliate, + PaymentIntentCreateParamsPaymentDetailsCarRentalDatum as PaymentIntentCreateParamsPaymentDetailsCarRentalDatum, + PaymentIntentCreateParamsPaymentDetailsCarRentalDatumAffiliate as PaymentIntentCreateParamsPaymentDetailsCarRentalDatumAffiliate, + PaymentIntentCreateParamsPaymentDetailsCarRentalDatumDistance as PaymentIntentCreateParamsPaymentDetailsCarRentalDatumDistance, + PaymentIntentCreateParamsPaymentDetailsCarRentalDatumDriver as PaymentIntentCreateParamsPaymentDetailsCarRentalDatumDriver, + PaymentIntentCreateParamsPaymentDetailsCarRentalDatumDriverDateOfBirth as PaymentIntentCreateParamsPaymentDetailsCarRentalDatumDriverDateOfBirth, + PaymentIntentCreateParamsPaymentDetailsCarRentalDatumDropOff as PaymentIntentCreateParamsPaymentDetailsCarRentalDatumDropOff, + PaymentIntentCreateParamsPaymentDetailsCarRentalDatumDropOffAddress as PaymentIntentCreateParamsPaymentDetailsCarRentalDatumDropOffAddress, + PaymentIntentCreateParamsPaymentDetailsCarRentalDatumInsurance as PaymentIntentCreateParamsPaymentDetailsCarRentalDatumInsurance, + PaymentIntentCreateParamsPaymentDetailsCarRentalDatumPickup as PaymentIntentCreateParamsPaymentDetailsCarRentalDatumPickup, + PaymentIntentCreateParamsPaymentDetailsCarRentalDatumPickupAddress as PaymentIntentCreateParamsPaymentDetailsCarRentalDatumPickupAddress, + PaymentIntentCreateParamsPaymentDetailsCarRentalDatumTotal as PaymentIntentCreateParamsPaymentDetailsCarRentalDatumTotal, + PaymentIntentCreateParamsPaymentDetailsCarRentalDatumTotalDiscounts as PaymentIntentCreateParamsPaymentDetailsCarRentalDatumTotalDiscounts, + PaymentIntentCreateParamsPaymentDetailsCarRentalDatumTotalExtraCharge as PaymentIntentCreateParamsPaymentDetailsCarRentalDatumTotalExtraCharge, + PaymentIntentCreateParamsPaymentDetailsCarRentalDatumTotalTax as PaymentIntentCreateParamsPaymentDetailsCarRentalDatumTotalTax, + PaymentIntentCreateParamsPaymentDetailsCarRentalDatumTotalTaxTax as PaymentIntentCreateParamsPaymentDetailsCarRentalDatumTotalTaxTax, + PaymentIntentCreateParamsPaymentDetailsCarRentalDatumVehicle as PaymentIntentCreateParamsPaymentDetailsCarRentalDatumVehicle, PaymentIntentCreateParamsPaymentDetailsCarRentalDelivery as PaymentIntentCreateParamsPaymentDetailsCarRentalDelivery, PaymentIntentCreateParamsPaymentDetailsCarRentalDeliveryRecipient as PaymentIntentCreateParamsPaymentDetailsCarRentalDeliveryRecipient, PaymentIntentCreateParamsPaymentDetailsCarRentalDistance as PaymentIntentCreateParamsPaymentDetailsCarRentalDistance, @@ -2138,6 +2509,18 @@ PaymentIntentCreateParamsPaymentDetailsEventDetailsDeliveryRecipient as PaymentIntentCreateParamsPaymentDetailsEventDetailsDeliveryRecipient, PaymentIntentCreateParamsPaymentDetailsFlight as PaymentIntentCreateParamsPaymentDetailsFlight, PaymentIntentCreateParamsPaymentDetailsFlightAffiliate as PaymentIntentCreateParamsPaymentDetailsFlightAffiliate, + PaymentIntentCreateParamsPaymentDetailsFlightDatum as PaymentIntentCreateParamsPaymentDetailsFlightDatum, + PaymentIntentCreateParamsPaymentDetailsFlightDatumAffiliate as PaymentIntentCreateParamsPaymentDetailsFlightDatumAffiliate, + PaymentIntentCreateParamsPaymentDetailsFlightDatumInsurance as PaymentIntentCreateParamsPaymentDetailsFlightDatumInsurance, + PaymentIntentCreateParamsPaymentDetailsFlightDatumPassenger as PaymentIntentCreateParamsPaymentDetailsFlightDatumPassenger, + PaymentIntentCreateParamsPaymentDetailsFlightDatumSegment as PaymentIntentCreateParamsPaymentDetailsFlightDatumSegment, + PaymentIntentCreateParamsPaymentDetailsFlightDatumSegmentArrival as PaymentIntentCreateParamsPaymentDetailsFlightDatumSegmentArrival, + PaymentIntentCreateParamsPaymentDetailsFlightDatumSegmentDeparture as PaymentIntentCreateParamsPaymentDetailsFlightDatumSegmentDeparture, + PaymentIntentCreateParamsPaymentDetailsFlightDatumTotal as PaymentIntentCreateParamsPaymentDetailsFlightDatumTotal, + PaymentIntentCreateParamsPaymentDetailsFlightDatumTotalDiscounts as PaymentIntentCreateParamsPaymentDetailsFlightDatumTotalDiscounts, + PaymentIntentCreateParamsPaymentDetailsFlightDatumTotalExtraCharge as PaymentIntentCreateParamsPaymentDetailsFlightDatumTotalExtraCharge, + PaymentIntentCreateParamsPaymentDetailsFlightDatumTotalTax as PaymentIntentCreateParamsPaymentDetailsFlightDatumTotalTax, + PaymentIntentCreateParamsPaymentDetailsFlightDatumTotalTaxTax as PaymentIntentCreateParamsPaymentDetailsFlightDatumTotalTaxTax, PaymentIntentCreateParamsPaymentDetailsFlightDelivery as PaymentIntentCreateParamsPaymentDetailsFlightDelivery, PaymentIntentCreateParamsPaymentDetailsFlightDeliveryRecipient as PaymentIntentCreateParamsPaymentDetailsFlightDeliveryRecipient, PaymentIntentCreateParamsPaymentDetailsFlightPassenger as PaymentIntentCreateParamsPaymentDetailsFlightPassenger, @@ -2145,6 +2528,18 @@ PaymentIntentCreateParamsPaymentDetailsLodging as PaymentIntentCreateParamsPaymentDetailsLodging, PaymentIntentCreateParamsPaymentDetailsLodgingAddress as PaymentIntentCreateParamsPaymentDetailsLodgingAddress, PaymentIntentCreateParamsPaymentDetailsLodgingAffiliate as PaymentIntentCreateParamsPaymentDetailsLodgingAffiliate, + PaymentIntentCreateParamsPaymentDetailsLodgingDatum as PaymentIntentCreateParamsPaymentDetailsLodgingDatum, + PaymentIntentCreateParamsPaymentDetailsLodgingDatumAccommodation as PaymentIntentCreateParamsPaymentDetailsLodgingDatumAccommodation, + PaymentIntentCreateParamsPaymentDetailsLodgingDatumAffiliate as PaymentIntentCreateParamsPaymentDetailsLodgingDatumAffiliate, + PaymentIntentCreateParamsPaymentDetailsLodgingDatumGuest as PaymentIntentCreateParamsPaymentDetailsLodgingDatumGuest, + PaymentIntentCreateParamsPaymentDetailsLodgingDatumHost as PaymentIntentCreateParamsPaymentDetailsLodgingDatumHost, + PaymentIntentCreateParamsPaymentDetailsLodgingDatumHostAddress as PaymentIntentCreateParamsPaymentDetailsLodgingDatumHostAddress, + PaymentIntentCreateParamsPaymentDetailsLodgingDatumInsurance as PaymentIntentCreateParamsPaymentDetailsLodgingDatumInsurance, + PaymentIntentCreateParamsPaymentDetailsLodgingDatumTotal as PaymentIntentCreateParamsPaymentDetailsLodgingDatumTotal, + PaymentIntentCreateParamsPaymentDetailsLodgingDatumTotalDiscounts as PaymentIntentCreateParamsPaymentDetailsLodgingDatumTotalDiscounts, + PaymentIntentCreateParamsPaymentDetailsLodgingDatumTotalExtraCharge as PaymentIntentCreateParamsPaymentDetailsLodgingDatumTotalExtraCharge, + PaymentIntentCreateParamsPaymentDetailsLodgingDatumTotalTax as PaymentIntentCreateParamsPaymentDetailsLodgingDatumTotalTax, + PaymentIntentCreateParamsPaymentDetailsLodgingDatumTotalTaxTax as PaymentIntentCreateParamsPaymentDetailsLodgingDatumTotalTaxTax, PaymentIntentCreateParamsPaymentDetailsLodgingDelivery as PaymentIntentCreateParamsPaymentDetailsLodgingDelivery, PaymentIntentCreateParamsPaymentDetailsLodgingDeliveryRecipient as PaymentIntentCreateParamsPaymentDetailsLodgingDeliveryRecipient, PaymentIntentCreateParamsPaymentDetailsLodgingPassenger as PaymentIntentCreateParamsPaymentDetailsLodgingPassenger, @@ -2258,6 +2653,42 @@ PaymentIntentCreateParamsPaymentMethodOptionsKlarnaOnDemand as PaymentIntentCreateParamsPaymentMethodOptionsKlarnaOnDemand, PaymentIntentCreateParamsPaymentMethodOptionsKlarnaSubscription as PaymentIntentCreateParamsPaymentMethodOptionsKlarnaSubscription, PaymentIntentCreateParamsPaymentMethodOptionsKlarnaSubscriptionNextBilling as PaymentIntentCreateParamsPaymentMethodOptionsKlarnaSubscriptionNextBilling, + PaymentIntentCreateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseData as PaymentIntentCreateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseData, + PaymentIntentCreateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataBusReservationDetail as PaymentIntentCreateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataBusReservationDetail, + PaymentIntentCreateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataBusReservationDetailArrival as PaymentIntentCreateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataBusReservationDetailArrival, + PaymentIntentCreateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataBusReservationDetailArrivalAddress as PaymentIntentCreateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataBusReservationDetailArrivalAddress, + PaymentIntentCreateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataBusReservationDetailDeparture as PaymentIntentCreateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataBusReservationDetailDeparture, + PaymentIntentCreateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataBusReservationDetailDepartureAddress as PaymentIntentCreateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataBusReservationDetailDepartureAddress, + PaymentIntentCreateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataBusReservationDetailInsurance as PaymentIntentCreateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataBusReservationDetailInsurance, + PaymentIntentCreateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataBusReservationDetailPassenger as PaymentIntentCreateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataBusReservationDetailPassenger, + PaymentIntentCreateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataEventReservationDetail as PaymentIntentCreateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataEventReservationDetail, + PaymentIntentCreateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataEventReservationDetailAddress as PaymentIntentCreateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataEventReservationDetailAddress, + PaymentIntentCreateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataEventReservationDetailInsurance as PaymentIntentCreateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataEventReservationDetailInsurance, + PaymentIntentCreateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataFerryReservationDetail as PaymentIntentCreateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataFerryReservationDetail, + PaymentIntentCreateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataFerryReservationDetailArrival as PaymentIntentCreateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataFerryReservationDetailArrival, + PaymentIntentCreateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataFerryReservationDetailArrivalAddress as PaymentIntentCreateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataFerryReservationDetailArrivalAddress, + PaymentIntentCreateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataFerryReservationDetailDeparture as PaymentIntentCreateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataFerryReservationDetailDeparture, + PaymentIntentCreateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataFerryReservationDetailDepartureAddress as PaymentIntentCreateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataFerryReservationDetailDepartureAddress, + PaymentIntentCreateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataFerryReservationDetailInsurance as PaymentIntentCreateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataFerryReservationDetailInsurance, + PaymentIntentCreateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataFerryReservationDetailPassenger as PaymentIntentCreateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataFerryReservationDetailPassenger, + PaymentIntentCreateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataInsurance as PaymentIntentCreateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataInsurance, + PaymentIntentCreateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataMarketplaceSeller as PaymentIntentCreateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataMarketplaceSeller, + PaymentIntentCreateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataMarketplaceSellerMarketplaceSellerAddress as PaymentIntentCreateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataMarketplaceSellerMarketplaceSellerAddress, + PaymentIntentCreateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataRoundTripReservationDetail as PaymentIntentCreateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataRoundTripReservationDetail, + PaymentIntentCreateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataRoundTripReservationDetailArrival as PaymentIntentCreateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataRoundTripReservationDetailArrival, + PaymentIntentCreateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataRoundTripReservationDetailArrivalAddress as PaymentIntentCreateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataRoundTripReservationDetailArrivalAddress, + PaymentIntentCreateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataRoundTripReservationDetailDeparture as PaymentIntentCreateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataRoundTripReservationDetailDeparture, + PaymentIntentCreateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataRoundTripReservationDetailDepartureAddress as PaymentIntentCreateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataRoundTripReservationDetailDepartureAddress, + PaymentIntentCreateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataRoundTripReservationDetailInsurance as PaymentIntentCreateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataRoundTripReservationDetailInsurance, + PaymentIntentCreateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataRoundTripReservationDetailPassenger as PaymentIntentCreateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataRoundTripReservationDetailPassenger, + PaymentIntentCreateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataTrainReservationDetail as PaymentIntentCreateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataTrainReservationDetail, + PaymentIntentCreateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataTrainReservationDetailArrival as PaymentIntentCreateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataTrainReservationDetailArrival, + PaymentIntentCreateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataTrainReservationDetailArrivalAddress as PaymentIntentCreateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataTrainReservationDetailArrivalAddress, + PaymentIntentCreateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataTrainReservationDetailDeparture as PaymentIntentCreateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataTrainReservationDetailDeparture, + PaymentIntentCreateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataTrainReservationDetailDepartureAddress as PaymentIntentCreateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataTrainReservationDetailDepartureAddress, + PaymentIntentCreateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataTrainReservationDetailInsurance as PaymentIntentCreateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataTrainReservationDetailInsurance, + PaymentIntentCreateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataTrainReservationDetailPassenger as PaymentIntentCreateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataTrainReservationDetailPassenger, + PaymentIntentCreateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataVoucher as PaymentIntentCreateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataVoucher, PaymentIntentCreateParamsPaymentMethodOptionsKonbini as PaymentIntentCreateParamsPaymentMethodOptionsKonbini, PaymentIntentCreateParamsPaymentMethodOptionsKrCard as PaymentIntentCreateParamsPaymentMethodOptionsKrCard, PaymentIntentCreateParamsPaymentMethodOptionsLink as PaymentIntentCreateParamsPaymentMethodOptionsLink, @@ -2363,6 +2794,22 @@ PaymentIntentModifyParamsPaymentDetailsBenefitFrMealVoucher as PaymentIntentModifyParamsPaymentDetailsBenefitFrMealVoucher, PaymentIntentModifyParamsPaymentDetailsCarRental as PaymentIntentModifyParamsPaymentDetailsCarRental, PaymentIntentModifyParamsPaymentDetailsCarRentalAffiliate as PaymentIntentModifyParamsPaymentDetailsCarRentalAffiliate, + PaymentIntentModifyParamsPaymentDetailsCarRentalDatum as PaymentIntentModifyParamsPaymentDetailsCarRentalDatum, + PaymentIntentModifyParamsPaymentDetailsCarRentalDatumAffiliate as PaymentIntentModifyParamsPaymentDetailsCarRentalDatumAffiliate, + PaymentIntentModifyParamsPaymentDetailsCarRentalDatumDistance as PaymentIntentModifyParamsPaymentDetailsCarRentalDatumDistance, + PaymentIntentModifyParamsPaymentDetailsCarRentalDatumDriver as PaymentIntentModifyParamsPaymentDetailsCarRentalDatumDriver, + PaymentIntentModifyParamsPaymentDetailsCarRentalDatumDriverDateOfBirth as PaymentIntentModifyParamsPaymentDetailsCarRentalDatumDriverDateOfBirth, + PaymentIntentModifyParamsPaymentDetailsCarRentalDatumDropOff as PaymentIntentModifyParamsPaymentDetailsCarRentalDatumDropOff, + PaymentIntentModifyParamsPaymentDetailsCarRentalDatumDropOffAddress as PaymentIntentModifyParamsPaymentDetailsCarRentalDatumDropOffAddress, + PaymentIntentModifyParamsPaymentDetailsCarRentalDatumInsurance as PaymentIntentModifyParamsPaymentDetailsCarRentalDatumInsurance, + PaymentIntentModifyParamsPaymentDetailsCarRentalDatumPickup as PaymentIntentModifyParamsPaymentDetailsCarRentalDatumPickup, + PaymentIntentModifyParamsPaymentDetailsCarRentalDatumPickupAddress as PaymentIntentModifyParamsPaymentDetailsCarRentalDatumPickupAddress, + PaymentIntentModifyParamsPaymentDetailsCarRentalDatumTotal as PaymentIntentModifyParamsPaymentDetailsCarRentalDatumTotal, + PaymentIntentModifyParamsPaymentDetailsCarRentalDatumTotalDiscounts as PaymentIntentModifyParamsPaymentDetailsCarRentalDatumTotalDiscounts, + PaymentIntentModifyParamsPaymentDetailsCarRentalDatumTotalExtraCharge as PaymentIntentModifyParamsPaymentDetailsCarRentalDatumTotalExtraCharge, + PaymentIntentModifyParamsPaymentDetailsCarRentalDatumTotalTax as PaymentIntentModifyParamsPaymentDetailsCarRentalDatumTotalTax, + PaymentIntentModifyParamsPaymentDetailsCarRentalDatumTotalTaxTax as PaymentIntentModifyParamsPaymentDetailsCarRentalDatumTotalTaxTax, + PaymentIntentModifyParamsPaymentDetailsCarRentalDatumVehicle as PaymentIntentModifyParamsPaymentDetailsCarRentalDatumVehicle, PaymentIntentModifyParamsPaymentDetailsCarRentalDelivery as PaymentIntentModifyParamsPaymentDetailsCarRentalDelivery, PaymentIntentModifyParamsPaymentDetailsCarRentalDeliveryRecipient as PaymentIntentModifyParamsPaymentDetailsCarRentalDeliveryRecipient, PaymentIntentModifyParamsPaymentDetailsCarRentalDistance as PaymentIntentModifyParamsPaymentDetailsCarRentalDistance, @@ -2376,6 +2823,18 @@ PaymentIntentModifyParamsPaymentDetailsEventDetailsDeliveryRecipient as PaymentIntentModifyParamsPaymentDetailsEventDetailsDeliveryRecipient, PaymentIntentModifyParamsPaymentDetailsFlight as PaymentIntentModifyParamsPaymentDetailsFlight, PaymentIntentModifyParamsPaymentDetailsFlightAffiliate as PaymentIntentModifyParamsPaymentDetailsFlightAffiliate, + PaymentIntentModifyParamsPaymentDetailsFlightDatum as PaymentIntentModifyParamsPaymentDetailsFlightDatum, + PaymentIntentModifyParamsPaymentDetailsFlightDatumAffiliate as PaymentIntentModifyParamsPaymentDetailsFlightDatumAffiliate, + PaymentIntentModifyParamsPaymentDetailsFlightDatumInsurance as PaymentIntentModifyParamsPaymentDetailsFlightDatumInsurance, + PaymentIntentModifyParamsPaymentDetailsFlightDatumPassenger as PaymentIntentModifyParamsPaymentDetailsFlightDatumPassenger, + PaymentIntentModifyParamsPaymentDetailsFlightDatumSegment as PaymentIntentModifyParamsPaymentDetailsFlightDatumSegment, + PaymentIntentModifyParamsPaymentDetailsFlightDatumSegmentArrival as PaymentIntentModifyParamsPaymentDetailsFlightDatumSegmentArrival, + PaymentIntentModifyParamsPaymentDetailsFlightDatumSegmentDeparture as PaymentIntentModifyParamsPaymentDetailsFlightDatumSegmentDeparture, + PaymentIntentModifyParamsPaymentDetailsFlightDatumTotal as PaymentIntentModifyParamsPaymentDetailsFlightDatumTotal, + PaymentIntentModifyParamsPaymentDetailsFlightDatumTotalDiscounts as PaymentIntentModifyParamsPaymentDetailsFlightDatumTotalDiscounts, + PaymentIntentModifyParamsPaymentDetailsFlightDatumTotalExtraCharge as PaymentIntentModifyParamsPaymentDetailsFlightDatumTotalExtraCharge, + PaymentIntentModifyParamsPaymentDetailsFlightDatumTotalTax as PaymentIntentModifyParamsPaymentDetailsFlightDatumTotalTax, + PaymentIntentModifyParamsPaymentDetailsFlightDatumTotalTaxTax as PaymentIntentModifyParamsPaymentDetailsFlightDatumTotalTaxTax, PaymentIntentModifyParamsPaymentDetailsFlightDelivery as PaymentIntentModifyParamsPaymentDetailsFlightDelivery, PaymentIntentModifyParamsPaymentDetailsFlightDeliveryRecipient as PaymentIntentModifyParamsPaymentDetailsFlightDeliveryRecipient, PaymentIntentModifyParamsPaymentDetailsFlightPassenger as PaymentIntentModifyParamsPaymentDetailsFlightPassenger, @@ -2383,6 +2842,18 @@ PaymentIntentModifyParamsPaymentDetailsLodging as PaymentIntentModifyParamsPaymentDetailsLodging, PaymentIntentModifyParamsPaymentDetailsLodgingAddress as PaymentIntentModifyParamsPaymentDetailsLodgingAddress, PaymentIntentModifyParamsPaymentDetailsLodgingAffiliate as PaymentIntentModifyParamsPaymentDetailsLodgingAffiliate, + PaymentIntentModifyParamsPaymentDetailsLodgingDatum as PaymentIntentModifyParamsPaymentDetailsLodgingDatum, + PaymentIntentModifyParamsPaymentDetailsLodgingDatumAccommodation as PaymentIntentModifyParamsPaymentDetailsLodgingDatumAccommodation, + PaymentIntentModifyParamsPaymentDetailsLodgingDatumAffiliate as PaymentIntentModifyParamsPaymentDetailsLodgingDatumAffiliate, + PaymentIntentModifyParamsPaymentDetailsLodgingDatumGuest as PaymentIntentModifyParamsPaymentDetailsLodgingDatumGuest, + PaymentIntentModifyParamsPaymentDetailsLodgingDatumHost as PaymentIntentModifyParamsPaymentDetailsLodgingDatumHost, + PaymentIntentModifyParamsPaymentDetailsLodgingDatumHostAddress as PaymentIntentModifyParamsPaymentDetailsLodgingDatumHostAddress, + PaymentIntentModifyParamsPaymentDetailsLodgingDatumInsurance as PaymentIntentModifyParamsPaymentDetailsLodgingDatumInsurance, + PaymentIntentModifyParamsPaymentDetailsLodgingDatumTotal as PaymentIntentModifyParamsPaymentDetailsLodgingDatumTotal, + PaymentIntentModifyParamsPaymentDetailsLodgingDatumTotalDiscounts as PaymentIntentModifyParamsPaymentDetailsLodgingDatumTotalDiscounts, + PaymentIntentModifyParamsPaymentDetailsLodgingDatumTotalExtraCharge as PaymentIntentModifyParamsPaymentDetailsLodgingDatumTotalExtraCharge, + PaymentIntentModifyParamsPaymentDetailsLodgingDatumTotalTax as PaymentIntentModifyParamsPaymentDetailsLodgingDatumTotalTax, + PaymentIntentModifyParamsPaymentDetailsLodgingDatumTotalTaxTax as PaymentIntentModifyParamsPaymentDetailsLodgingDatumTotalTaxTax, PaymentIntentModifyParamsPaymentDetailsLodgingDelivery as PaymentIntentModifyParamsPaymentDetailsLodgingDelivery, PaymentIntentModifyParamsPaymentDetailsLodgingDeliveryRecipient as PaymentIntentModifyParamsPaymentDetailsLodgingDeliveryRecipient, PaymentIntentModifyParamsPaymentDetailsLodgingPassenger as PaymentIntentModifyParamsPaymentDetailsLodgingPassenger, @@ -2496,6 +2967,42 @@ PaymentIntentModifyParamsPaymentMethodOptionsKlarnaOnDemand as PaymentIntentModifyParamsPaymentMethodOptionsKlarnaOnDemand, PaymentIntentModifyParamsPaymentMethodOptionsKlarnaSubscription as PaymentIntentModifyParamsPaymentMethodOptionsKlarnaSubscription, PaymentIntentModifyParamsPaymentMethodOptionsKlarnaSubscriptionNextBilling as PaymentIntentModifyParamsPaymentMethodOptionsKlarnaSubscriptionNextBilling, + PaymentIntentModifyParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseData as PaymentIntentModifyParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseData, + PaymentIntentModifyParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataBusReservationDetail as PaymentIntentModifyParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataBusReservationDetail, + PaymentIntentModifyParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataBusReservationDetailArrival as PaymentIntentModifyParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataBusReservationDetailArrival, + PaymentIntentModifyParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataBusReservationDetailArrivalAddress as PaymentIntentModifyParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataBusReservationDetailArrivalAddress, + PaymentIntentModifyParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataBusReservationDetailDeparture as PaymentIntentModifyParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataBusReservationDetailDeparture, + PaymentIntentModifyParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataBusReservationDetailDepartureAddress as PaymentIntentModifyParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataBusReservationDetailDepartureAddress, + PaymentIntentModifyParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataBusReservationDetailInsurance as PaymentIntentModifyParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataBusReservationDetailInsurance, + PaymentIntentModifyParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataBusReservationDetailPassenger as PaymentIntentModifyParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataBusReservationDetailPassenger, + PaymentIntentModifyParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataEventReservationDetail as PaymentIntentModifyParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataEventReservationDetail, + PaymentIntentModifyParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataEventReservationDetailAddress as PaymentIntentModifyParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataEventReservationDetailAddress, + PaymentIntentModifyParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataEventReservationDetailInsurance as PaymentIntentModifyParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataEventReservationDetailInsurance, + PaymentIntentModifyParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataFerryReservationDetail as PaymentIntentModifyParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataFerryReservationDetail, + PaymentIntentModifyParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataFerryReservationDetailArrival as PaymentIntentModifyParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataFerryReservationDetailArrival, + PaymentIntentModifyParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataFerryReservationDetailArrivalAddress as PaymentIntentModifyParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataFerryReservationDetailArrivalAddress, + PaymentIntentModifyParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataFerryReservationDetailDeparture as PaymentIntentModifyParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataFerryReservationDetailDeparture, + PaymentIntentModifyParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataFerryReservationDetailDepartureAddress as PaymentIntentModifyParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataFerryReservationDetailDepartureAddress, + PaymentIntentModifyParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataFerryReservationDetailInsurance as PaymentIntentModifyParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataFerryReservationDetailInsurance, + PaymentIntentModifyParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataFerryReservationDetailPassenger as PaymentIntentModifyParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataFerryReservationDetailPassenger, + PaymentIntentModifyParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataInsurance as PaymentIntentModifyParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataInsurance, + PaymentIntentModifyParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataMarketplaceSeller as PaymentIntentModifyParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataMarketplaceSeller, + PaymentIntentModifyParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataMarketplaceSellerMarketplaceSellerAddress as PaymentIntentModifyParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataMarketplaceSellerMarketplaceSellerAddress, + PaymentIntentModifyParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataRoundTripReservationDetail as PaymentIntentModifyParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataRoundTripReservationDetail, + PaymentIntentModifyParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataRoundTripReservationDetailArrival as PaymentIntentModifyParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataRoundTripReservationDetailArrival, + PaymentIntentModifyParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataRoundTripReservationDetailArrivalAddress as PaymentIntentModifyParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataRoundTripReservationDetailArrivalAddress, + PaymentIntentModifyParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataRoundTripReservationDetailDeparture as PaymentIntentModifyParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataRoundTripReservationDetailDeparture, + PaymentIntentModifyParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataRoundTripReservationDetailDepartureAddress as PaymentIntentModifyParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataRoundTripReservationDetailDepartureAddress, + PaymentIntentModifyParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataRoundTripReservationDetailInsurance as PaymentIntentModifyParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataRoundTripReservationDetailInsurance, + PaymentIntentModifyParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataRoundTripReservationDetailPassenger as PaymentIntentModifyParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataRoundTripReservationDetailPassenger, + PaymentIntentModifyParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataTrainReservationDetail as PaymentIntentModifyParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataTrainReservationDetail, + PaymentIntentModifyParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataTrainReservationDetailArrival as PaymentIntentModifyParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataTrainReservationDetailArrival, + PaymentIntentModifyParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataTrainReservationDetailArrivalAddress as PaymentIntentModifyParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataTrainReservationDetailArrivalAddress, + PaymentIntentModifyParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataTrainReservationDetailDeparture as PaymentIntentModifyParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataTrainReservationDetailDeparture, + PaymentIntentModifyParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataTrainReservationDetailDepartureAddress as PaymentIntentModifyParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataTrainReservationDetailDepartureAddress, + PaymentIntentModifyParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataTrainReservationDetailInsurance as PaymentIntentModifyParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataTrainReservationDetailInsurance, + PaymentIntentModifyParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataTrainReservationDetailPassenger as PaymentIntentModifyParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataTrainReservationDetailPassenger, + PaymentIntentModifyParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataVoucher as PaymentIntentModifyParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataVoucher, PaymentIntentModifyParamsPaymentMethodOptionsKonbini as PaymentIntentModifyParamsPaymentMethodOptionsKonbini, PaymentIntentModifyParamsPaymentMethodOptionsKrCard as PaymentIntentModifyParamsPaymentMethodOptionsKrCard, PaymentIntentModifyParamsPaymentMethodOptionsLink as PaymentIntentModifyParamsPaymentMethodOptionsLink, @@ -2576,6 +3083,22 @@ PaymentIntentUpdateParamsPaymentDetailsBenefitFrMealVoucher as PaymentIntentUpdateParamsPaymentDetailsBenefitFrMealVoucher, PaymentIntentUpdateParamsPaymentDetailsCarRental as PaymentIntentUpdateParamsPaymentDetailsCarRental, PaymentIntentUpdateParamsPaymentDetailsCarRentalAffiliate as PaymentIntentUpdateParamsPaymentDetailsCarRentalAffiliate, + PaymentIntentUpdateParamsPaymentDetailsCarRentalDatum as PaymentIntentUpdateParamsPaymentDetailsCarRentalDatum, + PaymentIntentUpdateParamsPaymentDetailsCarRentalDatumAffiliate as PaymentIntentUpdateParamsPaymentDetailsCarRentalDatumAffiliate, + PaymentIntentUpdateParamsPaymentDetailsCarRentalDatumDistance as PaymentIntentUpdateParamsPaymentDetailsCarRentalDatumDistance, + PaymentIntentUpdateParamsPaymentDetailsCarRentalDatumDriver as PaymentIntentUpdateParamsPaymentDetailsCarRentalDatumDriver, + PaymentIntentUpdateParamsPaymentDetailsCarRentalDatumDriverDateOfBirth as PaymentIntentUpdateParamsPaymentDetailsCarRentalDatumDriverDateOfBirth, + PaymentIntentUpdateParamsPaymentDetailsCarRentalDatumDropOff as PaymentIntentUpdateParamsPaymentDetailsCarRentalDatumDropOff, + PaymentIntentUpdateParamsPaymentDetailsCarRentalDatumDropOffAddress as PaymentIntentUpdateParamsPaymentDetailsCarRentalDatumDropOffAddress, + PaymentIntentUpdateParamsPaymentDetailsCarRentalDatumInsurance as PaymentIntentUpdateParamsPaymentDetailsCarRentalDatumInsurance, + PaymentIntentUpdateParamsPaymentDetailsCarRentalDatumPickup as PaymentIntentUpdateParamsPaymentDetailsCarRentalDatumPickup, + PaymentIntentUpdateParamsPaymentDetailsCarRentalDatumPickupAddress as PaymentIntentUpdateParamsPaymentDetailsCarRentalDatumPickupAddress, + PaymentIntentUpdateParamsPaymentDetailsCarRentalDatumTotal as PaymentIntentUpdateParamsPaymentDetailsCarRentalDatumTotal, + PaymentIntentUpdateParamsPaymentDetailsCarRentalDatumTotalDiscounts as PaymentIntentUpdateParamsPaymentDetailsCarRentalDatumTotalDiscounts, + PaymentIntentUpdateParamsPaymentDetailsCarRentalDatumTotalExtraCharge as PaymentIntentUpdateParamsPaymentDetailsCarRentalDatumTotalExtraCharge, + PaymentIntentUpdateParamsPaymentDetailsCarRentalDatumTotalTax as PaymentIntentUpdateParamsPaymentDetailsCarRentalDatumTotalTax, + PaymentIntentUpdateParamsPaymentDetailsCarRentalDatumTotalTaxTax as PaymentIntentUpdateParamsPaymentDetailsCarRentalDatumTotalTaxTax, + PaymentIntentUpdateParamsPaymentDetailsCarRentalDatumVehicle as PaymentIntentUpdateParamsPaymentDetailsCarRentalDatumVehicle, PaymentIntentUpdateParamsPaymentDetailsCarRentalDelivery as PaymentIntentUpdateParamsPaymentDetailsCarRentalDelivery, PaymentIntentUpdateParamsPaymentDetailsCarRentalDeliveryRecipient as PaymentIntentUpdateParamsPaymentDetailsCarRentalDeliveryRecipient, PaymentIntentUpdateParamsPaymentDetailsCarRentalDistance as PaymentIntentUpdateParamsPaymentDetailsCarRentalDistance, @@ -2589,6 +3112,18 @@ PaymentIntentUpdateParamsPaymentDetailsEventDetailsDeliveryRecipient as PaymentIntentUpdateParamsPaymentDetailsEventDetailsDeliveryRecipient, PaymentIntentUpdateParamsPaymentDetailsFlight as PaymentIntentUpdateParamsPaymentDetailsFlight, PaymentIntentUpdateParamsPaymentDetailsFlightAffiliate as PaymentIntentUpdateParamsPaymentDetailsFlightAffiliate, + PaymentIntentUpdateParamsPaymentDetailsFlightDatum as PaymentIntentUpdateParamsPaymentDetailsFlightDatum, + PaymentIntentUpdateParamsPaymentDetailsFlightDatumAffiliate as PaymentIntentUpdateParamsPaymentDetailsFlightDatumAffiliate, + PaymentIntentUpdateParamsPaymentDetailsFlightDatumInsurance as PaymentIntentUpdateParamsPaymentDetailsFlightDatumInsurance, + PaymentIntentUpdateParamsPaymentDetailsFlightDatumPassenger as PaymentIntentUpdateParamsPaymentDetailsFlightDatumPassenger, + PaymentIntentUpdateParamsPaymentDetailsFlightDatumSegment as PaymentIntentUpdateParamsPaymentDetailsFlightDatumSegment, + PaymentIntentUpdateParamsPaymentDetailsFlightDatumSegmentArrival as PaymentIntentUpdateParamsPaymentDetailsFlightDatumSegmentArrival, + PaymentIntentUpdateParamsPaymentDetailsFlightDatumSegmentDeparture as PaymentIntentUpdateParamsPaymentDetailsFlightDatumSegmentDeparture, + PaymentIntentUpdateParamsPaymentDetailsFlightDatumTotal as PaymentIntentUpdateParamsPaymentDetailsFlightDatumTotal, + PaymentIntentUpdateParamsPaymentDetailsFlightDatumTotalDiscounts as PaymentIntentUpdateParamsPaymentDetailsFlightDatumTotalDiscounts, + PaymentIntentUpdateParamsPaymentDetailsFlightDatumTotalExtraCharge as PaymentIntentUpdateParamsPaymentDetailsFlightDatumTotalExtraCharge, + PaymentIntentUpdateParamsPaymentDetailsFlightDatumTotalTax as PaymentIntentUpdateParamsPaymentDetailsFlightDatumTotalTax, + PaymentIntentUpdateParamsPaymentDetailsFlightDatumTotalTaxTax as PaymentIntentUpdateParamsPaymentDetailsFlightDatumTotalTaxTax, PaymentIntentUpdateParamsPaymentDetailsFlightDelivery as PaymentIntentUpdateParamsPaymentDetailsFlightDelivery, PaymentIntentUpdateParamsPaymentDetailsFlightDeliveryRecipient as PaymentIntentUpdateParamsPaymentDetailsFlightDeliveryRecipient, PaymentIntentUpdateParamsPaymentDetailsFlightPassenger as PaymentIntentUpdateParamsPaymentDetailsFlightPassenger, @@ -2596,6 +3131,18 @@ PaymentIntentUpdateParamsPaymentDetailsLodging as PaymentIntentUpdateParamsPaymentDetailsLodging, PaymentIntentUpdateParamsPaymentDetailsLodgingAddress as PaymentIntentUpdateParamsPaymentDetailsLodgingAddress, PaymentIntentUpdateParamsPaymentDetailsLodgingAffiliate as PaymentIntentUpdateParamsPaymentDetailsLodgingAffiliate, + PaymentIntentUpdateParamsPaymentDetailsLodgingDatum as PaymentIntentUpdateParamsPaymentDetailsLodgingDatum, + PaymentIntentUpdateParamsPaymentDetailsLodgingDatumAccommodation as PaymentIntentUpdateParamsPaymentDetailsLodgingDatumAccommodation, + PaymentIntentUpdateParamsPaymentDetailsLodgingDatumAffiliate as PaymentIntentUpdateParamsPaymentDetailsLodgingDatumAffiliate, + PaymentIntentUpdateParamsPaymentDetailsLodgingDatumGuest as PaymentIntentUpdateParamsPaymentDetailsLodgingDatumGuest, + PaymentIntentUpdateParamsPaymentDetailsLodgingDatumHost as PaymentIntentUpdateParamsPaymentDetailsLodgingDatumHost, + PaymentIntentUpdateParamsPaymentDetailsLodgingDatumHostAddress as PaymentIntentUpdateParamsPaymentDetailsLodgingDatumHostAddress, + PaymentIntentUpdateParamsPaymentDetailsLodgingDatumInsurance as PaymentIntentUpdateParamsPaymentDetailsLodgingDatumInsurance, + PaymentIntentUpdateParamsPaymentDetailsLodgingDatumTotal as PaymentIntentUpdateParamsPaymentDetailsLodgingDatumTotal, + PaymentIntentUpdateParamsPaymentDetailsLodgingDatumTotalDiscounts as PaymentIntentUpdateParamsPaymentDetailsLodgingDatumTotalDiscounts, + PaymentIntentUpdateParamsPaymentDetailsLodgingDatumTotalExtraCharge as PaymentIntentUpdateParamsPaymentDetailsLodgingDatumTotalExtraCharge, + PaymentIntentUpdateParamsPaymentDetailsLodgingDatumTotalTax as PaymentIntentUpdateParamsPaymentDetailsLodgingDatumTotalTax, + PaymentIntentUpdateParamsPaymentDetailsLodgingDatumTotalTaxTax as PaymentIntentUpdateParamsPaymentDetailsLodgingDatumTotalTaxTax, PaymentIntentUpdateParamsPaymentDetailsLodgingDelivery as PaymentIntentUpdateParamsPaymentDetailsLodgingDelivery, PaymentIntentUpdateParamsPaymentDetailsLodgingDeliveryRecipient as PaymentIntentUpdateParamsPaymentDetailsLodgingDeliveryRecipient, PaymentIntentUpdateParamsPaymentDetailsLodgingPassenger as PaymentIntentUpdateParamsPaymentDetailsLodgingPassenger, @@ -2709,6 +3256,42 @@ PaymentIntentUpdateParamsPaymentMethodOptionsKlarnaOnDemand as PaymentIntentUpdateParamsPaymentMethodOptionsKlarnaOnDemand, PaymentIntentUpdateParamsPaymentMethodOptionsKlarnaSubscription as PaymentIntentUpdateParamsPaymentMethodOptionsKlarnaSubscription, PaymentIntentUpdateParamsPaymentMethodOptionsKlarnaSubscriptionNextBilling as PaymentIntentUpdateParamsPaymentMethodOptionsKlarnaSubscriptionNextBilling, + PaymentIntentUpdateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseData as PaymentIntentUpdateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseData, + PaymentIntentUpdateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataBusReservationDetail as PaymentIntentUpdateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataBusReservationDetail, + PaymentIntentUpdateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataBusReservationDetailArrival as PaymentIntentUpdateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataBusReservationDetailArrival, + PaymentIntentUpdateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataBusReservationDetailArrivalAddress as PaymentIntentUpdateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataBusReservationDetailArrivalAddress, + PaymentIntentUpdateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataBusReservationDetailDeparture as PaymentIntentUpdateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataBusReservationDetailDeparture, + PaymentIntentUpdateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataBusReservationDetailDepartureAddress as PaymentIntentUpdateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataBusReservationDetailDepartureAddress, + PaymentIntentUpdateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataBusReservationDetailInsurance as PaymentIntentUpdateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataBusReservationDetailInsurance, + PaymentIntentUpdateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataBusReservationDetailPassenger as PaymentIntentUpdateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataBusReservationDetailPassenger, + PaymentIntentUpdateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataEventReservationDetail as PaymentIntentUpdateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataEventReservationDetail, + PaymentIntentUpdateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataEventReservationDetailAddress as PaymentIntentUpdateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataEventReservationDetailAddress, + PaymentIntentUpdateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataEventReservationDetailInsurance as PaymentIntentUpdateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataEventReservationDetailInsurance, + PaymentIntentUpdateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataFerryReservationDetail as PaymentIntentUpdateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataFerryReservationDetail, + PaymentIntentUpdateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataFerryReservationDetailArrival as PaymentIntentUpdateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataFerryReservationDetailArrival, + PaymentIntentUpdateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataFerryReservationDetailArrivalAddress as PaymentIntentUpdateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataFerryReservationDetailArrivalAddress, + PaymentIntentUpdateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataFerryReservationDetailDeparture as PaymentIntentUpdateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataFerryReservationDetailDeparture, + PaymentIntentUpdateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataFerryReservationDetailDepartureAddress as PaymentIntentUpdateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataFerryReservationDetailDepartureAddress, + PaymentIntentUpdateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataFerryReservationDetailInsurance as PaymentIntentUpdateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataFerryReservationDetailInsurance, + PaymentIntentUpdateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataFerryReservationDetailPassenger as PaymentIntentUpdateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataFerryReservationDetailPassenger, + PaymentIntentUpdateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataInsurance as PaymentIntentUpdateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataInsurance, + PaymentIntentUpdateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataMarketplaceSeller as PaymentIntentUpdateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataMarketplaceSeller, + PaymentIntentUpdateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataMarketplaceSellerMarketplaceSellerAddress as PaymentIntentUpdateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataMarketplaceSellerMarketplaceSellerAddress, + PaymentIntentUpdateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataRoundTripReservationDetail as PaymentIntentUpdateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataRoundTripReservationDetail, + PaymentIntentUpdateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataRoundTripReservationDetailArrival as PaymentIntentUpdateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataRoundTripReservationDetailArrival, + PaymentIntentUpdateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataRoundTripReservationDetailArrivalAddress as PaymentIntentUpdateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataRoundTripReservationDetailArrivalAddress, + PaymentIntentUpdateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataRoundTripReservationDetailDeparture as PaymentIntentUpdateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataRoundTripReservationDetailDeparture, + PaymentIntentUpdateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataRoundTripReservationDetailDepartureAddress as PaymentIntentUpdateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataRoundTripReservationDetailDepartureAddress, + PaymentIntentUpdateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataRoundTripReservationDetailInsurance as PaymentIntentUpdateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataRoundTripReservationDetailInsurance, + PaymentIntentUpdateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataRoundTripReservationDetailPassenger as PaymentIntentUpdateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataRoundTripReservationDetailPassenger, + PaymentIntentUpdateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataTrainReservationDetail as PaymentIntentUpdateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataTrainReservationDetail, + PaymentIntentUpdateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataTrainReservationDetailArrival as PaymentIntentUpdateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataTrainReservationDetailArrival, + PaymentIntentUpdateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataTrainReservationDetailArrivalAddress as PaymentIntentUpdateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataTrainReservationDetailArrivalAddress, + PaymentIntentUpdateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataTrainReservationDetailDeparture as PaymentIntentUpdateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataTrainReservationDetailDeparture, + PaymentIntentUpdateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataTrainReservationDetailDepartureAddress as PaymentIntentUpdateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataTrainReservationDetailDepartureAddress, + PaymentIntentUpdateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataTrainReservationDetailInsurance as PaymentIntentUpdateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataTrainReservationDetailInsurance, + PaymentIntentUpdateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataTrainReservationDetailPassenger as PaymentIntentUpdateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataTrainReservationDetailPassenger, + PaymentIntentUpdateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataVoucher as PaymentIntentUpdateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataVoucher, PaymentIntentUpdateParamsPaymentMethodOptionsKonbini as PaymentIntentUpdateParamsPaymentMethodOptionsKonbini, PaymentIntentUpdateParamsPaymentMethodOptionsKrCard as PaymentIntentUpdateParamsPaymentMethodOptionsKrCard, PaymentIntentUpdateParamsPaymentMethodOptionsLink as PaymentIntentUpdateParamsPaymentMethodOptionsLink, @@ -5642,6 +6225,10 @@ "stripe.params._account_create_params", False, ), + "AccountCreateParamsSettingsPaypayPayments": ( + "stripe.params._account_create_params", + False, + ), "AccountCreateParamsSettingsTaxForms": ( "stripe.params._account_create_params", False, @@ -6930,6 +7517,10 @@ "stripe.params._account_update_params", False, ), + "AccountUpdateParamsSettingsPaypayPayments": ( + "stripe.params._account_update_params", + False, + ), "AccountUpdateParamsSettingsTaxForms": ( "stripe.params._account_update_params", False, @@ -7067,6 +7658,22 @@ "stripe.params._balance_transaction_retrieve_params", False, ), + "BalanceTransferCreateParams": ( + "stripe.params._balance_transfer_create_params", + False, + ), + "BalanceTransferCreateParamsDestinationBalance": ( + "stripe.params._balance_transfer_create_params", + False, + ), + "BalanceTransferCreateParamsSourceBalance": ( + "stripe.params._balance_transfer_create_params", + False, + ), + "BalanceTransferCreateParamsSourceBalanceAllocatedFunds": ( + "stripe.params._balance_transfer_create_params", + False, + ), "BankAccountDeleteParams": ( "stripe.params._bank_account_delete_params", False, @@ -7085,6 +7692,70 @@ "stripe.params._charge_capture_params", False, ), + "ChargeCaptureParamsPaymentDetailsCarRentalDatum": ( + "stripe.params._charge_capture_params", + False, + ), + "ChargeCaptureParamsPaymentDetailsCarRentalDatumAffiliate": ( + "stripe.params._charge_capture_params", + False, + ), + "ChargeCaptureParamsPaymentDetailsCarRentalDatumDistance": ( + "stripe.params._charge_capture_params", + False, + ), + "ChargeCaptureParamsPaymentDetailsCarRentalDatumDriver": ( + "stripe.params._charge_capture_params", + False, + ), + "ChargeCaptureParamsPaymentDetailsCarRentalDatumDriverDateOfBirth": ( + "stripe.params._charge_capture_params", + False, + ), + "ChargeCaptureParamsPaymentDetailsCarRentalDatumDropOff": ( + "stripe.params._charge_capture_params", + False, + ), + "ChargeCaptureParamsPaymentDetailsCarRentalDatumDropOffAddress": ( + "stripe.params._charge_capture_params", + False, + ), + "ChargeCaptureParamsPaymentDetailsCarRentalDatumInsurance": ( + "stripe.params._charge_capture_params", + False, + ), + "ChargeCaptureParamsPaymentDetailsCarRentalDatumPickup": ( + "stripe.params._charge_capture_params", + False, + ), + "ChargeCaptureParamsPaymentDetailsCarRentalDatumPickupAddress": ( + "stripe.params._charge_capture_params", + False, + ), + "ChargeCaptureParamsPaymentDetailsCarRentalDatumTotal": ( + "stripe.params._charge_capture_params", + False, + ), + "ChargeCaptureParamsPaymentDetailsCarRentalDatumTotalDiscounts": ( + "stripe.params._charge_capture_params", + False, + ), + "ChargeCaptureParamsPaymentDetailsCarRentalDatumTotalExtraCharge": ( + "stripe.params._charge_capture_params", + False, + ), + "ChargeCaptureParamsPaymentDetailsCarRentalDatumTotalTax": ( + "stripe.params._charge_capture_params", + False, + ), + "ChargeCaptureParamsPaymentDetailsCarRentalDatumTotalTaxTax": ( + "stripe.params._charge_capture_params", + False, + ), + "ChargeCaptureParamsPaymentDetailsCarRentalDatumVehicle": ( + "stripe.params._charge_capture_params", + False, + ), "ChargeCaptureParamsPaymentDetailsCarRentalDelivery": ( "stripe.params._charge_capture_params", False, @@ -7137,6 +7808,54 @@ "stripe.params._charge_capture_params", False, ), + "ChargeCaptureParamsPaymentDetailsFlightDatum": ( + "stripe.params._charge_capture_params", + False, + ), + "ChargeCaptureParamsPaymentDetailsFlightDatumAffiliate": ( + "stripe.params._charge_capture_params", + False, + ), + "ChargeCaptureParamsPaymentDetailsFlightDatumInsurance": ( + "stripe.params._charge_capture_params", + False, + ), + "ChargeCaptureParamsPaymentDetailsFlightDatumPassenger": ( + "stripe.params._charge_capture_params", + False, + ), + "ChargeCaptureParamsPaymentDetailsFlightDatumSegment": ( + "stripe.params._charge_capture_params", + False, + ), + "ChargeCaptureParamsPaymentDetailsFlightDatumSegmentArrival": ( + "stripe.params._charge_capture_params", + False, + ), + "ChargeCaptureParamsPaymentDetailsFlightDatumSegmentDeparture": ( + "stripe.params._charge_capture_params", + False, + ), + "ChargeCaptureParamsPaymentDetailsFlightDatumTotal": ( + "stripe.params._charge_capture_params", + False, + ), + "ChargeCaptureParamsPaymentDetailsFlightDatumTotalDiscounts": ( + "stripe.params._charge_capture_params", + False, + ), + "ChargeCaptureParamsPaymentDetailsFlightDatumTotalExtraCharge": ( + "stripe.params._charge_capture_params", + False, + ), + "ChargeCaptureParamsPaymentDetailsFlightDatumTotalTax": ( + "stripe.params._charge_capture_params", + False, + ), + "ChargeCaptureParamsPaymentDetailsFlightDatumTotalTaxTax": ( + "stripe.params._charge_capture_params", + False, + ), "ChargeCaptureParamsPaymentDetailsFlightDelivery": ( "stripe.params._charge_capture_params", False, @@ -7165,6 +7884,54 @@ "stripe.params._charge_capture_params", False, ), + "ChargeCaptureParamsPaymentDetailsLodgingDatum": ( + "stripe.params._charge_capture_params", + False, + ), + "ChargeCaptureParamsPaymentDetailsLodgingDatumAccommodation": ( + "stripe.params._charge_capture_params", + False, + ), + "ChargeCaptureParamsPaymentDetailsLodgingDatumAffiliate": ( + "stripe.params._charge_capture_params", + False, + ), + "ChargeCaptureParamsPaymentDetailsLodgingDatumGuest": ( + "stripe.params._charge_capture_params", + False, + ), + "ChargeCaptureParamsPaymentDetailsLodgingDatumHost": ( + "stripe.params._charge_capture_params", + False, + ), + "ChargeCaptureParamsPaymentDetailsLodgingDatumHostAddress": ( + "stripe.params._charge_capture_params", + False, + ), + "ChargeCaptureParamsPaymentDetailsLodgingDatumInsurance": ( + "stripe.params._charge_capture_params", + False, + ), + "ChargeCaptureParamsPaymentDetailsLodgingDatumTotal": ( + "stripe.params._charge_capture_params", + False, + ), + "ChargeCaptureParamsPaymentDetailsLodgingDatumTotalDiscounts": ( + "stripe.params._charge_capture_params", + False, + ), + "ChargeCaptureParamsPaymentDetailsLodgingDatumTotalExtraCharge": ( + "stripe.params._charge_capture_params", + False, + ), + "ChargeCaptureParamsPaymentDetailsLodgingDatumTotalTax": ( + "stripe.params._charge_capture_params", + False, + ), + "ChargeCaptureParamsPaymentDetailsLodgingDatumTotalTaxTax": ( + "stripe.params._charge_capture_params", + False, + ), "ChargeCaptureParamsPaymentDetailsLodgingDelivery": ( "stripe.params._charge_capture_params", False, @@ -7237,6 +8004,70 @@ "stripe.params._charge_modify_params", False, ), + "ChargeModifyParamsPaymentDetailsCarRentalDatum": ( + "stripe.params._charge_modify_params", + False, + ), + "ChargeModifyParamsPaymentDetailsCarRentalDatumAffiliate": ( + "stripe.params._charge_modify_params", + False, + ), + "ChargeModifyParamsPaymentDetailsCarRentalDatumDistance": ( + "stripe.params._charge_modify_params", + False, + ), + "ChargeModifyParamsPaymentDetailsCarRentalDatumDriver": ( + "stripe.params._charge_modify_params", + False, + ), + "ChargeModifyParamsPaymentDetailsCarRentalDatumDriverDateOfBirth": ( + "stripe.params._charge_modify_params", + False, + ), + "ChargeModifyParamsPaymentDetailsCarRentalDatumDropOff": ( + "stripe.params._charge_modify_params", + False, + ), + "ChargeModifyParamsPaymentDetailsCarRentalDatumDropOffAddress": ( + "stripe.params._charge_modify_params", + False, + ), + "ChargeModifyParamsPaymentDetailsCarRentalDatumInsurance": ( + "stripe.params._charge_modify_params", + False, + ), + "ChargeModifyParamsPaymentDetailsCarRentalDatumPickup": ( + "stripe.params._charge_modify_params", + False, + ), + "ChargeModifyParamsPaymentDetailsCarRentalDatumPickupAddress": ( + "stripe.params._charge_modify_params", + False, + ), + "ChargeModifyParamsPaymentDetailsCarRentalDatumTotal": ( + "stripe.params._charge_modify_params", + False, + ), + "ChargeModifyParamsPaymentDetailsCarRentalDatumTotalDiscounts": ( + "stripe.params._charge_modify_params", + False, + ), + "ChargeModifyParamsPaymentDetailsCarRentalDatumTotalExtraCharge": ( + "stripe.params._charge_modify_params", + False, + ), + "ChargeModifyParamsPaymentDetailsCarRentalDatumTotalTax": ( + "stripe.params._charge_modify_params", + False, + ), + "ChargeModifyParamsPaymentDetailsCarRentalDatumTotalTaxTax": ( + "stripe.params._charge_modify_params", + False, + ), + "ChargeModifyParamsPaymentDetailsCarRentalDatumVehicle": ( + "stripe.params._charge_modify_params", + False, + ), "ChargeModifyParamsPaymentDetailsCarRentalDelivery": ( "stripe.params._charge_modify_params", False, @@ -7289,6 +8120,54 @@ "stripe.params._charge_modify_params", False, ), + "ChargeModifyParamsPaymentDetailsFlightDatum": ( + "stripe.params._charge_modify_params", + False, + ), + "ChargeModifyParamsPaymentDetailsFlightDatumAffiliate": ( + "stripe.params._charge_modify_params", + False, + ), + "ChargeModifyParamsPaymentDetailsFlightDatumInsurance": ( + "stripe.params._charge_modify_params", + False, + ), + "ChargeModifyParamsPaymentDetailsFlightDatumPassenger": ( + "stripe.params._charge_modify_params", + False, + ), + "ChargeModifyParamsPaymentDetailsFlightDatumSegment": ( + "stripe.params._charge_modify_params", + False, + ), + "ChargeModifyParamsPaymentDetailsFlightDatumSegmentArrival": ( + "stripe.params._charge_modify_params", + False, + ), + "ChargeModifyParamsPaymentDetailsFlightDatumSegmentDeparture": ( + "stripe.params._charge_modify_params", + False, + ), + "ChargeModifyParamsPaymentDetailsFlightDatumTotal": ( + "stripe.params._charge_modify_params", + False, + ), + "ChargeModifyParamsPaymentDetailsFlightDatumTotalDiscounts": ( + "stripe.params._charge_modify_params", + False, + ), + "ChargeModifyParamsPaymentDetailsFlightDatumTotalExtraCharge": ( + "stripe.params._charge_modify_params", + False, + ), + "ChargeModifyParamsPaymentDetailsFlightDatumTotalTax": ( + "stripe.params._charge_modify_params", + False, + ), + "ChargeModifyParamsPaymentDetailsFlightDatumTotalTaxTax": ( + "stripe.params._charge_modify_params", + False, + ), "ChargeModifyParamsPaymentDetailsFlightDelivery": ( "stripe.params._charge_modify_params", False, @@ -7317,6 +8196,54 @@ "stripe.params._charge_modify_params", False, ), + "ChargeModifyParamsPaymentDetailsLodgingDatum": ( + "stripe.params._charge_modify_params", + False, + ), + "ChargeModifyParamsPaymentDetailsLodgingDatumAccommodation": ( + "stripe.params._charge_modify_params", + False, + ), + "ChargeModifyParamsPaymentDetailsLodgingDatumAffiliate": ( + "stripe.params._charge_modify_params", + False, + ), + "ChargeModifyParamsPaymentDetailsLodgingDatumGuest": ( + "stripe.params._charge_modify_params", + False, + ), + "ChargeModifyParamsPaymentDetailsLodgingDatumHost": ( + "stripe.params._charge_modify_params", + False, + ), + "ChargeModifyParamsPaymentDetailsLodgingDatumHostAddress": ( + "stripe.params._charge_modify_params", + False, + ), + "ChargeModifyParamsPaymentDetailsLodgingDatumInsurance": ( + "stripe.params._charge_modify_params", + False, + ), + "ChargeModifyParamsPaymentDetailsLodgingDatumTotal": ( + "stripe.params._charge_modify_params", + False, + ), + "ChargeModifyParamsPaymentDetailsLodgingDatumTotalDiscounts": ( + "stripe.params._charge_modify_params", + False, + ), + "ChargeModifyParamsPaymentDetailsLodgingDatumTotalExtraCharge": ( + "stripe.params._charge_modify_params", + False, + ), + "ChargeModifyParamsPaymentDetailsLodgingDatumTotalTax": ( + "stripe.params._charge_modify_params", + False, + ), + "ChargeModifyParamsPaymentDetailsLodgingDatumTotalTaxTax": ( + "stripe.params._charge_modify_params", + False, + ), "ChargeModifyParamsPaymentDetailsLodgingDelivery": ( "stripe.params._charge_modify_params", False, @@ -7372,7 +8299,71 @@ "stripe.params._charge_update_params", False, ), - "ChargeUpdateParamsPaymentDetailsCarRentalDelivery": ( + "ChargeUpdateParamsPaymentDetailsCarRentalDatum": ( + "stripe.params._charge_update_params", + False, + ), + "ChargeUpdateParamsPaymentDetailsCarRentalDatumAffiliate": ( + "stripe.params._charge_update_params", + False, + ), + "ChargeUpdateParamsPaymentDetailsCarRentalDatumDistance": ( + "stripe.params._charge_update_params", + False, + ), + "ChargeUpdateParamsPaymentDetailsCarRentalDatumDriver": ( + "stripe.params._charge_update_params", + False, + ), + "ChargeUpdateParamsPaymentDetailsCarRentalDatumDriverDateOfBirth": ( + "stripe.params._charge_update_params", + False, + ), + "ChargeUpdateParamsPaymentDetailsCarRentalDatumDropOff": ( + "stripe.params._charge_update_params", + False, + ), + "ChargeUpdateParamsPaymentDetailsCarRentalDatumDropOffAddress": ( + "stripe.params._charge_update_params", + False, + ), + "ChargeUpdateParamsPaymentDetailsCarRentalDatumInsurance": ( + "stripe.params._charge_update_params", + False, + ), + "ChargeUpdateParamsPaymentDetailsCarRentalDatumPickup": ( + "stripe.params._charge_update_params", + False, + ), + "ChargeUpdateParamsPaymentDetailsCarRentalDatumPickupAddress": ( + "stripe.params._charge_update_params", + False, + ), + "ChargeUpdateParamsPaymentDetailsCarRentalDatumTotal": ( + "stripe.params._charge_update_params", + False, + ), + "ChargeUpdateParamsPaymentDetailsCarRentalDatumTotalDiscounts": ( + "stripe.params._charge_update_params", + False, + ), + "ChargeUpdateParamsPaymentDetailsCarRentalDatumTotalExtraCharge": ( + "stripe.params._charge_update_params", + False, + ), + "ChargeUpdateParamsPaymentDetailsCarRentalDatumTotalTax": ( + "stripe.params._charge_update_params", + False, + ), + "ChargeUpdateParamsPaymentDetailsCarRentalDatumTotalTaxTax": ( + "stripe.params._charge_update_params", + False, + ), + "ChargeUpdateParamsPaymentDetailsCarRentalDatumVehicle": ( + "stripe.params._charge_update_params", + False, + ), + "ChargeUpdateParamsPaymentDetailsCarRentalDelivery": ( "stripe.params._charge_update_params", False, ), @@ -7424,6 +8415,54 @@ "stripe.params._charge_update_params", False, ), + "ChargeUpdateParamsPaymentDetailsFlightDatum": ( + "stripe.params._charge_update_params", + False, + ), + "ChargeUpdateParamsPaymentDetailsFlightDatumAffiliate": ( + "stripe.params._charge_update_params", + False, + ), + "ChargeUpdateParamsPaymentDetailsFlightDatumInsurance": ( + "stripe.params._charge_update_params", + False, + ), + "ChargeUpdateParamsPaymentDetailsFlightDatumPassenger": ( + "stripe.params._charge_update_params", + False, + ), + "ChargeUpdateParamsPaymentDetailsFlightDatumSegment": ( + "stripe.params._charge_update_params", + False, + ), + "ChargeUpdateParamsPaymentDetailsFlightDatumSegmentArrival": ( + "stripe.params._charge_update_params", + False, + ), + "ChargeUpdateParamsPaymentDetailsFlightDatumSegmentDeparture": ( + "stripe.params._charge_update_params", + False, + ), + "ChargeUpdateParamsPaymentDetailsFlightDatumTotal": ( + "stripe.params._charge_update_params", + False, + ), + "ChargeUpdateParamsPaymentDetailsFlightDatumTotalDiscounts": ( + "stripe.params._charge_update_params", + False, + ), + "ChargeUpdateParamsPaymentDetailsFlightDatumTotalExtraCharge": ( + "stripe.params._charge_update_params", + False, + ), + "ChargeUpdateParamsPaymentDetailsFlightDatumTotalTax": ( + "stripe.params._charge_update_params", + False, + ), + "ChargeUpdateParamsPaymentDetailsFlightDatumTotalTaxTax": ( + "stripe.params._charge_update_params", + False, + ), "ChargeUpdateParamsPaymentDetailsFlightDelivery": ( "stripe.params._charge_update_params", False, @@ -7452,6 +8491,54 @@ "stripe.params._charge_update_params", False, ), + "ChargeUpdateParamsPaymentDetailsLodgingDatum": ( + "stripe.params._charge_update_params", + False, + ), + "ChargeUpdateParamsPaymentDetailsLodgingDatumAccommodation": ( + "stripe.params._charge_update_params", + False, + ), + "ChargeUpdateParamsPaymentDetailsLodgingDatumAffiliate": ( + "stripe.params._charge_update_params", + False, + ), + "ChargeUpdateParamsPaymentDetailsLodgingDatumGuest": ( + "stripe.params._charge_update_params", + False, + ), + "ChargeUpdateParamsPaymentDetailsLodgingDatumHost": ( + "stripe.params._charge_update_params", + False, + ), + "ChargeUpdateParamsPaymentDetailsLodgingDatumHostAddress": ( + "stripe.params._charge_update_params", + False, + ), + "ChargeUpdateParamsPaymentDetailsLodgingDatumInsurance": ( + "stripe.params._charge_update_params", + False, + ), + "ChargeUpdateParamsPaymentDetailsLodgingDatumTotal": ( + "stripe.params._charge_update_params", + False, + ), + "ChargeUpdateParamsPaymentDetailsLodgingDatumTotalDiscounts": ( + "stripe.params._charge_update_params", + False, + ), + "ChargeUpdateParamsPaymentDetailsLodgingDatumTotalExtraCharge": ( + "stripe.params._charge_update_params", + False, + ), + "ChargeUpdateParamsPaymentDetailsLodgingDatumTotalTax": ( + "stripe.params._charge_update_params", + False, + ), + "ChargeUpdateParamsPaymentDetailsLodgingDatumTotalTaxTax": ( + "stripe.params._charge_update_params", + False, + ), "ChargeUpdateParamsPaymentDetailsLodgingDelivery": ( "stripe.params._charge_update_params", False, @@ -7933,6 +9020,10 @@ "stripe.params._customer_balance_transaction_list_params", False, ), + "CustomerBalanceTransactionListParamsCreated": ( + "stripe.params._customer_balance_transaction_list_params", + False, + ), "CustomerBalanceTransactionRetrieveParams": ( "stripe.params._customer_balance_transaction_retrieve_params", False, @@ -8059,6 +9150,10 @@ "stripe.params._customer_list_balance_transactions_params", False, ), + "CustomerListBalanceTransactionsParamsCreated": ( + "stripe.params._customer_list_balance_transactions_params", + False, + ), "CustomerListCashBalanceTransactionsParams": ( "stripe.params._customer_list_cash_balance_transactions_params", False, @@ -9437,6 +10532,10 @@ "stripe.params._invoice_payment_list_params", False, ), + "InvoicePaymentListParamsCreated": ( + "stripe.params._invoice_payment_list_params", + False, + ), "InvoicePaymentListParamsPayment": ( "stripe.params._invoice_payment_list_params", False, @@ -9788,6 +10887,150 @@ "stripe.params._order_create_params", False, ), + "OrderCreateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseData": ( + "stripe.params._order_create_params", + False, + ), + "OrderCreateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataBusReservationDetail": ( + "stripe.params._order_create_params", + False, + ), + "OrderCreateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataBusReservationDetailArrival": ( + "stripe.params._order_create_params", + False, + ), + "OrderCreateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataBusReservationDetailArrivalAddress": ( + "stripe.params._order_create_params", + False, + ), + "OrderCreateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataBusReservationDetailDeparture": ( + "stripe.params._order_create_params", + False, + ), + "OrderCreateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataBusReservationDetailDepartureAddress": ( + "stripe.params._order_create_params", + False, + ), + "OrderCreateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataBusReservationDetailInsurance": ( + "stripe.params._order_create_params", + False, + ), + "OrderCreateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataBusReservationDetailPassenger": ( + "stripe.params._order_create_params", + False, + ), + "OrderCreateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataEventReservationDetail": ( + "stripe.params._order_create_params", + False, + ), + "OrderCreateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataEventReservationDetailAddress": ( + "stripe.params._order_create_params", + False, + ), + "OrderCreateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataEventReservationDetailInsurance": ( + "stripe.params._order_create_params", + False, + ), + "OrderCreateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataFerryReservationDetail": ( + "stripe.params._order_create_params", + False, + ), + "OrderCreateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataFerryReservationDetailArrival": ( + "stripe.params._order_create_params", + False, + ), + "OrderCreateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataFerryReservationDetailArrivalAddress": ( + "stripe.params._order_create_params", + False, + ), + "OrderCreateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataFerryReservationDetailDeparture": ( + "stripe.params._order_create_params", + False, + ), + "OrderCreateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataFerryReservationDetailDepartureAddress": ( + "stripe.params._order_create_params", + False, + ), + "OrderCreateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataFerryReservationDetailInsurance": ( + "stripe.params._order_create_params", + False, + ), + "OrderCreateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataFerryReservationDetailPassenger": ( + "stripe.params._order_create_params", + False, + ), + "OrderCreateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataInsurance": ( + "stripe.params._order_create_params", + False, + ), + "OrderCreateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataMarketplaceSeller": ( + "stripe.params._order_create_params", + False, + ), + "OrderCreateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataMarketplaceSellerMarketplaceSellerAddress": ( + "stripe.params._order_create_params", + False, + ), + "OrderCreateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataRoundTripReservationDetail": ( + "stripe.params._order_create_params", + False, + ), + "OrderCreateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataRoundTripReservationDetailArrival": ( + "stripe.params._order_create_params", + False, + ), + "OrderCreateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataRoundTripReservationDetailArrivalAddress": ( + "stripe.params._order_create_params", + False, + ), + "OrderCreateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataRoundTripReservationDetailDeparture": ( + "stripe.params._order_create_params", + False, + ), + "OrderCreateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataRoundTripReservationDetailDepartureAddress": ( + "stripe.params._order_create_params", + False, + ), + "OrderCreateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataRoundTripReservationDetailInsurance": ( + "stripe.params._order_create_params", + False, + ), + "OrderCreateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataRoundTripReservationDetailPassenger": ( + "stripe.params._order_create_params", + False, + ), + "OrderCreateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataTrainReservationDetail": ( + "stripe.params._order_create_params", + False, + ), + "OrderCreateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataTrainReservationDetailArrival": ( + "stripe.params._order_create_params", + False, + ), + "OrderCreateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataTrainReservationDetailArrivalAddress": ( + "stripe.params._order_create_params", + False, + ), + "OrderCreateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataTrainReservationDetailDeparture": ( + "stripe.params._order_create_params", + False, + ), + "OrderCreateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataTrainReservationDetailDepartureAddress": ( + "stripe.params._order_create_params", + False, + ), + "OrderCreateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataTrainReservationDetailInsurance": ( + "stripe.params._order_create_params", + False, + ), + "OrderCreateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataTrainReservationDetailPassenger": ( + "stripe.params._order_create_params", + False, + ), + "OrderCreateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataVoucher": ( + "stripe.params._order_create_params", + False, + ), "OrderCreateParamsPaymentSettingsPaymentMethodOptionsLink": ( "stripe.params._order_create_params", False, @@ -9981,75 +11224,219 @@ "stripe.params._order_modify_params", False, ), - "OrderModifyParamsPaymentSettingsPaymentMethodOptionsLink": ( + "OrderModifyParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseData": ( "stripe.params._order_modify_params", False, ), - "OrderModifyParamsPaymentSettingsPaymentMethodOptionsOxxo": ( + "OrderModifyParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataBusReservationDetail": ( "stripe.params._order_modify_params", False, ), - "OrderModifyParamsPaymentSettingsPaymentMethodOptionsP24": ( + "OrderModifyParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataBusReservationDetailArrival": ( "stripe.params._order_modify_params", False, ), - "OrderModifyParamsPaymentSettingsPaymentMethodOptionsPaypal": ( + "OrderModifyParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataBusReservationDetailArrivalAddress": ( "stripe.params._order_modify_params", False, ), - "OrderModifyParamsPaymentSettingsPaymentMethodOptionsPaypalLineItem": ( + "OrderModifyParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataBusReservationDetailDeparture": ( "stripe.params._order_modify_params", False, ), - "OrderModifyParamsPaymentSettingsPaymentMethodOptionsPaypalLineItemTax": ( + "OrderModifyParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataBusReservationDetailDepartureAddress": ( "stripe.params._order_modify_params", False, ), - "OrderModifyParamsPaymentSettingsPaymentMethodOptionsSepaDebit": ( + "OrderModifyParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataBusReservationDetailInsurance": ( "stripe.params._order_modify_params", False, ), - "OrderModifyParamsPaymentSettingsPaymentMethodOptionsSepaDebitMandateOptions": ( + "OrderModifyParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataBusReservationDetailPassenger": ( "stripe.params._order_modify_params", False, ), - "OrderModifyParamsPaymentSettingsPaymentMethodOptionsSofort": ( + "OrderModifyParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataEventReservationDetail": ( "stripe.params._order_modify_params", False, ), - "OrderModifyParamsPaymentSettingsPaymentMethodOptionsWechatPay": ( + "OrderModifyParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataEventReservationDetailAddress": ( "stripe.params._order_modify_params", False, ), - "OrderModifyParamsPaymentSettingsTransferData": ( + "OrderModifyParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataEventReservationDetailInsurance": ( "stripe.params._order_modify_params", False, ), - "OrderModifyParamsShippingCost": ( + "OrderModifyParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataFerryReservationDetail": ( "stripe.params._order_modify_params", False, ), - "OrderModifyParamsShippingCostShippingRateData": ( + "OrderModifyParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataFerryReservationDetailArrival": ( "stripe.params._order_modify_params", False, ), - "OrderModifyParamsShippingCostShippingRateDataDeliveryEstimate": ( + "OrderModifyParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataFerryReservationDetailArrivalAddress": ( "stripe.params._order_modify_params", False, ), - "OrderModifyParamsShippingCostShippingRateDataDeliveryEstimateMaximum": ( + "OrderModifyParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataFerryReservationDetailDeparture": ( "stripe.params._order_modify_params", False, ), - "OrderModifyParamsShippingCostShippingRateDataDeliveryEstimateMinimum": ( + "OrderModifyParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataFerryReservationDetailDepartureAddress": ( "stripe.params._order_modify_params", False, ), - "OrderModifyParamsShippingCostShippingRateDataFixedAmount": ( + "OrderModifyParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataFerryReservationDetailInsurance": ( "stripe.params._order_modify_params", False, ), - "OrderModifyParamsShippingCostShippingRateDataFixedAmountCurrencyOptions": ( + "OrderModifyParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataFerryReservationDetailPassenger": ( + "stripe.params._order_modify_params", + False, + ), + "OrderModifyParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataInsurance": ( + "stripe.params._order_modify_params", + False, + ), + "OrderModifyParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataMarketplaceSeller": ( + "stripe.params._order_modify_params", + False, + ), + "OrderModifyParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataMarketplaceSellerMarketplaceSellerAddress": ( + "stripe.params._order_modify_params", + False, + ), + "OrderModifyParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataRoundTripReservationDetail": ( + "stripe.params._order_modify_params", + False, + ), + "OrderModifyParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataRoundTripReservationDetailArrival": ( + "stripe.params._order_modify_params", + False, + ), + "OrderModifyParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataRoundTripReservationDetailArrivalAddress": ( + "stripe.params._order_modify_params", + False, + ), + "OrderModifyParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataRoundTripReservationDetailDeparture": ( + "stripe.params._order_modify_params", + False, + ), + "OrderModifyParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataRoundTripReservationDetailDepartureAddress": ( + "stripe.params._order_modify_params", + False, + ), + "OrderModifyParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataRoundTripReservationDetailInsurance": ( + "stripe.params._order_modify_params", + False, + ), + "OrderModifyParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataRoundTripReservationDetailPassenger": ( + "stripe.params._order_modify_params", + False, + ), + "OrderModifyParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataTrainReservationDetail": ( + "stripe.params._order_modify_params", + False, + ), + "OrderModifyParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataTrainReservationDetailArrival": ( + "stripe.params._order_modify_params", + False, + ), + "OrderModifyParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataTrainReservationDetailArrivalAddress": ( + "stripe.params._order_modify_params", + False, + ), + "OrderModifyParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataTrainReservationDetailDeparture": ( + "stripe.params._order_modify_params", + False, + ), + "OrderModifyParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataTrainReservationDetailDepartureAddress": ( + "stripe.params._order_modify_params", + False, + ), + "OrderModifyParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataTrainReservationDetailInsurance": ( + "stripe.params._order_modify_params", + False, + ), + "OrderModifyParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataTrainReservationDetailPassenger": ( + "stripe.params._order_modify_params", + False, + ), + "OrderModifyParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataVoucher": ( + "stripe.params._order_modify_params", + False, + ), + "OrderModifyParamsPaymentSettingsPaymentMethodOptionsLink": ( + "stripe.params._order_modify_params", + False, + ), + "OrderModifyParamsPaymentSettingsPaymentMethodOptionsOxxo": ( + "stripe.params._order_modify_params", + False, + ), + "OrderModifyParamsPaymentSettingsPaymentMethodOptionsP24": ( + "stripe.params._order_modify_params", + False, + ), + "OrderModifyParamsPaymentSettingsPaymentMethodOptionsPaypal": ( + "stripe.params._order_modify_params", + False, + ), + "OrderModifyParamsPaymentSettingsPaymentMethodOptionsPaypalLineItem": ( + "stripe.params._order_modify_params", + False, + ), + "OrderModifyParamsPaymentSettingsPaymentMethodOptionsPaypalLineItemTax": ( + "stripe.params._order_modify_params", + False, + ), + "OrderModifyParamsPaymentSettingsPaymentMethodOptionsSepaDebit": ( + "stripe.params._order_modify_params", + False, + ), + "OrderModifyParamsPaymentSettingsPaymentMethodOptionsSepaDebitMandateOptions": ( + "stripe.params._order_modify_params", + False, + ), + "OrderModifyParamsPaymentSettingsPaymentMethodOptionsSofort": ( + "stripe.params._order_modify_params", + False, + ), + "OrderModifyParamsPaymentSettingsPaymentMethodOptionsWechatPay": ( + "stripe.params._order_modify_params", + False, + ), + "OrderModifyParamsPaymentSettingsTransferData": ( + "stripe.params._order_modify_params", + False, + ), + "OrderModifyParamsShippingCost": ( + "stripe.params._order_modify_params", + False, + ), + "OrderModifyParamsShippingCostShippingRateData": ( + "stripe.params._order_modify_params", + False, + ), + "OrderModifyParamsShippingCostShippingRateDataDeliveryEstimate": ( + "stripe.params._order_modify_params", + False, + ), + "OrderModifyParamsShippingCostShippingRateDataDeliveryEstimateMaximum": ( + "stripe.params._order_modify_params", + False, + ), + "OrderModifyParamsShippingCostShippingRateDataDeliveryEstimateMinimum": ( + "stripe.params._order_modify_params", + False, + ), + "OrderModifyParamsShippingCostShippingRateDataFixedAmount": ( + "stripe.params._order_modify_params", + False, + ), + "OrderModifyParamsShippingCostShippingRateDataFixedAmountCurrencyOptions": ( "stripe.params._order_modify_params", False, ), @@ -10168,6 +11555,150 @@ "stripe.params._order_update_params", False, ), + "OrderUpdateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseData": ( + "stripe.params._order_update_params", + False, + ), + "OrderUpdateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataBusReservationDetail": ( + "stripe.params._order_update_params", + False, + ), + "OrderUpdateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataBusReservationDetailArrival": ( + "stripe.params._order_update_params", + False, + ), + "OrderUpdateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataBusReservationDetailArrivalAddress": ( + "stripe.params._order_update_params", + False, + ), + "OrderUpdateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataBusReservationDetailDeparture": ( + "stripe.params._order_update_params", + False, + ), + "OrderUpdateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataBusReservationDetailDepartureAddress": ( + "stripe.params._order_update_params", + False, + ), + "OrderUpdateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataBusReservationDetailInsurance": ( + "stripe.params._order_update_params", + False, + ), + "OrderUpdateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataBusReservationDetailPassenger": ( + "stripe.params._order_update_params", + False, + ), + "OrderUpdateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataEventReservationDetail": ( + "stripe.params._order_update_params", + False, + ), + "OrderUpdateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataEventReservationDetailAddress": ( + "stripe.params._order_update_params", + False, + ), + "OrderUpdateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataEventReservationDetailInsurance": ( + "stripe.params._order_update_params", + False, + ), + "OrderUpdateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataFerryReservationDetail": ( + "stripe.params._order_update_params", + False, + ), + "OrderUpdateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataFerryReservationDetailArrival": ( + "stripe.params._order_update_params", + False, + ), + "OrderUpdateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataFerryReservationDetailArrivalAddress": ( + "stripe.params._order_update_params", + False, + ), + "OrderUpdateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataFerryReservationDetailDeparture": ( + "stripe.params._order_update_params", + False, + ), + "OrderUpdateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataFerryReservationDetailDepartureAddress": ( + "stripe.params._order_update_params", + False, + ), + "OrderUpdateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataFerryReservationDetailInsurance": ( + "stripe.params._order_update_params", + False, + ), + "OrderUpdateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataFerryReservationDetailPassenger": ( + "stripe.params._order_update_params", + False, + ), + "OrderUpdateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataInsurance": ( + "stripe.params._order_update_params", + False, + ), + "OrderUpdateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataMarketplaceSeller": ( + "stripe.params._order_update_params", + False, + ), + "OrderUpdateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataMarketplaceSellerMarketplaceSellerAddress": ( + "stripe.params._order_update_params", + False, + ), + "OrderUpdateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataRoundTripReservationDetail": ( + "stripe.params._order_update_params", + False, + ), + "OrderUpdateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataRoundTripReservationDetailArrival": ( + "stripe.params._order_update_params", + False, + ), + "OrderUpdateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataRoundTripReservationDetailArrivalAddress": ( + "stripe.params._order_update_params", + False, + ), + "OrderUpdateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataRoundTripReservationDetailDeparture": ( + "stripe.params._order_update_params", + False, + ), + "OrderUpdateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataRoundTripReservationDetailDepartureAddress": ( + "stripe.params._order_update_params", + False, + ), + "OrderUpdateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataRoundTripReservationDetailInsurance": ( + "stripe.params._order_update_params", + False, + ), + "OrderUpdateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataRoundTripReservationDetailPassenger": ( + "stripe.params._order_update_params", + False, + ), + "OrderUpdateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataTrainReservationDetail": ( + "stripe.params._order_update_params", + False, + ), + "OrderUpdateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataTrainReservationDetailArrival": ( + "stripe.params._order_update_params", + False, + ), + "OrderUpdateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataTrainReservationDetailArrivalAddress": ( + "stripe.params._order_update_params", + False, + ), + "OrderUpdateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataTrainReservationDetailDeparture": ( + "stripe.params._order_update_params", + False, + ), + "OrderUpdateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataTrainReservationDetailDepartureAddress": ( + "stripe.params._order_update_params", + False, + ), + "OrderUpdateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataTrainReservationDetailInsurance": ( + "stripe.params._order_update_params", + False, + ), + "OrderUpdateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataTrainReservationDetailPassenger": ( + "stripe.params._order_update_params", + False, + ), + "OrderUpdateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataVoucher": ( + "stripe.params._order_update_params", + False, + ), "OrderUpdateParamsPaymentSettingsPaymentMethodOptionsLink": ( "stripe.params._order_update_params", False, @@ -10344,6 +11875,70 @@ "stripe.params._payment_intent_capture_params", False, ), + "PaymentIntentCaptureParamsPaymentDetailsCarRentalDatum": ( + "stripe.params._payment_intent_capture_params", + False, + ), + "PaymentIntentCaptureParamsPaymentDetailsCarRentalDatumAffiliate": ( + "stripe.params._payment_intent_capture_params", + False, + ), + "PaymentIntentCaptureParamsPaymentDetailsCarRentalDatumDistance": ( + "stripe.params._payment_intent_capture_params", + False, + ), + "PaymentIntentCaptureParamsPaymentDetailsCarRentalDatumDriver": ( + "stripe.params._payment_intent_capture_params", + False, + ), + "PaymentIntentCaptureParamsPaymentDetailsCarRentalDatumDriverDateOfBirth": ( + "stripe.params._payment_intent_capture_params", + False, + ), + "PaymentIntentCaptureParamsPaymentDetailsCarRentalDatumDropOff": ( + "stripe.params._payment_intent_capture_params", + False, + ), + "PaymentIntentCaptureParamsPaymentDetailsCarRentalDatumDropOffAddress": ( + "stripe.params._payment_intent_capture_params", + False, + ), + "PaymentIntentCaptureParamsPaymentDetailsCarRentalDatumInsurance": ( + "stripe.params._payment_intent_capture_params", + False, + ), + "PaymentIntentCaptureParamsPaymentDetailsCarRentalDatumPickup": ( + "stripe.params._payment_intent_capture_params", + False, + ), + "PaymentIntentCaptureParamsPaymentDetailsCarRentalDatumPickupAddress": ( + "stripe.params._payment_intent_capture_params", + False, + ), + "PaymentIntentCaptureParamsPaymentDetailsCarRentalDatumTotal": ( + "stripe.params._payment_intent_capture_params", + False, + ), + "PaymentIntentCaptureParamsPaymentDetailsCarRentalDatumTotalDiscounts": ( + "stripe.params._payment_intent_capture_params", + False, + ), + "PaymentIntentCaptureParamsPaymentDetailsCarRentalDatumTotalExtraCharge": ( + "stripe.params._payment_intent_capture_params", + False, + ), + "PaymentIntentCaptureParamsPaymentDetailsCarRentalDatumTotalTax": ( + "stripe.params._payment_intent_capture_params", + False, + ), + "PaymentIntentCaptureParamsPaymentDetailsCarRentalDatumTotalTaxTax": ( + "stripe.params._payment_intent_capture_params", + False, + ), + "PaymentIntentCaptureParamsPaymentDetailsCarRentalDatumVehicle": ( + "stripe.params._payment_intent_capture_params", + False, + ), "PaymentIntentCaptureParamsPaymentDetailsCarRentalDelivery": ( "stripe.params._payment_intent_capture_params", False, @@ -10396,6 +11991,54 @@ "stripe.params._payment_intent_capture_params", False, ), + "PaymentIntentCaptureParamsPaymentDetailsFlightDatum": ( + "stripe.params._payment_intent_capture_params", + False, + ), + "PaymentIntentCaptureParamsPaymentDetailsFlightDatumAffiliate": ( + "stripe.params._payment_intent_capture_params", + False, + ), + "PaymentIntentCaptureParamsPaymentDetailsFlightDatumInsurance": ( + "stripe.params._payment_intent_capture_params", + False, + ), + "PaymentIntentCaptureParamsPaymentDetailsFlightDatumPassenger": ( + "stripe.params._payment_intent_capture_params", + False, + ), + "PaymentIntentCaptureParamsPaymentDetailsFlightDatumSegment": ( + "stripe.params._payment_intent_capture_params", + False, + ), + "PaymentIntentCaptureParamsPaymentDetailsFlightDatumSegmentArrival": ( + "stripe.params._payment_intent_capture_params", + False, + ), + "PaymentIntentCaptureParamsPaymentDetailsFlightDatumSegmentDeparture": ( + "stripe.params._payment_intent_capture_params", + False, + ), + "PaymentIntentCaptureParamsPaymentDetailsFlightDatumTotal": ( + "stripe.params._payment_intent_capture_params", + False, + ), + "PaymentIntentCaptureParamsPaymentDetailsFlightDatumTotalDiscounts": ( + "stripe.params._payment_intent_capture_params", + False, + ), + "PaymentIntentCaptureParamsPaymentDetailsFlightDatumTotalExtraCharge": ( + "stripe.params._payment_intent_capture_params", + False, + ), + "PaymentIntentCaptureParamsPaymentDetailsFlightDatumTotalTax": ( + "stripe.params._payment_intent_capture_params", + False, + ), + "PaymentIntentCaptureParamsPaymentDetailsFlightDatumTotalTaxTax": ( + "stripe.params._payment_intent_capture_params", + False, + ), "PaymentIntentCaptureParamsPaymentDetailsFlightDelivery": ( "stripe.params._payment_intent_capture_params", False, @@ -10424,6 +12067,54 @@ "stripe.params._payment_intent_capture_params", False, ), + "PaymentIntentCaptureParamsPaymentDetailsLodgingDatum": ( + "stripe.params._payment_intent_capture_params", + False, + ), + "PaymentIntentCaptureParamsPaymentDetailsLodgingDatumAccommodation": ( + "stripe.params._payment_intent_capture_params", + False, + ), + "PaymentIntentCaptureParamsPaymentDetailsLodgingDatumAffiliate": ( + "stripe.params._payment_intent_capture_params", + False, + ), + "PaymentIntentCaptureParamsPaymentDetailsLodgingDatumGuest": ( + "stripe.params._payment_intent_capture_params", + False, + ), + "PaymentIntentCaptureParamsPaymentDetailsLodgingDatumHost": ( + "stripe.params._payment_intent_capture_params", + False, + ), + "PaymentIntentCaptureParamsPaymentDetailsLodgingDatumHostAddress": ( + "stripe.params._payment_intent_capture_params", + False, + ), + "PaymentIntentCaptureParamsPaymentDetailsLodgingDatumInsurance": ( + "stripe.params._payment_intent_capture_params", + False, + ), + "PaymentIntentCaptureParamsPaymentDetailsLodgingDatumTotal": ( + "stripe.params._payment_intent_capture_params", + False, + ), + "PaymentIntentCaptureParamsPaymentDetailsLodgingDatumTotalDiscounts": ( + "stripe.params._payment_intent_capture_params", + False, + ), + "PaymentIntentCaptureParamsPaymentDetailsLodgingDatumTotalExtraCharge": ( + "stripe.params._payment_intent_capture_params", + False, + ), + "PaymentIntentCaptureParamsPaymentDetailsLodgingDatumTotalTax": ( + "stripe.params._payment_intent_capture_params", + False, + ), + "PaymentIntentCaptureParamsPaymentDetailsLodgingDatumTotalTaxTax": ( + "stripe.params._payment_intent_capture_params", + False, + ), "PaymentIntentCaptureParamsPaymentDetailsLodgingDelivery": ( "stripe.params._payment_intent_capture_params", False, @@ -10548,6 +12239,70 @@ "stripe.params._payment_intent_confirm_params", False, ), + "PaymentIntentConfirmParamsPaymentDetailsCarRentalDatum": ( + "stripe.params._payment_intent_confirm_params", + False, + ), + "PaymentIntentConfirmParamsPaymentDetailsCarRentalDatumAffiliate": ( + "stripe.params._payment_intent_confirm_params", + False, + ), + "PaymentIntentConfirmParamsPaymentDetailsCarRentalDatumDistance": ( + "stripe.params._payment_intent_confirm_params", + False, + ), + "PaymentIntentConfirmParamsPaymentDetailsCarRentalDatumDriver": ( + "stripe.params._payment_intent_confirm_params", + False, + ), + "PaymentIntentConfirmParamsPaymentDetailsCarRentalDatumDriverDateOfBirth": ( + "stripe.params._payment_intent_confirm_params", + False, + ), + "PaymentIntentConfirmParamsPaymentDetailsCarRentalDatumDropOff": ( + "stripe.params._payment_intent_confirm_params", + False, + ), + "PaymentIntentConfirmParamsPaymentDetailsCarRentalDatumDropOffAddress": ( + "stripe.params._payment_intent_confirm_params", + False, + ), + "PaymentIntentConfirmParamsPaymentDetailsCarRentalDatumInsurance": ( + "stripe.params._payment_intent_confirm_params", + False, + ), + "PaymentIntentConfirmParamsPaymentDetailsCarRentalDatumPickup": ( + "stripe.params._payment_intent_confirm_params", + False, + ), + "PaymentIntentConfirmParamsPaymentDetailsCarRentalDatumPickupAddress": ( + "stripe.params._payment_intent_confirm_params", + False, + ), + "PaymentIntentConfirmParamsPaymentDetailsCarRentalDatumTotal": ( + "stripe.params._payment_intent_confirm_params", + False, + ), + "PaymentIntentConfirmParamsPaymentDetailsCarRentalDatumTotalDiscounts": ( + "stripe.params._payment_intent_confirm_params", + False, + ), + "PaymentIntentConfirmParamsPaymentDetailsCarRentalDatumTotalExtraCharge": ( + "stripe.params._payment_intent_confirm_params", + False, + ), + "PaymentIntentConfirmParamsPaymentDetailsCarRentalDatumTotalTax": ( + "stripe.params._payment_intent_confirm_params", + False, + ), + "PaymentIntentConfirmParamsPaymentDetailsCarRentalDatumTotalTaxTax": ( + "stripe.params._payment_intent_confirm_params", + False, + ), + "PaymentIntentConfirmParamsPaymentDetailsCarRentalDatumVehicle": ( + "stripe.params._payment_intent_confirm_params", + False, + ), "PaymentIntentConfirmParamsPaymentDetailsCarRentalDelivery": ( "stripe.params._payment_intent_confirm_params", False, @@ -10600,6 +12355,54 @@ "stripe.params._payment_intent_confirm_params", False, ), + "PaymentIntentConfirmParamsPaymentDetailsFlightDatum": ( + "stripe.params._payment_intent_confirm_params", + False, + ), + "PaymentIntentConfirmParamsPaymentDetailsFlightDatumAffiliate": ( + "stripe.params._payment_intent_confirm_params", + False, + ), + "PaymentIntentConfirmParamsPaymentDetailsFlightDatumInsurance": ( + "stripe.params._payment_intent_confirm_params", + False, + ), + "PaymentIntentConfirmParamsPaymentDetailsFlightDatumPassenger": ( + "stripe.params._payment_intent_confirm_params", + False, + ), + "PaymentIntentConfirmParamsPaymentDetailsFlightDatumSegment": ( + "stripe.params._payment_intent_confirm_params", + False, + ), + "PaymentIntentConfirmParamsPaymentDetailsFlightDatumSegmentArrival": ( + "stripe.params._payment_intent_confirm_params", + False, + ), + "PaymentIntentConfirmParamsPaymentDetailsFlightDatumSegmentDeparture": ( + "stripe.params._payment_intent_confirm_params", + False, + ), + "PaymentIntentConfirmParamsPaymentDetailsFlightDatumTotal": ( + "stripe.params._payment_intent_confirm_params", + False, + ), + "PaymentIntentConfirmParamsPaymentDetailsFlightDatumTotalDiscounts": ( + "stripe.params._payment_intent_confirm_params", + False, + ), + "PaymentIntentConfirmParamsPaymentDetailsFlightDatumTotalExtraCharge": ( + "stripe.params._payment_intent_confirm_params", + False, + ), + "PaymentIntentConfirmParamsPaymentDetailsFlightDatumTotalTax": ( + "stripe.params._payment_intent_confirm_params", + False, + ), + "PaymentIntentConfirmParamsPaymentDetailsFlightDatumTotalTaxTax": ( + "stripe.params._payment_intent_confirm_params", + False, + ), "PaymentIntentConfirmParamsPaymentDetailsFlightDelivery": ( "stripe.params._payment_intent_confirm_params", False, @@ -10628,6 +12431,54 @@ "stripe.params._payment_intent_confirm_params", False, ), + "PaymentIntentConfirmParamsPaymentDetailsLodgingDatum": ( + "stripe.params._payment_intent_confirm_params", + False, + ), + "PaymentIntentConfirmParamsPaymentDetailsLodgingDatumAccommodation": ( + "stripe.params._payment_intent_confirm_params", + False, + ), + "PaymentIntentConfirmParamsPaymentDetailsLodgingDatumAffiliate": ( + "stripe.params._payment_intent_confirm_params", + False, + ), + "PaymentIntentConfirmParamsPaymentDetailsLodgingDatumGuest": ( + "stripe.params._payment_intent_confirm_params", + False, + ), + "PaymentIntentConfirmParamsPaymentDetailsLodgingDatumHost": ( + "stripe.params._payment_intent_confirm_params", + False, + ), + "PaymentIntentConfirmParamsPaymentDetailsLodgingDatumHostAddress": ( + "stripe.params._payment_intent_confirm_params", + False, + ), + "PaymentIntentConfirmParamsPaymentDetailsLodgingDatumInsurance": ( + "stripe.params._payment_intent_confirm_params", + False, + ), + "PaymentIntentConfirmParamsPaymentDetailsLodgingDatumTotal": ( + "stripe.params._payment_intent_confirm_params", + False, + ), + "PaymentIntentConfirmParamsPaymentDetailsLodgingDatumTotalDiscounts": ( + "stripe.params._payment_intent_confirm_params", + False, + ), + "PaymentIntentConfirmParamsPaymentDetailsLodgingDatumTotalExtraCharge": ( + "stripe.params._payment_intent_confirm_params", + False, + ), + "PaymentIntentConfirmParamsPaymentDetailsLodgingDatumTotalTax": ( + "stripe.params._payment_intent_confirm_params", + False, + ), + "PaymentIntentConfirmParamsPaymentDetailsLodgingDatumTotalTaxTax": ( + "stripe.params._payment_intent_confirm_params", + False, + ), "PaymentIntentConfirmParamsPaymentDetailsLodgingDelivery": ( "stripe.params._payment_intent_confirm_params", False, @@ -10968,115 +12819,259 @@ "stripe.params._payment_intent_confirm_params", False, ), - "PaymentIntentConfirmParamsPaymentMethodOptionsCardInstallments": ( + "PaymentIntentConfirmParamsPaymentMethodOptionsCardInstallments": ( + "stripe.params._payment_intent_confirm_params", + False, + ), + "PaymentIntentConfirmParamsPaymentMethodOptionsCardInstallmentsPlan": ( + "stripe.params._payment_intent_confirm_params", + False, + ), + "PaymentIntentConfirmParamsPaymentMethodOptionsCardMandateOptions": ( + "stripe.params._payment_intent_confirm_params", + False, + ), + "PaymentIntentConfirmParamsPaymentMethodOptionsCardPresent": ( + "stripe.params._payment_intent_confirm_params", + False, + ), + "PaymentIntentConfirmParamsPaymentMethodOptionsCardPresentRouting": ( + "stripe.params._payment_intent_confirm_params", + False, + ), + "PaymentIntentConfirmParamsPaymentMethodOptionsCardStatementDetails": ( + "stripe.params._payment_intent_confirm_params", + False, + ), + "PaymentIntentConfirmParamsPaymentMethodOptionsCardStatementDetailsAddress": ( + "stripe.params._payment_intent_confirm_params", + False, + ), + "PaymentIntentConfirmParamsPaymentMethodOptionsCardThreeDSecure": ( + "stripe.params._payment_intent_confirm_params", + False, + ), + "PaymentIntentConfirmParamsPaymentMethodOptionsCardThreeDSecureNetworkOptions": ( + "stripe.params._payment_intent_confirm_params", + False, + ), + "PaymentIntentConfirmParamsPaymentMethodOptionsCardThreeDSecureNetworkOptionsCartesBancaires": ( + "stripe.params._payment_intent_confirm_params", + False, + ), + "PaymentIntentConfirmParamsPaymentMethodOptionsCashapp": ( + "stripe.params._payment_intent_confirm_params", + False, + ), + "PaymentIntentConfirmParamsPaymentMethodOptionsCrypto": ( + "stripe.params._payment_intent_confirm_params", + False, + ), + "PaymentIntentConfirmParamsPaymentMethodOptionsCustomerBalance": ( + "stripe.params._payment_intent_confirm_params", + False, + ), + "PaymentIntentConfirmParamsPaymentMethodOptionsCustomerBalanceBankTransfer": ( + "stripe.params._payment_intent_confirm_params", + False, + ), + "PaymentIntentConfirmParamsPaymentMethodOptionsCustomerBalanceBankTransferEuBankTransfer": ( + "stripe.params._payment_intent_confirm_params", + False, + ), + "PaymentIntentConfirmParamsPaymentMethodOptionsEps": ( + "stripe.params._payment_intent_confirm_params", + False, + ), + "PaymentIntentConfirmParamsPaymentMethodOptionsFpx": ( + "stripe.params._payment_intent_confirm_params", + False, + ), + "PaymentIntentConfirmParamsPaymentMethodOptionsGiropay": ( + "stripe.params._payment_intent_confirm_params", + False, + ), + "PaymentIntentConfirmParamsPaymentMethodOptionsGopay": ( + "stripe.params._payment_intent_confirm_params", + False, + ), + "PaymentIntentConfirmParamsPaymentMethodOptionsGrabpay": ( + "stripe.params._payment_intent_confirm_params", + False, + ), + "PaymentIntentConfirmParamsPaymentMethodOptionsIdBankTransfer": ( + "stripe.params._payment_intent_confirm_params", + False, + ), + "PaymentIntentConfirmParamsPaymentMethodOptionsIdeal": ( + "stripe.params._payment_intent_confirm_params", + False, + ), + "PaymentIntentConfirmParamsPaymentMethodOptionsInteracPresent": ( + "stripe.params._payment_intent_confirm_params", + False, + ), + "PaymentIntentConfirmParamsPaymentMethodOptionsKakaoPay": ( + "stripe.params._payment_intent_confirm_params", + False, + ), + "PaymentIntentConfirmParamsPaymentMethodOptionsKlarna": ( + "stripe.params._payment_intent_confirm_params", + False, + ), + "PaymentIntentConfirmParamsPaymentMethodOptionsKlarnaOnDemand": ( + "stripe.params._payment_intent_confirm_params", + False, + ), + "PaymentIntentConfirmParamsPaymentMethodOptionsKlarnaSubscription": ( + "stripe.params._payment_intent_confirm_params", + False, + ), + "PaymentIntentConfirmParamsPaymentMethodOptionsKlarnaSubscriptionNextBilling": ( + "stripe.params._payment_intent_confirm_params", + False, + ), + "PaymentIntentConfirmParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseData": ( + "stripe.params._payment_intent_confirm_params", + False, + ), + "PaymentIntentConfirmParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataBusReservationDetail": ( + "stripe.params._payment_intent_confirm_params", + False, + ), + "PaymentIntentConfirmParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataBusReservationDetailArrival": ( + "stripe.params._payment_intent_confirm_params", + False, + ), + "PaymentIntentConfirmParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataBusReservationDetailArrivalAddress": ( + "stripe.params._payment_intent_confirm_params", + False, + ), + "PaymentIntentConfirmParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataBusReservationDetailDeparture": ( + "stripe.params._payment_intent_confirm_params", + False, + ), + "PaymentIntentConfirmParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataBusReservationDetailDepartureAddress": ( + "stripe.params._payment_intent_confirm_params", + False, + ), + "PaymentIntentConfirmParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataBusReservationDetailInsurance": ( + "stripe.params._payment_intent_confirm_params", + False, + ), + "PaymentIntentConfirmParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataBusReservationDetailPassenger": ( + "stripe.params._payment_intent_confirm_params", + False, + ), + "PaymentIntentConfirmParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataEventReservationDetail": ( "stripe.params._payment_intent_confirm_params", False, ), - "PaymentIntentConfirmParamsPaymentMethodOptionsCardInstallmentsPlan": ( + "PaymentIntentConfirmParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataEventReservationDetailAddress": ( "stripe.params._payment_intent_confirm_params", False, ), - "PaymentIntentConfirmParamsPaymentMethodOptionsCardMandateOptions": ( + "PaymentIntentConfirmParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataEventReservationDetailInsurance": ( "stripe.params._payment_intent_confirm_params", False, ), - "PaymentIntentConfirmParamsPaymentMethodOptionsCardPresent": ( + "PaymentIntentConfirmParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataFerryReservationDetail": ( "stripe.params._payment_intent_confirm_params", False, ), - "PaymentIntentConfirmParamsPaymentMethodOptionsCardPresentRouting": ( + "PaymentIntentConfirmParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataFerryReservationDetailArrival": ( "stripe.params._payment_intent_confirm_params", False, ), - "PaymentIntentConfirmParamsPaymentMethodOptionsCardStatementDetails": ( + "PaymentIntentConfirmParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataFerryReservationDetailArrivalAddress": ( "stripe.params._payment_intent_confirm_params", False, ), - "PaymentIntentConfirmParamsPaymentMethodOptionsCardStatementDetailsAddress": ( + "PaymentIntentConfirmParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataFerryReservationDetailDeparture": ( "stripe.params._payment_intent_confirm_params", False, ), - "PaymentIntentConfirmParamsPaymentMethodOptionsCardThreeDSecure": ( + "PaymentIntentConfirmParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataFerryReservationDetailDepartureAddress": ( "stripe.params._payment_intent_confirm_params", False, ), - "PaymentIntentConfirmParamsPaymentMethodOptionsCardThreeDSecureNetworkOptions": ( + "PaymentIntentConfirmParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataFerryReservationDetailInsurance": ( "stripe.params._payment_intent_confirm_params", False, ), - "PaymentIntentConfirmParamsPaymentMethodOptionsCardThreeDSecureNetworkOptionsCartesBancaires": ( + "PaymentIntentConfirmParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataFerryReservationDetailPassenger": ( "stripe.params._payment_intent_confirm_params", False, ), - "PaymentIntentConfirmParamsPaymentMethodOptionsCashapp": ( + "PaymentIntentConfirmParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataInsurance": ( "stripe.params._payment_intent_confirm_params", False, ), - "PaymentIntentConfirmParamsPaymentMethodOptionsCrypto": ( + "PaymentIntentConfirmParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataMarketplaceSeller": ( "stripe.params._payment_intent_confirm_params", False, ), - "PaymentIntentConfirmParamsPaymentMethodOptionsCustomerBalance": ( + "PaymentIntentConfirmParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataMarketplaceSellerMarketplaceSellerAddress": ( "stripe.params._payment_intent_confirm_params", False, ), - "PaymentIntentConfirmParamsPaymentMethodOptionsCustomerBalanceBankTransfer": ( + "PaymentIntentConfirmParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataRoundTripReservationDetail": ( "stripe.params._payment_intent_confirm_params", False, ), - "PaymentIntentConfirmParamsPaymentMethodOptionsCustomerBalanceBankTransferEuBankTransfer": ( + "PaymentIntentConfirmParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataRoundTripReservationDetailArrival": ( "stripe.params._payment_intent_confirm_params", False, ), - "PaymentIntentConfirmParamsPaymentMethodOptionsEps": ( + "PaymentIntentConfirmParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataRoundTripReservationDetailArrivalAddress": ( "stripe.params._payment_intent_confirm_params", False, ), - "PaymentIntentConfirmParamsPaymentMethodOptionsFpx": ( + "PaymentIntentConfirmParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataRoundTripReservationDetailDeparture": ( "stripe.params._payment_intent_confirm_params", False, ), - "PaymentIntentConfirmParamsPaymentMethodOptionsGiropay": ( + "PaymentIntentConfirmParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataRoundTripReservationDetailDepartureAddress": ( "stripe.params._payment_intent_confirm_params", False, ), - "PaymentIntentConfirmParamsPaymentMethodOptionsGopay": ( + "PaymentIntentConfirmParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataRoundTripReservationDetailInsurance": ( "stripe.params._payment_intent_confirm_params", False, ), - "PaymentIntentConfirmParamsPaymentMethodOptionsGrabpay": ( + "PaymentIntentConfirmParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataRoundTripReservationDetailPassenger": ( "stripe.params._payment_intent_confirm_params", False, ), - "PaymentIntentConfirmParamsPaymentMethodOptionsIdBankTransfer": ( + "PaymentIntentConfirmParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataTrainReservationDetail": ( "stripe.params._payment_intent_confirm_params", False, ), - "PaymentIntentConfirmParamsPaymentMethodOptionsIdeal": ( + "PaymentIntentConfirmParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataTrainReservationDetailArrival": ( "stripe.params._payment_intent_confirm_params", False, ), - "PaymentIntentConfirmParamsPaymentMethodOptionsInteracPresent": ( + "PaymentIntentConfirmParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataTrainReservationDetailArrivalAddress": ( "stripe.params._payment_intent_confirm_params", False, ), - "PaymentIntentConfirmParamsPaymentMethodOptionsKakaoPay": ( + "PaymentIntentConfirmParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataTrainReservationDetailDeparture": ( "stripe.params._payment_intent_confirm_params", False, ), - "PaymentIntentConfirmParamsPaymentMethodOptionsKlarna": ( + "PaymentIntentConfirmParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataTrainReservationDetailDepartureAddress": ( "stripe.params._payment_intent_confirm_params", False, ), - "PaymentIntentConfirmParamsPaymentMethodOptionsKlarnaOnDemand": ( + "PaymentIntentConfirmParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataTrainReservationDetailInsurance": ( "stripe.params._payment_intent_confirm_params", False, ), - "PaymentIntentConfirmParamsPaymentMethodOptionsKlarnaSubscription": ( + "PaymentIntentConfirmParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataTrainReservationDetailPassenger": ( "stripe.params._payment_intent_confirm_params", False, ), - "PaymentIntentConfirmParamsPaymentMethodOptionsKlarnaSubscriptionNextBilling": ( + "PaymentIntentConfirmParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataVoucher": ( "stripe.params._payment_intent_confirm_params", False, ), @@ -11360,6 +13355,70 @@ "stripe.params._payment_intent_create_params", False, ), + "PaymentIntentCreateParamsPaymentDetailsCarRentalDatum": ( + "stripe.params._payment_intent_create_params", + False, + ), + "PaymentIntentCreateParamsPaymentDetailsCarRentalDatumAffiliate": ( + "stripe.params._payment_intent_create_params", + False, + ), + "PaymentIntentCreateParamsPaymentDetailsCarRentalDatumDistance": ( + "stripe.params._payment_intent_create_params", + False, + ), + "PaymentIntentCreateParamsPaymentDetailsCarRentalDatumDriver": ( + "stripe.params._payment_intent_create_params", + False, + ), + "PaymentIntentCreateParamsPaymentDetailsCarRentalDatumDriverDateOfBirth": ( + "stripe.params._payment_intent_create_params", + False, + ), + "PaymentIntentCreateParamsPaymentDetailsCarRentalDatumDropOff": ( + "stripe.params._payment_intent_create_params", + False, + ), + "PaymentIntentCreateParamsPaymentDetailsCarRentalDatumDropOffAddress": ( + "stripe.params._payment_intent_create_params", + False, + ), + "PaymentIntentCreateParamsPaymentDetailsCarRentalDatumInsurance": ( + "stripe.params._payment_intent_create_params", + False, + ), + "PaymentIntentCreateParamsPaymentDetailsCarRentalDatumPickup": ( + "stripe.params._payment_intent_create_params", + False, + ), + "PaymentIntentCreateParamsPaymentDetailsCarRentalDatumPickupAddress": ( + "stripe.params._payment_intent_create_params", + False, + ), + "PaymentIntentCreateParamsPaymentDetailsCarRentalDatumTotal": ( + "stripe.params._payment_intent_create_params", + False, + ), + "PaymentIntentCreateParamsPaymentDetailsCarRentalDatumTotalDiscounts": ( + "stripe.params._payment_intent_create_params", + False, + ), + "PaymentIntentCreateParamsPaymentDetailsCarRentalDatumTotalExtraCharge": ( + "stripe.params._payment_intent_create_params", + False, + ), + "PaymentIntentCreateParamsPaymentDetailsCarRentalDatumTotalTax": ( + "stripe.params._payment_intent_create_params", + False, + ), + "PaymentIntentCreateParamsPaymentDetailsCarRentalDatumTotalTaxTax": ( + "stripe.params._payment_intent_create_params", + False, + ), + "PaymentIntentCreateParamsPaymentDetailsCarRentalDatumVehicle": ( + "stripe.params._payment_intent_create_params", + False, + ), "PaymentIntentCreateParamsPaymentDetailsCarRentalDelivery": ( "stripe.params._payment_intent_create_params", False, @@ -11412,6 +13471,54 @@ "stripe.params._payment_intent_create_params", False, ), + "PaymentIntentCreateParamsPaymentDetailsFlightDatum": ( + "stripe.params._payment_intent_create_params", + False, + ), + "PaymentIntentCreateParamsPaymentDetailsFlightDatumAffiliate": ( + "stripe.params._payment_intent_create_params", + False, + ), + "PaymentIntentCreateParamsPaymentDetailsFlightDatumInsurance": ( + "stripe.params._payment_intent_create_params", + False, + ), + "PaymentIntentCreateParamsPaymentDetailsFlightDatumPassenger": ( + "stripe.params._payment_intent_create_params", + False, + ), + "PaymentIntentCreateParamsPaymentDetailsFlightDatumSegment": ( + "stripe.params._payment_intent_create_params", + False, + ), + "PaymentIntentCreateParamsPaymentDetailsFlightDatumSegmentArrival": ( + "stripe.params._payment_intent_create_params", + False, + ), + "PaymentIntentCreateParamsPaymentDetailsFlightDatumSegmentDeparture": ( + "stripe.params._payment_intent_create_params", + False, + ), + "PaymentIntentCreateParamsPaymentDetailsFlightDatumTotal": ( + "stripe.params._payment_intent_create_params", + False, + ), + "PaymentIntentCreateParamsPaymentDetailsFlightDatumTotalDiscounts": ( + "stripe.params._payment_intent_create_params", + False, + ), + "PaymentIntentCreateParamsPaymentDetailsFlightDatumTotalExtraCharge": ( + "stripe.params._payment_intent_create_params", + False, + ), + "PaymentIntentCreateParamsPaymentDetailsFlightDatumTotalTax": ( + "stripe.params._payment_intent_create_params", + False, + ), + "PaymentIntentCreateParamsPaymentDetailsFlightDatumTotalTaxTax": ( + "stripe.params._payment_intent_create_params", + False, + ), "PaymentIntentCreateParamsPaymentDetailsFlightDelivery": ( "stripe.params._payment_intent_create_params", False, @@ -11440,6 +13547,54 @@ "stripe.params._payment_intent_create_params", False, ), + "PaymentIntentCreateParamsPaymentDetailsLodgingDatum": ( + "stripe.params._payment_intent_create_params", + False, + ), + "PaymentIntentCreateParamsPaymentDetailsLodgingDatumAccommodation": ( + "stripe.params._payment_intent_create_params", + False, + ), + "PaymentIntentCreateParamsPaymentDetailsLodgingDatumAffiliate": ( + "stripe.params._payment_intent_create_params", + False, + ), + "PaymentIntentCreateParamsPaymentDetailsLodgingDatumGuest": ( + "stripe.params._payment_intent_create_params", + False, + ), + "PaymentIntentCreateParamsPaymentDetailsLodgingDatumHost": ( + "stripe.params._payment_intent_create_params", + False, + ), + "PaymentIntentCreateParamsPaymentDetailsLodgingDatumHostAddress": ( + "stripe.params._payment_intent_create_params", + False, + ), + "PaymentIntentCreateParamsPaymentDetailsLodgingDatumInsurance": ( + "stripe.params._payment_intent_create_params", + False, + ), + "PaymentIntentCreateParamsPaymentDetailsLodgingDatumTotal": ( + "stripe.params._payment_intent_create_params", + False, + ), + "PaymentIntentCreateParamsPaymentDetailsLodgingDatumTotalDiscounts": ( + "stripe.params._payment_intent_create_params", + False, + ), + "PaymentIntentCreateParamsPaymentDetailsLodgingDatumTotalExtraCharge": ( + "stripe.params._payment_intent_create_params", + False, + ), + "PaymentIntentCreateParamsPaymentDetailsLodgingDatumTotalTax": ( + "stripe.params._payment_intent_create_params", + False, + ), + "PaymentIntentCreateParamsPaymentDetailsLodgingDatumTotalTaxTax": ( + "stripe.params._payment_intent_create_params", + False, + ), "PaymentIntentCreateParamsPaymentDetailsLodgingDelivery": ( "stripe.params._payment_intent_create_params", False, @@ -11892,6 +14047,150 @@ "stripe.params._payment_intent_create_params", False, ), + "PaymentIntentCreateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseData": ( + "stripe.params._payment_intent_create_params", + False, + ), + "PaymentIntentCreateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataBusReservationDetail": ( + "stripe.params._payment_intent_create_params", + False, + ), + "PaymentIntentCreateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataBusReservationDetailArrival": ( + "stripe.params._payment_intent_create_params", + False, + ), + "PaymentIntentCreateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataBusReservationDetailArrivalAddress": ( + "stripe.params._payment_intent_create_params", + False, + ), + "PaymentIntentCreateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataBusReservationDetailDeparture": ( + "stripe.params._payment_intent_create_params", + False, + ), + "PaymentIntentCreateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataBusReservationDetailDepartureAddress": ( + "stripe.params._payment_intent_create_params", + False, + ), + "PaymentIntentCreateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataBusReservationDetailInsurance": ( + "stripe.params._payment_intent_create_params", + False, + ), + "PaymentIntentCreateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataBusReservationDetailPassenger": ( + "stripe.params._payment_intent_create_params", + False, + ), + "PaymentIntentCreateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataEventReservationDetail": ( + "stripe.params._payment_intent_create_params", + False, + ), + "PaymentIntentCreateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataEventReservationDetailAddress": ( + "stripe.params._payment_intent_create_params", + False, + ), + "PaymentIntentCreateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataEventReservationDetailInsurance": ( + "stripe.params._payment_intent_create_params", + False, + ), + "PaymentIntentCreateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataFerryReservationDetail": ( + "stripe.params._payment_intent_create_params", + False, + ), + "PaymentIntentCreateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataFerryReservationDetailArrival": ( + "stripe.params._payment_intent_create_params", + False, + ), + "PaymentIntentCreateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataFerryReservationDetailArrivalAddress": ( + "stripe.params._payment_intent_create_params", + False, + ), + "PaymentIntentCreateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataFerryReservationDetailDeparture": ( + "stripe.params._payment_intent_create_params", + False, + ), + "PaymentIntentCreateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataFerryReservationDetailDepartureAddress": ( + "stripe.params._payment_intent_create_params", + False, + ), + "PaymentIntentCreateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataFerryReservationDetailInsurance": ( + "stripe.params._payment_intent_create_params", + False, + ), + "PaymentIntentCreateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataFerryReservationDetailPassenger": ( + "stripe.params._payment_intent_create_params", + False, + ), + "PaymentIntentCreateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataInsurance": ( + "stripe.params._payment_intent_create_params", + False, + ), + "PaymentIntentCreateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataMarketplaceSeller": ( + "stripe.params._payment_intent_create_params", + False, + ), + "PaymentIntentCreateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataMarketplaceSellerMarketplaceSellerAddress": ( + "stripe.params._payment_intent_create_params", + False, + ), + "PaymentIntentCreateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataRoundTripReservationDetail": ( + "stripe.params._payment_intent_create_params", + False, + ), + "PaymentIntentCreateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataRoundTripReservationDetailArrival": ( + "stripe.params._payment_intent_create_params", + False, + ), + "PaymentIntentCreateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataRoundTripReservationDetailArrivalAddress": ( + "stripe.params._payment_intent_create_params", + False, + ), + "PaymentIntentCreateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataRoundTripReservationDetailDeparture": ( + "stripe.params._payment_intent_create_params", + False, + ), + "PaymentIntentCreateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataRoundTripReservationDetailDepartureAddress": ( + "stripe.params._payment_intent_create_params", + False, + ), + "PaymentIntentCreateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataRoundTripReservationDetailInsurance": ( + "stripe.params._payment_intent_create_params", + False, + ), + "PaymentIntentCreateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataRoundTripReservationDetailPassenger": ( + "stripe.params._payment_intent_create_params", + False, + ), + "PaymentIntentCreateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataTrainReservationDetail": ( + "stripe.params._payment_intent_create_params", + False, + ), + "PaymentIntentCreateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataTrainReservationDetailArrival": ( + "stripe.params._payment_intent_create_params", + False, + ), + "PaymentIntentCreateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataTrainReservationDetailArrivalAddress": ( + "stripe.params._payment_intent_create_params", + False, + ), + "PaymentIntentCreateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataTrainReservationDetailDeparture": ( + "stripe.params._payment_intent_create_params", + False, + ), + "PaymentIntentCreateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataTrainReservationDetailDepartureAddress": ( + "stripe.params._payment_intent_create_params", + False, + ), + "PaymentIntentCreateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataTrainReservationDetailInsurance": ( + "stripe.params._payment_intent_create_params", + False, + ), + "PaymentIntentCreateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataTrainReservationDetailPassenger": ( + "stripe.params._payment_intent_create_params", + False, + ), + "PaymentIntentCreateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataVoucher": ( + "stripe.params._payment_intent_create_params", + False, + ), "PaymentIntentCreateParamsPaymentMethodOptionsKonbini": ( "stripe.params._payment_intent_create_params", False, @@ -12272,6 +14571,70 @@ "stripe.params._payment_intent_modify_params", False, ), + "PaymentIntentModifyParamsPaymentDetailsCarRentalDatum": ( + "stripe.params._payment_intent_modify_params", + False, + ), + "PaymentIntentModifyParamsPaymentDetailsCarRentalDatumAffiliate": ( + "stripe.params._payment_intent_modify_params", + False, + ), + "PaymentIntentModifyParamsPaymentDetailsCarRentalDatumDistance": ( + "stripe.params._payment_intent_modify_params", + False, + ), + "PaymentIntentModifyParamsPaymentDetailsCarRentalDatumDriver": ( + "stripe.params._payment_intent_modify_params", + False, + ), + "PaymentIntentModifyParamsPaymentDetailsCarRentalDatumDriverDateOfBirth": ( + "stripe.params._payment_intent_modify_params", + False, + ), + "PaymentIntentModifyParamsPaymentDetailsCarRentalDatumDropOff": ( + "stripe.params._payment_intent_modify_params", + False, + ), + "PaymentIntentModifyParamsPaymentDetailsCarRentalDatumDropOffAddress": ( + "stripe.params._payment_intent_modify_params", + False, + ), + "PaymentIntentModifyParamsPaymentDetailsCarRentalDatumInsurance": ( + "stripe.params._payment_intent_modify_params", + False, + ), + "PaymentIntentModifyParamsPaymentDetailsCarRentalDatumPickup": ( + "stripe.params._payment_intent_modify_params", + False, + ), + "PaymentIntentModifyParamsPaymentDetailsCarRentalDatumPickupAddress": ( + "stripe.params._payment_intent_modify_params", + False, + ), + "PaymentIntentModifyParamsPaymentDetailsCarRentalDatumTotal": ( + "stripe.params._payment_intent_modify_params", + False, + ), + "PaymentIntentModifyParamsPaymentDetailsCarRentalDatumTotalDiscounts": ( + "stripe.params._payment_intent_modify_params", + False, + ), + "PaymentIntentModifyParamsPaymentDetailsCarRentalDatumTotalExtraCharge": ( + "stripe.params._payment_intent_modify_params", + False, + ), + "PaymentIntentModifyParamsPaymentDetailsCarRentalDatumTotalTax": ( + "stripe.params._payment_intent_modify_params", + False, + ), + "PaymentIntentModifyParamsPaymentDetailsCarRentalDatumTotalTaxTax": ( + "stripe.params._payment_intent_modify_params", + False, + ), + "PaymentIntentModifyParamsPaymentDetailsCarRentalDatumVehicle": ( + "stripe.params._payment_intent_modify_params", + False, + ), "PaymentIntentModifyParamsPaymentDetailsCarRentalDelivery": ( "stripe.params._payment_intent_modify_params", False, @@ -12324,6 +14687,54 @@ "stripe.params._payment_intent_modify_params", False, ), + "PaymentIntentModifyParamsPaymentDetailsFlightDatum": ( + "stripe.params._payment_intent_modify_params", + False, + ), + "PaymentIntentModifyParamsPaymentDetailsFlightDatumAffiliate": ( + "stripe.params._payment_intent_modify_params", + False, + ), + "PaymentIntentModifyParamsPaymentDetailsFlightDatumInsurance": ( + "stripe.params._payment_intent_modify_params", + False, + ), + "PaymentIntentModifyParamsPaymentDetailsFlightDatumPassenger": ( + "stripe.params._payment_intent_modify_params", + False, + ), + "PaymentIntentModifyParamsPaymentDetailsFlightDatumSegment": ( + "stripe.params._payment_intent_modify_params", + False, + ), + "PaymentIntentModifyParamsPaymentDetailsFlightDatumSegmentArrival": ( + "stripe.params._payment_intent_modify_params", + False, + ), + "PaymentIntentModifyParamsPaymentDetailsFlightDatumSegmentDeparture": ( + "stripe.params._payment_intent_modify_params", + False, + ), + "PaymentIntentModifyParamsPaymentDetailsFlightDatumTotal": ( + "stripe.params._payment_intent_modify_params", + False, + ), + "PaymentIntentModifyParamsPaymentDetailsFlightDatumTotalDiscounts": ( + "stripe.params._payment_intent_modify_params", + False, + ), + "PaymentIntentModifyParamsPaymentDetailsFlightDatumTotalExtraCharge": ( + "stripe.params._payment_intent_modify_params", + False, + ), + "PaymentIntentModifyParamsPaymentDetailsFlightDatumTotalTax": ( + "stripe.params._payment_intent_modify_params", + False, + ), + "PaymentIntentModifyParamsPaymentDetailsFlightDatumTotalTaxTax": ( + "stripe.params._payment_intent_modify_params", + False, + ), "PaymentIntentModifyParamsPaymentDetailsFlightDelivery": ( "stripe.params._payment_intent_modify_params", False, @@ -12352,6 +14763,54 @@ "stripe.params._payment_intent_modify_params", False, ), + "PaymentIntentModifyParamsPaymentDetailsLodgingDatum": ( + "stripe.params._payment_intent_modify_params", + False, + ), + "PaymentIntentModifyParamsPaymentDetailsLodgingDatumAccommodation": ( + "stripe.params._payment_intent_modify_params", + False, + ), + "PaymentIntentModifyParamsPaymentDetailsLodgingDatumAffiliate": ( + "stripe.params._payment_intent_modify_params", + False, + ), + "PaymentIntentModifyParamsPaymentDetailsLodgingDatumGuest": ( + "stripe.params._payment_intent_modify_params", + False, + ), + "PaymentIntentModifyParamsPaymentDetailsLodgingDatumHost": ( + "stripe.params._payment_intent_modify_params", + False, + ), + "PaymentIntentModifyParamsPaymentDetailsLodgingDatumHostAddress": ( + "stripe.params._payment_intent_modify_params", + False, + ), + "PaymentIntentModifyParamsPaymentDetailsLodgingDatumInsurance": ( + "stripe.params._payment_intent_modify_params", + False, + ), + "PaymentIntentModifyParamsPaymentDetailsLodgingDatumTotal": ( + "stripe.params._payment_intent_modify_params", + False, + ), + "PaymentIntentModifyParamsPaymentDetailsLodgingDatumTotalDiscounts": ( + "stripe.params._payment_intent_modify_params", + False, + ), + "PaymentIntentModifyParamsPaymentDetailsLodgingDatumTotalExtraCharge": ( + "stripe.params._payment_intent_modify_params", + False, + ), + "PaymentIntentModifyParamsPaymentDetailsLodgingDatumTotalTax": ( + "stripe.params._payment_intent_modify_params", + False, + ), + "PaymentIntentModifyParamsPaymentDetailsLodgingDatumTotalTaxTax": ( + "stripe.params._payment_intent_modify_params", + False, + ), "PaymentIntentModifyParamsPaymentDetailsLodgingDelivery": ( "stripe.params._payment_intent_modify_params", False, @@ -12692,115 +15151,259 @@ "stripe.params._payment_intent_modify_params", False, ), - "PaymentIntentModifyParamsPaymentMethodOptionsCardInstallments": ( + "PaymentIntentModifyParamsPaymentMethodOptionsCardInstallments": ( + "stripe.params._payment_intent_modify_params", + False, + ), + "PaymentIntentModifyParamsPaymentMethodOptionsCardInstallmentsPlan": ( + "stripe.params._payment_intent_modify_params", + False, + ), + "PaymentIntentModifyParamsPaymentMethodOptionsCardMandateOptions": ( + "stripe.params._payment_intent_modify_params", + False, + ), + "PaymentIntentModifyParamsPaymentMethodOptionsCardPresent": ( + "stripe.params._payment_intent_modify_params", + False, + ), + "PaymentIntentModifyParamsPaymentMethodOptionsCardPresentRouting": ( + "stripe.params._payment_intent_modify_params", + False, + ), + "PaymentIntentModifyParamsPaymentMethodOptionsCardStatementDetails": ( + "stripe.params._payment_intent_modify_params", + False, + ), + "PaymentIntentModifyParamsPaymentMethodOptionsCardStatementDetailsAddress": ( + "stripe.params._payment_intent_modify_params", + False, + ), + "PaymentIntentModifyParamsPaymentMethodOptionsCardThreeDSecure": ( + "stripe.params._payment_intent_modify_params", + False, + ), + "PaymentIntentModifyParamsPaymentMethodOptionsCardThreeDSecureNetworkOptions": ( + "stripe.params._payment_intent_modify_params", + False, + ), + "PaymentIntentModifyParamsPaymentMethodOptionsCardThreeDSecureNetworkOptionsCartesBancaires": ( + "stripe.params._payment_intent_modify_params", + False, + ), + "PaymentIntentModifyParamsPaymentMethodOptionsCashapp": ( + "stripe.params._payment_intent_modify_params", + False, + ), + "PaymentIntentModifyParamsPaymentMethodOptionsCrypto": ( + "stripe.params._payment_intent_modify_params", + False, + ), + "PaymentIntentModifyParamsPaymentMethodOptionsCustomerBalance": ( + "stripe.params._payment_intent_modify_params", + False, + ), + "PaymentIntentModifyParamsPaymentMethodOptionsCustomerBalanceBankTransfer": ( + "stripe.params._payment_intent_modify_params", + False, + ), + "PaymentIntentModifyParamsPaymentMethodOptionsCustomerBalanceBankTransferEuBankTransfer": ( + "stripe.params._payment_intent_modify_params", + False, + ), + "PaymentIntentModifyParamsPaymentMethodOptionsEps": ( + "stripe.params._payment_intent_modify_params", + False, + ), + "PaymentIntentModifyParamsPaymentMethodOptionsFpx": ( + "stripe.params._payment_intent_modify_params", + False, + ), + "PaymentIntentModifyParamsPaymentMethodOptionsGiropay": ( + "stripe.params._payment_intent_modify_params", + False, + ), + "PaymentIntentModifyParamsPaymentMethodOptionsGopay": ( + "stripe.params._payment_intent_modify_params", + False, + ), + "PaymentIntentModifyParamsPaymentMethodOptionsGrabpay": ( + "stripe.params._payment_intent_modify_params", + False, + ), + "PaymentIntentModifyParamsPaymentMethodOptionsIdBankTransfer": ( + "stripe.params._payment_intent_modify_params", + False, + ), + "PaymentIntentModifyParamsPaymentMethodOptionsIdeal": ( + "stripe.params._payment_intent_modify_params", + False, + ), + "PaymentIntentModifyParamsPaymentMethodOptionsInteracPresent": ( + "stripe.params._payment_intent_modify_params", + False, + ), + "PaymentIntentModifyParamsPaymentMethodOptionsKakaoPay": ( + "stripe.params._payment_intent_modify_params", + False, + ), + "PaymentIntentModifyParamsPaymentMethodOptionsKlarna": ( + "stripe.params._payment_intent_modify_params", + False, + ), + "PaymentIntentModifyParamsPaymentMethodOptionsKlarnaOnDemand": ( + "stripe.params._payment_intent_modify_params", + False, + ), + "PaymentIntentModifyParamsPaymentMethodOptionsKlarnaSubscription": ( + "stripe.params._payment_intent_modify_params", + False, + ), + "PaymentIntentModifyParamsPaymentMethodOptionsKlarnaSubscriptionNextBilling": ( + "stripe.params._payment_intent_modify_params", + False, + ), + "PaymentIntentModifyParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseData": ( + "stripe.params._payment_intent_modify_params", + False, + ), + "PaymentIntentModifyParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataBusReservationDetail": ( + "stripe.params._payment_intent_modify_params", + False, + ), + "PaymentIntentModifyParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataBusReservationDetailArrival": ( + "stripe.params._payment_intent_modify_params", + False, + ), + "PaymentIntentModifyParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataBusReservationDetailArrivalAddress": ( + "stripe.params._payment_intent_modify_params", + False, + ), + "PaymentIntentModifyParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataBusReservationDetailDeparture": ( + "stripe.params._payment_intent_modify_params", + False, + ), + "PaymentIntentModifyParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataBusReservationDetailDepartureAddress": ( + "stripe.params._payment_intent_modify_params", + False, + ), + "PaymentIntentModifyParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataBusReservationDetailInsurance": ( + "stripe.params._payment_intent_modify_params", + False, + ), + "PaymentIntentModifyParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataBusReservationDetailPassenger": ( + "stripe.params._payment_intent_modify_params", + False, + ), + "PaymentIntentModifyParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataEventReservationDetail": ( "stripe.params._payment_intent_modify_params", False, ), - "PaymentIntentModifyParamsPaymentMethodOptionsCardInstallmentsPlan": ( + "PaymentIntentModifyParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataEventReservationDetailAddress": ( "stripe.params._payment_intent_modify_params", False, ), - "PaymentIntentModifyParamsPaymentMethodOptionsCardMandateOptions": ( + "PaymentIntentModifyParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataEventReservationDetailInsurance": ( "stripe.params._payment_intent_modify_params", False, ), - "PaymentIntentModifyParamsPaymentMethodOptionsCardPresent": ( + "PaymentIntentModifyParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataFerryReservationDetail": ( "stripe.params._payment_intent_modify_params", False, ), - "PaymentIntentModifyParamsPaymentMethodOptionsCardPresentRouting": ( + "PaymentIntentModifyParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataFerryReservationDetailArrival": ( "stripe.params._payment_intent_modify_params", False, ), - "PaymentIntentModifyParamsPaymentMethodOptionsCardStatementDetails": ( + "PaymentIntentModifyParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataFerryReservationDetailArrivalAddress": ( "stripe.params._payment_intent_modify_params", False, ), - "PaymentIntentModifyParamsPaymentMethodOptionsCardStatementDetailsAddress": ( + "PaymentIntentModifyParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataFerryReservationDetailDeparture": ( "stripe.params._payment_intent_modify_params", False, ), - "PaymentIntentModifyParamsPaymentMethodOptionsCardThreeDSecure": ( + "PaymentIntentModifyParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataFerryReservationDetailDepartureAddress": ( "stripe.params._payment_intent_modify_params", False, ), - "PaymentIntentModifyParamsPaymentMethodOptionsCardThreeDSecureNetworkOptions": ( + "PaymentIntentModifyParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataFerryReservationDetailInsurance": ( "stripe.params._payment_intent_modify_params", False, ), - "PaymentIntentModifyParamsPaymentMethodOptionsCardThreeDSecureNetworkOptionsCartesBancaires": ( + "PaymentIntentModifyParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataFerryReservationDetailPassenger": ( "stripe.params._payment_intent_modify_params", False, ), - "PaymentIntentModifyParamsPaymentMethodOptionsCashapp": ( + "PaymentIntentModifyParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataInsurance": ( "stripe.params._payment_intent_modify_params", False, ), - "PaymentIntentModifyParamsPaymentMethodOptionsCrypto": ( + "PaymentIntentModifyParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataMarketplaceSeller": ( "stripe.params._payment_intent_modify_params", False, ), - "PaymentIntentModifyParamsPaymentMethodOptionsCustomerBalance": ( + "PaymentIntentModifyParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataMarketplaceSellerMarketplaceSellerAddress": ( "stripe.params._payment_intent_modify_params", False, ), - "PaymentIntentModifyParamsPaymentMethodOptionsCustomerBalanceBankTransfer": ( + "PaymentIntentModifyParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataRoundTripReservationDetail": ( "stripe.params._payment_intent_modify_params", False, ), - "PaymentIntentModifyParamsPaymentMethodOptionsCustomerBalanceBankTransferEuBankTransfer": ( + "PaymentIntentModifyParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataRoundTripReservationDetailArrival": ( "stripe.params._payment_intent_modify_params", False, ), - "PaymentIntentModifyParamsPaymentMethodOptionsEps": ( + "PaymentIntentModifyParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataRoundTripReservationDetailArrivalAddress": ( "stripe.params._payment_intent_modify_params", False, ), - "PaymentIntentModifyParamsPaymentMethodOptionsFpx": ( + "PaymentIntentModifyParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataRoundTripReservationDetailDeparture": ( "stripe.params._payment_intent_modify_params", False, ), - "PaymentIntentModifyParamsPaymentMethodOptionsGiropay": ( + "PaymentIntentModifyParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataRoundTripReservationDetailDepartureAddress": ( "stripe.params._payment_intent_modify_params", False, ), - "PaymentIntentModifyParamsPaymentMethodOptionsGopay": ( + "PaymentIntentModifyParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataRoundTripReservationDetailInsurance": ( "stripe.params._payment_intent_modify_params", False, ), - "PaymentIntentModifyParamsPaymentMethodOptionsGrabpay": ( + "PaymentIntentModifyParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataRoundTripReservationDetailPassenger": ( "stripe.params._payment_intent_modify_params", False, ), - "PaymentIntentModifyParamsPaymentMethodOptionsIdBankTransfer": ( + "PaymentIntentModifyParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataTrainReservationDetail": ( "stripe.params._payment_intent_modify_params", False, ), - "PaymentIntentModifyParamsPaymentMethodOptionsIdeal": ( + "PaymentIntentModifyParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataTrainReservationDetailArrival": ( "stripe.params._payment_intent_modify_params", False, ), - "PaymentIntentModifyParamsPaymentMethodOptionsInteracPresent": ( + "PaymentIntentModifyParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataTrainReservationDetailArrivalAddress": ( "stripe.params._payment_intent_modify_params", False, ), - "PaymentIntentModifyParamsPaymentMethodOptionsKakaoPay": ( + "PaymentIntentModifyParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataTrainReservationDetailDeparture": ( "stripe.params._payment_intent_modify_params", False, ), - "PaymentIntentModifyParamsPaymentMethodOptionsKlarna": ( + "PaymentIntentModifyParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataTrainReservationDetailDepartureAddress": ( "stripe.params._payment_intent_modify_params", False, ), - "PaymentIntentModifyParamsPaymentMethodOptionsKlarnaOnDemand": ( + "PaymentIntentModifyParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataTrainReservationDetailInsurance": ( "stripe.params._payment_intent_modify_params", False, ), - "PaymentIntentModifyParamsPaymentMethodOptionsKlarnaSubscription": ( + "PaymentIntentModifyParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataTrainReservationDetailPassenger": ( "stripe.params._payment_intent_modify_params", False, ), - "PaymentIntentModifyParamsPaymentMethodOptionsKlarnaSubscriptionNextBilling": ( + "PaymentIntentModifyParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataVoucher": ( "stripe.params._payment_intent_modify_params", False, ), @@ -13092,6 +15695,70 @@ "stripe.params._payment_intent_update_params", False, ), + "PaymentIntentUpdateParamsPaymentDetailsCarRentalDatum": ( + "stripe.params._payment_intent_update_params", + False, + ), + "PaymentIntentUpdateParamsPaymentDetailsCarRentalDatumAffiliate": ( + "stripe.params._payment_intent_update_params", + False, + ), + "PaymentIntentUpdateParamsPaymentDetailsCarRentalDatumDistance": ( + "stripe.params._payment_intent_update_params", + False, + ), + "PaymentIntentUpdateParamsPaymentDetailsCarRentalDatumDriver": ( + "stripe.params._payment_intent_update_params", + False, + ), + "PaymentIntentUpdateParamsPaymentDetailsCarRentalDatumDriverDateOfBirth": ( + "stripe.params._payment_intent_update_params", + False, + ), + "PaymentIntentUpdateParamsPaymentDetailsCarRentalDatumDropOff": ( + "stripe.params._payment_intent_update_params", + False, + ), + "PaymentIntentUpdateParamsPaymentDetailsCarRentalDatumDropOffAddress": ( + "stripe.params._payment_intent_update_params", + False, + ), + "PaymentIntentUpdateParamsPaymentDetailsCarRentalDatumInsurance": ( + "stripe.params._payment_intent_update_params", + False, + ), + "PaymentIntentUpdateParamsPaymentDetailsCarRentalDatumPickup": ( + "stripe.params._payment_intent_update_params", + False, + ), + "PaymentIntentUpdateParamsPaymentDetailsCarRentalDatumPickupAddress": ( + "stripe.params._payment_intent_update_params", + False, + ), + "PaymentIntentUpdateParamsPaymentDetailsCarRentalDatumTotal": ( + "stripe.params._payment_intent_update_params", + False, + ), + "PaymentIntentUpdateParamsPaymentDetailsCarRentalDatumTotalDiscounts": ( + "stripe.params._payment_intent_update_params", + False, + ), + "PaymentIntentUpdateParamsPaymentDetailsCarRentalDatumTotalExtraCharge": ( + "stripe.params._payment_intent_update_params", + False, + ), + "PaymentIntentUpdateParamsPaymentDetailsCarRentalDatumTotalTax": ( + "stripe.params._payment_intent_update_params", + False, + ), + "PaymentIntentUpdateParamsPaymentDetailsCarRentalDatumTotalTaxTax": ( + "stripe.params._payment_intent_update_params", + False, + ), + "PaymentIntentUpdateParamsPaymentDetailsCarRentalDatumVehicle": ( + "stripe.params._payment_intent_update_params", + False, + ), "PaymentIntentUpdateParamsPaymentDetailsCarRentalDelivery": ( "stripe.params._payment_intent_update_params", False, @@ -13144,6 +15811,54 @@ "stripe.params._payment_intent_update_params", False, ), + "PaymentIntentUpdateParamsPaymentDetailsFlightDatum": ( + "stripe.params._payment_intent_update_params", + False, + ), + "PaymentIntentUpdateParamsPaymentDetailsFlightDatumAffiliate": ( + "stripe.params._payment_intent_update_params", + False, + ), + "PaymentIntentUpdateParamsPaymentDetailsFlightDatumInsurance": ( + "stripe.params._payment_intent_update_params", + False, + ), + "PaymentIntentUpdateParamsPaymentDetailsFlightDatumPassenger": ( + "stripe.params._payment_intent_update_params", + False, + ), + "PaymentIntentUpdateParamsPaymentDetailsFlightDatumSegment": ( + "stripe.params._payment_intent_update_params", + False, + ), + "PaymentIntentUpdateParamsPaymentDetailsFlightDatumSegmentArrival": ( + "stripe.params._payment_intent_update_params", + False, + ), + "PaymentIntentUpdateParamsPaymentDetailsFlightDatumSegmentDeparture": ( + "stripe.params._payment_intent_update_params", + False, + ), + "PaymentIntentUpdateParamsPaymentDetailsFlightDatumTotal": ( + "stripe.params._payment_intent_update_params", + False, + ), + "PaymentIntentUpdateParamsPaymentDetailsFlightDatumTotalDiscounts": ( + "stripe.params._payment_intent_update_params", + False, + ), + "PaymentIntentUpdateParamsPaymentDetailsFlightDatumTotalExtraCharge": ( + "stripe.params._payment_intent_update_params", + False, + ), + "PaymentIntentUpdateParamsPaymentDetailsFlightDatumTotalTax": ( + "stripe.params._payment_intent_update_params", + False, + ), + "PaymentIntentUpdateParamsPaymentDetailsFlightDatumTotalTaxTax": ( + "stripe.params._payment_intent_update_params", + False, + ), "PaymentIntentUpdateParamsPaymentDetailsFlightDelivery": ( "stripe.params._payment_intent_update_params", False, @@ -13172,6 +15887,54 @@ "stripe.params._payment_intent_update_params", False, ), + "PaymentIntentUpdateParamsPaymentDetailsLodgingDatum": ( + "stripe.params._payment_intent_update_params", + False, + ), + "PaymentIntentUpdateParamsPaymentDetailsLodgingDatumAccommodation": ( + "stripe.params._payment_intent_update_params", + False, + ), + "PaymentIntentUpdateParamsPaymentDetailsLodgingDatumAffiliate": ( + "stripe.params._payment_intent_update_params", + False, + ), + "PaymentIntentUpdateParamsPaymentDetailsLodgingDatumGuest": ( + "stripe.params._payment_intent_update_params", + False, + ), + "PaymentIntentUpdateParamsPaymentDetailsLodgingDatumHost": ( + "stripe.params._payment_intent_update_params", + False, + ), + "PaymentIntentUpdateParamsPaymentDetailsLodgingDatumHostAddress": ( + "stripe.params._payment_intent_update_params", + False, + ), + "PaymentIntentUpdateParamsPaymentDetailsLodgingDatumInsurance": ( + "stripe.params._payment_intent_update_params", + False, + ), + "PaymentIntentUpdateParamsPaymentDetailsLodgingDatumTotal": ( + "stripe.params._payment_intent_update_params", + False, + ), + "PaymentIntentUpdateParamsPaymentDetailsLodgingDatumTotalDiscounts": ( + "stripe.params._payment_intent_update_params", + False, + ), + "PaymentIntentUpdateParamsPaymentDetailsLodgingDatumTotalExtraCharge": ( + "stripe.params._payment_intent_update_params", + False, + ), + "PaymentIntentUpdateParamsPaymentDetailsLodgingDatumTotalTax": ( + "stripe.params._payment_intent_update_params", + False, + ), + "PaymentIntentUpdateParamsPaymentDetailsLodgingDatumTotalTaxTax": ( + "stripe.params._payment_intent_update_params", + False, + ), "PaymentIntentUpdateParamsPaymentDetailsLodgingDelivery": ( "stripe.params._payment_intent_update_params", False, @@ -13624,6 +16387,150 @@ "stripe.params._payment_intent_update_params", False, ), + "PaymentIntentUpdateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseData": ( + "stripe.params._payment_intent_update_params", + False, + ), + "PaymentIntentUpdateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataBusReservationDetail": ( + "stripe.params._payment_intent_update_params", + False, + ), + "PaymentIntentUpdateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataBusReservationDetailArrival": ( + "stripe.params._payment_intent_update_params", + False, + ), + "PaymentIntentUpdateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataBusReservationDetailArrivalAddress": ( + "stripe.params._payment_intent_update_params", + False, + ), + "PaymentIntentUpdateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataBusReservationDetailDeparture": ( + "stripe.params._payment_intent_update_params", + False, + ), + "PaymentIntentUpdateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataBusReservationDetailDepartureAddress": ( + "stripe.params._payment_intent_update_params", + False, + ), + "PaymentIntentUpdateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataBusReservationDetailInsurance": ( + "stripe.params._payment_intent_update_params", + False, + ), + "PaymentIntentUpdateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataBusReservationDetailPassenger": ( + "stripe.params._payment_intent_update_params", + False, + ), + "PaymentIntentUpdateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataEventReservationDetail": ( + "stripe.params._payment_intent_update_params", + False, + ), + "PaymentIntentUpdateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataEventReservationDetailAddress": ( + "stripe.params._payment_intent_update_params", + False, + ), + "PaymentIntentUpdateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataEventReservationDetailInsurance": ( + "stripe.params._payment_intent_update_params", + False, + ), + "PaymentIntentUpdateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataFerryReservationDetail": ( + "stripe.params._payment_intent_update_params", + False, + ), + "PaymentIntentUpdateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataFerryReservationDetailArrival": ( + "stripe.params._payment_intent_update_params", + False, + ), + "PaymentIntentUpdateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataFerryReservationDetailArrivalAddress": ( + "stripe.params._payment_intent_update_params", + False, + ), + "PaymentIntentUpdateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataFerryReservationDetailDeparture": ( + "stripe.params._payment_intent_update_params", + False, + ), + "PaymentIntentUpdateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataFerryReservationDetailDepartureAddress": ( + "stripe.params._payment_intent_update_params", + False, + ), + "PaymentIntentUpdateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataFerryReservationDetailInsurance": ( + "stripe.params._payment_intent_update_params", + False, + ), + "PaymentIntentUpdateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataFerryReservationDetailPassenger": ( + "stripe.params._payment_intent_update_params", + False, + ), + "PaymentIntentUpdateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataInsurance": ( + "stripe.params._payment_intent_update_params", + False, + ), + "PaymentIntentUpdateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataMarketplaceSeller": ( + "stripe.params._payment_intent_update_params", + False, + ), + "PaymentIntentUpdateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataMarketplaceSellerMarketplaceSellerAddress": ( + "stripe.params._payment_intent_update_params", + False, + ), + "PaymentIntentUpdateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataRoundTripReservationDetail": ( + "stripe.params._payment_intent_update_params", + False, + ), + "PaymentIntentUpdateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataRoundTripReservationDetailArrival": ( + "stripe.params._payment_intent_update_params", + False, + ), + "PaymentIntentUpdateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataRoundTripReservationDetailArrivalAddress": ( + "stripe.params._payment_intent_update_params", + False, + ), + "PaymentIntentUpdateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataRoundTripReservationDetailDeparture": ( + "stripe.params._payment_intent_update_params", + False, + ), + "PaymentIntentUpdateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataRoundTripReservationDetailDepartureAddress": ( + "stripe.params._payment_intent_update_params", + False, + ), + "PaymentIntentUpdateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataRoundTripReservationDetailInsurance": ( + "stripe.params._payment_intent_update_params", + False, + ), + "PaymentIntentUpdateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataRoundTripReservationDetailPassenger": ( + "stripe.params._payment_intent_update_params", + False, + ), + "PaymentIntentUpdateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataTrainReservationDetail": ( + "stripe.params._payment_intent_update_params", + False, + ), + "PaymentIntentUpdateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataTrainReservationDetailArrival": ( + "stripe.params._payment_intent_update_params", + False, + ), + "PaymentIntentUpdateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataTrainReservationDetailArrivalAddress": ( + "stripe.params._payment_intent_update_params", + False, + ), + "PaymentIntentUpdateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataTrainReservationDetailDeparture": ( + "stripe.params._payment_intent_update_params", + False, + ), + "PaymentIntentUpdateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataTrainReservationDetailDepartureAddress": ( + "stripe.params._payment_intent_update_params", + False, + ), + "PaymentIntentUpdateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataTrainReservationDetailInsurance": ( + "stripe.params._payment_intent_update_params", + False, + ), + "PaymentIntentUpdateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataTrainReservationDetailPassenger": ( + "stripe.params._payment_intent_update_params", + False, + ), + "PaymentIntentUpdateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataVoucher": ( + "stripe.params._payment_intent_update_params", + False, + ), "PaymentIntentUpdateParamsPaymentMethodOptionsKonbini": ( "stripe.params._payment_intent_update_params", False, diff --git a/stripe/params/_account_create_params.py b/stripe/params/_account_create_params.py index da311f82b..8d5159c40 100644 --- a/stripe/params/_account_create_params.py +++ b/stripe/params/_account_create_params.py @@ -140,6 +140,10 @@ class AccountCreateParamsBusinessProfile(TypedDict): """ Internal-only description of the product sold by, or service provided by, the business. Used by Stripe for risk and underwriting purposes. """ + specified_commercial_transactions_act_url: NotRequired["Literal['']|str"] + """ + A link to the business's publicly available terms related to the Specified Commercial Transaction Act. Used by the Checkout product and for Japanese payment methods. + """ support_address: NotRequired[ "AccountCreateParamsBusinessProfileSupportAddress" ] @@ -1753,14 +1757,6 @@ class AccountCreateParamsIndividual(TypedDict): """ Describes the person's relationship to the account. """ - ssn_last_4: NotRequired[str] - """ - The last four digits of the individual's Social Security Number (U.S. only). - """ - verification: NotRequired["AccountCreateParamsIndividualVerification"] - """ - The individual's verification document information. - """ self_reported_income: NotRequired[ "AccountCreateParamsIndividualSelfReportedIncome" ] @@ -1773,6 +1769,14 @@ class AccountCreateParamsIndividual(TypedDict): """ The credit applicant's self-reported monthly housing payment in minor units. """ + ssn_last_4: NotRequired[str] + """ + The last four digits of the individual's Social Security Number (U.S. only). + """ + verification: NotRequired["AccountCreateParamsIndividualVerification"] + """ + The individual's verification document information. + """ class AccountCreateParamsIndividualAddress(TypedDict): @@ -1929,6 +1933,18 @@ class AccountCreateParamsIndividualRelationship(TypedDict): """ +class AccountCreateParamsIndividualSelfReportedIncome(TypedDict): + amount: int + currency: str + + +class AccountCreateParamsIndividualSelfReportedMonthlyHousingPayment( + TypedDict +): + amount: int + currency: str + + class AccountCreateParamsIndividualVerification(TypedDict): additional_document: NotRequired[ "AccountCreateParamsIndividualVerificationAdditionalDocument" @@ -1964,18 +1980,6 @@ class AccountCreateParamsIndividualVerificationDocument(TypedDict): """ -class AccountCreateParamsIndividualSelfReportedIncome(TypedDict): - amount: int - currency: str - - -class AccountCreateParamsIndividualSelfReportedMonthlyHousingPayment( - TypedDict -): - amount: int - currency: str - - class AccountCreateParamsRiskControls(TypedDict): charges: NotRequired["AccountCreateParamsRiskControlsCharges"] """ @@ -2044,6 +2048,10 @@ class AccountCreateParamsSettings(TypedDict): """ Settings specific to the account's payouts. """ + paypay_payments: NotRequired["AccountCreateParamsSettingsPaypayPayments"] + """ + Settings specific to the PayPay payments method. + """ tax_forms: NotRequired["AccountCreateParamsSettingsTaxForms"] """ Settings specific to the account's tax forms. @@ -2161,7 +2169,7 @@ class AccountCreateParamsSettingsInvoices(TypedDict): Literal["always", "never", "offer"] ] """ - Whether payment methods should be saved when a payment is completed for a one-time invoices on a hosted invoice page. + Whether to save the payment method after a payment is completed for a one-time invoice or a subscription invoice when the customer already has a default payment method on the hosted invoice page. """ @@ -2234,6 +2242,13 @@ class AccountCreateParamsSettingsPayoutsSchedule(TypedDict): """ +class AccountCreateParamsSettingsPaypayPayments(TypedDict): + goods_type: NotRequired[Literal["digital_content", "other"]] + """ + Whether your business sells digital content or not. + """ + + class AccountCreateParamsSettingsTaxForms(TypedDict): consented_to_paperless_delivery: NotRequired[bool] """ diff --git a/stripe/params/_account_create_person_params.py b/stripe/params/_account_create_person_params.py index 6c634ae77..9ca4b5a25 100644 --- a/stripe/params/_account_create_person_params.py +++ b/stripe/params/_account_create_person_params.py @@ -114,18 +114,6 @@ class AccountCreatePersonParams(RequestOptions): """ The relationship that this person has with the account's legal entity. """ - ssn_last_4: NotRequired[str] - """ - The last four digits of the person's Social Security number (U.S. only). - """ - us_cfpb_data: NotRequired["AccountCreatePersonParamsUsCfpbData"] - """ - Demographic data related to the person. - """ - verification: NotRequired["AccountCreatePersonParamsVerification"] - """ - The person's verification status. - """ self_reported_income: NotRequired[ "AccountCreatePersonParamsSelfReportedIncome" ] @@ -138,6 +126,18 @@ class AccountCreatePersonParams(RequestOptions): """ The credit applicant's self-reported monthly housing payment in minor units. """ + ssn_last_4: NotRequired[str] + """ + The last four digits of the person's Social Security number (U.S. only). + """ + us_cfpb_data: NotRequired["AccountCreatePersonParamsUsCfpbData"] + """ + Demographic data related to the person. + """ + verification: NotRequired["AccountCreatePersonParamsVerification"] + """ + The person's verification status. + """ class AccountCreatePersonParamsAdditionalTosAcceptances(TypedDict): @@ -368,6 +368,16 @@ class AccountCreatePersonParamsRelationship(TypedDict): """ +class AccountCreatePersonParamsSelfReportedIncome(TypedDict): + amount: int + currency: str + + +class AccountCreatePersonParamsSelfReportedMonthlyHousingPayment(TypedDict): + amount: int + currency: str + + class AccountCreatePersonParamsUsCfpbData(TypedDict): ethnicity_details: NotRequired[ "AccountCreatePersonParamsUsCfpbDataEthnicityDetails" @@ -481,13 +491,3 @@ class AccountCreatePersonParamsVerificationDocument(TypedDict): """ The front of an ID returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `identity_document`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size. """ - - -class AccountCreatePersonParamsSelfReportedIncome(TypedDict): - amount: int - currency: str - - -class AccountCreatePersonParamsSelfReportedMonthlyHousingPayment(TypedDict): - amount: int - currency: str diff --git a/stripe/params/_account_modify_person_params.py b/stripe/params/_account_modify_person_params.py index 1381635f7..ef7ef54e4 100644 --- a/stripe/params/_account_modify_person_params.py +++ b/stripe/params/_account_modify_person_params.py @@ -114,18 +114,6 @@ class AccountModifyPersonParams(RequestOptions): """ The relationship that this person has with the account's legal entity. """ - ssn_last_4: NotRequired[str] - """ - The last four digits of the person's Social Security number (U.S. only). - """ - us_cfpb_data: NotRequired["AccountModifyPersonParamsUsCfpbData"] - """ - Demographic data related to the person. - """ - verification: NotRequired["AccountModifyPersonParamsVerification"] - """ - The person's verification status. - """ self_reported_income: NotRequired[ "AccountModifyPersonParamsSelfReportedIncome" ] @@ -138,6 +126,18 @@ class AccountModifyPersonParams(RequestOptions): """ The credit applicant's self-reported monthly housing payment in minor units. """ + ssn_last_4: NotRequired[str] + """ + The last four digits of the person's Social Security number (U.S. only). + """ + us_cfpb_data: NotRequired["AccountModifyPersonParamsUsCfpbData"] + """ + Demographic data related to the person. + """ + verification: NotRequired["AccountModifyPersonParamsVerification"] + """ + The person's verification status. + """ class AccountModifyPersonParamsAdditionalTosAcceptances(TypedDict): @@ -368,6 +368,16 @@ class AccountModifyPersonParamsRelationship(TypedDict): """ +class AccountModifyPersonParamsSelfReportedIncome(TypedDict): + amount: int + currency: str + + +class AccountModifyPersonParamsSelfReportedMonthlyHousingPayment(TypedDict): + amount: int + currency: str + + class AccountModifyPersonParamsUsCfpbData(TypedDict): ethnicity_details: NotRequired[ "AccountModifyPersonParamsUsCfpbDataEthnicityDetails" @@ -481,13 +491,3 @@ class AccountModifyPersonParamsVerificationDocument(TypedDict): """ The front of an ID returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `identity_document`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size. """ - - -class AccountModifyPersonParamsSelfReportedIncome(TypedDict): - amount: int - currency: str - - -class AccountModifyPersonParamsSelfReportedMonthlyHousingPayment(TypedDict): - amount: int - currency: str diff --git a/stripe/params/_account_person_create_params.py b/stripe/params/_account_person_create_params.py index b344f64f2..e351a7488 100644 --- a/stripe/params/_account_person_create_params.py +++ b/stripe/params/_account_person_create_params.py @@ -113,18 +113,6 @@ class AccountPersonCreateParams(TypedDict): """ The relationship that this person has with the account's legal entity. """ - ssn_last_4: NotRequired[str] - """ - The last four digits of the person's Social Security number (U.S. only). - """ - us_cfpb_data: NotRequired["AccountPersonCreateParamsUsCfpbData"] - """ - Demographic data related to the person. - """ - verification: NotRequired["AccountPersonCreateParamsVerification"] - """ - The person's verification status. - """ self_reported_income: NotRequired[ "AccountPersonCreateParamsSelfReportedIncome" ] @@ -137,6 +125,18 @@ class AccountPersonCreateParams(TypedDict): """ The credit applicant's self-reported monthly housing payment in minor units. """ + ssn_last_4: NotRequired[str] + """ + The last four digits of the person's Social Security number (U.S. only). + """ + us_cfpb_data: NotRequired["AccountPersonCreateParamsUsCfpbData"] + """ + Demographic data related to the person. + """ + verification: NotRequired["AccountPersonCreateParamsVerification"] + """ + The person's verification status. + """ class AccountPersonCreateParamsAdditionalTosAcceptances(TypedDict): @@ -367,6 +367,16 @@ class AccountPersonCreateParamsRelationship(TypedDict): """ +class AccountPersonCreateParamsSelfReportedIncome(TypedDict): + amount: int + currency: str + + +class AccountPersonCreateParamsSelfReportedMonthlyHousingPayment(TypedDict): + amount: int + currency: str + + class AccountPersonCreateParamsUsCfpbData(TypedDict): ethnicity_details: NotRequired[ "AccountPersonCreateParamsUsCfpbDataEthnicityDetails" @@ -480,13 +490,3 @@ class AccountPersonCreateParamsVerificationDocument(TypedDict): """ The front of an ID returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `identity_document`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size. """ - - -class AccountPersonCreateParamsSelfReportedIncome(TypedDict): - amount: int - currency: str - - -class AccountPersonCreateParamsSelfReportedMonthlyHousingPayment(TypedDict): - amount: int - currency: str diff --git a/stripe/params/_account_person_update_params.py b/stripe/params/_account_person_update_params.py index 89a155b18..9fbafc1ca 100644 --- a/stripe/params/_account_person_update_params.py +++ b/stripe/params/_account_person_update_params.py @@ -113,18 +113,6 @@ class AccountPersonUpdateParams(TypedDict): """ The relationship that this person has with the account's legal entity. """ - ssn_last_4: NotRequired[str] - """ - The last four digits of the person's Social Security number (U.S. only). - """ - us_cfpb_data: NotRequired["AccountPersonUpdateParamsUsCfpbData"] - """ - Demographic data related to the person. - """ - verification: NotRequired["AccountPersonUpdateParamsVerification"] - """ - The person's verification status. - """ self_reported_income: NotRequired[ "AccountPersonUpdateParamsSelfReportedIncome" ] @@ -137,6 +125,18 @@ class AccountPersonUpdateParams(TypedDict): """ The credit applicant's self-reported monthly housing payment in minor units. """ + ssn_last_4: NotRequired[str] + """ + The last four digits of the person's Social Security number (U.S. only). + """ + us_cfpb_data: NotRequired["AccountPersonUpdateParamsUsCfpbData"] + """ + Demographic data related to the person. + """ + verification: NotRequired["AccountPersonUpdateParamsVerification"] + """ + The person's verification status. + """ class AccountPersonUpdateParamsAdditionalTosAcceptances(TypedDict): @@ -367,6 +367,16 @@ class AccountPersonUpdateParamsRelationship(TypedDict): """ +class AccountPersonUpdateParamsSelfReportedIncome(TypedDict): + amount: int + currency: str + + +class AccountPersonUpdateParamsSelfReportedMonthlyHousingPayment(TypedDict): + amount: int + currency: str + + class AccountPersonUpdateParamsUsCfpbData(TypedDict): ethnicity_details: NotRequired[ "AccountPersonUpdateParamsUsCfpbDataEthnicityDetails" @@ -480,13 +490,3 @@ class AccountPersonUpdateParamsVerificationDocument(TypedDict): """ The front of an ID returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `identity_document`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size. """ - - -class AccountPersonUpdateParamsSelfReportedIncome(TypedDict): - amount: int - currency: str - - -class AccountPersonUpdateParamsSelfReportedMonthlyHousingPayment(TypedDict): - amount: int - currency: str diff --git a/stripe/params/_account_update_params.py b/stripe/params/_account_update_params.py index 0cc87fd4e..a59b4beea 100644 --- a/stripe/params/_account_update_params.py +++ b/stripe/params/_account_update_params.py @@ -127,6 +127,10 @@ class AccountUpdateParamsBusinessProfile(TypedDict): """ Internal-only description of the product sold by, or service provided by, the business. Used by Stripe for risk and underwriting purposes. """ + specified_commercial_transactions_act_url: NotRequired["Literal['']|str"] + """ + A link to the business's publicly available terms related to the Specified Commercial Transaction Act. Only used for accounts in Japan. + """ support_address: NotRequired[ "AccountUpdateParamsBusinessProfileSupportAddress" ] @@ -1665,14 +1669,6 @@ class AccountUpdateParamsIndividual(TypedDict): """ Describes the person's relationship to the account. """ - ssn_last_4: NotRequired[str] - """ - The last four digits of the individual's Social Security Number (U.S. only). - """ - verification: NotRequired["AccountUpdateParamsIndividualVerification"] - """ - The individual's verification document information. - """ self_reported_income: NotRequired[ "AccountUpdateParamsIndividualSelfReportedIncome" ] @@ -1685,6 +1681,14 @@ class AccountUpdateParamsIndividual(TypedDict): """ The credit applicant's self-reported monthly housing payment in minor units. """ + ssn_last_4: NotRequired[str] + """ + The last four digits of the individual's Social Security Number (U.S. only). + """ + verification: NotRequired["AccountUpdateParamsIndividualVerification"] + """ + The individual's verification document information. + """ class AccountUpdateParamsIndividualAddress(TypedDict): @@ -1841,6 +1845,18 @@ class AccountUpdateParamsIndividualRelationship(TypedDict): """ +class AccountUpdateParamsIndividualSelfReportedIncome(TypedDict): + amount: int + currency: str + + +class AccountUpdateParamsIndividualSelfReportedMonthlyHousingPayment( + TypedDict +): + amount: int + currency: str + + class AccountUpdateParamsIndividualVerification(TypedDict): additional_document: NotRequired[ "AccountUpdateParamsIndividualVerificationAdditionalDocument" @@ -1876,18 +1892,6 @@ class AccountUpdateParamsIndividualVerificationDocument(TypedDict): """ -class AccountUpdateParamsIndividualSelfReportedIncome(TypedDict): - amount: int - currency: str - - -class AccountUpdateParamsIndividualSelfReportedMonthlyHousingPayment( - TypedDict -): - amount: int - currency: str - - class AccountUpdateParamsRiskControls(TypedDict): charges: NotRequired["AccountUpdateParamsRiskControlsCharges"] """ @@ -1956,6 +1960,10 @@ class AccountUpdateParamsSettings(TypedDict): """ Settings specific to the account's payouts. """ + paypay_payments: NotRequired["AccountUpdateParamsSettingsPaypayPayments"] + """ + Settings specific to the PayPay payments method. + """ tax_forms: NotRequired["AccountUpdateParamsSettingsTaxForms"] """ Settings specific to the account's tax forms. @@ -2077,7 +2085,7 @@ class AccountUpdateParamsSettingsInvoices(TypedDict): Literal["always", "never", "offer"] ] """ - Whether payment methods should be saved when a payment is completed for a one-time invoices on a hosted invoice page. + Whether to save the payment method after a payment is completed for a one-time invoice or a subscription invoice when the customer already has a default payment method on the hosted invoice page. """ @@ -2150,6 +2158,13 @@ class AccountUpdateParamsSettingsPayoutsSchedule(TypedDict): """ +class AccountUpdateParamsSettingsPaypayPayments(TypedDict): + goods_type: NotRequired[Literal["digital_content", "other"]] + """ + Whether your business sells digital content or not. + """ + + class AccountUpdateParamsSettingsTaxForms(TypedDict): consented_to_paperless_delivery: NotRequired[bool] """ diff --git a/stripe/params/_balance_transfer_create_params.py b/stripe/params/_balance_transfer_create_params.py new file mode 100644 index 000000000..53ab82dad --- /dev/null +++ b/stripe/params/_balance_transfer_create_params.py @@ -0,0 +1,60 @@ +# -*- coding: utf-8 -*- +# File generated from our OpenAPI spec +from stripe._request_options import RequestOptions +from typing import Dict, List +from typing_extensions import Literal, NotRequired, TypedDict + + +class BalanceTransferCreateParams(RequestOptions): + amount: int + """ + A positive integer representing how much to transfer in the smallest currency unit. + """ + currency: Literal["eur", "gbp", "usd"] + """ + Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). + """ + destination_balance: "BalanceTransferCreateParamsDestinationBalance" + """ + The balance to which funds are transferred. + """ + expand: NotRequired[List[str]] + """ + Specifies which fields in the response should be expanded. + """ + metadata: NotRequired[Dict[str, str]] + """ + Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. + """ + source_balance: "BalanceTransferCreateParamsSourceBalance" + """ + The balance from which funds are transferred, including details specific to the balance you choose. + """ + + +class BalanceTransferCreateParamsDestinationBalance(TypedDict): + type: Literal["issuing", "payments"] + """ + Destination balance type to push funds into for the Balance Transfer. + """ + + +class BalanceTransferCreateParamsSourceBalance(TypedDict): + allocated_funds: NotRequired[ + "BalanceTransferCreateParamsSourceBalanceAllocatedFunds" + ] + type: Literal["allocated_funds", "issuing", "payments"] + """ + Source balance type to pull funds from for the Balance Transfer. + """ + + +class BalanceTransferCreateParamsSourceBalanceAllocatedFunds(TypedDict): + charge: str + """ + The charge ID that the funds are originally sourced from. Required if `type` is `charge`. + """ + type: Literal["charge"] + """ + The type of object that the funds are originally sourced from. One of `charge`. + """ diff --git a/stripe/params/_charge_capture_params.py b/stripe/params/_charge_capture_params.py index 06cfc7366..1f2b2829e 100644 --- a/stripe/params/_charge_capture_params.py +++ b/stripe/params/_charge_capture_params.py @@ -55,9 +55,17 @@ class ChargeCaptureParamsPaymentDetails(TypedDict): """ Car rental details for this PaymentIntent. """ + car_rental_data: NotRequired[ + "Literal['']|List[ChargeCaptureParamsPaymentDetailsCarRentalDatum]" + ] + """ + Car rental data for this PaymentIntent. + """ customer_reference: NotRequired["Literal['']|str"] """ - Some customers might be required by their company or organization to provide this information. If so, provide this value. Otherwise you can ignore this field. + A unique value to identify the customer. This field is available only for card payments. + + This field is truncated to 25 alphanumeric characters, excluding spaces, before being sent to card networks. """ event_details: NotRequired["ChargeCaptureParamsPaymentDetailsEventDetails"] """ @@ -67,13 +75,29 @@ class ChargeCaptureParamsPaymentDetails(TypedDict): """ Flight reservation details for this PaymentIntent """ + flight_data: NotRequired[ + "Literal['']|List[ChargeCaptureParamsPaymentDetailsFlightDatum]" + ] + """ + Flight data for this PaymentIntent. + """ lodging: NotRequired["ChargeCaptureParamsPaymentDetailsLodging"] """ Lodging reservation details for this PaymentIntent """ + lodging_data: NotRequired[ + "Literal['']|List[ChargeCaptureParamsPaymentDetailsLodgingDatum]" + ] + """ + Lodging data for this PaymentIntent. + """ order_reference: NotRequired["Literal['']|str"] """ - A unique value assigned by the business to identify the transaction. + A unique value assigned by the business to identify the transaction. Required for L2 and L3 rates. + + Required when the Payment Method Types array contains `card`, including when [automatic_payment_methods.enabled](https://docs.stripe.com/api/payment_intents/create#create_payment_intent-automatic_payment_methods-enabled) is set to `true`. + + For Cards, this field is truncated to 25 alphanumeric characters, excluding spaces, before being sent to card networks. For Klarna, this field is truncated to 255 characters and is visible to customers when they view the order in the Klarna app. """ subscription: NotRequired["ChargeCaptureParamsPaymentDetailsSubscription"] """ @@ -313,6 +337,415 @@ class ChargeCaptureParamsPaymentDetailsCarRentalReturnAddress(TypedDict): """ +class ChargeCaptureParamsPaymentDetailsCarRentalDatum(TypedDict): + affiliate: NotRequired[ + "ChargeCaptureParamsPaymentDetailsCarRentalDatumAffiliate" + ] + """ + Affiliate (such as travel agency) details for the rental. + """ + booking_number: NotRequired[str] + """ + Booking confirmation number for the car rental. + """ + carrier_name: NotRequired[str] + """ + Name of the car rental company. + """ + customer_service_phone_number: NotRequired[str] + """ + Customer service phone number for the car rental company. + """ + days_rented: NotRequired[int] + """ + Number of days the car is being rented. + """ + distance: NotRequired[ + "ChargeCaptureParamsPaymentDetailsCarRentalDatumDistance" + ] + """ + Distance details for the rental. + """ + drivers: NotRequired[ + List["ChargeCaptureParamsPaymentDetailsCarRentalDatumDriver"] + ] + """ + List of drivers for the rental. + """ + drop_off: "ChargeCaptureParamsPaymentDetailsCarRentalDatumDropOff" + """ + Drop-off location details. + """ + insurances: NotRequired[ + List["ChargeCaptureParamsPaymentDetailsCarRentalDatumInsurance"] + ] + """ + Insurance details for the rental. + """ + no_show_indicator: NotRequired[bool] + """ + Indicates if the customer was a no-show. + """ + pickup: "ChargeCaptureParamsPaymentDetailsCarRentalDatumPickup" + """ + Pickup location details. + """ + renter_name: NotRequired[str] + """ + Name of the person renting the vehicle. + """ + total: "ChargeCaptureParamsPaymentDetailsCarRentalDatumTotal" + """ + Total cost breakdown for the rental. + """ + vehicle: NotRequired[ + "ChargeCaptureParamsPaymentDetailsCarRentalDatumVehicle" + ] + """ + Vehicle details for the rental. + """ + + +class ChargeCaptureParamsPaymentDetailsCarRentalDatumAffiliate(TypedDict): + code: NotRequired[str] + """ + Affiliate partner code. + """ + name: NotRequired[str] + """ + Name of affiliate partner. + """ + + +class ChargeCaptureParamsPaymentDetailsCarRentalDatumDistance(TypedDict): + amount: int + """ + Distance traveled. + """ + unit: Literal["kilometers", "miles"] + """ + Unit of measurement for the distance traveled. One of `miles` or `kilometers`. + """ + + +class ChargeCaptureParamsPaymentDetailsCarRentalDatumDriver(TypedDict): + date_of_birth: NotRequired[ + "ChargeCaptureParamsPaymentDetailsCarRentalDatumDriverDateOfBirth" + ] + """ + Driver's date of birth. + """ + driver_identification_number: NotRequired[str] + """ + Driver's identification number. + """ + driver_tax_number: NotRequired[str] + """ + Driver's tax number. + """ + name: str + """ + Driver's full name. + """ + + +class ChargeCaptureParamsPaymentDetailsCarRentalDatumDriverDateOfBirth( + TypedDict, +): + day: int + """ + Day of birth (1-31). + """ + month: int + """ + Month of birth (1-12). + """ + year: int + """ + Year of birth (must be greater than 1900). + """ + + +class ChargeCaptureParamsPaymentDetailsCarRentalDatumDropOff(TypedDict): + address: "ChargeCaptureParamsPaymentDetailsCarRentalDatumDropOffAddress" + """ + Address of the rental location. + """ + location_name: NotRequired[str] + """ + Location name. + """ + time: int + """ + Timestamp for the location. + """ + + +class ChargeCaptureParamsPaymentDetailsCarRentalDatumDropOffAddress(TypedDict): + city: str + """ + City, district, suburb, town, or village. + """ + country: str + """ + Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). + """ + line1: str + """ + Address line 1, such as the street, PO Box, or company name. + """ + line2: NotRequired[str] + """ + Address line 2, such as the apartment, suite, unit, or building. + """ + postal_code: str + """ + ZIP or postal code. + """ + state: NotRequired[str] + """ + State, county, province, or region. + """ + + +class ChargeCaptureParamsPaymentDetailsCarRentalDatumInsurance(TypedDict): + amount: int + """ + Amount of the insurance coverage in cents. + """ + currency: NotRequired[str] + """ + Currency of the insurance amount. + """ + insurance_company_name: NotRequired[str] + """ + Name of the insurance company. + """ + insurance_type: Literal[ + "liability_supplement", + "loss_damage_waiver", + "other", + "partial_damage_waiver", + "personal_accident", + "personal_effects", + ] + """ + Type of insurance coverage. + """ + + +class ChargeCaptureParamsPaymentDetailsCarRentalDatumPickup(TypedDict): + address: "ChargeCaptureParamsPaymentDetailsCarRentalDatumPickupAddress" + """ + Address of the rental location. + """ + location_name: NotRequired[str] + """ + Location name. + """ + time: int + """ + Timestamp for the location. + """ + + +class ChargeCaptureParamsPaymentDetailsCarRentalDatumPickupAddress(TypedDict): + city: str + """ + City, district, suburb, town, or village. + """ + country: str + """ + Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). + """ + line1: str + """ + Address line 1, such as the street, PO Box, or company name. + """ + line2: NotRequired[str] + """ + Address line 2, such as the apartment, suite, unit, or building. + """ + postal_code: str + """ + ZIP or postal code. + """ + state: NotRequired[str] + """ + State, county, province, or region. + """ + + +class ChargeCaptureParamsPaymentDetailsCarRentalDatumTotal(TypedDict): + amount: int + """ + Total amount in cents. + """ + currency: NotRequired[str] + """ + Currency of the amount. + """ + discounts: NotRequired[ + "ChargeCaptureParamsPaymentDetailsCarRentalDatumTotalDiscounts" + ] + """ + Discount details for the rental. + """ + extra_charges: NotRequired[ + List["ChargeCaptureParamsPaymentDetailsCarRentalDatumTotalExtraCharge"] + ] + """ + Additional charges for the rental. + """ + rate_per_unit: NotRequired[int] + """ + Rate per unit for the rental. + """ + rate_unit: NotRequired[ + Literal["days", "kilometers", "miles", "months", "weeks"] + ] + """ + Unit of measurement for the rate. + """ + tax: NotRequired["ChargeCaptureParamsPaymentDetailsCarRentalDatumTotalTax"] + """ + Tax breakdown for the rental. + """ + + +class ChargeCaptureParamsPaymentDetailsCarRentalDatumTotalDiscounts(TypedDict): + corporate_client_code: NotRequired[str] + """ + Corporate client discount code. + """ + coupon: NotRequired[str] + """ + Coupon code applied to the rental. + """ + maximum_free_miles_or_kilometers: NotRequired[int] + """ + Maximum number of free miles or kilometers included. + """ + + +class ChargeCaptureParamsPaymentDetailsCarRentalDatumTotalExtraCharge( + TypedDict, +): + amount: int + """ + Amount of the extra charge in cents. + """ + type: Literal[ + "extra_mileage", + "gas", + "gps", + "late_charge", + "one_way_drop_off", + "other", + "parking", + "phone", + "regular_mileage", + "towing", + ] + """ + Type of extra charge. + """ + + +class ChargeCaptureParamsPaymentDetailsCarRentalDatumTotalTax(TypedDict): + tax_exempt_indicator: NotRequired[bool] + """ + Indicates if the transaction is tax exempt. + """ + taxes: NotRequired[ + List["ChargeCaptureParamsPaymentDetailsCarRentalDatumTotalTaxTax"] + ] + """ + Array of tax details. + """ + + +class ChargeCaptureParamsPaymentDetailsCarRentalDatumTotalTaxTax(TypedDict): + amount: NotRequired[int] + """ + Tax amount. + """ + rate: NotRequired[int] + """ + Tax rate applied. + """ + type: NotRequired[str] + """ + Type of tax applied. + """ + + +class ChargeCaptureParamsPaymentDetailsCarRentalDatumVehicle(TypedDict): + make: NotRequired[str] + """ + Make of the rental vehicle. + """ + model: NotRequired[str] + """ + Model of the rental vehicle. + """ + odometer: NotRequired[int] + """ + Odometer reading at the time of rental. + """ + type: NotRequired[ + Literal[ + "cargo_van", + "compact", + "economy", + "exotic", + "exotic_suv", + "fifteen_passenger_van", + "four_wheel_drive", + "full_size", + "intermediate", + "large_suv", + "large_truck", + "luxury", + "medium_suv", + "midsize", + "mini", + "minivan", + "miscellaneous", + "moped", + "moving_van", + "premium", + "regular", + "small_medium_truck", + "small_suv", + "special", + "standard", + "stretch", + "subcompact", + "taxi", + "twelve_foot_truck", + "twelve_passenger_van", + "twenty_foot_truck", + "twenty_four_foot_truck", + "twenty_six_foot_truck", + "unique", + ] + ] + """ + Type of the rental vehicle. + """ + vehicle_class: NotRequired[ + Literal["business", "economy", "first_class", "premium_economy"] + ] + """ + Class of the rental vehicle. + """ + vehicle_identification_number: NotRequired[str] + """ + Vehicle identification number (VIN). + """ + + class ChargeCaptureParamsPaymentDetailsEventDetails(TypedDict): access_controlled_venue: NotRequired[bool] """ @@ -538,48 +971,330 @@ class ChargeCaptureParamsPaymentDetailsFlightSegment(TypedDict): """ -class ChargeCaptureParamsPaymentDetailsLodging(TypedDict): - address: NotRequired["ChargeCaptureParamsPaymentDetailsLodgingAddress"] +class ChargeCaptureParamsPaymentDetailsFlightDatum(TypedDict): + affiliate: NotRequired[ + "ChargeCaptureParamsPaymentDetailsFlightDatumAffiliate" + ] """ - The lodging location's address. + Affiliate details if applicable. """ - adults: NotRequired[int] + booking_number: NotRequired[str] """ - The number of adults on the booking + Reservation reference. """ - affiliate: NotRequired["ChargeCaptureParamsPaymentDetailsLodgingAffiliate"] + computerized_reservation_system: NotRequired[str] """ - Affiliate details for this purchase. + Computerized reservation system used to make the reservation and purchase the ticket. """ - booking_number: NotRequired[str] + endorsements_and_restrictions: NotRequired[str] """ - The booking number associated with the lodging reservation. + Ticket restrictions. """ - category: NotRequired[Literal["hotel", "vacation_rental"]] + insurances: NotRequired[ + List["ChargeCaptureParamsPaymentDetailsFlightDatumInsurance"] + ] """ - The lodging category + List of insurances. """ - checkin_at: int + passengers: NotRequired[ + List["ChargeCaptureParamsPaymentDetailsFlightDatumPassenger"] + ] """ - Lodging check-in time. Measured in seconds since the Unix epoch. + List of passengers. """ - checkout_at: int + segments: List["ChargeCaptureParamsPaymentDetailsFlightDatumSegment"] """ - Lodging check-out time. Measured in seconds since the Unix epoch. + List of flight segments. """ - customer_service_phone_number: NotRequired[str] + ticket_electronically_issued_indicator: NotRequired[bool] """ - The customer service phone number of the lodging company. + Electronic ticket indicator. """ - daily_room_rate_amount: NotRequired[int] + total: "ChargeCaptureParamsPaymentDetailsFlightDatumTotal" """ - The daily lodging room rate. + Total cost breakdown. """ - delivery: NotRequired["ChargeCaptureParamsPaymentDetailsLodgingDelivery"] + transaction_type: NotRequired[ + Literal[ + "exchange_ticket", "miscellaneous", "refund", "ticket_purchase" + ] + ] """ - Delivery details for this purchase. + Type of flight transaction. """ - extra_charges: NotRequired[ + + +class ChargeCaptureParamsPaymentDetailsFlightDatumAffiliate(TypedDict): + code: NotRequired[str] + """ + Affiliate partner code. + """ + name: NotRequired[str] + """ + Name of affiliate partner. + """ + travel_authorization_code: NotRequired[str] + """ + Code provided by the company to a travel agent authorizing ticket issuance. + """ + + +class ChargeCaptureParamsPaymentDetailsFlightDatumInsurance(TypedDict): + amount: int + """ + Insurance cost. + """ + currency: NotRequired[str] + """ + Insurance currency. + """ + insurance_company_name: NotRequired[str] + """ + Insurance company name. + """ + insurance_type: Literal[ + "baggage", "bankruptcy", "cancelation", "emergency", "medical" + ] + """ + Type of insurance. + """ + + +class ChargeCaptureParamsPaymentDetailsFlightDatumPassenger(TypedDict): + name: str + """ + Passenger's full name. + """ + + +class ChargeCaptureParamsPaymentDetailsFlightDatumSegment(TypedDict): + amount: NotRequired[int] + """ + Segment fare amount. + """ + arrival: "ChargeCaptureParamsPaymentDetailsFlightDatumSegmentArrival" + """ + Arrival details. + """ + carrier_code: str + """ + Airline carrier code. + """ + carrier_name: NotRequired[str] + """ + Carrier name. + """ + currency: NotRequired[str] + """ + Segment currency. + """ + departure: "ChargeCaptureParamsPaymentDetailsFlightDatumSegmentDeparture" + """ + Departure details. + """ + exchange_ticket_number: NotRequired[str] + """ + Exchange ticket number. + """ + fare_basis_code: NotRequired[str] + """ + Fare basis code. + """ + fees: NotRequired[int] + """ + Additional fees. + """ + flight_number: NotRequired[str] + """ + Flight number. + """ + is_stop_over_indicator: NotRequired[bool] + """ + Stopover indicator. + """ + refundable: NotRequired[bool] + """ + Refundable ticket indicator. + """ + service_class: Literal[ + "business", "economy", "first_class", "premium_economy" + ] + """ + Class of service. + """ + tax_amount: NotRequired[int] + """ + Tax amount for segment. + """ + ticket_number: NotRequired[str] + """ + Ticket number. + """ + + +class ChargeCaptureParamsPaymentDetailsFlightDatumSegmentArrival(TypedDict): + airport: str + """ + Arrival airport IATA code. + """ + arrives_at: NotRequired[int] + """ + Arrival date/time. + """ + city: NotRequired[str] + """ + Arrival city. + """ + country: NotRequired[str] + """ + Arrival country. + """ + + +class ChargeCaptureParamsPaymentDetailsFlightDatumSegmentDeparture(TypedDict): + airport: str + """ + Departure airport IATA code. + """ + city: NotRequired[str] + """ + Departure city. + """ + country: NotRequired[str] + """ + Departure country. + """ + departs_at: int + """ + Departure date/time. + """ + + +class ChargeCaptureParamsPaymentDetailsFlightDatumTotal(TypedDict): + amount: int + """ + Total flight amount. + """ + credit_reason: NotRequired[ + Literal[ + "other", + "partial_ticket_refund", + "passenger_transport_ancillary_cancellation", + "ticket_and_ancillary_cancellation", + "ticket_cancellation", + ] + ] + """ + Reason for credit. + """ + currency: NotRequired[str] + """ + Total currency. + """ + discounts: NotRequired[ + "ChargeCaptureParamsPaymentDetailsFlightDatumTotalDiscounts" + ] + """ + Discount details. + """ + extra_charges: NotRequired[ + List["ChargeCaptureParamsPaymentDetailsFlightDatumTotalExtraCharge"] + ] + """ + Additional charges. + """ + tax: NotRequired["ChargeCaptureParamsPaymentDetailsFlightDatumTotalTax"] + """ + Tax breakdown. + """ + + +class ChargeCaptureParamsPaymentDetailsFlightDatumTotalDiscounts(TypedDict): + corporate_client_code: NotRequired[str] + """ + Corporate client discount code. + """ + + +class ChargeCaptureParamsPaymentDetailsFlightDatumTotalExtraCharge(TypedDict): + amount: NotRequired[int] + """ + Amount of additional charges. + """ + type: NotRequired[ + Literal["additional_fees", "ancillary_service_charges", "exchange_fee"] + ] + """ + Type of additional charges. + """ + + +class ChargeCaptureParamsPaymentDetailsFlightDatumTotalTax(TypedDict): + taxes: NotRequired[ + List["ChargeCaptureParamsPaymentDetailsFlightDatumTotalTaxTax"] + ] + """ + Array of tax details. + """ + + +class ChargeCaptureParamsPaymentDetailsFlightDatumTotalTaxTax(TypedDict): + amount: NotRequired[int] + """ + Tax amount. + """ + rate: NotRequired[int] + """ + Tax rate. + """ + type: NotRequired[str] + """ + Type of tax. + """ + + +class ChargeCaptureParamsPaymentDetailsLodging(TypedDict): + address: NotRequired["ChargeCaptureParamsPaymentDetailsLodgingAddress"] + """ + The lodging location's address. + """ + adults: NotRequired[int] + """ + The number of adults on the booking + """ + affiliate: NotRequired["ChargeCaptureParamsPaymentDetailsLodgingAffiliate"] + """ + Affiliate details for this purchase. + """ + booking_number: NotRequired[str] + """ + The booking number associated with the lodging reservation. + """ + category: NotRequired[Literal["hotel", "vacation_rental"]] + """ + The lodging category + """ + checkin_at: int + """ + Lodging check-in time. Measured in seconds since the Unix epoch. + """ + checkout_at: int + """ + Lodging check-out time. Measured in seconds since the Unix epoch. + """ + customer_service_phone_number: NotRequired[str] + """ + The customer service phone number of the lodging company. + """ + daily_room_rate_amount: NotRequired[int] + """ + The daily lodging room rate. + """ + delivery: NotRequired["ChargeCaptureParamsPaymentDetailsLodgingDelivery"] + """ + Delivery details for this purchase. + """ + extra_charges: NotRequired[ List[ Literal[ "gift_shop", @@ -707,6 +1422,309 @@ class ChargeCaptureParamsPaymentDetailsLodgingPassenger(TypedDict): """ +class ChargeCaptureParamsPaymentDetailsLodgingDatum(TypedDict): + accommodation: NotRequired[ + "ChargeCaptureParamsPaymentDetailsLodgingDatumAccommodation" + ] + """ + Accommodation details for the lodging. + """ + affiliate: NotRequired[ + "ChargeCaptureParamsPaymentDetailsLodgingDatumAffiliate" + ] + """ + Affiliate details if applicable. + """ + booking_number: NotRequired[str] + """ + Booking confirmation number for the lodging. + """ + checkin_at: int + """ + Check-in date. + """ + checkout_at: int + """ + Check-out date. + """ + customer_service_phone_number: NotRequired[str] + """ + Customer service phone number for the lodging company. + """ + fire_safety_act_compliance_indicator: NotRequired[bool] + """ + Whether the lodging is compliant with any hotel fire safety regulations. + """ + guests: NotRequired[ + List["ChargeCaptureParamsPaymentDetailsLodgingDatumGuest"] + ] + """ + List of guests for the lodging. + """ + host: NotRequired["ChargeCaptureParamsPaymentDetailsLodgingDatumHost"] + """ + Host details for the lodging. + """ + insurances: NotRequired[ + List["ChargeCaptureParamsPaymentDetailsLodgingDatumInsurance"] + ] + """ + List of insurances for the lodging. + """ + no_show_indicator: NotRequired[bool] + """ + Whether the renter is a no-show. + """ + renter_id_number: NotRequired[str] + """ + Renter ID number for the lodging. + """ + renter_name: NotRequired[str] + """ + Renter name for the lodging. + """ + total: "ChargeCaptureParamsPaymentDetailsLodgingDatumTotal" + """ + Total details for the lodging. + """ + + +class ChargeCaptureParamsPaymentDetailsLodgingDatumAccommodation(TypedDict): + accommodation_type: NotRequired[ + Literal[ + "apartment", + "cabana", + "house", + "penthouse", + "room", + "standard", + "suite", + "villa", + ] + ] + """ + Type of accommodation. + """ + bed_type: NotRequired[str] + """ + Bed type. + """ + daily_rate_amount: NotRequired[int] + """ + Daily accommodation rate in cents. + """ + nights: NotRequired[int] + """ + Number of nights. + """ + number_of_rooms: NotRequired[int] + """ + Number of rooms, cabanas, apartments, and so on. + """ + rate_type: NotRequired[str] + """ + Rate type. + """ + smoking_indicator: NotRequired[bool] + """ + Whether smoking is allowed. + """ + + +class ChargeCaptureParamsPaymentDetailsLodgingDatumAffiliate(TypedDict): + code: NotRequired[str] + """ + Affiliate partner code. + """ + name: NotRequired[str] + """ + Affiliate partner name. + """ + + +class ChargeCaptureParamsPaymentDetailsLodgingDatumGuest(TypedDict): + name: str + """ + Guest's full name. + """ + + +class ChargeCaptureParamsPaymentDetailsLodgingDatumHost(TypedDict): + address: NotRequired[ + "ChargeCaptureParamsPaymentDetailsLodgingDatumHostAddress" + ] + """ + Address of the host. + """ + country_of_domicile: NotRequired[str] + """ + Host's country of domicile. + """ + host_reference: NotRequired[str] + """ + Reference number for the host. + """ + host_type: NotRequired[ + Literal["hostel", "hotel", "owner", "rental_agency"] + ] + """ + Type of host. + """ + name: NotRequired[str] + """ + Name of the lodging property or host. + """ + number_of_reservations: NotRequired[int] + """ + Total number of reservations for the host. + """ + property_phone_number: NotRequired[str] + """ + Property phone number. + """ + registered_at: NotRequired[int] + """ + Host's registration date. + """ + + +class ChargeCaptureParamsPaymentDetailsLodgingDatumHostAddress(TypedDict): + city: str + """ + City, district, suburb, town, or village. + """ + country: str + """ + Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). + """ + line1: str + """ + Address line 1, such as the street, PO Box, or company name. + """ + line2: NotRequired[str] + """ + Address line 2, such as the apartment, suite, unit, or building. + """ + postal_code: str + """ + ZIP or postal code. + """ + state: NotRequired[str] + """ + State, county, province, or region. + """ + + +class ChargeCaptureParamsPaymentDetailsLodgingDatumInsurance(TypedDict): + amount: int + """ + Price of the insurance coverage in cents. + """ + currency: NotRequired[str] + """ + Currency of the insurance amount. + """ + insurance_company_name: NotRequired[str] + """ + Name of the insurance company. + """ + insurance_type: Literal[ + "bankruptcy", "cancelation", "emergency", "medical" + ] + """ + Type of insurance coverage. + """ + + +class ChargeCaptureParamsPaymentDetailsLodgingDatumTotal(TypedDict): + amount: int + """ + Total price of the lodging reservation in cents. + """ + cash_advances: NotRequired[int] + """ + Cash advances in cents. + """ + currency: NotRequired[str] + """ + Currency of the total amount. + """ + discounts: NotRequired[ + "ChargeCaptureParamsPaymentDetailsLodgingDatumTotalDiscounts" + ] + """ + Discount details for the lodging. + """ + extra_charges: NotRequired[ + List["ChargeCaptureParamsPaymentDetailsLodgingDatumTotalExtraCharge"] + ] + """ + Additional charges for the lodging. + """ + prepaid_amount: NotRequired[int] + """ + Prepaid amount in cents. + """ + tax: NotRequired["ChargeCaptureParamsPaymentDetailsLodgingDatumTotalTax"] + """ + Tax breakdown for the lodging reservation. + """ + + +class ChargeCaptureParamsPaymentDetailsLodgingDatumTotalDiscounts(TypedDict): + corporate_client_code: NotRequired[str] + """ + Corporate client discount code. + """ + coupon: NotRequired[str] + """ + Coupon code. + """ + + +class ChargeCaptureParamsPaymentDetailsLodgingDatumTotalExtraCharge(TypedDict): + amount: NotRequired[int] + """ + Amount of the extra charge in cents. + """ + type: NotRequired[ + Literal[ + "gift_shop", "laundry", "mini_bar", "other", "phone", "restaurant" + ] + ] + """ + Type of extra charge. + """ + + +class ChargeCaptureParamsPaymentDetailsLodgingDatumTotalTax(TypedDict): + tax_exempt_indicator: NotRequired[bool] + """ + Indicates whether the transaction is tax exempt. + """ + taxes: NotRequired[ + List["ChargeCaptureParamsPaymentDetailsLodgingDatumTotalTaxTax"] + ] + """ + Tax details. + """ + + +class ChargeCaptureParamsPaymentDetailsLodgingDatumTotalTaxTax(TypedDict): + amount: NotRequired[int] + """ + Tax amount in cents. + """ + rate: NotRequired[int] + """ + Tax rate. + """ + type: NotRequired[str] + """ + Type of tax applied. + """ + + class ChargeCaptureParamsPaymentDetailsSubscription(TypedDict): affiliate: NotRequired[ "ChargeCaptureParamsPaymentDetailsSubscriptionAffiliate" diff --git a/stripe/params/_charge_modify_params.py b/stripe/params/_charge_modify_params.py index fffde305e..ad8d744a4 100644 --- a/stripe/params/_charge_modify_params.py +++ b/stripe/params/_charge_modify_params.py @@ -56,9 +56,17 @@ class ChargeModifyParamsPaymentDetails(TypedDict): """ Car rental details for this PaymentIntent. """ + car_rental_data: NotRequired[ + "Literal['']|List[ChargeModifyParamsPaymentDetailsCarRentalDatum]" + ] + """ + Car rental data for this PaymentIntent. + """ customer_reference: NotRequired["Literal['']|str"] """ - Some customers might be required by their company or organization to provide this information. If so, provide this value. Otherwise you can ignore this field. + A unique value to identify the customer. This field is available only for card payments. + + This field is truncated to 25 alphanumeric characters, excluding spaces, before being sent to card networks. """ event_details: NotRequired["ChargeModifyParamsPaymentDetailsEventDetails"] """ @@ -68,13 +76,29 @@ class ChargeModifyParamsPaymentDetails(TypedDict): """ Flight reservation details for this PaymentIntent """ + flight_data: NotRequired[ + "Literal['']|List[ChargeModifyParamsPaymentDetailsFlightDatum]" + ] + """ + Flight data for this PaymentIntent. + """ lodging: NotRequired["ChargeModifyParamsPaymentDetailsLodging"] """ Lodging reservation details for this PaymentIntent """ + lodging_data: NotRequired[ + "Literal['']|List[ChargeModifyParamsPaymentDetailsLodgingDatum]" + ] + """ + Lodging data for this PaymentIntent. + """ order_reference: NotRequired["Literal['']|str"] """ - A unique value assigned by the business to identify the transaction. + A unique value assigned by the business to identify the transaction. Required for L2 and L3 rates. + + Required when the Payment Method Types array contains `card`, including when [automatic_payment_methods.enabled](https://docs.stripe.com/api/payment_intents/create#create_payment_intent-automatic_payment_methods-enabled) is set to `true`. + + For Cards, this field is truncated to 25 alphanumeric characters, excluding spaces, before being sent to card networks. For Klarna, this field is truncated to 255 characters and is visible to customers when they view the order in the Klarna app. """ subscription: NotRequired["ChargeModifyParamsPaymentDetailsSubscription"] """ @@ -314,6 +338,415 @@ class ChargeModifyParamsPaymentDetailsCarRentalReturnAddress(TypedDict): """ +class ChargeModifyParamsPaymentDetailsCarRentalDatum(TypedDict): + affiliate: NotRequired[ + "ChargeModifyParamsPaymentDetailsCarRentalDatumAffiliate" + ] + """ + Affiliate (such as travel agency) details for the rental. + """ + booking_number: NotRequired[str] + """ + Booking confirmation number for the car rental. + """ + carrier_name: NotRequired[str] + """ + Name of the car rental company. + """ + customer_service_phone_number: NotRequired[str] + """ + Customer service phone number for the car rental company. + """ + days_rented: NotRequired[int] + """ + Number of days the car is being rented. + """ + distance: NotRequired[ + "ChargeModifyParamsPaymentDetailsCarRentalDatumDistance" + ] + """ + Distance details for the rental. + """ + drivers: NotRequired[ + List["ChargeModifyParamsPaymentDetailsCarRentalDatumDriver"] + ] + """ + List of drivers for the rental. + """ + drop_off: "ChargeModifyParamsPaymentDetailsCarRentalDatumDropOff" + """ + Drop-off location details. + """ + insurances: NotRequired[ + List["ChargeModifyParamsPaymentDetailsCarRentalDatumInsurance"] + ] + """ + Insurance details for the rental. + """ + no_show_indicator: NotRequired[bool] + """ + Indicates if the customer was a no-show. + """ + pickup: "ChargeModifyParamsPaymentDetailsCarRentalDatumPickup" + """ + Pickup location details. + """ + renter_name: NotRequired[str] + """ + Name of the person renting the vehicle. + """ + total: "ChargeModifyParamsPaymentDetailsCarRentalDatumTotal" + """ + Total cost breakdown for the rental. + """ + vehicle: NotRequired[ + "ChargeModifyParamsPaymentDetailsCarRentalDatumVehicle" + ] + """ + Vehicle details for the rental. + """ + + +class ChargeModifyParamsPaymentDetailsCarRentalDatumAffiliate(TypedDict): + code: NotRequired[str] + """ + Affiliate partner code. + """ + name: NotRequired[str] + """ + Name of affiliate partner. + """ + + +class ChargeModifyParamsPaymentDetailsCarRentalDatumDistance(TypedDict): + amount: int + """ + Distance traveled. + """ + unit: Literal["kilometers", "miles"] + """ + Unit of measurement for the distance traveled. One of `miles` or `kilometers`. + """ + + +class ChargeModifyParamsPaymentDetailsCarRentalDatumDriver(TypedDict): + date_of_birth: NotRequired[ + "ChargeModifyParamsPaymentDetailsCarRentalDatumDriverDateOfBirth" + ] + """ + Driver's date of birth. + """ + driver_identification_number: NotRequired[str] + """ + Driver's identification number. + """ + driver_tax_number: NotRequired[str] + """ + Driver's tax number. + """ + name: str + """ + Driver's full name. + """ + + +class ChargeModifyParamsPaymentDetailsCarRentalDatumDriverDateOfBirth( + TypedDict, +): + day: int + """ + Day of birth (1-31). + """ + month: int + """ + Month of birth (1-12). + """ + year: int + """ + Year of birth (must be greater than 1900). + """ + + +class ChargeModifyParamsPaymentDetailsCarRentalDatumDropOff(TypedDict): + address: "ChargeModifyParamsPaymentDetailsCarRentalDatumDropOffAddress" + """ + Address of the rental location. + """ + location_name: NotRequired[str] + """ + Location name. + """ + time: int + """ + Timestamp for the location. + """ + + +class ChargeModifyParamsPaymentDetailsCarRentalDatumDropOffAddress(TypedDict): + city: str + """ + City, district, suburb, town, or village. + """ + country: str + """ + Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). + """ + line1: str + """ + Address line 1, such as the street, PO Box, or company name. + """ + line2: NotRequired[str] + """ + Address line 2, such as the apartment, suite, unit, or building. + """ + postal_code: str + """ + ZIP or postal code. + """ + state: NotRequired[str] + """ + State, county, province, or region. + """ + + +class ChargeModifyParamsPaymentDetailsCarRentalDatumInsurance(TypedDict): + amount: int + """ + Amount of the insurance coverage in cents. + """ + currency: NotRequired[str] + """ + Currency of the insurance amount. + """ + insurance_company_name: NotRequired[str] + """ + Name of the insurance company. + """ + insurance_type: Literal[ + "liability_supplement", + "loss_damage_waiver", + "other", + "partial_damage_waiver", + "personal_accident", + "personal_effects", + ] + """ + Type of insurance coverage. + """ + + +class ChargeModifyParamsPaymentDetailsCarRentalDatumPickup(TypedDict): + address: "ChargeModifyParamsPaymentDetailsCarRentalDatumPickupAddress" + """ + Address of the rental location. + """ + location_name: NotRequired[str] + """ + Location name. + """ + time: int + """ + Timestamp for the location. + """ + + +class ChargeModifyParamsPaymentDetailsCarRentalDatumPickupAddress(TypedDict): + city: str + """ + City, district, suburb, town, or village. + """ + country: str + """ + Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). + """ + line1: str + """ + Address line 1, such as the street, PO Box, or company name. + """ + line2: NotRequired[str] + """ + Address line 2, such as the apartment, suite, unit, or building. + """ + postal_code: str + """ + ZIP or postal code. + """ + state: NotRequired[str] + """ + State, county, province, or region. + """ + + +class ChargeModifyParamsPaymentDetailsCarRentalDatumTotal(TypedDict): + amount: int + """ + Total amount in cents. + """ + currency: NotRequired[str] + """ + Currency of the amount. + """ + discounts: NotRequired[ + "ChargeModifyParamsPaymentDetailsCarRentalDatumTotalDiscounts" + ] + """ + Discount details for the rental. + """ + extra_charges: NotRequired[ + List["ChargeModifyParamsPaymentDetailsCarRentalDatumTotalExtraCharge"] + ] + """ + Additional charges for the rental. + """ + rate_per_unit: NotRequired[int] + """ + Rate per unit for the rental. + """ + rate_unit: NotRequired[ + Literal["days", "kilometers", "miles", "months", "weeks"] + ] + """ + Unit of measurement for the rate. + """ + tax: NotRequired["ChargeModifyParamsPaymentDetailsCarRentalDatumTotalTax"] + """ + Tax breakdown for the rental. + """ + + +class ChargeModifyParamsPaymentDetailsCarRentalDatumTotalDiscounts(TypedDict): + corporate_client_code: NotRequired[str] + """ + Corporate client discount code. + """ + coupon: NotRequired[str] + """ + Coupon code applied to the rental. + """ + maximum_free_miles_or_kilometers: NotRequired[int] + """ + Maximum number of free miles or kilometers included. + """ + + +class ChargeModifyParamsPaymentDetailsCarRentalDatumTotalExtraCharge( + TypedDict +): + amount: int + """ + Amount of the extra charge in cents. + """ + type: Literal[ + "extra_mileage", + "gas", + "gps", + "late_charge", + "one_way_drop_off", + "other", + "parking", + "phone", + "regular_mileage", + "towing", + ] + """ + Type of extra charge. + """ + + +class ChargeModifyParamsPaymentDetailsCarRentalDatumTotalTax(TypedDict): + tax_exempt_indicator: NotRequired[bool] + """ + Indicates if the transaction is tax exempt. + """ + taxes: NotRequired[ + List["ChargeModifyParamsPaymentDetailsCarRentalDatumTotalTaxTax"] + ] + """ + Array of tax details. + """ + + +class ChargeModifyParamsPaymentDetailsCarRentalDatumTotalTaxTax(TypedDict): + amount: NotRequired[int] + """ + Tax amount. + """ + rate: NotRequired[int] + """ + Tax rate applied. + """ + type: NotRequired[str] + """ + Type of tax applied. + """ + + +class ChargeModifyParamsPaymentDetailsCarRentalDatumVehicle(TypedDict): + make: NotRequired[str] + """ + Make of the rental vehicle. + """ + model: NotRequired[str] + """ + Model of the rental vehicle. + """ + odometer: NotRequired[int] + """ + Odometer reading at the time of rental. + """ + type: NotRequired[ + Literal[ + "cargo_van", + "compact", + "economy", + "exotic", + "exotic_suv", + "fifteen_passenger_van", + "four_wheel_drive", + "full_size", + "intermediate", + "large_suv", + "large_truck", + "luxury", + "medium_suv", + "midsize", + "mini", + "minivan", + "miscellaneous", + "moped", + "moving_van", + "premium", + "regular", + "small_medium_truck", + "small_suv", + "special", + "standard", + "stretch", + "subcompact", + "taxi", + "twelve_foot_truck", + "twelve_passenger_van", + "twenty_foot_truck", + "twenty_four_foot_truck", + "twenty_six_foot_truck", + "unique", + ] + ] + """ + Type of the rental vehicle. + """ + vehicle_class: NotRequired[ + Literal["business", "economy", "first_class", "premium_economy"] + ] + """ + Class of the rental vehicle. + """ + vehicle_identification_number: NotRequired[str] + """ + Vehicle identification number (VIN). + """ + + class ChargeModifyParamsPaymentDetailsEventDetails(TypedDict): access_controlled_venue: NotRequired[bool] """ @@ -535,55 +968,337 @@ class ChargeModifyParamsPaymentDetailsFlightSegment(TypedDict): """ -class ChargeModifyParamsPaymentDetailsLodging(TypedDict): - address: NotRequired["ChargeModifyParamsPaymentDetailsLodgingAddress"] +class ChargeModifyParamsPaymentDetailsFlightDatum(TypedDict): + affiliate: NotRequired[ + "ChargeModifyParamsPaymentDetailsFlightDatumAffiliate" + ] """ - The lodging location's address. + Affiliate details if applicable. """ - adults: NotRequired[int] + booking_number: NotRequired[str] """ - The number of adults on the booking + Reservation reference. """ - affiliate: NotRequired["ChargeModifyParamsPaymentDetailsLodgingAffiliate"] + computerized_reservation_system: NotRequired[str] """ - Affiliate details for this purchase. + Computerized reservation system used to make the reservation and purchase the ticket. """ - booking_number: NotRequired[str] + endorsements_and_restrictions: NotRequired[str] """ - The booking number associated with the lodging reservation. + Ticket restrictions. """ - category: NotRequired[Literal["hotel", "vacation_rental"]] + insurances: NotRequired[ + List["ChargeModifyParamsPaymentDetailsFlightDatumInsurance"] + ] """ - The lodging category + List of insurances. """ - checkin_at: int + passengers: NotRequired[ + List["ChargeModifyParamsPaymentDetailsFlightDatumPassenger"] + ] """ - Lodging check-in time. Measured in seconds since the Unix epoch. + List of passengers. """ - checkout_at: int + segments: List["ChargeModifyParamsPaymentDetailsFlightDatumSegment"] """ - Lodging check-out time. Measured in seconds since the Unix epoch. + List of flight segments. """ - customer_service_phone_number: NotRequired[str] + ticket_electronically_issued_indicator: NotRequired[bool] """ - The customer service phone number of the lodging company. + Electronic ticket indicator. """ - daily_room_rate_amount: NotRequired[int] + total: "ChargeModifyParamsPaymentDetailsFlightDatumTotal" """ - The daily lodging room rate. + Total cost breakdown. """ - delivery: NotRequired["ChargeModifyParamsPaymentDetailsLodgingDelivery"] + transaction_type: NotRequired[ + Literal[ + "exchange_ticket", "miscellaneous", "refund", "ticket_purchase" + ] + ] """ - Delivery details for this purchase. + Type of flight transaction. """ - extra_charges: NotRequired[ - List[ - Literal[ - "gift_shop", - "laundry", - "mini_bar", - "other", - "restaurant", + + +class ChargeModifyParamsPaymentDetailsFlightDatumAffiliate(TypedDict): + code: NotRequired[str] + """ + Affiliate partner code. + """ + name: NotRequired[str] + """ + Name of affiliate partner. + """ + travel_authorization_code: NotRequired[str] + """ + Code provided by the company to a travel agent authorizing ticket issuance. + """ + + +class ChargeModifyParamsPaymentDetailsFlightDatumInsurance(TypedDict): + amount: int + """ + Insurance cost. + """ + currency: NotRequired[str] + """ + Insurance currency. + """ + insurance_company_name: NotRequired[str] + """ + Insurance company name. + """ + insurance_type: Literal[ + "baggage", "bankruptcy", "cancelation", "emergency", "medical" + ] + """ + Type of insurance. + """ + + +class ChargeModifyParamsPaymentDetailsFlightDatumPassenger(TypedDict): + name: str + """ + Passenger's full name. + """ + + +class ChargeModifyParamsPaymentDetailsFlightDatumSegment(TypedDict): + amount: NotRequired[int] + """ + Segment fare amount. + """ + arrival: "ChargeModifyParamsPaymentDetailsFlightDatumSegmentArrival" + """ + Arrival details. + """ + carrier_code: str + """ + Airline carrier code. + """ + carrier_name: NotRequired[str] + """ + Carrier name. + """ + currency: NotRequired[str] + """ + Segment currency. + """ + departure: "ChargeModifyParamsPaymentDetailsFlightDatumSegmentDeparture" + """ + Departure details. + """ + exchange_ticket_number: NotRequired[str] + """ + Exchange ticket number. + """ + fare_basis_code: NotRequired[str] + """ + Fare basis code. + """ + fees: NotRequired[int] + """ + Additional fees. + """ + flight_number: NotRequired[str] + """ + Flight number. + """ + is_stop_over_indicator: NotRequired[bool] + """ + Stopover indicator. + """ + refundable: NotRequired[bool] + """ + Refundable ticket indicator. + """ + service_class: Literal[ + "business", "economy", "first_class", "premium_economy" + ] + """ + Class of service. + """ + tax_amount: NotRequired[int] + """ + Tax amount for segment. + """ + ticket_number: NotRequired[str] + """ + Ticket number. + """ + + +class ChargeModifyParamsPaymentDetailsFlightDatumSegmentArrival(TypedDict): + airport: str + """ + Arrival airport IATA code. + """ + arrives_at: NotRequired[int] + """ + Arrival date/time. + """ + city: NotRequired[str] + """ + Arrival city. + """ + country: NotRequired[str] + """ + Arrival country. + """ + + +class ChargeModifyParamsPaymentDetailsFlightDatumSegmentDeparture(TypedDict): + airport: str + """ + Departure airport IATA code. + """ + city: NotRequired[str] + """ + Departure city. + """ + country: NotRequired[str] + """ + Departure country. + """ + departs_at: int + """ + Departure date/time. + """ + + +class ChargeModifyParamsPaymentDetailsFlightDatumTotal(TypedDict): + amount: int + """ + Total flight amount. + """ + credit_reason: NotRequired[ + Literal[ + "other", + "partial_ticket_refund", + "passenger_transport_ancillary_cancellation", + "ticket_and_ancillary_cancellation", + "ticket_cancellation", + ] + ] + """ + Reason for credit. + """ + currency: NotRequired[str] + """ + Total currency. + """ + discounts: NotRequired[ + "ChargeModifyParamsPaymentDetailsFlightDatumTotalDiscounts" + ] + """ + Discount details. + """ + extra_charges: NotRequired[ + List["ChargeModifyParamsPaymentDetailsFlightDatumTotalExtraCharge"] + ] + """ + Additional charges. + """ + tax: NotRequired["ChargeModifyParamsPaymentDetailsFlightDatumTotalTax"] + """ + Tax breakdown. + """ + + +class ChargeModifyParamsPaymentDetailsFlightDatumTotalDiscounts(TypedDict): + corporate_client_code: NotRequired[str] + """ + Corporate client discount code. + """ + + +class ChargeModifyParamsPaymentDetailsFlightDatumTotalExtraCharge(TypedDict): + amount: NotRequired[int] + """ + Amount of additional charges. + """ + type: NotRequired[ + Literal["additional_fees", "ancillary_service_charges", "exchange_fee"] + ] + """ + Type of additional charges. + """ + + +class ChargeModifyParamsPaymentDetailsFlightDatumTotalTax(TypedDict): + taxes: NotRequired[ + List["ChargeModifyParamsPaymentDetailsFlightDatumTotalTaxTax"] + ] + """ + Array of tax details. + """ + + +class ChargeModifyParamsPaymentDetailsFlightDatumTotalTaxTax(TypedDict): + amount: NotRequired[int] + """ + Tax amount. + """ + rate: NotRequired[int] + """ + Tax rate. + """ + type: NotRequired[str] + """ + Type of tax. + """ + + +class ChargeModifyParamsPaymentDetailsLodging(TypedDict): + address: NotRequired["ChargeModifyParamsPaymentDetailsLodgingAddress"] + """ + The lodging location's address. + """ + adults: NotRequired[int] + """ + The number of adults on the booking + """ + affiliate: NotRequired["ChargeModifyParamsPaymentDetailsLodgingAffiliate"] + """ + Affiliate details for this purchase. + """ + booking_number: NotRequired[str] + """ + The booking number associated with the lodging reservation. + """ + category: NotRequired[Literal["hotel", "vacation_rental"]] + """ + The lodging category + """ + checkin_at: int + """ + Lodging check-in time. Measured in seconds since the Unix epoch. + """ + checkout_at: int + """ + Lodging check-out time. Measured in seconds since the Unix epoch. + """ + customer_service_phone_number: NotRequired[str] + """ + The customer service phone number of the lodging company. + """ + daily_room_rate_amount: NotRequired[int] + """ + The daily lodging room rate. + """ + delivery: NotRequired["ChargeModifyParamsPaymentDetailsLodgingDelivery"] + """ + Delivery details for this purchase. + """ + extra_charges: NotRequired[ + List[ + Literal[ + "gift_shop", + "laundry", + "mini_bar", + "other", + "restaurant", "telephone", ] ] @@ -704,6 +1419,309 @@ class ChargeModifyParamsPaymentDetailsLodgingPassenger(TypedDict): """ +class ChargeModifyParamsPaymentDetailsLodgingDatum(TypedDict): + accommodation: NotRequired[ + "ChargeModifyParamsPaymentDetailsLodgingDatumAccommodation" + ] + """ + Accommodation details for the lodging. + """ + affiliate: NotRequired[ + "ChargeModifyParamsPaymentDetailsLodgingDatumAffiliate" + ] + """ + Affiliate details if applicable. + """ + booking_number: NotRequired[str] + """ + Booking confirmation number for the lodging. + """ + checkin_at: int + """ + Check-in date. + """ + checkout_at: int + """ + Check-out date. + """ + customer_service_phone_number: NotRequired[str] + """ + Customer service phone number for the lodging company. + """ + fire_safety_act_compliance_indicator: NotRequired[bool] + """ + Whether the lodging is compliant with any hotel fire safety regulations. + """ + guests: NotRequired[ + List["ChargeModifyParamsPaymentDetailsLodgingDatumGuest"] + ] + """ + List of guests for the lodging. + """ + host: NotRequired["ChargeModifyParamsPaymentDetailsLodgingDatumHost"] + """ + Host details for the lodging. + """ + insurances: NotRequired[ + List["ChargeModifyParamsPaymentDetailsLodgingDatumInsurance"] + ] + """ + List of insurances for the lodging. + """ + no_show_indicator: NotRequired[bool] + """ + Whether the renter is a no-show. + """ + renter_id_number: NotRequired[str] + """ + Renter ID number for the lodging. + """ + renter_name: NotRequired[str] + """ + Renter name for the lodging. + """ + total: "ChargeModifyParamsPaymentDetailsLodgingDatumTotal" + """ + Total details for the lodging. + """ + + +class ChargeModifyParamsPaymentDetailsLodgingDatumAccommodation(TypedDict): + accommodation_type: NotRequired[ + Literal[ + "apartment", + "cabana", + "house", + "penthouse", + "room", + "standard", + "suite", + "villa", + ] + ] + """ + Type of accommodation. + """ + bed_type: NotRequired[str] + """ + Bed type. + """ + daily_rate_amount: NotRequired[int] + """ + Daily accommodation rate in cents. + """ + nights: NotRequired[int] + """ + Number of nights. + """ + number_of_rooms: NotRequired[int] + """ + Number of rooms, cabanas, apartments, and so on. + """ + rate_type: NotRequired[str] + """ + Rate type. + """ + smoking_indicator: NotRequired[bool] + """ + Whether smoking is allowed. + """ + + +class ChargeModifyParamsPaymentDetailsLodgingDatumAffiliate(TypedDict): + code: NotRequired[str] + """ + Affiliate partner code. + """ + name: NotRequired[str] + """ + Affiliate partner name. + """ + + +class ChargeModifyParamsPaymentDetailsLodgingDatumGuest(TypedDict): + name: str + """ + Guest's full name. + """ + + +class ChargeModifyParamsPaymentDetailsLodgingDatumHost(TypedDict): + address: NotRequired[ + "ChargeModifyParamsPaymentDetailsLodgingDatumHostAddress" + ] + """ + Address of the host. + """ + country_of_domicile: NotRequired[str] + """ + Host's country of domicile. + """ + host_reference: NotRequired[str] + """ + Reference number for the host. + """ + host_type: NotRequired[ + Literal["hostel", "hotel", "owner", "rental_agency"] + ] + """ + Type of host. + """ + name: NotRequired[str] + """ + Name of the lodging property or host. + """ + number_of_reservations: NotRequired[int] + """ + Total number of reservations for the host. + """ + property_phone_number: NotRequired[str] + """ + Property phone number. + """ + registered_at: NotRequired[int] + """ + Host's registration date. + """ + + +class ChargeModifyParamsPaymentDetailsLodgingDatumHostAddress(TypedDict): + city: str + """ + City, district, suburb, town, or village. + """ + country: str + """ + Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). + """ + line1: str + """ + Address line 1, such as the street, PO Box, or company name. + """ + line2: NotRequired[str] + """ + Address line 2, such as the apartment, suite, unit, or building. + """ + postal_code: str + """ + ZIP or postal code. + """ + state: NotRequired[str] + """ + State, county, province, or region. + """ + + +class ChargeModifyParamsPaymentDetailsLodgingDatumInsurance(TypedDict): + amount: int + """ + Price of the insurance coverage in cents. + """ + currency: NotRequired[str] + """ + Currency of the insurance amount. + """ + insurance_company_name: NotRequired[str] + """ + Name of the insurance company. + """ + insurance_type: Literal[ + "bankruptcy", "cancelation", "emergency", "medical" + ] + """ + Type of insurance coverage. + """ + + +class ChargeModifyParamsPaymentDetailsLodgingDatumTotal(TypedDict): + amount: int + """ + Total price of the lodging reservation in cents. + """ + cash_advances: NotRequired[int] + """ + Cash advances in cents. + """ + currency: NotRequired[str] + """ + Currency of the total amount. + """ + discounts: NotRequired[ + "ChargeModifyParamsPaymentDetailsLodgingDatumTotalDiscounts" + ] + """ + Discount details for the lodging. + """ + extra_charges: NotRequired[ + List["ChargeModifyParamsPaymentDetailsLodgingDatumTotalExtraCharge"] + ] + """ + Additional charges for the lodging. + """ + prepaid_amount: NotRequired[int] + """ + Prepaid amount in cents. + """ + tax: NotRequired["ChargeModifyParamsPaymentDetailsLodgingDatumTotalTax"] + """ + Tax breakdown for the lodging reservation. + """ + + +class ChargeModifyParamsPaymentDetailsLodgingDatumTotalDiscounts(TypedDict): + corporate_client_code: NotRequired[str] + """ + Corporate client discount code. + """ + coupon: NotRequired[str] + """ + Coupon code. + """ + + +class ChargeModifyParamsPaymentDetailsLodgingDatumTotalExtraCharge(TypedDict): + amount: NotRequired[int] + """ + Amount of the extra charge in cents. + """ + type: NotRequired[ + Literal[ + "gift_shop", "laundry", "mini_bar", "other", "phone", "restaurant" + ] + ] + """ + Type of extra charge. + """ + + +class ChargeModifyParamsPaymentDetailsLodgingDatumTotalTax(TypedDict): + tax_exempt_indicator: NotRequired[bool] + """ + Indicates whether the transaction is tax exempt. + """ + taxes: NotRequired[ + List["ChargeModifyParamsPaymentDetailsLodgingDatumTotalTaxTax"] + ] + """ + Tax details. + """ + + +class ChargeModifyParamsPaymentDetailsLodgingDatumTotalTaxTax(TypedDict): + amount: NotRequired[int] + """ + Tax amount in cents. + """ + rate: NotRequired[int] + """ + Tax rate. + """ + type: NotRequired[str] + """ + Type of tax applied. + """ + + class ChargeModifyParamsPaymentDetailsSubscription(TypedDict): affiliate: NotRequired[ "ChargeModifyParamsPaymentDetailsSubscriptionAffiliate" diff --git a/stripe/params/_charge_update_params.py b/stripe/params/_charge_update_params.py index e515c7fe9..8e8b27a41 100644 --- a/stripe/params/_charge_update_params.py +++ b/stripe/params/_charge_update_params.py @@ -55,9 +55,17 @@ class ChargeUpdateParamsPaymentDetails(TypedDict): """ Car rental details for this PaymentIntent. """ + car_rental_data: NotRequired[ + "Literal['']|List[ChargeUpdateParamsPaymentDetailsCarRentalDatum]" + ] + """ + Car rental data for this PaymentIntent. + """ customer_reference: NotRequired["Literal['']|str"] """ - Some customers might be required by their company or organization to provide this information. If so, provide this value. Otherwise you can ignore this field. + A unique value to identify the customer. This field is available only for card payments. + + This field is truncated to 25 alphanumeric characters, excluding spaces, before being sent to card networks. """ event_details: NotRequired["ChargeUpdateParamsPaymentDetailsEventDetails"] """ @@ -67,13 +75,29 @@ class ChargeUpdateParamsPaymentDetails(TypedDict): """ Flight reservation details for this PaymentIntent """ + flight_data: NotRequired[ + "Literal['']|List[ChargeUpdateParamsPaymentDetailsFlightDatum]" + ] + """ + Flight data for this PaymentIntent. + """ lodging: NotRequired["ChargeUpdateParamsPaymentDetailsLodging"] """ Lodging reservation details for this PaymentIntent """ + lodging_data: NotRequired[ + "Literal['']|List[ChargeUpdateParamsPaymentDetailsLodgingDatum]" + ] + """ + Lodging data for this PaymentIntent. + """ order_reference: NotRequired["Literal['']|str"] """ - A unique value assigned by the business to identify the transaction. + A unique value assigned by the business to identify the transaction. Required for L2 and L3 rates. + + Required when the Payment Method Types array contains `card`, including when [automatic_payment_methods.enabled](https://docs.stripe.com/api/payment_intents/create#create_payment_intent-automatic_payment_methods-enabled) is set to `true`. + + For Cards, this field is truncated to 25 alphanumeric characters, excluding spaces, before being sent to card networks. For Klarna, this field is truncated to 255 characters and is visible to customers when they view the order in the Klarna app. """ subscription: NotRequired["ChargeUpdateParamsPaymentDetailsSubscription"] """ @@ -313,6 +337,415 @@ class ChargeUpdateParamsPaymentDetailsCarRentalReturnAddress(TypedDict): """ +class ChargeUpdateParamsPaymentDetailsCarRentalDatum(TypedDict): + affiliate: NotRequired[ + "ChargeUpdateParamsPaymentDetailsCarRentalDatumAffiliate" + ] + """ + Affiliate (such as travel agency) details for the rental. + """ + booking_number: NotRequired[str] + """ + Booking confirmation number for the car rental. + """ + carrier_name: NotRequired[str] + """ + Name of the car rental company. + """ + customer_service_phone_number: NotRequired[str] + """ + Customer service phone number for the car rental company. + """ + days_rented: NotRequired[int] + """ + Number of days the car is being rented. + """ + distance: NotRequired[ + "ChargeUpdateParamsPaymentDetailsCarRentalDatumDistance" + ] + """ + Distance details for the rental. + """ + drivers: NotRequired[ + List["ChargeUpdateParamsPaymentDetailsCarRentalDatumDriver"] + ] + """ + List of drivers for the rental. + """ + drop_off: "ChargeUpdateParamsPaymentDetailsCarRentalDatumDropOff" + """ + Drop-off location details. + """ + insurances: NotRequired[ + List["ChargeUpdateParamsPaymentDetailsCarRentalDatumInsurance"] + ] + """ + Insurance details for the rental. + """ + no_show_indicator: NotRequired[bool] + """ + Indicates if the customer was a no-show. + """ + pickup: "ChargeUpdateParamsPaymentDetailsCarRentalDatumPickup" + """ + Pickup location details. + """ + renter_name: NotRequired[str] + """ + Name of the person renting the vehicle. + """ + total: "ChargeUpdateParamsPaymentDetailsCarRentalDatumTotal" + """ + Total cost breakdown for the rental. + """ + vehicle: NotRequired[ + "ChargeUpdateParamsPaymentDetailsCarRentalDatumVehicle" + ] + """ + Vehicle details for the rental. + """ + + +class ChargeUpdateParamsPaymentDetailsCarRentalDatumAffiliate(TypedDict): + code: NotRequired[str] + """ + Affiliate partner code. + """ + name: NotRequired[str] + """ + Name of affiliate partner. + """ + + +class ChargeUpdateParamsPaymentDetailsCarRentalDatumDistance(TypedDict): + amount: int + """ + Distance traveled. + """ + unit: Literal["kilometers", "miles"] + """ + Unit of measurement for the distance traveled. One of `miles` or `kilometers`. + """ + + +class ChargeUpdateParamsPaymentDetailsCarRentalDatumDriver(TypedDict): + date_of_birth: NotRequired[ + "ChargeUpdateParamsPaymentDetailsCarRentalDatumDriverDateOfBirth" + ] + """ + Driver's date of birth. + """ + driver_identification_number: NotRequired[str] + """ + Driver's identification number. + """ + driver_tax_number: NotRequired[str] + """ + Driver's tax number. + """ + name: str + """ + Driver's full name. + """ + + +class ChargeUpdateParamsPaymentDetailsCarRentalDatumDriverDateOfBirth( + TypedDict, +): + day: int + """ + Day of birth (1-31). + """ + month: int + """ + Month of birth (1-12). + """ + year: int + """ + Year of birth (must be greater than 1900). + """ + + +class ChargeUpdateParamsPaymentDetailsCarRentalDatumDropOff(TypedDict): + address: "ChargeUpdateParamsPaymentDetailsCarRentalDatumDropOffAddress" + """ + Address of the rental location. + """ + location_name: NotRequired[str] + """ + Location name. + """ + time: int + """ + Timestamp for the location. + """ + + +class ChargeUpdateParamsPaymentDetailsCarRentalDatumDropOffAddress(TypedDict): + city: str + """ + City, district, suburb, town, or village. + """ + country: str + """ + Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). + """ + line1: str + """ + Address line 1, such as the street, PO Box, or company name. + """ + line2: NotRequired[str] + """ + Address line 2, such as the apartment, suite, unit, or building. + """ + postal_code: str + """ + ZIP or postal code. + """ + state: NotRequired[str] + """ + State, county, province, or region. + """ + + +class ChargeUpdateParamsPaymentDetailsCarRentalDatumInsurance(TypedDict): + amount: int + """ + Amount of the insurance coverage in cents. + """ + currency: NotRequired[str] + """ + Currency of the insurance amount. + """ + insurance_company_name: NotRequired[str] + """ + Name of the insurance company. + """ + insurance_type: Literal[ + "liability_supplement", + "loss_damage_waiver", + "other", + "partial_damage_waiver", + "personal_accident", + "personal_effects", + ] + """ + Type of insurance coverage. + """ + + +class ChargeUpdateParamsPaymentDetailsCarRentalDatumPickup(TypedDict): + address: "ChargeUpdateParamsPaymentDetailsCarRentalDatumPickupAddress" + """ + Address of the rental location. + """ + location_name: NotRequired[str] + """ + Location name. + """ + time: int + """ + Timestamp for the location. + """ + + +class ChargeUpdateParamsPaymentDetailsCarRentalDatumPickupAddress(TypedDict): + city: str + """ + City, district, suburb, town, or village. + """ + country: str + """ + Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). + """ + line1: str + """ + Address line 1, such as the street, PO Box, or company name. + """ + line2: NotRequired[str] + """ + Address line 2, such as the apartment, suite, unit, or building. + """ + postal_code: str + """ + ZIP or postal code. + """ + state: NotRequired[str] + """ + State, county, province, or region. + """ + + +class ChargeUpdateParamsPaymentDetailsCarRentalDatumTotal(TypedDict): + amount: int + """ + Total amount in cents. + """ + currency: NotRequired[str] + """ + Currency of the amount. + """ + discounts: NotRequired[ + "ChargeUpdateParamsPaymentDetailsCarRentalDatumTotalDiscounts" + ] + """ + Discount details for the rental. + """ + extra_charges: NotRequired[ + List["ChargeUpdateParamsPaymentDetailsCarRentalDatumTotalExtraCharge"] + ] + """ + Additional charges for the rental. + """ + rate_per_unit: NotRequired[int] + """ + Rate per unit for the rental. + """ + rate_unit: NotRequired[ + Literal["days", "kilometers", "miles", "months", "weeks"] + ] + """ + Unit of measurement for the rate. + """ + tax: NotRequired["ChargeUpdateParamsPaymentDetailsCarRentalDatumTotalTax"] + """ + Tax breakdown for the rental. + """ + + +class ChargeUpdateParamsPaymentDetailsCarRentalDatumTotalDiscounts(TypedDict): + corporate_client_code: NotRequired[str] + """ + Corporate client discount code. + """ + coupon: NotRequired[str] + """ + Coupon code applied to the rental. + """ + maximum_free_miles_or_kilometers: NotRequired[int] + """ + Maximum number of free miles or kilometers included. + """ + + +class ChargeUpdateParamsPaymentDetailsCarRentalDatumTotalExtraCharge( + TypedDict +): + amount: int + """ + Amount of the extra charge in cents. + """ + type: Literal[ + "extra_mileage", + "gas", + "gps", + "late_charge", + "one_way_drop_off", + "other", + "parking", + "phone", + "regular_mileage", + "towing", + ] + """ + Type of extra charge. + """ + + +class ChargeUpdateParamsPaymentDetailsCarRentalDatumTotalTax(TypedDict): + tax_exempt_indicator: NotRequired[bool] + """ + Indicates if the transaction is tax exempt. + """ + taxes: NotRequired[ + List["ChargeUpdateParamsPaymentDetailsCarRentalDatumTotalTaxTax"] + ] + """ + Array of tax details. + """ + + +class ChargeUpdateParamsPaymentDetailsCarRentalDatumTotalTaxTax(TypedDict): + amount: NotRequired[int] + """ + Tax amount. + """ + rate: NotRequired[int] + """ + Tax rate applied. + """ + type: NotRequired[str] + """ + Type of tax applied. + """ + + +class ChargeUpdateParamsPaymentDetailsCarRentalDatumVehicle(TypedDict): + make: NotRequired[str] + """ + Make of the rental vehicle. + """ + model: NotRequired[str] + """ + Model of the rental vehicle. + """ + odometer: NotRequired[int] + """ + Odometer reading at the time of rental. + """ + type: NotRequired[ + Literal[ + "cargo_van", + "compact", + "economy", + "exotic", + "exotic_suv", + "fifteen_passenger_van", + "four_wheel_drive", + "full_size", + "intermediate", + "large_suv", + "large_truck", + "luxury", + "medium_suv", + "midsize", + "mini", + "minivan", + "miscellaneous", + "moped", + "moving_van", + "premium", + "regular", + "small_medium_truck", + "small_suv", + "special", + "standard", + "stretch", + "subcompact", + "taxi", + "twelve_foot_truck", + "twelve_passenger_van", + "twenty_foot_truck", + "twenty_four_foot_truck", + "twenty_six_foot_truck", + "unique", + ] + ] + """ + Type of the rental vehicle. + """ + vehicle_class: NotRequired[ + Literal["business", "economy", "first_class", "premium_economy"] + ] + """ + Class of the rental vehicle. + """ + vehicle_identification_number: NotRequired[str] + """ + Vehicle identification number (VIN). + """ + + class ChargeUpdateParamsPaymentDetailsEventDetails(TypedDict): access_controlled_venue: NotRequired[bool] """ @@ -534,55 +967,337 @@ class ChargeUpdateParamsPaymentDetailsFlightSegment(TypedDict): """ -class ChargeUpdateParamsPaymentDetailsLodging(TypedDict): - address: NotRequired["ChargeUpdateParamsPaymentDetailsLodgingAddress"] +class ChargeUpdateParamsPaymentDetailsFlightDatum(TypedDict): + affiliate: NotRequired[ + "ChargeUpdateParamsPaymentDetailsFlightDatumAffiliate" + ] """ - The lodging location's address. + Affiliate details if applicable. """ - adults: NotRequired[int] + booking_number: NotRequired[str] """ - The number of adults on the booking + Reservation reference. """ - affiliate: NotRequired["ChargeUpdateParamsPaymentDetailsLodgingAffiliate"] + computerized_reservation_system: NotRequired[str] """ - Affiliate details for this purchase. + Computerized reservation system used to make the reservation and purchase the ticket. """ - booking_number: NotRequired[str] + endorsements_and_restrictions: NotRequired[str] """ - The booking number associated with the lodging reservation. + Ticket restrictions. """ - category: NotRequired[Literal["hotel", "vacation_rental"]] + insurances: NotRequired[ + List["ChargeUpdateParamsPaymentDetailsFlightDatumInsurance"] + ] """ - The lodging category + List of insurances. """ - checkin_at: int + passengers: NotRequired[ + List["ChargeUpdateParamsPaymentDetailsFlightDatumPassenger"] + ] """ - Lodging check-in time. Measured in seconds since the Unix epoch. + List of passengers. """ - checkout_at: int + segments: List["ChargeUpdateParamsPaymentDetailsFlightDatumSegment"] """ - Lodging check-out time. Measured in seconds since the Unix epoch. + List of flight segments. """ - customer_service_phone_number: NotRequired[str] + ticket_electronically_issued_indicator: NotRequired[bool] """ - The customer service phone number of the lodging company. + Electronic ticket indicator. """ - daily_room_rate_amount: NotRequired[int] + total: "ChargeUpdateParamsPaymentDetailsFlightDatumTotal" """ - The daily lodging room rate. + Total cost breakdown. """ - delivery: NotRequired["ChargeUpdateParamsPaymentDetailsLodgingDelivery"] + transaction_type: NotRequired[ + Literal[ + "exchange_ticket", "miscellaneous", "refund", "ticket_purchase" + ] + ] """ - Delivery details for this purchase. + Type of flight transaction. """ - extra_charges: NotRequired[ - List[ - Literal[ - "gift_shop", - "laundry", - "mini_bar", - "other", - "restaurant", + + +class ChargeUpdateParamsPaymentDetailsFlightDatumAffiliate(TypedDict): + code: NotRequired[str] + """ + Affiliate partner code. + """ + name: NotRequired[str] + """ + Name of affiliate partner. + """ + travel_authorization_code: NotRequired[str] + """ + Code provided by the company to a travel agent authorizing ticket issuance. + """ + + +class ChargeUpdateParamsPaymentDetailsFlightDatumInsurance(TypedDict): + amount: int + """ + Insurance cost. + """ + currency: NotRequired[str] + """ + Insurance currency. + """ + insurance_company_name: NotRequired[str] + """ + Insurance company name. + """ + insurance_type: Literal[ + "baggage", "bankruptcy", "cancelation", "emergency", "medical" + ] + """ + Type of insurance. + """ + + +class ChargeUpdateParamsPaymentDetailsFlightDatumPassenger(TypedDict): + name: str + """ + Passenger's full name. + """ + + +class ChargeUpdateParamsPaymentDetailsFlightDatumSegment(TypedDict): + amount: NotRequired[int] + """ + Segment fare amount. + """ + arrival: "ChargeUpdateParamsPaymentDetailsFlightDatumSegmentArrival" + """ + Arrival details. + """ + carrier_code: str + """ + Airline carrier code. + """ + carrier_name: NotRequired[str] + """ + Carrier name. + """ + currency: NotRequired[str] + """ + Segment currency. + """ + departure: "ChargeUpdateParamsPaymentDetailsFlightDatumSegmentDeparture" + """ + Departure details. + """ + exchange_ticket_number: NotRequired[str] + """ + Exchange ticket number. + """ + fare_basis_code: NotRequired[str] + """ + Fare basis code. + """ + fees: NotRequired[int] + """ + Additional fees. + """ + flight_number: NotRequired[str] + """ + Flight number. + """ + is_stop_over_indicator: NotRequired[bool] + """ + Stopover indicator. + """ + refundable: NotRequired[bool] + """ + Refundable ticket indicator. + """ + service_class: Literal[ + "business", "economy", "first_class", "premium_economy" + ] + """ + Class of service. + """ + tax_amount: NotRequired[int] + """ + Tax amount for segment. + """ + ticket_number: NotRequired[str] + """ + Ticket number. + """ + + +class ChargeUpdateParamsPaymentDetailsFlightDatumSegmentArrival(TypedDict): + airport: str + """ + Arrival airport IATA code. + """ + arrives_at: NotRequired[int] + """ + Arrival date/time. + """ + city: NotRequired[str] + """ + Arrival city. + """ + country: NotRequired[str] + """ + Arrival country. + """ + + +class ChargeUpdateParamsPaymentDetailsFlightDatumSegmentDeparture(TypedDict): + airport: str + """ + Departure airport IATA code. + """ + city: NotRequired[str] + """ + Departure city. + """ + country: NotRequired[str] + """ + Departure country. + """ + departs_at: int + """ + Departure date/time. + """ + + +class ChargeUpdateParamsPaymentDetailsFlightDatumTotal(TypedDict): + amount: int + """ + Total flight amount. + """ + credit_reason: NotRequired[ + Literal[ + "other", + "partial_ticket_refund", + "passenger_transport_ancillary_cancellation", + "ticket_and_ancillary_cancellation", + "ticket_cancellation", + ] + ] + """ + Reason for credit. + """ + currency: NotRequired[str] + """ + Total currency. + """ + discounts: NotRequired[ + "ChargeUpdateParamsPaymentDetailsFlightDatumTotalDiscounts" + ] + """ + Discount details. + """ + extra_charges: NotRequired[ + List["ChargeUpdateParamsPaymentDetailsFlightDatumTotalExtraCharge"] + ] + """ + Additional charges. + """ + tax: NotRequired["ChargeUpdateParamsPaymentDetailsFlightDatumTotalTax"] + """ + Tax breakdown. + """ + + +class ChargeUpdateParamsPaymentDetailsFlightDatumTotalDiscounts(TypedDict): + corporate_client_code: NotRequired[str] + """ + Corporate client discount code. + """ + + +class ChargeUpdateParamsPaymentDetailsFlightDatumTotalExtraCharge(TypedDict): + amount: NotRequired[int] + """ + Amount of additional charges. + """ + type: NotRequired[ + Literal["additional_fees", "ancillary_service_charges", "exchange_fee"] + ] + """ + Type of additional charges. + """ + + +class ChargeUpdateParamsPaymentDetailsFlightDatumTotalTax(TypedDict): + taxes: NotRequired[ + List["ChargeUpdateParamsPaymentDetailsFlightDatumTotalTaxTax"] + ] + """ + Array of tax details. + """ + + +class ChargeUpdateParamsPaymentDetailsFlightDatumTotalTaxTax(TypedDict): + amount: NotRequired[int] + """ + Tax amount. + """ + rate: NotRequired[int] + """ + Tax rate. + """ + type: NotRequired[str] + """ + Type of tax. + """ + + +class ChargeUpdateParamsPaymentDetailsLodging(TypedDict): + address: NotRequired["ChargeUpdateParamsPaymentDetailsLodgingAddress"] + """ + The lodging location's address. + """ + adults: NotRequired[int] + """ + The number of adults on the booking + """ + affiliate: NotRequired["ChargeUpdateParamsPaymentDetailsLodgingAffiliate"] + """ + Affiliate details for this purchase. + """ + booking_number: NotRequired[str] + """ + The booking number associated with the lodging reservation. + """ + category: NotRequired[Literal["hotel", "vacation_rental"]] + """ + The lodging category + """ + checkin_at: int + """ + Lodging check-in time. Measured in seconds since the Unix epoch. + """ + checkout_at: int + """ + Lodging check-out time. Measured in seconds since the Unix epoch. + """ + customer_service_phone_number: NotRequired[str] + """ + The customer service phone number of the lodging company. + """ + daily_room_rate_amount: NotRequired[int] + """ + The daily lodging room rate. + """ + delivery: NotRequired["ChargeUpdateParamsPaymentDetailsLodgingDelivery"] + """ + Delivery details for this purchase. + """ + extra_charges: NotRequired[ + List[ + Literal[ + "gift_shop", + "laundry", + "mini_bar", + "other", + "restaurant", "telephone", ] ] @@ -703,6 +1418,309 @@ class ChargeUpdateParamsPaymentDetailsLodgingPassenger(TypedDict): """ +class ChargeUpdateParamsPaymentDetailsLodgingDatum(TypedDict): + accommodation: NotRequired[ + "ChargeUpdateParamsPaymentDetailsLodgingDatumAccommodation" + ] + """ + Accommodation details for the lodging. + """ + affiliate: NotRequired[ + "ChargeUpdateParamsPaymentDetailsLodgingDatumAffiliate" + ] + """ + Affiliate details if applicable. + """ + booking_number: NotRequired[str] + """ + Booking confirmation number for the lodging. + """ + checkin_at: int + """ + Check-in date. + """ + checkout_at: int + """ + Check-out date. + """ + customer_service_phone_number: NotRequired[str] + """ + Customer service phone number for the lodging company. + """ + fire_safety_act_compliance_indicator: NotRequired[bool] + """ + Whether the lodging is compliant with any hotel fire safety regulations. + """ + guests: NotRequired[ + List["ChargeUpdateParamsPaymentDetailsLodgingDatumGuest"] + ] + """ + List of guests for the lodging. + """ + host: NotRequired["ChargeUpdateParamsPaymentDetailsLodgingDatumHost"] + """ + Host details for the lodging. + """ + insurances: NotRequired[ + List["ChargeUpdateParamsPaymentDetailsLodgingDatumInsurance"] + ] + """ + List of insurances for the lodging. + """ + no_show_indicator: NotRequired[bool] + """ + Whether the renter is a no-show. + """ + renter_id_number: NotRequired[str] + """ + Renter ID number for the lodging. + """ + renter_name: NotRequired[str] + """ + Renter name for the lodging. + """ + total: "ChargeUpdateParamsPaymentDetailsLodgingDatumTotal" + """ + Total details for the lodging. + """ + + +class ChargeUpdateParamsPaymentDetailsLodgingDatumAccommodation(TypedDict): + accommodation_type: NotRequired[ + Literal[ + "apartment", + "cabana", + "house", + "penthouse", + "room", + "standard", + "suite", + "villa", + ] + ] + """ + Type of accommodation. + """ + bed_type: NotRequired[str] + """ + Bed type. + """ + daily_rate_amount: NotRequired[int] + """ + Daily accommodation rate in cents. + """ + nights: NotRequired[int] + """ + Number of nights. + """ + number_of_rooms: NotRequired[int] + """ + Number of rooms, cabanas, apartments, and so on. + """ + rate_type: NotRequired[str] + """ + Rate type. + """ + smoking_indicator: NotRequired[bool] + """ + Whether smoking is allowed. + """ + + +class ChargeUpdateParamsPaymentDetailsLodgingDatumAffiliate(TypedDict): + code: NotRequired[str] + """ + Affiliate partner code. + """ + name: NotRequired[str] + """ + Affiliate partner name. + """ + + +class ChargeUpdateParamsPaymentDetailsLodgingDatumGuest(TypedDict): + name: str + """ + Guest's full name. + """ + + +class ChargeUpdateParamsPaymentDetailsLodgingDatumHost(TypedDict): + address: NotRequired[ + "ChargeUpdateParamsPaymentDetailsLodgingDatumHostAddress" + ] + """ + Address of the host. + """ + country_of_domicile: NotRequired[str] + """ + Host's country of domicile. + """ + host_reference: NotRequired[str] + """ + Reference number for the host. + """ + host_type: NotRequired[ + Literal["hostel", "hotel", "owner", "rental_agency"] + ] + """ + Type of host. + """ + name: NotRequired[str] + """ + Name of the lodging property or host. + """ + number_of_reservations: NotRequired[int] + """ + Total number of reservations for the host. + """ + property_phone_number: NotRequired[str] + """ + Property phone number. + """ + registered_at: NotRequired[int] + """ + Host's registration date. + """ + + +class ChargeUpdateParamsPaymentDetailsLodgingDatumHostAddress(TypedDict): + city: str + """ + City, district, suburb, town, or village. + """ + country: str + """ + Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). + """ + line1: str + """ + Address line 1, such as the street, PO Box, or company name. + """ + line2: NotRequired[str] + """ + Address line 2, such as the apartment, suite, unit, or building. + """ + postal_code: str + """ + ZIP or postal code. + """ + state: NotRequired[str] + """ + State, county, province, or region. + """ + + +class ChargeUpdateParamsPaymentDetailsLodgingDatumInsurance(TypedDict): + amount: int + """ + Price of the insurance coverage in cents. + """ + currency: NotRequired[str] + """ + Currency of the insurance amount. + """ + insurance_company_name: NotRequired[str] + """ + Name of the insurance company. + """ + insurance_type: Literal[ + "bankruptcy", "cancelation", "emergency", "medical" + ] + """ + Type of insurance coverage. + """ + + +class ChargeUpdateParamsPaymentDetailsLodgingDatumTotal(TypedDict): + amount: int + """ + Total price of the lodging reservation in cents. + """ + cash_advances: NotRequired[int] + """ + Cash advances in cents. + """ + currency: NotRequired[str] + """ + Currency of the total amount. + """ + discounts: NotRequired[ + "ChargeUpdateParamsPaymentDetailsLodgingDatumTotalDiscounts" + ] + """ + Discount details for the lodging. + """ + extra_charges: NotRequired[ + List["ChargeUpdateParamsPaymentDetailsLodgingDatumTotalExtraCharge"] + ] + """ + Additional charges for the lodging. + """ + prepaid_amount: NotRequired[int] + """ + Prepaid amount in cents. + """ + tax: NotRequired["ChargeUpdateParamsPaymentDetailsLodgingDatumTotalTax"] + """ + Tax breakdown for the lodging reservation. + """ + + +class ChargeUpdateParamsPaymentDetailsLodgingDatumTotalDiscounts(TypedDict): + corporate_client_code: NotRequired[str] + """ + Corporate client discount code. + """ + coupon: NotRequired[str] + """ + Coupon code. + """ + + +class ChargeUpdateParamsPaymentDetailsLodgingDatumTotalExtraCharge(TypedDict): + amount: NotRequired[int] + """ + Amount of the extra charge in cents. + """ + type: NotRequired[ + Literal[ + "gift_shop", "laundry", "mini_bar", "other", "phone", "restaurant" + ] + ] + """ + Type of extra charge. + """ + + +class ChargeUpdateParamsPaymentDetailsLodgingDatumTotalTax(TypedDict): + tax_exempt_indicator: NotRequired[bool] + """ + Indicates whether the transaction is tax exempt. + """ + taxes: NotRequired[ + List["ChargeUpdateParamsPaymentDetailsLodgingDatumTotalTaxTax"] + ] + """ + Tax details. + """ + + +class ChargeUpdateParamsPaymentDetailsLodgingDatumTotalTaxTax(TypedDict): + amount: NotRequired[int] + """ + Tax amount in cents. + """ + rate: NotRequired[int] + """ + Tax rate. + """ + type: NotRequired[str] + """ + Type of tax applied. + """ + + class ChargeUpdateParamsPaymentDetailsSubscription(TypedDict): affiliate: NotRequired[ "ChargeUpdateParamsPaymentDetailsSubscriptionAffiliate" diff --git a/stripe/params/_confirmation_token_create_params.py b/stripe/params/_confirmation_token_create_params.py index f5bb6998e..01aeb5c6f 100644 --- a/stripe/params/_confirmation_token_create_params.py +++ b/stripe/params/_confirmation_token_create_params.py @@ -656,6 +656,7 @@ class ConfirmationTokenCreateParamsPaymentMethodDataIdeal(TypedDict): "asn_bank", "bunq", "buut", + "finom", "handelsbanken", "ing", "knab", diff --git a/stripe/params/_customer_balance_transaction_list_params.py b/stripe/params/_customer_balance_transaction_list_params.py index 6ef239a18..826403276 100644 --- a/stripe/params/_customer_balance_transaction_list_params.py +++ b/stripe/params/_customer_balance_transaction_list_params.py @@ -5,6 +5,10 @@ class CustomerBalanceTransactionListParams(TypedDict): + created: NotRequired["CustomerBalanceTransactionListParamsCreated|int"] + """ + Only return customer balance transactions that were created during the given date interval. + """ ending_before: NotRequired[str] """ A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list. @@ -21,3 +25,22 @@ class CustomerBalanceTransactionListParams(TypedDict): """ A cursor for use in pagination. `starting_after` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with `obj_foo`, your subsequent call can include `starting_after=obj_foo` in order to fetch the next page of the list. """ + + +class CustomerBalanceTransactionListParamsCreated(TypedDict): + gt: NotRequired[int] + """ + Minimum value to filter by (exclusive) + """ + gte: NotRequired[int] + """ + Minimum value to filter by (inclusive) + """ + lt: NotRequired[int] + """ + Maximum value to filter by (exclusive) + """ + lte: NotRequired[int] + """ + Maximum value to filter by (inclusive) + """ diff --git a/stripe/params/_customer_list_balance_transactions_params.py b/stripe/params/_customer_list_balance_transactions_params.py index 258153525..9175024be 100644 --- a/stripe/params/_customer_list_balance_transactions_params.py +++ b/stripe/params/_customer_list_balance_transactions_params.py @@ -2,10 +2,14 @@ # File generated from our OpenAPI spec from stripe._request_options import RequestOptions from typing import List -from typing_extensions import NotRequired +from typing_extensions import NotRequired, TypedDict class CustomerListBalanceTransactionsParams(RequestOptions): + created: NotRequired["CustomerListBalanceTransactionsParamsCreated|int"] + """ + Only return customer balance transactions that were created during the given date interval. + """ ending_before: NotRequired[str] """ A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list. @@ -22,3 +26,22 @@ class CustomerListBalanceTransactionsParams(RequestOptions): """ A cursor for use in pagination. `starting_after` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with `obj_foo`, your subsequent call can include `starting_after=obj_foo` in order to fetch the next page of the list. """ + + +class CustomerListBalanceTransactionsParamsCreated(TypedDict): + gt: NotRequired[int] + """ + Minimum value to filter by (exclusive) + """ + gte: NotRequired[int] + """ + Minimum value to filter by (inclusive) + """ + lt: NotRequired[int] + """ + Maximum value to filter by (exclusive) + """ + lte: NotRequired[int] + """ + Maximum value to filter by (inclusive) + """ diff --git a/stripe/params/_customer_session_create_params.py b/stripe/params/_customer_session_create_params.py index f9f149a81..d2009922d 100644 --- a/stripe/params/_customer_session_create_params.py +++ b/stripe/params/_customer_session_create_params.py @@ -8,7 +8,7 @@ class CustomerSessionCreateParams(RequestOptions): components: "CustomerSessionCreateParamsComponents" """ - Configuration for each component. Exactly 1 component must be enabled. + Configuration for each component. At least 1 component must be enabled. """ customer: NotRequired[str] """ diff --git a/stripe/params/_invoice_payment_list_params.py b/stripe/params/_invoice_payment_list_params.py index cf5327031..80bc1acf4 100644 --- a/stripe/params/_invoice_payment_list_params.py +++ b/stripe/params/_invoice_payment_list_params.py @@ -6,6 +6,10 @@ class InvoicePaymentListParams(RequestOptions): + created: NotRequired["InvoicePaymentListParamsCreated|int"] + """ + Only return invoice payments that were created during the given date interval. + """ ending_before: NotRequired[str] """ A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list. @@ -36,6 +40,25 @@ class InvoicePaymentListParams(RequestOptions): """ +class InvoicePaymentListParamsCreated(TypedDict): + gt: NotRequired[int] + """ + Minimum value to filter by (exclusive) + """ + gte: NotRequired[int] + """ + Minimum value to filter by (inclusive) + """ + lt: NotRequired[int] + """ + Maximum value to filter by (exclusive) + """ + lte: NotRequired[int] + """ + Maximum value to filter by (inclusive) + """ + + class InvoicePaymentListParamsPayment(TypedDict): payment_intent: NotRequired[str] """ diff --git a/stripe/params/_order_create_params.py b/stripe/params/_order_create_params.py index b7aa3b710..c4175e43f 100644 --- a/stripe/params/_order_create_params.py +++ b/stripe/params/_order_create_params.py @@ -758,6 +758,12 @@ class OrderCreateParamsPaymentSettingsPaymentMethodOptionsKlarna(TypedDict): """ Subscription details if setting up or charging a subscription. """ + supplementary_purchase_data: NotRequired[ + "Literal['']|OrderCreateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseData" + ] + """ + Supplementary Purchase Data for the corresponding Klarna payment + """ class OrderCreateParamsPaymentSettingsPaymentMethodOptionsKlarnaOnDemand( @@ -825,6 +831,1088 @@ class OrderCreateParamsPaymentSettingsPaymentMethodOptionsKlarnaSubscriptionNext """ +class OrderCreateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseData( + TypedDict, +): + bus_reservation_details: NotRequired[ + "Literal['']|List[OrderCreateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataBusReservationDetail]" + ] + """ + Supplementary bus reservation details. + """ + event_reservation_details: NotRequired[ + "Literal['']|List[OrderCreateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataEventReservationDetail]" + ] + """ + Supplementary event reservation details. + """ + ferry_reservation_details: NotRequired[ + "Literal['']|List[OrderCreateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataFerryReservationDetail]" + ] + """ + Supplementary ferry reservation details. + """ + insurances: NotRequired[ + "Literal['']|List[OrderCreateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataInsurance]" + ] + """ + Supplementary insurance details. + """ + marketplace_sellers: NotRequired[ + "Literal['']|List[OrderCreateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataMarketplaceSeller]" + ] + """ + Supplementary marketplace seller details. + """ + round_trip_reservation_details: NotRequired[ + "Literal['']|List[OrderCreateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataRoundTripReservationDetail]" + ] + """ + Supplementary round trip reservation details. + """ + train_reservation_details: NotRequired[ + "Literal['']|List[OrderCreateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataTrainReservationDetail]" + ] + """ + Supplementary train reservation details. + """ + vouchers: NotRequired[ + "Literal['']|List[OrderCreateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataVoucher]" + ] + """ + Voucher details, such as a gift card or discount code. + """ + + +class OrderCreateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataBusReservationDetail( + TypedDict, +): + affiliate_name: NotRequired[str] + """ + Name of associated or partner company for the service. + """ + arrival: NotRequired[ + "OrderCreateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataBusReservationDetailArrival" + ] + """ + Arrival details. + """ + carrier_name: NotRequired[str] + """ + Name of transportation company. + """ + currency: NotRequired[str] + """ + Currency. + """ + departure: NotRequired[ + "OrderCreateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataBusReservationDetailDeparture" + ] + """ + Departure details. + """ + insurances: NotRequired[ + List[ + "OrderCreateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataBusReservationDetailInsurance" + ] + ] + """ + List of insurances for this reservation. + """ + passengers: NotRequired[ + List[ + "OrderCreateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataBusReservationDetailPassenger" + ] + ] + """ + List of passengers that this reservation applies to. + """ + price: NotRequired[int] + """ + Price in cents. + """ + ticket_class: NotRequired[ + Literal["business", "economy", "first_class", "premium_economy"] + ] + """ + Ticket class. + """ + + +class OrderCreateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataBusReservationDetailArrival( + TypedDict, +): + address: NotRequired[ + "OrderCreateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataBusReservationDetailArrivalAddress" + ] + """ + Address of the arrival location. + """ + arrival_location: NotRequired[str] + """ + Identifier name or reference for the arrival location. + """ + + +class OrderCreateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataBusReservationDetailArrivalAddress( + TypedDict, +): + city: NotRequired[str] + """ + The city or town. + """ + country: NotRequired[str] + """ + The country in ISO 3166-1 alpha-2 format. + """ + postal_code: NotRequired[str] + """ + The postal code formatted according to country. + """ + region: NotRequired[str] + """ + The state, county, province, or region formatted according to country. + """ + street_address: NotRequired[str] + """ + Line 1 of the street address. + """ + street_address2: NotRequired[str] + """ + Line 2 of the street address. + """ + + +class OrderCreateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataBusReservationDetailDeparture( + TypedDict, +): + address: NotRequired[ + "OrderCreateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataBusReservationDetailDepartureAddress" + ] + """ + Address of the departure location. + """ + departs_at: NotRequired[int] + """ + Timestamp of departure. + """ + departure_location: NotRequired[str] + """ + Identifier name or reference for the origin location. + """ + + +class OrderCreateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataBusReservationDetailDepartureAddress( + TypedDict, +): + city: NotRequired[str] + """ + The city or town. + """ + country: NotRequired[str] + """ + The country in ISO 3166-1 alpha-2 format. + """ + postal_code: NotRequired[str] + """ + The postal code formatted according to country. + """ + region: NotRequired[str] + """ + The state, county, province, or region formatted according to country. + """ + street_address: NotRequired[str] + """ + Line 1 of the street address. + """ + street_address2: NotRequired[str] + """ + Line 2 of the street address. + """ + + +class OrderCreateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataBusReservationDetailInsurance( + TypedDict, +): + currency: NotRequired[str] + """ + Insurance currency. + """ + insurance_company_name: NotRequired[str] + """ + Name of the company providing the insurance. + """ + insurance_type: NotRequired[ + Literal["baggage", "bankruptcy", "cancelation", "emergency", "medical"] + ] + """ + Type of insurance. + """ + price: NotRequired[int] + """ + Price of insurance in cents. + """ + + +class OrderCreateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataBusReservationDetailPassenger( + TypedDict, +): + family_name: NotRequired[str] + """ + The family name of the person. + """ + given_name: NotRequired[str] + """ + The given name of the person. + """ + + +class OrderCreateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataEventReservationDetail( + TypedDict, +): + access_controlled_venue: NotRequired[bool] + """ + Indicates if the tickets are digitally checked when entering the venue. + """ + address: NotRequired[ + "OrderCreateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataEventReservationDetailAddress" + ] + """ + Address of the event. + """ + affiliate_name: NotRequired[str] + """ + Name of associated or partner company for the service. + """ + ends_at: NotRequired[int] + """ + End timestamp of the event. + """ + event_company_name: NotRequired[str] + """ + Company selling the ticket. + """ + event_name: NotRequired[str] + """ + Name of the event. + """ + event_type: NotRequired[ + Literal[ + "concert", + "conference", + "digital_education", + "expo", + "festival", + "in_person_education", + "sport", + "tour", + ] + ] + """ + Type of the event. + """ + insurances: NotRequired[ + List[ + "OrderCreateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataEventReservationDetailInsurance" + ] + ] + """ + List of insurances for this event. + """ + starts_at: NotRequired[int] + """ + Start timestamp of the event. + """ + venue_name: NotRequired[str] + """ + Name of the venue where the event takes place. + """ + + +class OrderCreateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataEventReservationDetailAddress( + TypedDict, +): + city: NotRequired[str] + """ + The city or town. + """ + country: NotRequired[str] + """ + The country in ISO 3166-1 alpha-2 format. + """ + postal_code: NotRequired[str] + """ + The postal code formatted according to country. + """ + region: NotRequired[str] + """ + The state, county, province, or region formatted according to country. + """ + street_address: NotRequired[str] + """ + Line 1 of the street address. + """ + street_address2: NotRequired[str] + """ + Line 2 of the street address. + """ + + +class OrderCreateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataEventReservationDetailInsurance( + TypedDict, +): + currency: NotRequired[str] + """ + Insurance currency. + """ + insurance_company_name: NotRequired[str] + """ + Name of the company providing the insurance. + """ + insurance_type: NotRequired[ + Literal["bankruptcy", "cancelation", "emergency", "medical"] + ] + """ + Type of insurance. + """ + price: NotRequired[int] + """ + Price of insurance in cents. + """ + + +class OrderCreateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataFerryReservationDetail( + TypedDict, +): + affiliate_name: NotRequired[str] + """ + Name of associated or partner company for the service. + """ + arrival: NotRequired[ + "OrderCreateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataFerryReservationDetailArrival" + ] + """ + Arrival details. + """ + carrier_name: NotRequired[str] + """ + Name of transportation company. + """ + currency: NotRequired[str] + """ + Currency. + """ + departure: NotRequired[ + "OrderCreateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataFerryReservationDetailDeparture" + ] + """ + Departure details. + """ + insurances: NotRequired[ + List[ + "OrderCreateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataFerryReservationDetailInsurance" + ] + ] + """ + List of insurances for this reservation. + """ + passengers: NotRequired[ + List[ + "OrderCreateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataFerryReservationDetailPassenger" + ] + ] + """ + List of passengers that this reservation applies to. + """ + price: NotRequired[int] + """ + Price in cents. + """ + ticket_class: NotRequired[ + Literal["business", "economy", "first_class", "premium_economy"] + ] + """ + Ticket class. + """ + + +class OrderCreateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataFerryReservationDetailArrival( + TypedDict, +): + address: NotRequired[ + "OrderCreateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataFerryReservationDetailArrivalAddress" + ] + """ + Address of the arrival location. + """ + arrival_location: NotRequired[str] + """ + Identifier name or reference for the arrival location. + """ + + +class OrderCreateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataFerryReservationDetailArrivalAddress( + TypedDict, +): + city: NotRequired[str] + """ + The city or town. + """ + country: NotRequired[str] + """ + The country in ISO 3166-1 alpha-2 format. + """ + postal_code: NotRequired[str] + """ + The postal code formatted according to country. + """ + region: NotRequired[str] + """ + The state, county, province, or region formatted according to country. + """ + street_address: NotRequired[str] + """ + Line 1 of the street address. + """ + street_address2: NotRequired[str] + """ + Line 2 of the street address. + """ + + +class OrderCreateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataFerryReservationDetailDeparture( + TypedDict, +): + address: NotRequired[ + "OrderCreateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataFerryReservationDetailDepartureAddress" + ] + """ + Address of the departure location. + """ + departs_at: NotRequired[int] + """ + Timestamp of departure. + """ + departure_location: NotRequired[str] + """ + Identifier name or reference for the origin location. + """ + + +class OrderCreateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataFerryReservationDetailDepartureAddress( + TypedDict, +): + city: NotRequired[str] + """ + The city or town. + """ + country: NotRequired[str] + """ + The country in ISO 3166-1 alpha-2 format. + """ + postal_code: NotRequired[str] + """ + The postal code formatted according to country. + """ + region: NotRequired[str] + """ + The state, county, province, or region formatted according to country. + """ + street_address: NotRequired[str] + """ + Line 1 of the street address. + """ + street_address2: NotRequired[str] + """ + Line 2 of the street address. + """ + + +class OrderCreateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataFerryReservationDetailInsurance( + TypedDict, +): + currency: NotRequired[str] + """ + Insurance currency. + """ + insurance_company_name: NotRequired[str] + """ + Name of the company providing the insurance. + """ + insurance_type: NotRequired[ + Literal["baggage", "bankruptcy", "cancelation", "emergency", "medical"] + ] + """ + Type of insurance. + """ + price: NotRequired[int] + """ + Price of insurance in cents. + """ + + +class OrderCreateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataFerryReservationDetailPassenger( + TypedDict, +): + family_name: NotRequired[str] + """ + The family name of the person. + """ + given_name: NotRequired[str] + """ + The given name of the person. + """ + + +class OrderCreateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataInsurance( + TypedDict, +): + currency: NotRequired[str] + """ + Insurance currency. + """ + insurance_company_name: NotRequired[str] + """ + Name of the company providing the insurance. + """ + insurance_type: NotRequired[ + Literal["bankruptcy", "cancelation", "emergency", "medical"] + ] + """ + Type of insurance + """ + price: NotRequired[int] + """ + Price of insurance in cents. + """ + + +class OrderCreateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataMarketplaceSeller( + TypedDict, +): + line_item_references: NotRequired[List[str]] + """ + The references to line items for purchases with multiple associated sub-sellers. + """ + marketplace_seller_address: NotRequired[ + "OrderCreateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataMarketplaceSellerMarketplaceSellerAddress" + ] + """ + The address of the selling or delivering merchant. + """ + marketplace_seller_name: NotRequired[str] + """ + The name of the marketplace seller. + """ + marketplace_seller_reference: NotRequired[str] + """ + The unique identifier for the marketplace seller. + """ + number_of_transactions: NotRequired[int] + """ + The number of transactions the sub-seller completed in the last 12 months. + """ + product_category: NotRequired[ + Literal[ + "accessories", + "appliances", + "apps_and_games", + "arts_crafts_and_sewing", + "automotive", + "baby", + "baby_clothing", + "bags_and_purses", + "beauty", + "books", + "cds_and_vinyl", + "cell_phones_and_accessories", + "collectibles_and_fine_arts", + "digital_music", + "electronics", + "grocery_and_gourmet_food", + "handmade", + "health_and_personal_care", + "home_and_kitchen", + "industrial_and_scientific", + "luggage_and_travel_gear", + "magazine_subscriptions", + "men_clothing", + "musical_instruments", + "office_products", + "patio_lawn_and_garden", + "pet_supplies", + "shoes", + "software", + "sports_and_outdoors", + "tools_and_home_improvement", + "toys_and_games", + "video_games", + "women_clothing", + ] + ] + """ + The category of the product. + """ + seller_last_login_at: NotRequired[int] + """ + The date when the seller's account with the marketplace was last logged in. + """ + seller_rating: NotRequired[ + Literal["high", "low", "medium", "very_high", "very_low"] + ] + """ + The current rating of the marketplace seller. If the marketplace uses numeric ranking, map these to the enum values. + """ + seller_registered_at: NotRequired[int] + """ + The date when the seller's account with the marketplace was created. + """ + seller_updated_at: NotRequired[int] + """ + The date when the seller's account with the marketplace was last updated. + """ + shipping_references: NotRequired[List[str]] + """ + The references to shipping addresses for purchases with multiple associated sub-sellers. + """ + volume_of_transactions: NotRequired[int] + """ + The accumulated amount of sales transactions made by the sub-merchant or sub-seller within the past 12 months in the payment currency. These transactions are in minor currency units. + """ + + +class OrderCreateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataMarketplaceSellerMarketplaceSellerAddress( + TypedDict, +): + city: NotRequired[str] + """ + The city or town. + """ + country: NotRequired[str] + """ + The country in ISO 3166-1 alpha-2 format. + """ + postal_code: NotRequired[str] + """ + The postal code formatted according to country. + """ + region: NotRequired[str] + """ + The state, county, province, or region formatted according to country. + """ + street_address: NotRequired[str] + """ + Line 1 of the street address. + """ + street_address2: NotRequired[str] + """ + Line 2 of the street address. + """ + + +class OrderCreateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataRoundTripReservationDetail( + TypedDict, +): + affiliate_name: NotRequired[str] + """ + Name of associated or partner company for the service. + """ + arrival: NotRequired[ + "OrderCreateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataRoundTripReservationDetailArrival" + ] + """ + Arrival details. + """ + carrier_name: NotRequired[str] + """ + Name of transportation company. + """ + currency: NotRequired[str] + """ + Currency. + """ + departure: NotRequired[ + "OrderCreateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataRoundTripReservationDetailDeparture" + ] + """ + Departure details. + """ + insurances: NotRequired[ + List[ + "OrderCreateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataRoundTripReservationDetailInsurance" + ] + ] + """ + List of insurances for this reservation. + """ + passengers: NotRequired[ + List[ + "OrderCreateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataRoundTripReservationDetailPassenger" + ] + ] + """ + List of passengers that this reservation applies to. + """ + price: NotRequired[int] + """ + Price in cents. + """ + ticket_class: NotRequired[ + Literal["business", "economy", "first_class", "premium_economy"] + ] + """ + Ticket class. + """ + + +class OrderCreateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataRoundTripReservationDetailArrival( + TypedDict, +): + address: NotRequired[ + "OrderCreateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataRoundTripReservationDetailArrivalAddress" + ] + """ + Address of the arrival location. + """ + arrival_location: NotRequired[str] + """ + Identifier name or reference for the arrival location. + """ + + +class OrderCreateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataRoundTripReservationDetailArrivalAddress( + TypedDict, +): + city: NotRequired[str] + """ + The city or town. + """ + country: NotRequired[str] + """ + The country in ISO 3166-1 alpha-2 format. + """ + postal_code: NotRequired[str] + """ + The postal code formatted according to country. + """ + region: NotRequired[str] + """ + The state, county, province, or region formatted according to country. + """ + street_address: NotRequired[str] + """ + Line 1 of the street address. + """ + street_address2: NotRequired[str] + """ + Line 2 of the street address. + """ + + +class OrderCreateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataRoundTripReservationDetailDeparture( + TypedDict, +): + address: NotRequired[ + "OrderCreateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataRoundTripReservationDetailDepartureAddress" + ] + """ + Address of the departure location. + """ + departs_at: NotRequired[int] + """ + Timestamp of departure. + """ + departure_location: NotRequired[str] + """ + Identifier name or reference for the origin location. + """ + + +class OrderCreateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataRoundTripReservationDetailDepartureAddress( + TypedDict, +): + city: NotRequired[str] + """ + The city or town. + """ + country: NotRequired[str] + """ + The country in ISO 3166-1 alpha-2 format. + """ + postal_code: NotRequired[str] + """ + The postal code formatted according to country. + """ + region: NotRequired[str] + """ + The state, county, province, or region formatted according to country. + """ + street_address: NotRequired[str] + """ + Line 1 of the street address. + """ + street_address2: NotRequired[str] + """ + Line 2 of the street address. + """ + + +class OrderCreateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataRoundTripReservationDetailInsurance( + TypedDict, +): + currency: NotRequired[str] + """ + Insurance currency. + """ + insurance_company_name: NotRequired[str] + """ + Name of the company providing the insurance. + """ + insurance_type: NotRequired[ + Literal["baggage", "bankruptcy", "cancelation", "emergency", "medical"] + ] + """ + Type of insurance. + """ + price: NotRequired[int] + """ + Price of insurance in cents. + """ + + +class OrderCreateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataRoundTripReservationDetailPassenger( + TypedDict, +): + family_name: NotRequired[str] + """ + The family name of the person. + """ + given_name: NotRequired[str] + """ + The given name of the person. + """ + + +class OrderCreateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataTrainReservationDetail( + TypedDict, +): + affiliate_name: NotRequired[str] + """ + Name of associated or partner company for the service. + """ + arrival: NotRequired[ + "OrderCreateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataTrainReservationDetailArrival" + ] + """ + Arrival details. + """ + carrier_name: NotRequired[str] + """ + Name of transportation company. + """ + currency: NotRequired[str] + """ + Currency. + """ + departure: NotRequired[ + "OrderCreateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataTrainReservationDetailDeparture" + ] + """ + Departure details. + """ + insurances: NotRequired[ + List[ + "OrderCreateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataTrainReservationDetailInsurance" + ] + ] + """ + List of insurances for this reservation. + """ + passengers: NotRequired[ + List[ + "OrderCreateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataTrainReservationDetailPassenger" + ] + ] + """ + List of passengers that this reservation applies to. + """ + price: NotRequired[int] + """ + Price in cents. + """ + ticket_class: NotRequired[ + Literal["business", "economy", "first_class", "premium_economy"] + ] + """ + Ticket class. + """ + + +class OrderCreateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataTrainReservationDetailArrival( + TypedDict, +): + address: NotRequired[ + "OrderCreateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataTrainReservationDetailArrivalAddress" + ] + """ + Address of the arrival location. + """ + arrival_location: NotRequired[str] + """ + Identifier name or reference for the arrival location. + """ + + +class OrderCreateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataTrainReservationDetailArrivalAddress( + TypedDict, +): + city: NotRequired[str] + """ + The city or town. + """ + country: NotRequired[str] + """ + The country in ISO 3166-1 alpha-2 format. + """ + postal_code: NotRequired[str] + """ + The postal code formatted according to country. + """ + region: NotRequired[str] + """ + The state, county, province, or region formatted according to country. + """ + street_address: NotRequired[str] + """ + Line 1 of the street address. + """ + street_address2: NotRequired[str] + """ + Line 2 of the street address. + """ + + +class OrderCreateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataTrainReservationDetailDeparture( + TypedDict, +): + address: NotRequired[ + "OrderCreateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataTrainReservationDetailDepartureAddress" + ] + """ + Address of the departure location. + """ + departs_at: NotRequired[int] + """ + Timestamp of departure. + """ + departure_location: NotRequired[str] + """ + Identifier name or reference for the origin location. + """ + + +class OrderCreateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataTrainReservationDetailDepartureAddress( + TypedDict, +): + city: NotRequired[str] + """ + The city or town. + """ + country: NotRequired[str] + """ + The country in ISO 3166-1 alpha-2 format. + """ + postal_code: NotRequired[str] + """ + The postal code formatted according to country. + """ + region: NotRequired[str] + """ + The state, county, province, or region formatted according to country. + """ + street_address: NotRequired[str] + """ + Line 1 of the street address. + """ + street_address2: NotRequired[str] + """ + Line 2 of the street address. + """ + + +class OrderCreateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataTrainReservationDetailInsurance( + TypedDict, +): + currency: NotRequired[str] + """ + Insurance currency. + """ + insurance_company_name: NotRequired[str] + """ + Name of the company providing the insurance. + """ + insurance_type: NotRequired[ + Literal["baggage", "bankruptcy", "cancelation", "emergency", "medical"] + ] + """ + Type of insurance. + """ + price: NotRequired[int] + """ + Price of insurance in cents. + """ + + +class OrderCreateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataTrainReservationDetailPassenger( + TypedDict, +): + family_name: NotRequired[str] + """ + The family name of the person. + """ + given_name: NotRequired[str] + """ + The given name of the person. + """ + + +class OrderCreateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataVoucher( + TypedDict, +): + affiliate_name: NotRequired[str] + """ + Name of associated or partner company for this voucher. + """ + ends_at: NotRequired[int] + """ + The voucher validity end time. + """ + starts_at: NotRequired[int] + """ + The voucher validity start time. + """ + voucher_company: NotRequired[str] + """ + The issuer or provider of this voucher. + """ + voucher_name: NotRequired[str] + """ + The name or reference to identify the voucher. + """ + voucher_type: NotRequired[ + Literal[ + "digital_product", + "discount", + "gift_card", + "physical_product", + "services", + ] + ] + """ + The type of this voucher. + """ + + class OrderCreateParamsPaymentSettingsPaymentMethodOptionsLink(TypedDict): capture_method: NotRequired["Literal['']|Literal['manual']"] """ diff --git a/stripe/params/_order_modify_params.py b/stripe/params/_order_modify_params.py index cb7902dc1..cf01e7df3 100644 --- a/stripe/params/_order_modify_params.py +++ b/stripe/params/_order_modify_params.py @@ -766,6 +766,12 @@ class OrderModifyParamsPaymentSettingsPaymentMethodOptionsKlarna(TypedDict): """ Subscription details if setting up or charging a subscription. """ + supplementary_purchase_data: NotRequired[ + "Literal['']|OrderModifyParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseData" + ] + """ + Supplementary Purchase Data for the corresponding Klarna payment + """ class OrderModifyParamsPaymentSettingsPaymentMethodOptionsKlarnaOnDemand( @@ -833,6 +839,1088 @@ class OrderModifyParamsPaymentSettingsPaymentMethodOptionsKlarnaSubscriptionNext """ +class OrderModifyParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseData( + TypedDict, +): + bus_reservation_details: NotRequired[ + "Literal['']|List[OrderModifyParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataBusReservationDetail]" + ] + """ + Supplementary bus reservation details. + """ + event_reservation_details: NotRequired[ + "Literal['']|List[OrderModifyParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataEventReservationDetail]" + ] + """ + Supplementary event reservation details. + """ + ferry_reservation_details: NotRequired[ + "Literal['']|List[OrderModifyParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataFerryReservationDetail]" + ] + """ + Supplementary ferry reservation details. + """ + insurances: NotRequired[ + "Literal['']|List[OrderModifyParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataInsurance]" + ] + """ + Supplementary insurance details. + """ + marketplace_sellers: NotRequired[ + "Literal['']|List[OrderModifyParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataMarketplaceSeller]" + ] + """ + Supplementary marketplace seller details. + """ + round_trip_reservation_details: NotRequired[ + "Literal['']|List[OrderModifyParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataRoundTripReservationDetail]" + ] + """ + Supplementary round trip reservation details. + """ + train_reservation_details: NotRequired[ + "Literal['']|List[OrderModifyParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataTrainReservationDetail]" + ] + """ + Supplementary train reservation details. + """ + vouchers: NotRequired[ + "Literal['']|List[OrderModifyParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataVoucher]" + ] + """ + Voucher details, such as a gift card or discount code. + """ + + +class OrderModifyParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataBusReservationDetail( + TypedDict, +): + affiliate_name: NotRequired[str] + """ + Name of associated or partner company for the service. + """ + arrival: NotRequired[ + "OrderModifyParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataBusReservationDetailArrival" + ] + """ + Arrival details. + """ + carrier_name: NotRequired[str] + """ + Name of transportation company. + """ + currency: NotRequired[str] + """ + Currency. + """ + departure: NotRequired[ + "OrderModifyParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataBusReservationDetailDeparture" + ] + """ + Departure details. + """ + insurances: NotRequired[ + List[ + "OrderModifyParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataBusReservationDetailInsurance" + ] + ] + """ + List of insurances for this reservation. + """ + passengers: NotRequired[ + List[ + "OrderModifyParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataBusReservationDetailPassenger" + ] + ] + """ + List of passengers that this reservation applies to. + """ + price: NotRequired[int] + """ + Price in cents. + """ + ticket_class: NotRequired[ + Literal["business", "economy", "first_class", "premium_economy"] + ] + """ + Ticket class. + """ + + +class OrderModifyParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataBusReservationDetailArrival( + TypedDict, +): + address: NotRequired[ + "OrderModifyParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataBusReservationDetailArrivalAddress" + ] + """ + Address of the arrival location. + """ + arrival_location: NotRequired[str] + """ + Identifier name or reference for the arrival location. + """ + + +class OrderModifyParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataBusReservationDetailArrivalAddress( + TypedDict, +): + city: NotRequired[str] + """ + The city or town. + """ + country: NotRequired[str] + """ + The country in ISO 3166-1 alpha-2 format. + """ + postal_code: NotRequired[str] + """ + The postal code formatted according to country. + """ + region: NotRequired[str] + """ + The state, county, province, or region formatted according to country. + """ + street_address: NotRequired[str] + """ + Line 1 of the street address. + """ + street_address2: NotRequired[str] + """ + Line 2 of the street address. + """ + + +class OrderModifyParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataBusReservationDetailDeparture( + TypedDict, +): + address: NotRequired[ + "OrderModifyParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataBusReservationDetailDepartureAddress" + ] + """ + Address of the departure location. + """ + departs_at: NotRequired[int] + """ + Timestamp of departure. + """ + departure_location: NotRequired[str] + """ + Identifier name or reference for the origin location. + """ + + +class OrderModifyParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataBusReservationDetailDepartureAddress( + TypedDict, +): + city: NotRequired[str] + """ + The city or town. + """ + country: NotRequired[str] + """ + The country in ISO 3166-1 alpha-2 format. + """ + postal_code: NotRequired[str] + """ + The postal code formatted according to country. + """ + region: NotRequired[str] + """ + The state, county, province, or region formatted according to country. + """ + street_address: NotRequired[str] + """ + Line 1 of the street address. + """ + street_address2: NotRequired[str] + """ + Line 2 of the street address. + """ + + +class OrderModifyParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataBusReservationDetailInsurance( + TypedDict, +): + currency: NotRequired[str] + """ + Insurance currency. + """ + insurance_company_name: NotRequired[str] + """ + Name of the company providing the insurance. + """ + insurance_type: NotRequired[ + Literal["baggage", "bankruptcy", "cancelation", "emergency", "medical"] + ] + """ + Type of insurance. + """ + price: NotRequired[int] + """ + Price of insurance in cents. + """ + + +class OrderModifyParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataBusReservationDetailPassenger( + TypedDict, +): + family_name: NotRequired[str] + """ + The family name of the person. + """ + given_name: NotRequired[str] + """ + The given name of the person. + """ + + +class OrderModifyParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataEventReservationDetail( + TypedDict, +): + access_controlled_venue: NotRequired[bool] + """ + Indicates if the tickets are digitally checked when entering the venue. + """ + address: NotRequired[ + "OrderModifyParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataEventReservationDetailAddress" + ] + """ + Address of the event. + """ + affiliate_name: NotRequired[str] + """ + Name of associated or partner company for the service. + """ + ends_at: NotRequired[int] + """ + End timestamp of the event. + """ + event_company_name: NotRequired[str] + """ + Company selling the ticket. + """ + event_name: NotRequired[str] + """ + Name of the event. + """ + event_type: NotRequired[ + Literal[ + "concert", + "conference", + "digital_education", + "expo", + "festival", + "in_person_education", + "sport", + "tour", + ] + ] + """ + Type of the event. + """ + insurances: NotRequired[ + List[ + "OrderModifyParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataEventReservationDetailInsurance" + ] + ] + """ + List of insurances for this event. + """ + starts_at: NotRequired[int] + """ + Start timestamp of the event. + """ + venue_name: NotRequired[str] + """ + Name of the venue where the event takes place. + """ + + +class OrderModifyParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataEventReservationDetailAddress( + TypedDict, +): + city: NotRequired[str] + """ + The city or town. + """ + country: NotRequired[str] + """ + The country in ISO 3166-1 alpha-2 format. + """ + postal_code: NotRequired[str] + """ + The postal code formatted according to country. + """ + region: NotRequired[str] + """ + The state, county, province, or region formatted according to country. + """ + street_address: NotRequired[str] + """ + Line 1 of the street address. + """ + street_address2: NotRequired[str] + """ + Line 2 of the street address. + """ + + +class OrderModifyParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataEventReservationDetailInsurance( + TypedDict, +): + currency: NotRequired[str] + """ + Insurance currency. + """ + insurance_company_name: NotRequired[str] + """ + Name of the company providing the insurance. + """ + insurance_type: NotRequired[ + Literal["bankruptcy", "cancelation", "emergency", "medical"] + ] + """ + Type of insurance. + """ + price: NotRequired[int] + """ + Price of insurance in cents. + """ + + +class OrderModifyParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataFerryReservationDetail( + TypedDict, +): + affiliate_name: NotRequired[str] + """ + Name of associated or partner company for the service. + """ + arrival: NotRequired[ + "OrderModifyParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataFerryReservationDetailArrival" + ] + """ + Arrival details. + """ + carrier_name: NotRequired[str] + """ + Name of transportation company. + """ + currency: NotRequired[str] + """ + Currency. + """ + departure: NotRequired[ + "OrderModifyParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataFerryReservationDetailDeparture" + ] + """ + Departure details. + """ + insurances: NotRequired[ + List[ + "OrderModifyParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataFerryReservationDetailInsurance" + ] + ] + """ + List of insurances for this reservation. + """ + passengers: NotRequired[ + List[ + "OrderModifyParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataFerryReservationDetailPassenger" + ] + ] + """ + List of passengers that this reservation applies to. + """ + price: NotRequired[int] + """ + Price in cents. + """ + ticket_class: NotRequired[ + Literal["business", "economy", "first_class", "premium_economy"] + ] + """ + Ticket class. + """ + + +class OrderModifyParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataFerryReservationDetailArrival( + TypedDict, +): + address: NotRequired[ + "OrderModifyParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataFerryReservationDetailArrivalAddress" + ] + """ + Address of the arrival location. + """ + arrival_location: NotRequired[str] + """ + Identifier name or reference for the arrival location. + """ + + +class OrderModifyParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataFerryReservationDetailArrivalAddress( + TypedDict, +): + city: NotRequired[str] + """ + The city or town. + """ + country: NotRequired[str] + """ + The country in ISO 3166-1 alpha-2 format. + """ + postal_code: NotRequired[str] + """ + The postal code formatted according to country. + """ + region: NotRequired[str] + """ + The state, county, province, or region formatted according to country. + """ + street_address: NotRequired[str] + """ + Line 1 of the street address. + """ + street_address2: NotRequired[str] + """ + Line 2 of the street address. + """ + + +class OrderModifyParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataFerryReservationDetailDeparture( + TypedDict, +): + address: NotRequired[ + "OrderModifyParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataFerryReservationDetailDepartureAddress" + ] + """ + Address of the departure location. + """ + departs_at: NotRequired[int] + """ + Timestamp of departure. + """ + departure_location: NotRequired[str] + """ + Identifier name or reference for the origin location. + """ + + +class OrderModifyParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataFerryReservationDetailDepartureAddress( + TypedDict, +): + city: NotRequired[str] + """ + The city or town. + """ + country: NotRequired[str] + """ + The country in ISO 3166-1 alpha-2 format. + """ + postal_code: NotRequired[str] + """ + The postal code formatted according to country. + """ + region: NotRequired[str] + """ + The state, county, province, or region formatted according to country. + """ + street_address: NotRequired[str] + """ + Line 1 of the street address. + """ + street_address2: NotRequired[str] + """ + Line 2 of the street address. + """ + + +class OrderModifyParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataFerryReservationDetailInsurance( + TypedDict, +): + currency: NotRequired[str] + """ + Insurance currency. + """ + insurance_company_name: NotRequired[str] + """ + Name of the company providing the insurance. + """ + insurance_type: NotRequired[ + Literal["baggage", "bankruptcy", "cancelation", "emergency", "medical"] + ] + """ + Type of insurance. + """ + price: NotRequired[int] + """ + Price of insurance in cents. + """ + + +class OrderModifyParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataFerryReservationDetailPassenger( + TypedDict, +): + family_name: NotRequired[str] + """ + The family name of the person. + """ + given_name: NotRequired[str] + """ + The given name of the person. + """ + + +class OrderModifyParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataInsurance( + TypedDict, +): + currency: NotRequired[str] + """ + Insurance currency. + """ + insurance_company_name: NotRequired[str] + """ + Name of the company providing the insurance. + """ + insurance_type: NotRequired[ + Literal["bankruptcy", "cancelation", "emergency", "medical"] + ] + """ + Type of insurance + """ + price: NotRequired[int] + """ + Price of insurance in cents. + """ + + +class OrderModifyParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataMarketplaceSeller( + TypedDict, +): + line_item_references: NotRequired[List[str]] + """ + The references to line items for purchases with multiple associated sub-sellers. + """ + marketplace_seller_address: NotRequired[ + "OrderModifyParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataMarketplaceSellerMarketplaceSellerAddress" + ] + """ + The address of the selling or delivering merchant. + """ + marketplace_seller_name: NotRequired[str] + """ + The name of the marketplace seller. + """ + marketplace_seller_reference: NotRequired[str] + """ + The unique identifier for the marketplace seller. + """ + number_of_transactions: NotRequired[int] + """ + The number of transactions the sub-seller completed in the last 12 months. + """ + product_category: NotRequired[ + Literal[ + "accessories", + "appliances", + "apps_and_games", + "arts_crafts_and_sewing", + "automotive", + "baby", + "baby_clothing", + "bags_and_purses", + "beauty", + "books", + "cds_and_vinyl", + "cell_phones_and_accessories", + "collectibles_and_fine_arts", + "digital_music", + "electronics", + "grocery_and_gourmet_food", + "handmade", + "health_and_personal_care", + "home_and_kitchen", + "industrial_and_scientific", + "luggage_and_travel_gear", + "magazine_subscriptions", + "men_clothing", + "musical_instruments", + "office_products", + "patio_lawn_and_garden", + "pet_supplies", + "shoes", + "software", + "sports_and_outdoors", + "tools_and_home_improvement", + "toys_and_games", + "video_games", + "women_clothing", + ] + ] + """ + The category of the product. + """ + seller_last_login_at: NotRequired[int] + """ + The date when the seller's account with the marketplace was last logged in. + """ + seller_rating: NotRequired[ + Literal["high", "low", "medium", "very_high", "very_low"] + ] + """ + The current rating of the marketplace seller. If the marketplace uses numeric ranking, map these to the enum values. + """ + seller_registered_at: NotRequired[int] + """ + The date when the seller's account with the marketplace was created. + """ + seller_updated_at: NotRequired[int] + """ + The date when the seller's account with the marketplace was last updated. + """ + shipping_references: NotRequired[List[str]] + """ + The references to shipping addresses for purchases with multiple associated sub-sellers. + """ + volume_of_transactions: NotRequired[int] + """ + The accumulated amount of sales transactions made by the sub-merchant or sub-seller within the past 12 months in the payment currency. These transactions are in minor currency units. + """ + + +class OrderModifyParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataMarketplaceSellerMarketplaceSellerAddress( + TypedDict, +): + city: NotRequired[str] + """ + The city or town. + """ + country: NotRequired[str] + """ + The country in ISO 3166-1 alpha-2 format. + """ + postal_code: NotRequired[str] + """ + The postal code formatted according to country. + """ + region: NotRequired[str] + """ + The state, county, province, or region formatted according to country. + """ + street_address: NotRequired[str] + """ + Line 1 of the street address. + """ + street_address2: NotRequired[str] + """ + Line 2 of the street address. + """ + + +class OrderModifyParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataRoundTripReservationDetail( + TypedDict, +): + affiliate_name: NotRequired[str] + """ + Name of associated or partner company for the service. + """ + arrival: NotRequired[ + "OrderModifyParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataRoundTripReservationDetailArrival" + ] + """ + Arrival details. + """ + carrier_name: NotRequired[str] + """ + Name of transportation company. + """ + currency: NotRequired[str] + """ + Currency. + """ + departure: NotRequired[ + "OrderModifyParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataRoundTripReservationDetailDeparture" + ] + """ + Departure details. + """ + insurances: NotRequired[ + List[ + "OrderModifyParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataRoundTripReservationDetailInsurance" + ] + ] + """ + List of insurances for this reservation. + """ + passengers: NotRequired[ + List[ + "OrderModifyParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataRoundTripReservationDetailPassenger" + ] + ] + """ + List of passengers that this reservation applies to. + """ + price: NotRequired[int] + """ + Price in cents. + """ + ticket_class: NotRequired[ + Literal["business", "economy", "first_class", "premium_economy"] + ] + """ + Ticket class. + """ + + +class OrderModifyParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataRoundTripReservationDetailArrival( + TypedDict, +): + address: NotRequired[ + "OrderModifyParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataRoundTripReservationDetailArrivalAddress" + ] + """ + Address of the arrival location. + """ + arrival_location: NotRequired[str] + """ + Identifier name or reference for the arrival location. + """ + + +class OrderModifyParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataRoundTripReservationDetailArrivalAddress( + TypedDict, +): + city: NotRequired[str] + """ + The city or town. + """ + country: NotRequired[str] + """ + The country in ISO 3166-1 alpha-2 format. + """ + postal_code: NotRequired[str] + """ + The postal code formatted according to country. + """ + region: NotRequired[str] + """ + The state, county, province, or region formatted according to country. + """ + street_address: NotRequired[str] + """ + Line 1 of the street address. + """ + street_address2: NotRequired[str] + """ + Line 2 of the street address. + """ + + +class OrderModifyParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataRoundTripReservationDetailDeparture( + TypedDict, +): + address: NotRequired[ + "OrderModifyParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataRoundTripReservationDetailDepartureAddress" + ] + """ + Address of the departure location. + """ + departs_at: NotRequired[int] + """ + Timestamp of departure. + """ + departure_location: NotRequired[str] + """ + Identifier name or reference for the origin location. + """ + + +class OrderModifyParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataRoundTripReservationDetailDepartureAddress( + TypedDict, +): + city: NotRequired[str] + """ + The city or town. + """ + country: NotRequired[str] + """ + The country in ISO 3166-1 alpha-2 format. + """ + postal_code: NotRequired[str] + """ + The postal code formatted according to country. + """ + region: NotRequired[str] + """ + The state, county, province, or region formatted according to country. + """ + street_address: NotRequired[str] + """ + Line 1 of the street address. + """ + street_address2: NotRequired[str] + """ + Line 2 of the street address. + """ + + +class OrderModifyParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataRoundTripReservationDetailInsurance( + TypedDict, +): + currency: NotRequired[str] + """ + Insurance currency. + """ + insurance_company_name: NotRequired[str] + """ + Name of the company providing the insurance. + """ + insurance_type: NotRequired[ + Literal["baggage", "bankruptcy", "cancelation", "emergency", "medical"] + ] + """ + Type of insurance. + """ + price: NotRequired[int] + """ + Price of insurance in cents. + """ + + +class OrderModifyParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataRoundTripReservationDetailPassenger( + TypedDict, +): + family_name: NotRequired[str] + """ + The family name of the person. + """ + given_name: NotRequired[str] + """ + The given name of the person. + """ + + +class OrderModifyParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataTrainReservationDetail( + TypedDict, +): + affiliate_name: NotRequired[str] + """ + Name of associated or partner company for the service. + """ + arrival: NotRequired[ + "OrderModifyParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataTrainReservationDetailArrival" + ] + """ + Arrival details. + """ + carrier_name: NotRequired[str] + """ + Name of transportation company. + """ + currency: NotRequired[str] + """ + Currency. + """ + departure: NotRequired[ + "OrderModifyParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataTrainReservationDetailDeparture" + ] + """ + Departure details. + """ + insurances: NotRequired[ + List[ + "OrderModifyParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataTrainReservationDetailInsurance" + ] + ] + """ + List of insurances for this reservation. + """ + passengers: NotRequired[ + List[ + "OrderModifyParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataTrainReservationDetailPassenger" + ] + ] + """ + List of passengers that this reservation applies to. + """ + price: NotRequired[int] + """ + Price in cents. + """ + ticket_class: NotRequired[ + Literal["business", "economy", "first_class", "premium_economy"] + ] + """ + Ticket class. + """ + + +class OrderModifyParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataTrainReservationDetailArrival( + TypedDict, +): + address: NotRequired[ + "OrderModifyParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataTrainReservationDetailArrivalAddress" + ] + """ + Address of the arrival location. + """ + arrival_location: NotRequired[str] + """ + Identifier name or reference for the arrival location. + """ + + +class OrderModifyParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataTrainReservationDetailArrivalAddress( + TypedDict, +): + city: NotRequired[str] + """ + The city or town. + """ + country: NotRequired[str] + """ + The country in ISO 3166-1 alpha-2 format. + """ + postal_code: NotRequired[str] + """ + The postal code formatted according to country. + """ + region: NotRequired[str] + """ + The state, county, province, or region formatted according to country. + """ + street_address: NotRequired[str] + """ + Line 1 of the street address. + """ + street_address2: NotRequired[str] + """ + Line 2 of the street address. + """ + + +class OrderModifyParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataTrainReservationDetailDeparture( + TypedDict, +): + address: NotRequired[ + "OrderModifyParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataTrainReservationDetailDepartureAddress" + ] + """ + Address of the departure location. + """ + departs_at: NotRequired[int] + """ + Timestamp of departure. + """ + departure_location: NotRequired[str] + """ + Identifier name or reference for the origin location. + """ + + +class OrderModifyParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataTrainReservationDetailDepartureAddress( + TypedDict, +): + city: NotRequired[str] + """ + The city or town. + """ + country: NotRequired[str] + """ + The country in ISO 3166-1 alpha-2 format. + """ + postal_code: NotRequired[str] + """ + The postal code formatted according to country. + """ + region: NotRequired[str] + """ + The state, county, province, or region formatted according to country. + """ + street_address: NotRequired[str] + """ + Line 1 of the street address. + """ + street_address2: NotRequired[str] + """ + Line 2 of the street address. + """ + + +class OrderModifyParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataTrainReservationDetailInsurance( + TypedDict, +): + currency: NotRequired[str] + """ + Insurance currency. + """ + insurance_company_name: NotRequired[str] + """ + Name of the company providing the insurance. + """ + insurance_type: NotRequired[ + Literal["baggage", "bankruptcy", "cancelation", "emergency", "medical"] + ] + """ + Type of insurance. + """ + price: NotRequired[int] + """ + Price of insurance in cents. + """ + + +class OrderModifyParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataTrainReservationDetailPassenger( + TypedDict, +): + family_name: NotRequired[str] + """ + The family name of the person. + """ + given_name: NotRequired[str] + """ + The given name of the person. + """ + + +class OrderModifyParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataVoucher( + TypedDict, +): + affiliate_name: NotRequired[str] + """ + Name of associated or partner company for this voucher. + """ + ends_at: NotRequired[int] + """ + The voucher validity end time. + """ + starts_at: NotRequired[int] + """ + The voucher validity start time. + """ + voucher_company: NotRequired[str] + """ + The issuer or provider of this voucher. + """ + voucher_name: NotRequired[str] + """ + The name or reference to identify the voucher. + """ + voucher_type: NotRequired[ + Literal[ + "digital_product", + "discount", + "gift_card", + "physical_product", + "services", + ] + ] + """ + The type of this voucher. + """ + + class OrderModifyParamsPaymentSettingsPaymentMethodOptionsLink(TypedDict): capture_method: NotRequired["Literal['']|Literal['manual']"] """ diff --git a/stripe/params/_order_update_params.py b/stripe/params/_order_update_params.py index e78699671..5f0d32b71 100644 --- a/stripe/params/_order_update_params.py +++ b/stripe/params/_order_update_params.py @@ -765,6 +765,12 @@ class OrderUpdateParamsPaymentSettingsPaymentMethodOptionsKlarna(TypedDict): """ Subscription details if setting up or charging a subscription. """ + supplementary_purchase_data: NotRequired[ + "Literal['']|OrderUpdateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseData" + ] + """ + Supplementary Purchase Data for the corresponding Klarna payment + """ class OrderUpdateParamsPaymentSettingsPaymentMethodOptionsKlarnaOnDemand( @@ -832,6 +838,1088 @@ class OrderUpdateParamsPaymentSettingsPaymentMethodOptionsKlarnaSubscriptionNext """ +class OrderUpdateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseData( + TypedDict, +): + bus_reservation_details: NotRequired[ + "Literal['']|List[OrderUpdateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataBusReservationDetail]" + ] + """ + Supplementary bus reservation details. + """ + event_reservation_details: NotRequired[ + "Literal['']|List[OrderUpdateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataEventReservationDetail]" + ] + """ + Supplementary event reservation details. + """ + ferry_reservation_details: NotRequired[ + "Literal['']|List[OrderUpdateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataFerryReservationDetail]" + ] + """ + Supplementary ferry reservation details. + """ + insurances: NotRequired[ + "Literal['']|List[OrderUpdateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataInsurance]" + ] + """ + Supplementary insurance details. + """ + marketplace_sellers: NotRequired[ + "Literal['']|List[OrderUpdateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataMarketplaceSeller]" + ] + """ + Supplementary marketplace seller details. + """ + round_trip_reservation_details: NotRequired[ + "Literal['']|List[OrderUpdateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataRoundTripReservationDetail]" + ] + """ + Supplementary round trip reservation details. + """ + train_reservation_details: NotRequired[ + "Literal['']|List[OrderUpdateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataTrainReservationDetail]" + ] + """ + Supplementary train reservation details. + """ + vouchers: NotRequired[ + "Literal['']|List[OrderUpdateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataVoucher]" + ] + """ + Voucher details, such as a gift card or discount code. + """ + + +class OrderUpdateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataBusReservationDetail( + TypedDict, +): + affiliate_name: NotRequired[str] + """ + Name of associated or partner company for the service. + """ + arrival: NotRequired[ + "OrderUpdateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataBusReservationDetailArrival" + ] + """ + Arrival details. + """ + carrier_name: NotRequired[str] + """ + Name of transportation company. + """ + currency: NotRequired[str] + """ + Currency. + """ + departure: NotRequired[ + "OrderUpdateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataBusReservationDetailDeparture" + ] + """ + Departure details. + """ + insurances: NotRequired[ + List[ + "OrderUpdateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataBusReservationDetailInsurance" + ] + ] + """ + List of insurances for this reservation. + """ + passengers: NotRequired[ + List[ + "OrderUpdateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataBusReservationDetailPassenger" + ] + ] + """ + List of passengers that this reservation applies to. + """ + price: NotRequired[int] + """ + Price in cents. + """ + ticket_class: NotRequired[ + Literal["business", "economy", "first_class", "premium_economy"] + ] + """ + Ticket class. + """ + + +class OrderUpdateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataBusReservationDetailArrival( + TypedDict, +): + address: NotRequired[ + "OrderUpdateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataBusReservationDetailArrivalAddress" + ] + """ + Address of the arrival location. + """ + arrival_location: NotRequired[str] + """ + Identifier name or reference for the arrival location. + """ + + +class OrderUpdateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataBusReservationDetailArrivalAddress( + TypedDict, +): + city: NotRequired[str] + """ + The city or town. + """ + country: NotRequired[str] + """ + The country in ISO 3166-1 alpha-2 format. + """ + postal_code: NotRequired[str] + """ + The postal code formatted according to country. + """ + region: NotRequired[str] + """ + The state, county, province, or region formatted according to country. + """ + street_address: NotRequired[str] + """ + Line 1 of the street address. + """ + street_address2: NotRequired[str] + """ + Line 2 of the street address. + """ + + +class OrderUpdateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataBusReservationDetailDeparture( + TypedDict, +): + address: NotRequired[ + "OrderUpdateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataBusReservationDetailDepartureAddress" + ] + """ + Address of the departure location. + """ + departs_at: NotRequired[int] + """ + Timestamp of departure. + """ + departure_location: NotRequired[str] + """ + Identifier name or reference for the origin location. + """ + + +class OrderUpdateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataBusReservationDetailDepartureAddress( + TypedDict, +): + city: NotRequired[str] + """ + The city or town. + """ + country: NotRequired[str] + """ + The country in ISO 3166-1 alpha-2 format. + """ + postal_code: NotRequired[str] + """ + The postal code formatted according to country. + """ + region: NotRequired[str] + """ + The state, county, province, or region formatted according to country. + """ + street_address: NotRequired[str] + """ + Line 1 of the street address. + """ + street_address2: NotRequired[str] + """ + Line 2 of the street address. + """ + + +class OrderUpdateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataBusReservationDetailInsurance( + TypedDict, +): + currency: NotRequired[str] + """ + Insurance currency. + """ + insurance_company_name: NotRequired[str] + """ + Name of the company providing the insurance. + """ + insurance_type: NotRequired[ + Literal["baggage", "bankruptcy", "cancelation", "emergency", "medical"] + ] + """ + Type of insurance. + """ + price: NotRequired[int] + """ + Price of insurance in cents. + """ + + +class OrderUpdateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataBusReservationDetailPassenger( + TypedDict, +): + family_name: NotRequired[str] + """ + The family name of the person. + """ + given_name: NotRequired[str] + """ + The given name of the person. + """ + + +class OrderUpdateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataEventReservationDetail( + TypedDict, +): + access_controlled_venue: NotRequired[bool] + """ + Indicates if the tickets are digitally checked when entering the venue. + """ + address: NotRequired[ + "OrderUpdateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataEventReservationDetailAddress" + ] + """ + Address of the event. + """ + affiliate_name: NotRequired[str] + """ + Name of associated or partner company for the service. + """ + ends_at: NotRequired[int] + """ + End timestamp of the event. + """ + event_company_name: NotRequired[str] + """ + Company selling the ticket. + """ + event_name: NotRequired[str] + """ + Name of the event. + """ + event_type: NotRequired[ + Literal[ + "concert", + "conference", + "digital_education", + "expo", + "festival", + "in_person_education", + "sport", + "tour", + ] + ] + """ + Type of the event. + """ + insurances: NotRequired[ + List[ + "OrderUpdateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataEventReservationDetailInsurance" + ] + ] + """ + List of insurances for this event. + """ + starts_at: NotRequired[int] + """ + Start timestamp of the event. + """ + venue_name: NotRequired[str] + """ + Name of the venue where the event takes place. + """ + + +class OrderUpdateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataEventReservationDetailAddress( + TypedDict, +): + city: NotRequired[str] + """ + The city or town. + """ + country: NotRequired[str] + """ + The country in ISO 3166-1 alpha-2 format. + """ + postal_code: NotRequired[str] + """ + The postal code formatted according to country. + """ + region: NotRequired[str] + """ + The state, county, province, or region formatted according to country. + """ + street_address: NotRequired[str] + """ + Line 1 of the street address. + """ + street_address2: NotRequired[str] + """ + Line 2 of the street address. + """ + + +class OrderUpdateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataEventReservationDetailInsurance( + TypedDict, +): + currency: NotRequired[str] + """ + Insurance currency. + """ + insurance_company_name: NotRequired[str] + """ + Name of the company providing the insurance. + """ + insurance_type: NotRequired[ + Literal["bankruptcy", "cancelation", "emergency", "medical"] + ] + """ + Type of insurance. + """ + price: NotRequired[int] + """ + Price of insurance in cents. + """ + + +class OrderUpdateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataFerryReservationDetail( + TypedDict, +): + affiliate_name: NotRequired[str] + """ + Name of associated or partner company for the service. + """ + arrival: NotRequired[ + "OrderUpdateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataFerryReservationDetailArrival" + ] + """ + Arrival details. + """ + carrier_name: NotRequired[str] + """ + Name of transportation company. + """ + currency: NotRequired[str] + """ + Currency. + """ + departure: NotRequired[ + "OrderUpdateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataFerryReservationDetailDeparture" + ] + """ + Departure details. + """ + insurances: NotRequired[ + List[ + "OrderUpdateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataFerryReservationDetailInsurance" + ] + ] + """ + List of insurances for this reservation. + """ + passengers: NotRequired[ + List[ + "OrderUpdateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataFerryReservationDetailPassenger" + ] + ] + """ + List of passengers that this reservation applies to. + """ + price: NotRequired[int] + """ + Price in cents. + """ + ticket_class: NotRequired[ + Literal["business", "economy", "first_class", "premium_economy"] + ] + """ + Ticket class. + """ + + +class OrderUpdateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataFerryReservationDetailArrival( + TypedDict, +): + address: NotRequired[ + "OrderUpdateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataFerryReservationDetailArrivalAddress" + ] + """ + Address of the arrival location. + """ + arrival_location: NotRequired[str] + """ + Identifier name or reference for the arrival location. + """ + + +class OrderUpdateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataFerryReservationDetailArrivalAddress( + TypedDict, +): + city: NotRequired[str] + """ + The city or town. + """ + country: NotRequired[str] + """ + The country in ISO 3166-1 alpha-2 format. + """ + postal_code: NotRequired[str] + """ + The postal code formatted according to country. + """ + region: NotRequired[str] + """ + The state, county, province, or region formatted according to country. + """ + street_address: NotRequired[str] + """ + Line 1 of the street address. + """ + street_address2: NotRequired[str] + """ + Line 2 of the street address. + """ + + +class OrderUpdateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataFerryReservationDetailDeparture( + TypedDict, +): + address: NotRequired[ + "OrderUpdateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataFerryReservationDetailDepartureAddress" + ] + """ + Address of the departure location. + """ + departs_at: NotRequired[int] + """ + Timestamp of departure. + """ + departure_location: NotRequired[str] + """ + Identifier name or reference for the origin location. + """ + + +class OrderUpdateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataFerryReservationDetailDepartureAddress( + TypedDict, +): + city: NotRequired[str] + """ + The city or town. + """ + country: NotRequired[str] + """ + The country in ISO 3166-1 alpha-2 format. + """ + postal_code: NotRequired[str] + """ + The postal code formatted according to country. + """ + region: NotRequired[str] + """ + The state, county, province, or region formatted according to country. + """ + street_address: NotRequired[str] + """ + Line 1 of the street address. + """ + street_address2: NotRequired[str] + """ + Line 2 of the street address. + """ + + +class OrderUpdateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataFerryReservationDetailInsurance( + TypedDict, +): + currency: NotRequired[str] + """ + Insurance currency. + """ + insurance_company_name: NotRequired[str] + """ + Name of the company providing the insurance. + """ + insurance_type: NotRequired[ + Literal["baggage", "bankruptcy", "cancelation", "emergency", "medical"] + ] + """ + Type of insurance. + """ + price: NotRequired[int] + """ + Price of insurance in cents. + """ + + +class OrderUpdateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataFerryReservationDetailPassenger( + TypedDict, +): + family_name: NotRequired[str] + """ + The family name of the person. + """ + given_name: NotRequired[str] + """ + The given name of the person. + """ + + +class OrderUpdateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataInsurance( + TypedDict, +): + currency: NotRequired[str] + """ + Insurance currency. + """ + insurance_company_name: NotRequired[str] + """ + Name of the company providing the insurance. + """ + insurance_type: NotRequired[ + Literal["bankruptcy", "cancelation", "emergency", "medical"] + ] + """ + Type of insurance + """ + price: NotRequired[int] + """ + Price of insurance in cents. + """ + + +class OrderUpdateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataMarketplaceSeller( + TypedDict, +): + line_item_references: NotRequired[List[str]] + """ + The references to line items for purchases with multiple associated sub-sellers. + """ + marketplace_seller_address: NotRequired[ + "OrderUpdateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataMarketplaceSellerMarketplaceSellerAddress" + ] + """ + The address of the selling or delivering merchant. + """ + marketplace_seller_name: NotRequired[str] + """ + The name of the marketplace seller. + """ + marketplace_seller_reference: NotRequired[str] + """ + The unique identifier for the marketplace seller. + """ + number_of_transactions: NotRequired[int] + """ + The number of transactions the sub-seller completed in the last 12 months. + """ + product_category: NotRequired[ + Literal[ + "accessories", + "appliances", + "apps_and_games", + "arts_crafts_and_sewing", + "automotive", + "baby", + "baby_clothing", + "bags_and_purses", + "beauty", + "books", + "cds_and_vinyl", + "cell_phones_and_accessories", + "collectibles_and_fine_arts", + "digital_music", + "electronics", + "grocery_and_gourmet_food", + "handmade", + "health_and_personal_care", + "home_and_kitchen", + "industrial_and_scientific", + "luggage_and_travel_gear", + "magazine_subscriptions", + "men_clothing", + "musical_instruments", + "office_products", + "patio_lawn_and_garden", + "pet_supplies", + "shoes", + "software", + "sports_and_outdoors", + "tools_and_home_improvement", + "toys_and_games", + "video_games", + "women_clothing", + ] + ] + """ + The category of the product. + """ + seller_last_login_at: NotRequired[int] + """ + The date when the seller's account with the marketplace was last logged in. + """ + seller_rating: NotRequired[ + Literal["high", "low", "medium", "very_high", "very_low"] + ] + """ + The current rating of the marketplace seller. If the marketplace uses numeric ranking, map these to the enum values. + """ + seller_registered_at: NotRequired[int] + """ + The date when the seller's account with the marketplace was created. + """ + seller_updated_at: NotRequired[int] + """ + The date when the seller's account with the marketplace was last updated. + """ + shipping_references: NotRequired[List[str]] + """ + The references to shipping addresses for purchases with multiple associated sub-sellers. + """ + volume_of_transactions: NotRequired[int] + """ + The accumulated amount of sales transactions made by the sub-merchant or sub-seller within the past 12 months in the payment currency. These transactions are in minor currency units. + """ + + +class OrderUpdateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataMarketplaceSellerMarketplaceSellerAddress( + TypedDict, +): + city: NotRequired[str] + """ + The city or town. + """ + country: NotRequired[str] + """ + The country in ISO 3166-1 alpha-2 format. + """ + postal_code: NotRequired[str] + """ + The postal code formatted according to country. + """ + region: NotRequired[str] + """ + The state, county, province, or region formatted according to country. + """ + street_address: NotRequired[str] + """ + Line 1 of the street address. + """ + street_address2: NotRequired[str] + """ + Line 2 of the street address. + """ + + +class OrderUpdateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataRoundTripReservationDetail( + TypedDict, +): + affiliate_name: NotRequired[str] + """ + Name of associated or partner company for the service. + """ + arrival: NotRequired[ + "OrderUpdateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataRoundTripReservationDetailArrival" + ] + """ + Arrival details. + """ + carrier_name: NotRequired[str] + """ + Name of transportation company. + """ + currency: NotRequired[str] + """ + Currency. + """ + departure: NotRequired[ + "OrderUpdateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataRoundTripReservationDetailDeparture" + ] + """ + Departure details. + """ + insurances: NotRequired[ + List[ + "OrderUpdateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataRoundTripReservationDetailInsurance" + ] + ] + """ + List of insurances for this reservation. + """ + passengers: NotRequired[ + List[ + "OrderUpdateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataRoundTripReservationDetailPassenger" + ] + ] + """ + List of passengers that this reservation applies to. + """ + price: NotRequired[int] + """ + Price in cents. + """ + ticket_class: NotRequired[ + Literal["business", "economy", "first_class", "premium_economy"] + ] + """ + Ticket class. + """ + + +class OrderUpdateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataRoundTripReservationDetailArrival( + TypedDict, +): + address: NotRequired[ + "OrderUpdateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataRoundTripReservationDetailArrivalAddress" + ] + """ + Address of the arrival location. + """ + arrival_location: NotRequired[str] + """ + Identifier name or reference for the arrival location. + """ + + +class OrderUpdateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataRoundTripReservationDetailArrivalAddress( + TypedDict, +): + city: NotRequired[str] + """ + The city or town. + """ + country: NotRequired[str] + """ + The country in ISO 3166-1 alpha-2 format. + """ + postal_code: NotRequired[str] + """ + The postal code formatted according to country. + """ + region: NotRequired[str] + """ + The state, county, province, or region formatted according to country. + """ + street_address: NotRequired[str] + """ + Line 1 of the street address. + """ + street_address2: NotRequired[str] + """ + Line 2 of the street address. + """ + + +class OrderUpdateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataRoundTripReservationDetailDeparture( + TypedDict, +): + address: NotRequired[ + "OrderUpdateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataRoundTripReservationDetailDepartureAddress" + ] + """ + Address of the departure location. + """ + departs_at: NotRequired[int] + """ + Timestamp of departure. + """ + departure_location: NotRequired[str] + """ + Identifier name or reference for the origin location. + """ + + +class OrderUpdateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataRoundTripReservationDetailDepartureAddress( + TypedDict, +): + city: NotRequired[str] + """ + The city or town. + """ + country: NotRequired[str] + """ + The country in ISO 3166-1 alpha-2 format. + """ + postal_code: NotRequired[str] + """ + The postal code formatted according to country. + """ + region: NotRequired[str] + """ + The state, county, province, or region formatted according to country. + """ + street_address: NotRequired[str] + """ + Line 1 of the street address. + """ + street_address2: NotRequired[str] + """ + Line 2 of the street address. + """ + + +class OrderUpdateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataRoundTripReservationDetailInsurance( + TypedDict, +): + currency: NotRequired[str] + """ + Insurance currency. + """ + insurance_company_name: NotRequired[str] + """ + Name of the company providing the insurance. + """ + insurance_type: NotRequired[ + Literal["baggage", "bankruptcy", "cancelation", "emergency", "medical"] + ] + """ + Type of insurance. + """ + price: NotRequired[int] + """ + Price of insurance in cents. + """ + + +class OrderUpdateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataRoundTripReservationDetailPassenger( + TypedDict, +): + family_name: NotRequired[str] + """ + The family name of the person. + """ + given_name: NotRequired[str] + """ + The given name of the person. + """ + + +class OrderUpdateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataTrainReservationDetail( + TypedDict, +): + affiliate_name: NotRequired[str] + """ + Name of associated or partner company for the service. + """ + arrival: NotRequired[ + "OrderUpdateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataTrainReservationDetailArrival" + ] + """ + Arrival details. + """ + carrier_name: NotRequired[str] + """ + Name of transportation company. + """ + currency: NotRequired[str] + """ + Currency. + """ + departure: NotRequired[ + "OrderUpdateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataTrainReservationDetailDeparture" + ] + """ + Departure details. + """ + insurances: NotRequired[ + List[ + "OrderUpdateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataTrainReservationDetailInsurance" + ] + ] + """ + List of insurances for this reservation. + """ + passengers: NotRequired[ + List[ + "OrderUpdateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataTrainReservationDetailPassenger" + ] + ] + """ + List of passengers that this reservation applies to. + """ + price: NotRequired[int] + """ + Price in cents. + """ + ticket_class: NotRequired[ + Literal["business", "economy", "first_class", "premium_economy"] + ] + """ + Ticket class. + """ + + +class OrderUpdateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataTrainReservationDetailArrival( + TypedDict, +): + address: NotRequired[ + "OrderUpdateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataTrainReservationDetailArrivalAddress" + ] + """ + Address of the arrival location. + """ + arrival_location: NotRequired[str] + """ + Identifier name or reference for the arrival location. + """ + + +class OrderUpdateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataTrainReservationDetailArrivalAddress( + TypedDict, +): + city: NotRequired[str] + """ + The city or town. + """ + country: NotRequired[str] + """ + The country in ISO 3166-1 alpha-2 format. + """ + postal_code: NotRequired[str] + """ + The postal code formatted according to country. + """ + region: NotRequired[str] + """ + The state, county, province, or region formatted according to country. + """ + street_address: NotRequired[str] + """ + Line 1 of the street address. + """ + street_address2: NotRequired[str] + """ + Line 2 of the street address. + """ + + +class OrderUpdateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataTrainReservationDetailDeparture( + TypedDict, +): + address: NotRequired[ + "OrderUpdateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataTrainReservationDetailDepartureAddress" + ] + """ + Address of the departure location. + """ + departs_at: NotRequired[int] + """ + Timestamp of departure. + """ + departure_location: NotRequired[str] + """ + Identifier name or reference for the origin location. + """ + + +class OrderUpdateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataTrainReservationDetailDepartureAddress( + TypedDict, +): + city: NotRequired[str] + """ + The city or town. + """ + country: NotRequired[str] + """ + The country in ISO 3166-1 alpha-2 format. + """ + postal_code: NotRequired[str] + """ + The postal code formatted according to country. + """ + region: NotRequired[str] + """ + The state, county, province, or region formatted according to country. + """ + street_address: NotRequired[str] + """ + Line 1 of the street address. + """ + street_address2: NotRequired[str] + """ + Line 2 of the street address. + """ + + +class OrderUpdateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataTrainReservationDetailInsurance( + TypedDict, +): + currency: NotRequired[str] + """ + Insurance currency. + """ + insurance_company_name: NotRequired[str] + """ + Name of the company providing the insurance. + """ + insurance_type: NotRequired[ + Literal["baggage", "bankruptcy", "cancelation", "emergency", "medical"] + ] + """ + Type of insurance. + """ + price: NotRequired[int] + """ + Price of insurance in cents. + """ + + +class OrderUpdateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataTrainReservationDetailPassenger( + TypedDict, +): + family_name: NotRequired[str] + """ + The family name of the person. + """ + given_name: NotRequired[str] + """ + The given name of the person. + """ + + +class OrderUpdateParamsPaymentSettingsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataVoucher( + TypedDict, +): + affiliate_name: NotRequired[str] + """ + Name of associated or partner company for this voucher. + """ + ends_at: NotRequired[int] + """ + The voucher validity end time. + """ + starts_at: NotRequired[int] + """ + The voucher validity start time. + """ + voucher_company: NotRequired[str] + """ + The issuer or provider of this voucher. + """ + voucher_name: NotRequired[str] + """ + The name or reference to identify the voucher. + """ + voucher_type: NotRequired[ + Literal[ + "digital_product", + "discount", + "gift_card", + "physical_product", + "services", + ] + ] + """ + The type of this voucher. + """ + + class OrderUpdateParamsPaymentSettingsPaymentMethodOptionsLink(TypedDict): capture_method: NotRequired["Literal['']|Literal['manual']"] """ diff --git a/stripe/params/_payment_intent_capture_params.py b/stripe/params/_payment_intent_capture_params.py index c1f9d8123..2f1b43afb 100644 --- a/stripe/params/_payment_intent_capture_params.py +++ b/stripe/params/_payment_intent_capture_params.py @@ -60,7 +60,9 @@ class PaymentIntentCaptureParams(RequestOptions): class PaymentIntentCaptureParamsAmountDetails(TypedDict): discount_amount: NotRequired["Literal['']|int"] """ - The total discount applied on the transaction. + The total discount applied on the transaction represented in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal). An integer greater than 0. + + This field is mutually exclusive with the `amount_details[line_items][#][discount_amount]` field. """ line_items: NotRequired[ "Literal['']|List[PaymentIntentCaptureParamsAmountDetailsLineItem]" @@ -83,7 +85,9 @@ class PaymentIntentCaptureParamsAmountDetails(TypedDict): class PaymentIntentCaptureParamsAmountDetailsLineItem(TypedDict): discount_amount: NotRequired[int] """ - The amount an item was discounted for. Positive integer. + The discount applied on this line item represented in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal). An integer greater than 0. + + This field is mutually exclusive with the `amount_details[discount_amount]` field. """ payment_method_options: NotRequired[ "PaymentIntentCaptureParamsAmountDetailsLineItemPaymentMethodOptions" @@ -93,15 +97,17 @@ class PaymentIntentCaptureParamsAmountDetailsLineItem(TypedDict): """ product_code: NotRequired[str] """ - Unique identifier of the product. At most 12 characters long. + The product code of the line item, such as an SKU. Required for L3 rates. At most 12 characters long. """ product_name: str """ - Name of the product. At most 100 characters long. + The product name of the line item. Required for L3 rates. At most 1024 characters long. + + For Cards, this field is truncated to 26 alphanumeric characters before being sent to the card networks. For Paypal, this field is truncated to 127 characters. """ quantity: int """ - Number of items of the product. Positive integer. + The quantity of items. Required for L3 rates. An integer greater than 0. """ tax: NotRequired["PaymentIntentCaptureParamsAmountDetailsLineItemTax"] """ @@ -109,7 +115,7 @@ class PaymentIntentCaptureParamsAmountDetailsLineItem(TypedDict): """ unit_cost: int """ - Cost of the product. Non-negative integer. + The unit cost of the line item represented in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal). Required for L3 rates. An integer greater than or equal to 0. """ unit_of_measure: NotRequired[str] """ @@ -207,29 +213,33 @@ class PaymentIntentCaptureParamsAmountDetailsLineItemPaymentMethodOptionsPaypal( class PaymentIntentCaptureParamsAmountDetailsLineItemTax(TypedDict): total_tax_amount: int """ - The total tax on an item. Non-negative integer. + The total amount of tax on a single line item represented in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal). Required for L3 rates. An integer greater than or equal to 0. + + This field is mutually exclusive with the `amount_details[tax][total_tax_amount]` field. """ class PaymentIntentCaptureParamsAmountDetailsShipping(TypedDict): amount: NotRequired["Literal['']|int"] """ - Portion of the amount that is for shipping. + If a physical good is being shipped, the cost of shipping represented in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal). An integer greater than or equal to 0. """ from_postal_code: NotRequired["Literal['']|str"] """ - The postal code that represents the shipping source. + If a physical good is being shipped, the postal code of where it is being shipped from. At most 10 alphanumeric characters long, hyphens are allowed. """ to_postal_code: NotRequired["Literal['']|str"] """ - The postal code that represents the shipping destination. + If a physical good is being shipped, the postal code of where it is being shipped to. At most 10 alphanumeric characters long, hyphens are allowed. """ class PaymentIntentCaptureParamsAmountDetailsTax(TypedDict): total_tax_amount: int """ - Total portion of the amount that is for tax. + The total amount of tax on the transaction represented in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal). Required for L2 rates. An integer greater than or equal to 0. + + This field is mutually exclusive with the `amount_details[line_items][#][tax][total_tax_amount]` field. """ @@ -261,9 +271,17 @@ class PaymentIntentCaptureParamsPaymentDetails(TypedDict): """ Car rental details for this PaymentIntent. """ + car_rental_data: NotRequired[ + "Literal['']|List[PaymentIntentCaptureParamsPaymentDetailsCarRentalDatum]" + ] + """ + Car rental data for this PaymentIntent. + """ customer_reference: NotRequired["Literal['']|str"] """ - Some customers might be required by their company or organization to provide this information. If so, provide this value. Otherwise you can ignore this field. + A unique value to identify the customer. This field is available only for card payments. + + This field is truncated to 25 alphanumeric characters, excluding spaces, before being sent to card networks. """ event_details: NotRequired[ "PaymentIntentCaptureParamsPaymentDetailsEventDetails" @@ -275,13 +293,29 @@ class PaymentIntentCaptureParamsPaymentDetails(TypedDict): """ Flight reservation details for this PaymentIntent """ + flight_data: NotRequired[ + "Literal['']|List[PaymentIntentCaptureParamsPaymentDetailsFlightDatum]" + ] + """ + Flight data for this PaymentIntent. + """ lodging: NotRequired["PaymentIntentCaptureParamsPaymentDetailsLodging"] """ Lodging reservation details for this PaymentIntent """ + lodging_data: NotRequired[ + "Literal['']|List[PaymentIntentCaptureParamsPaymentDetailsLodgingDatum]" + ] + """ + Lodging data for this PaymentIntent. + """ order_reference: NotRequired["Literal['']|str"] """ - A unique value assigned by the business to identify the transaction. + A unique value assigned by the business to identify the transaction. Required for L2 and L3 rates. + + Required when the Payment Method Types array contains `card`, including when [automatic_payment_methods.enabled](https://docs.stripe.com/api/payment_intents/create#create_payment_intent-automatic_payment_methods-enabled) is set to `true`. + + For Cards, this field is truncated to 25 alphanumeric characters, excluding spaces, before being sent to card networks. For Klarna, this field is truncated to 255 characters and is visible to customers when they view the order in the Klarna app. """ subscription: NotRequired[ "PaymentIntentCaptureParamsPaymentDetailsSubscription" @@ -533,6 +567,441 @@ class PaymentIntentCaptureParamsPaymentDetailsCarRentalReturnAddress( """ +class PaymentIntentCaptureParamsPaymentDetailsCarRentalDatum(TypedDict): + affiliate: NotRequired[ + "PaymentIntentCaptureParamsPaymentDetailsCarRentalDatumAffiliate" + ] + """ + Affiliate (such as travel agency) details for the rental. + """ + booking_number: NotRequired[str] + """ + Booking confirmation number for the car rental. + """ + carrier_name: NotRequired[str] + """ + Name of the car rental company. + """ + customer_service_phone_number: NotRequired[str] + """ + Customer service phone number for the car rental company. + """ + days_rented: NotRequired[int] + """ + Number of days the car is being rented. + """ + distance: NotRequired[ + "PaymentIntentCaptureParamsPaymentDetailsCarRentalDatumDistance" + ] + """ + Distance details for the rental. + """ + drivers: NotRequired[ + List["PaymentIntentCaptureParamsPaymentDetailsCarRentalDatumDriver"] + ] + """ + List of drivers for the rental. + """ + drop_off: "PaymentIntentCaptureParamsPaymentDetailsCarRentalDatumDropOff" + """ + Drop-off location details. + """ + insurances: NotRequired[ + List["PaymentIntentCaptureParamsPaymentDetailsCarRentalDatumInsurance"] + ] + """ + Insurance details for the rental. + """ + no_show_indicator: NotRequired[bool] + """ + Indicates if the customer was a no-show. + """ + pickup: "PaymentIntentCaptureParamsPaymentDetailsCarRentalDatumPickup" + """ + Pickup location details. + """ + renter_name: NotRequired[str] + """ + Name of the person renting the vehicle. + """ + total: "PaymentIntentCaptureParamsPaymentDetailsCarRentalDatumTotal" + """ + Total cost breakdown for the rental. + """ + vehicle: NotRequired[ + "PaymentIntentCaptureParamsPaymentDetailsCarRentalDatumVehicle" + ] + """ + Vehicle details for the rental. + """ + + +class PaymentIntentCaptureParamsPaymentDetailsCarRentalDatumAffiliate( + TypedDict, +): + code: NotRequired[str] + """ + Affiliate partner code. + """ + name: NotRequired[str] + """ + Name of affiliate partner. + """ + + +class PaymentIntentCaptureParamsPaymentDetailsCarRentalDatumDistance( + TypedDict +): + amount: int + """ + Distance traveled. + """ + unit: Literal["kilometers", "miles"] + """ + Unit of measurement for the distance traveled. One of `miles` or `kilometers`. + """ + + +class PaymentIntentCaptureParamsPaymentDetailsCarRentalDatumDriver(TypedDict): + date_of_birth: NotRequired[ + "PaymentIntentCaptureParamsPaymentDetailsCarRentalDatumDriverDateOfBirth" + ] + """ + Driver's date of birth. + """ + driver_identification_number: NotRequired[str] + """ + Driver's identification number. + """ + driver_tax_number: NotRequired[str] + """ + Driver's tax number. + """ + name: str + """ + Driver's full name. + """ + + +class PaymentIntentCaptureParamsPaymentDetailsCarRentalDatumDriverDateOfBirth( + TypedDict, +): + day: int + """ + Day of birth (1-31). + """ + month: int + """ + Month of birth (1-12). + """ + year: int + """ + Year of birth (must be greater than 1900). + """ + + +class PaymentIntentCaptureParamsPaymentDetailsCarRentalDatumDropOff(TypedDict): + address: ( + "PaymentIntentCaptureParamsPaymentDetailsCarRentalDatumDropOffAddress" + ) + """ + Address of the rental location. + """ + location_name: NotRequired[str] + """ + Location name. + """ + time: int + """ + Timestamp for the location. + """ + + +class PaymentIntentCaptureParamsPaymentDetailsCarRentalDatumDropOffAddress( + TypedDict, +): + city: str + """ + City, district, suburb, town, or village. + """ + country: str + """ + Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). + """ + line1: str + """ + Address line 1, such as the street, PO Box, or company name. + """ + line2: NotRequired[str] + """ + Address line 2, such as the apartment, suite, unit, or building. + """ + postal_code: str + """ + ZIP or postal code. + """ + state: NotRequired[str] + """ + State, county, province, or region. + """ + + +class PaymentIntentCaptureParamsPaymentDetailsCarRentalDatumInsurance( + TypedDict, +): + amount: int + """ + Amount of the insurance coverage in cents. + """ + currency: NotRequired[str] + """ + Currency of the insurance amount. + """ + insurance_company_name: NotRequired[str] + """ + Name of the insurance company. + """ + insurance_type: Literal[ + "liability_supplement", + "loss_damage_waiver", + "other", + "partial_damage_waiver", + "personal_accident", + "personal_effects", + ] + """ + Type of insurance coverage. + """ + + +class PaymentIntentCaptureParamsPaymentDetailsCarRentalDatumPickup(TypedDict): + address: ( + "PaymentIntentCaptureParamsPaymentDetailsCarRentalDatumPickupAddress" + ) + """ + Address of the rental location. + """ + location_name: NotRequired[str] + """ + Location name. + """ + time: int + """ + Timestamp for the location. + """ + + +class PaymentIntentCaptureParamsPaymentDetailsCarRentalDatumPickupAddress( + TypedDict, +): + city: str + """ + City, district, suburb, town, or village. + """ + country: str + """ + Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). + """ + line1: str + """ + Address line 1, such as the street, PO Box, or company name. + """ + line2: NotRequired[str] + """ + Address line 2, such as the apartment, suite, unit, or building. + """ + postal_code: str + """ + ZIP or postal code. + """ + state: NotRequired[str] + """ + State, county, province, or region. + """ + + +class PaymentIntentCaptureParamsPaymentDetailsCarRentalDatumTotal(TypedDict): + amount: int + """ + Total amount in cents. + """ + currency: NotRequired[str] + """ + Currency of the amount. + """ + discounts: NotRequired[ + "PaymentIntentCaptureParamsPaymentDetailsCarRentalDatumTotalDiscounts" + ] + """ + Discount details for the rental. + """ + extra_charges: NotRequired[ + List[ + "PaymentIntentCaptureParamsPaymentDetailsCarRentalDatumTotalExtraCharge" + ] + ] + """ + Additional charges for the rental. + """ + rate_per_unit: NotRequired[int] + """ + Rate per unit for the rental. + """ + rate_unit: NotRequired[ + Literal["days", "kilometers", "miles", "months", "weeks"] + ] + """ + Unit of measurement for the rate. + """ + tax: NotRequired[ + "PaymentIntentCaptureParamsPaymentDetailsCarRentalDatumTotalTax" + ] + """ + Tax breakdown for the rental. + """ + + +class PaymentIntentCaptureParamsPaymentDetailsCarRentalDatumTotalDiscounts( + TypedDict, +): + corporate_client_code: NotRequired[str] + """ + Corporate client discount code. + """ + coupon: NotRequired[str] + """ + Coupon code applied to the rental. + """ + maximum_free_miles_or_kilometers: NotRequired[int] + """ + Maximum number of free miles or kilometers included. + """ + + +class PaymentIntentCaptureParamsPaymentDetailsCarRentalDatumTotalExtraCharge( + TypedDict, +): + amount: int + """ + Amount of the extra charge in cents. + """ + type: Literal[ + "extra_mileage", + "gas", + "gps", + "late_charge", + "one_way_drop_off", + "other", + "parking", + "phone", + "regular_mileage", + "towing", + ] + """ + Type of extra charge. + """ + + +class PaymentIntentCaptureParamsPaymentDetailsCarRentalDatumTotalTax( + TypedDict +): + tax_exempt_indicator: NotRequired[bool] + """ + Indicates if the transaction is tax exempt. + """ + taxes: NotRequired[ + List[ + "PaymentIntentCaptureParamsPaymentDetailsCarRentalDatumTotalTaxTax" + ] + ] + """ + Array of tax details. + """ + + +class PaymentIntentCaptureParamsPaymentDetailsCarRentalDatumTotalTaxTax( + TypedDict, +): + amount: NotRequired[int] + """ + Tax amount. + """ + rate: NotRequired[int] + """ + Tax rate applied. + """ + type: NotRequired[str] + """ + Type of tax applied. + """ + + +class PaymentIntentCaptureParamsPaymentDetailsCarRentalDatumVehicle(TypedDict): + make: NotRequired[str] + """ + Make of the rental vehicle. + """ + model: NotRequired[str] + """ + Model of the rental vehicle. + """ + odometer: NotRequired[int] + """ + Odometer reading at the time of rental. + """ + type: NotRequired[ + Literal[ + "cargo_van", + "compact", + "economy", + "exotic", + "exotic_suv", + "fifteen_passenger_van", + "four_wheel_drive", + "full_size", + "intermediate", + "large_suv", + "large_truck", + "luxury", + "medium_suv", + "midsize", + "mini", + "minivan", + "miscellaneous", + "moped", + "moving_van", + "premium", + "regular", + "small_medium_truck", + "small_suv", + "special", + "standard", + "stretch", + "subcompact", + "taxi", + "twelve_foot_truck", + "twelve_passenger_van", + "twenty_foot_truck", + "twenty_four_foot_truck", + "twenty_six_foot_truck", + "unique", + ] + ] + """ + Type of the rental vehicle. + """ + vehicle_class: NotRequired[ + Literal["business", "economy", "first_class", "premium_economy"] + ] + """ + Class of the rental vehicle. + """ + vehicle_identification_number: NotRequired[str] + """ + Vehicle identification number (VIN). + """ + + class PaymentIntentCaptureParamsPaymentDetailsEventDetails(TypedDict): access_controlled_venue: NotRequired[bool] """ @@ -764,16 +1233,318 @@ class PaymentIntentCaptureParamsPaymentDetailsFlightSegment(TypedDict): """ -class PaymentIntentCaptureParamsPaymentDetailsLodging(TypedDict): - address: NotRequired[ - "PaymentIntentCaptureParamsPaymentDetailsLodgingAddress" +class PaymentIntentCaptureParamsPaymentDetailsFlightDatum(TypedDict): + affiliate: NotRequired[ + "PaymentIntentCaptureParamsPaymentDetailsFlightDatumAffiliate" ] """ - The lodging location's address. + Affiliate details if applicable. """ - adults: NotRequired[int] + booking_number: NotRequired[str] """ - The number of adults on the booking + Reservation reference. + """ + computerized_reservation_system: NotRequired[str] + """ + Computerized reservation system used to make the reservation and purchase the ticket. + """ + endorsements_and_restrictions: NotRequired[str] + """ + Ticket restrictions. + """ + insurances: NotRequired[ + List["PaymentIntentCaptureParamsPaymentDetailsFlightDatumInsurance"] + ] + """ + List of insurances. + """ + passengers: NotRequired[ + List["PaymentIntentCaptureParamsPaymentDetailsFlightDatumPassenger"] + ] + """ + List of passengers. + """ + segments: List[ + "PaymentIntentCaptureParamsPaymentDetailsFlightDatumSegment" + ] + """ + List of flight segments. + """ + ticket_electronically_issued_indicator: NotRequired[bool] + """ + Electronic ticket indicator. + """ + total: "PaymentIntentCaptureParamsPaymentDetailsFlightDatumTotal" + """ + Total cost breakdown. + """ + transaction_type: NotRequired[ + Literal[ + "exchange_ticket", "miscellaneous", "refund", "ticket_purchase" + ] + ] + """ + Type of flight transaction. + """ + + +class PaymentIntentCaptureParamsPaymentDetailsFlightDatumAffiliate(TypedDict): + code: NotRequired[str] + """ + Affiliate partner code. + """ + name: NotRequired[str] + """ + Name of affiliate partner. + """ + travel_authorization_code: NotRequired[str] + """ + Code provided by the company to a travel agent authorizing ticket issuance. + """ + + +class PaymentIntentCaptureParamsPaymentDetailsFlightDatumInsurance(TypedDict): + amount: int + """ + Insurance cost. + """ + currency: NotRequired[str] + """ + Insurance currency. + """ + insurance_company_name: NotRequired[str] + """ + Insurance company name. + """ + insurance_type: Literal[ + "baggage", "bankruptcy", "cancelation", "emergency", "medical" + ] + """ + Type of insurance. + """ + + +class PaymentIntentCaptureParamsPaymentDetailsFlightDatumPassenger(TypedDict): + name: str + """ + Passenger's full name. + """ + + +class PaymentIntentCaptureParamsPaymentDetailsFlightDatumSegment(TypedDict): + amount: NotRequired[int] + """ + Segment fare amount. + """ + arrival: ( + "PaymentIntentCaptureParamsPaymentDetailsFlightDatumSegmentArrival" + ) + """ + Arrival details. + """ + carrier_code: str + """ + Airline carrier code. + """ + carrier_name: NotRequired[str] + """ + Carrier name. + """ + currency: NotRequired[str] + """ + Segment currency. + """ + departure: ( + "PaymentIntentCaptureParamsPaymentDetailsFlightDatumSegmentDeparture" + ) + """ + Departure details. + """ + exchange_ticket_number: NotRequired[str] + """ + Exchange ticket number. + """ + fare_basis_code: NotRequired[str] + """ + Fare basis code. + """ + fees: NotRequired[int] + """ + Additional fees. + """ + flight_number: NotRequired[str] + """ + Flight number. + """ + is_stop_over_indicator: NotRequired[bool] + """ + Stopover indicator. + """ + refundable: NotRequired[bool] + """ + Refundable ticket indicator. + """ + service_class: Literal[ + "business", "economy", "first_class", "premium_economy" + ] + """ + Class of service. + """ + tax_amount: NotRequired[int] + """ + Tax amount for segment. + """ + ticket_number: NotRequired[str] + """ + Ticket number. + """ + + +class PaymentIntentCaptureParamsPaymentDetailsFlightDatumSegmentArrival( + TypedDict, +): + airport: str + """ + Arrival airport IATA code. + """ + arrives_at: NotRequired[int] + """ + Arrival date/time. + """ + city: NotRequired[str] + """ + Arrival city. + """ + country: NotRequired[str] + """ + Arrival country. + """ + + +class PaymentIntentCaptureParamsPaymentDetailsFlightDatumSegmentDeparture( + TypedDict, +): + airport: str + """ + Departure airport IATA code. + """ + city: NotRequired[str] + """ + Departure city. + """ + country: NotRequired[str] + """ + Departure country. + """ + departs_at: int + """ + Departure date/time. + """ + + +class PaymentIntentCaptureParamsPaymentDetailsFlightDatumTotal(TypedDict): + amount: int + """ + Total flight amount. + """ + credit_reason: NotRequired[ + Literal[ + "other", + "partial_ticket_refund", + "passenger_transport_ancillary_cancellation", + "ticket_and_ancillary_cancellation", + "ticket_cancellation", + ] + ] + """ + Reason for credit. + """ + currency: NotRequired[str] + """ + Total currency. + """ + discounts: NotRequired[ + "PaymentIntentCaptureParamsPaymentDetailsFlightDatumTotalDiscounts" + ] + """ + Discount details. + """ + extra_charges: NotRequired[ + List[ + "PaymentIntentCaptureParamsPaymentDetailsFlightDatumTotalExtraCharge" + ] + ] + """ + Additional charges. + """ + tax: NotRequired[ + "PaymentIntentCaptureParamsPaymentDetailsFlightDatumTotalTax" + ] + """ + Tax breakdown. + """ + + +class PaymentIntentCaptureParamsPaymentDetailsFlightDatumTotalDiscounts( + TypedDict, +): + corporate_client_code: NotRequired[str] + """ + Corporate client discount code. + """ + + +class PaymentIntentCaptureParamsPaymentDetailsFlightDatumTotalExtraCharge( + TypedDict, +): + amount: NotRequired[int] + """ + Amount of additional charges. + """ + type: NotRequired[ + Literal["additional_fees", "ancillary_service_charges", "exchange_fee"] + ] + """ + Type of additional charges. + """ + + +class PaymentIntentCaptureParamsPaymentDetailsFlightDatumTotalTax(TypedDict): + taxes: NotRequired[ + List["PaymentIntentCaptureParamsPaymentDetailsFlightDatumTotalTaxTax"] + ] + """ + Array of tax details. + """ + + +class PaymentIntentCaptureParamsPaymentDetailsFlightDatumTotalTaxTax( + TypedDict +): + amount: NotRequired[int] + """ + Tax amount. + """ + rate: NotRequired[int] + """ + Tax rate. + """ + type: NotRequired[str] + """ + Type of tax. + """ + + +class PaymentIntentCaptureParamsPaymentDetailsLodging(TypedDict): + address: NotRequired[ + "PaymentIntentCaptureParamsPaymentDetailsLodgingAddress" + ] + """ + The lodging location's address. + """ + adults: NotRequired[int] + """ + The number of adults on the booking """ affiliate: NotRequired[ "PaymentIntentCaptureParamsPaymentDetailsLodgingAffiliate" @@ -941,6 +1712,325 @@ class PaymentIntentCaptureParamsPaymentDetailsLodgingPassenger(TypedDict): """ +class PaymentIntentCaptureParamsPaymentDetailsLodgingDatum(TypedDict): + accommodation: NotRequired[ + "PaymentIntentCaptureParamsPaymentDetailsLodgingDatumAccommodation" + ] + """ + Accommodation details for the lodging. + """ + affiliate: NotRequired[ + "PaymentIntentCaptureParamsPaymentDetailsLodgingDatumAffiliate" + ] + """ + Affiliate details if applicable. + """ + booking_number: NotRequired[str] + """ + Booking confirmation number for the lodging. + """ + checkin_at: int + """ + Check-in date. + """ + checkout_at: int + """ + Check-out date. + """ + customer_service_phone_number: NotRequired[str] + """ + Customer service phone number for the lodging company. + """ + fire_safety_act_compliance_indicator: NotRequired[bool] + """ + Whether the lodging is compliant with any hotel fire safety regulations. + """ + guests: NotRequired[ + List["PaymentIntentCaptureParamsPaymentDetailsLodgingDatumGuest"] + ] + """ + List of guests for the lodging. + """ + host: NotRequired[ + "PaymentIntentCaptureParamsPaymentDetailsLodgingDatumHost" + ] + """ + Host details for the lodging. + """ + insurances: NotRequired[ + List["PaymentIntentCaptureParamsPaymentDetailsLodgingDatumInsurance"] + ] + """ + List of insurances for the lodging. + """ + no_show_indicator: NotRequired[bool] + """ + Whether the renter is a no-show. + """ + renter_id_number: NotRequired[str] + """ + Renter ID number for the lodging. + """ + renter_name: NotRequired[str] + """ + Renter name for the lodging. + """ + total: "PaymentIntentCaptureParamsPaymentDetailsLodgingDatumTotal" + """ + Total details for the lodging. + """ + + +class PaymentIntentCaptureParamsPaymentDetailsLodgingDatumAccommodation( + TypedDict, +): + accommodation_type: NotRequired[ + Literal[ + "apartment", + "cabana", + "house", + "penthouse", + "room", + "standard", + "suite", + "villa", + ] + ] + """ + Type of accommodation. + """ + bed_type: NotRequired[str] + """ + Bed type. + """ + daily_rate_amount: NotRequired[int] + """ + Daily accommodation rate in cents. + """ + nights: NotRequired[int] + """ + Number of nights. + """ + number_of_rooms: NotRequired[int] + """ + Number of rooms, cabanas, apartments, and so on. + """ + rate_type: NotRequired[str] + """ + Rate type. + """ + smoking_indicator: NotRequired[bool] + """ + Whether smoking is allowed. + """ + + +class PaymentIntentCaptureParamsPaymentDetailsLodgingDatumAffiliate(TypedDict): + code: NotRequired[str] + """ + Affiliate partner code. + """ + name: NotRequired[str] + """ + Affiliate partner name. + """ + + +class PaymentIntentCaptureParamsPaymentDetailsLodgingDatumGuest(TypedDict): + name: str + """ + Guest's full name. + """ + + +class PaymentIntentCaptureParamsPaymentDetailsLodgingDatumHost(TypedDict): + address: NotRequired[ + "PaymentIntentCaptureParamsPaymentDetailsLodgingDatumHostAddress" + ] + """ + Address of the host. + """ + country_of_domicile: NotRequired[str] + """ + Host's country of domicile. + """ + host_reference: NotRequired[str] + """ + Reference number for the host. + """ + host_type: NotRequired[ + Literal["hostel", "hotel", "owner", "rental_agency"] + ] + """ + Type of host. + """ + name: NotRequired[str] + """ + Name of the lodging property or host. + """ + number_of_reservations: NotRequired[int] + """ + Total number of reservations for the host. + """ + property_phone_number: NotRequired[str] + """ + Property phone number. + """ + registered_at: NotRequired[int] + """ + Host's registration date. + """ + + +class PaymentIntentCaptureParamsPaymentDetailsLodgingDatumHostAddress( + TypedDict, +): + city: str + """ + City, district, suburb, town, or village. + """ + country: str + """ + Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). + """ + line1: str + """ + Address line 1, such as the street, PO Box, or company name. + """ + line2: NotRequired[str] + """ + Address line 2, such as the apartment, suite, unit, or building. + """ + postal_code: str + """ + ZIP or postal code. + """ + state: NotRequired[str] + """ + State, county, province, or region. + """ + + +class PaymentIntentCaptureParamsPaymentDetailsLodgingDatumInsurance(TypedDict): + amount: int + """ + Price of the insurance coverage in cents. + """ + currency: NotRequired[str] + """ + Currency of the insurance amount. + """ + insurance_company_name: NotRequired[str] + """ + Name of the insurance company. + """ + insurance_type: Literal[ + "bankruptcy", "cancelation", "emergency", "medical" + ] + """ + Type of insurance coverage. + """ + + +class PaymentIntentCaptureParamsPaymentDetailsLodgingDatumTotal(TypedDict): + amount: int + """ + Total price of the lodging reservation in cents. + """ + cash_advances: NotRequired[int] + """ + Cash advances in cents. + """ + currency: NotRequired[str] + """ + Currency of the total amount. + """ + discounts: NotRequired[ + "PaymentIntentCaptureParamsPaymentDetailsLodgingDatumTotalDiscounts" + ] + """ + Discount details for the lodging. + """ + extra_charges: NotRequired[ + List[ + "PaymentIntentCaptureParamsPaymentDetailsLodgingDatumTotalExtraCharge" + ] + ] + """ + Additional charges for the lodging. + """ + prepaid_amount: NotRequired[int] + """ + Prepaid amount in cents. + """ + tax: NotRequired[ + "PaymentIntentCaptureParamsPaymentDetailsLodgingDatumTotalTax" + ] + """ + Tax breakdown for the lodging reservation. + """ + + +class PaymentIntentCaptureParamsPaymentDetailsLodgingDatumTotalDiscounts( + TypedDict, +): + corporate_client_code: NotRequired[str] + """ + Corporate client discount code. + """ + coupon: NotRequired[str] + """ + Coupon code. + """ + + +class PaymentIntentCaptureParamsPaymentDetailsLodgingDatumTotalExtraCharge( + TypedDict, +): + amount: NotRequired[int] + """ + Amount of the extra charge in cents. + """ + type: NotRequired[ + Literal[ + "gift_shop", "laundry", "mini_bar", "other", "phone", "restaurant" + ] + ] + """ + Type of extra charge. + """ + + +class PaymentIntentCaptureParamsPaymentDetailsLodgingDatumTotalTax(TypedDict): + tax_exempt_indicator: NotRequired[bool] + """ + Indicates whether the transaction is tax exempt. + """ + taxes: NotRequired[ + List["PaymentIntentCaptureParamsPaymentDetailsLodgingDatumTotalTaxTax"] + ] + """ + Tax details. + """ + + +class PaymentIntentCaptureParamsPaymentDetailsLodgingDatumTotalTaxTax( + TypedDict, +): + amount: NotRequired[int] + """ + Tax amount in cents. + """ + rate: NotRequired[int] + """ + Tax rate. + """ + type: NotRequired[str] + """ + Type of tax applied. + """ + + class PaymentIntentCaptureParamsPaymentDetailsSubscription(TypedDict): affiliate: NotRequired[ "PaymentIntentCaptureParamsPaymentDetailsSubscriptionAffiliate" diff --git a/stripe/params/_payment_intent_confirm_params.py b/stripe/params/_payment_intent_confirm_params.py index a7a935dc6..67775a0e8 100644 --- a/stripe/params/_payment_intent_confirm_params.py +++ b/stripe/params/_payment_intent_confirm_params.py @@ -6,6 +6,10 @@ class PaymentIntentConfirmParams(RequestOptions): + allocated_funds: NotRequired["PaymentIntentConfirmParamsAllocatedFunds"] + """ + Allocated Funds configuration for this PaymentIntent. + """ amount_details: NotRequired[ "Literal['']|PaymentIntentConfirmParamsAmountDetails" ] @@ -126,16 +130,21 @@ class PaymentIntentConfirmParams(RequestOptions): """ Set to `true` when confirming server-side and using Stripe.js, iOS, or Android client-side SDKs to handle the next actions. """ - allocated_funds: NotRequired["PaymentIntentConfirmParamsAllocatedFunds"] + + +class PaymentIntentConfirmParamsAllocatedFunds(TypedDict): + enabled: NotRequired[bool] """ - Allocated Funds configuration for this PaymentIntent. + Whether Allocated Funds creation is enabled for this PaymentIntent. """ class PaymentIntentConfirmParamsAmountDetails(TypedDict): discount_amount: NotRequired["Literal['']|int"] """ - The total discount applied on the transaction. + The total discount applied on the transaction represented in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal). An integer greater than 0. + + This field is mutually exclusive with the `amount_details[line_items][#][discount_amount]` field. """ line_items: NotRequired[ "Literal['']|List[PaymentIntentConfirmParamsAmountDetailsLineItem]" @@ -158,7 +167,9 @@ class PaymentIntentConfirmParamsAmountDetails(TypedDict): class PaymentIntentConfirmParamsAmountDetailsLineItem(TypedDict): discount_amount: NotRequired[int] """ - The amount an item was discounted for. Positive integer. + The discount applied on this line item represented in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal). An integer greater than 0. + + This field is mutually exclusive with the `amount_details[discount_amount]` field. """ payment_method_options: NotRequired[ "PaymentIntentConfirmParamsAmountDetailsLineItemPaymentMethodOptions" @@ -168,15 +179,17 @@ class PaymentIntentConfirmParamsAmountDetailsLineItem(TypedDict): """ product_code: NotRequired[str] """ - Unique identifier of the product. At most 12 characters long. + The product code of the line item, such as an SKU. Required for L3 rates. At most 12 characters long. """ product_name: str """ - Name of the product. At most 100 characters long. + The product name of the line item. Required for L3 rates. At most 1024 characters long. + + For Cards, this field is truncated to 26 alphanumeric characters before being sent to the card networks. For Paypal, this field is truncated to 127 characters. """ quantity: int """ - Number of items of the product. Positive integer. + The quantity of items. Required for L3 rates. An integer greater than 0. """ tax: NotRequired["PaymentIntentConfirmParamsAmountDetailsLineItemTax"] """ @@ -184,7 +197,7 @@ class PaymentIntentConfirmParamsAmountDetailsLineItem(TypedDict): """ unit_cost: int """ - Cost of the product. Non-negative integer. + The unit cost of the line item represented in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal). Required for L3 rates. An integer greater than or equal to 0. """ unit_of_measure: NotRequired[str] """ @@ -282,29 +295,33 @@ class PaymentIntentConfirmParamsAmountDetailsLineItemPaymentMethodOptionsPaypal( class PaymentIntentConfirmParamsAmountDetailsLineItemTax(TypedDict): total_tax_amount: int """ - The total tax on an item. Non-negative integer. + The total amount of tax on a single line item represented in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal). Required for L3 rates. An integer greater than or equal to 0. + + This field is mutually exclusive with the `amount_details[tax][total_tax_amount]` field. """ class PaymentIntentConfirmParamsAmountDetailsShipping(TypedDict): amount: NotRequired["Literal['']|int"] """ - Portion of the amount that is for shipping. + If a physical good is being shipped, the cost of shipping represented in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal). An integer greater than or equal to 0. """ from_postal_code: NotRequired["Literal['']|str"] """ - The postal code that represents the shipping source. + If a physical good is being shipped, the postal code of where it is being shipped from. At most 10 alphanumeric characters long, hyphens are allowed. """ to_postal_code: NotRequired["Literal['']|str"] """ - The postal code that represents the shipping destination. + If a physical good is being shipped, the postal code of where it is being shipped to. At most 10 alphanumeric characters long, hyphens are allowed. """ class PaymentIntentConfirmParamsAmountDetailsTax(TypedDict): total_tax_amount: int """ - Total portion of the amount that is for tax. + The total amount of tax on the transaction represented in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal). Required for L2 rates. An integer greater than or equal to 0. + + This field is mutually exclusive with the `amount_details[line_items][#][tax][total_tax_amount]` field. """ @@ -389,9 +406,17 @@ class PaymentIntentConfirmParamsPaymentDetails(TypedDict): """ Car rental details for this PaymentIntent. """ + car_rental_data: NotRequired[ + "Literal['']|List[PaymentIntentConfirmParamsPaymentDetailsCarRentalDatum]" + ] + """ + Car rental data for this PaymentIntent. + """ customer_reference: NotRequired["Literal['']|str"] """ - Some customers might be required by their company or organization to provide this information. If so, provide this value. Otherwise you can ignore this field. + A unique value to identify the customer. This field is available only for card payments. + + This field is truncated to 25 alphanumeric characters, excluding spaces, before being sent to card networks. """ event_details: NotRequired[ "PaymentIntentConfirmParamsPaymentDetailsEventDetails" @@ -403,13 +428,29 @@ class PaymentIntentConfirmParamsPaymentDetails(TypedDict): """ Flight reservation details for this PaymentIntent """ + flight_data: NotRequired[ + "Literal['']|List[PaymentIntentConfirmParamsPaymentDetailsFlightDatum]" + ] + """ + Flight data for this PaymentIntent. + """ lodging: NotRequired["PaymentIntentConfirmParamsPaymentDetailsLodging"] """ Lodging reservation details for this PaymentIntent """ + lodging_data: NotRequired[ + "Literal['']|List[PaymentIntentConfirmParamsPaymentDetailsLodgingDatum]" + ] + """ + Lodging data for this PaymentIntent. + """ order_reference: NotRequired["Literal['']|str"] """ - A unique value assigned by the business to identify the transaction. + A unique value assigned by the business to identify the transaction. Required for L2 and L3 rates. + + Required when the Payment Method Types array contains `card`, including when [automatic_payment_methods.enabled](https://docs.stripe.com/api/payment_intents/create#create_payment_intent-automatic_payment_methods-enabled) is set to `true`. + + For Cards, this field is truncated to 25 alphanumeric characters, excluding spaces, before being sent to card networks. For Klarna, this field is truncated to 255 characters and is visible to customers when they view the order in the Klarna app. """ subscription: NotRequired[ "PaymentIntentConfirmParamsPaymentDetailsSubscription" @@ -677,344 +718,487 @@ class PaymentIntentConfirmParamsPaymentDetailsCarRentalReturnAddress( """ -class PaymentIntentConfirmParamsPaymentDetailsEventDetails(TypedDict): - access_controlled_venue: NotRequired[bool] +class PaymentIntentConfirmParamsPaymentDetailsCarRentalDatum(TypedDict): + affiliate: NotRequired[ + "PaymentIntentConfirmParamsPaymentDetailsCarRentalDatumAffiliate" + ] """ - Indicates if the tickets are digitally checked when entering the venue. + Affiliate (such as travel agency) details for the rental. """ - address: NotRequired[ - "PaymentIntentConfirmParamsPaymentDetailsEventDetailsAddress" - ] + booking_number: NotRequired[str] """ - The event location's address. + Booking confirmation number for the car rental. """ - affiliate: NotRequired[ - "PaymentIntentConfirmParamsPaymentDetailsEventDetailsAffiliate" - ] + carrier_name: NotRequired[str] """ - Affiliate details for this purchase. + Name of the car rental company. """ - company: NotRequired[str] + customer_service_phone_number: NotRequired[str] """ - The name of the company + Customer service phone number for the car rental company. """ - delivery: NotRequired[ - "PaymentIntentConfirmParamsPaymentDetailsEventDetailsDelivery" + days_rented: NotRequired[int] + """ + Number of days the car is being rented. + """ + distance: NotRequired[ + "PaymentIntentConfirmParamsPaymentDetailsCarRentalDatumDistance" ] """ - Delivery details for this purchase. + Distance details for the rental. """ - ends_at: NotRequired[int] + drivers: NotRequired[ + List["PaymentIntentConfirmParamsPaymentDetailsCarRentalDatumDriver"] + ] """ - Event end time. Measured in seconds since the Unix epoch. + List of drivers for the rental. """ - genre: NotRequired[str] + drop_off: "PaymentIntentConfirmParamsPaymentDetailsCarRentalDatumDropOff" """ - Type of the event entertainment (concert, sports event etc) + Drop-off location details. """ - name: str + insurances: NotRequired[ + List["PaymentIntentConfirmParamsPaymentDetailsCarRentalDatumInsurance"] + ] """ - The name of the event. + Insurance details for the rental. """ - starts_at: NotRequired[int] + no_show_indicator: NotRequired[bool] """ - Event start time. Measured in seconds since the Unix epoch. + Indicates if the customer was a no-show. """ - - -class PaymentIntentConfirmParamsPaymentDetailsEventDetailsAddress(TypedDict): - city: NotRequired[str] + pickup: "PaymentIntentConfirmParamsPaymentDetailsCarRentalDatumPickup" """ - City, district, suburb, town, or village. + Pickup location details. """ - country: NotRequired[str] + renter_name: NotRequired[str] """ - Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). + Name of the person renting the vehicle. """ - line1: NotRequired[str] + total: "PaymentIntentConfirmParamsPaymentDetailsCarRentalDatumTotal" """ - Address line 1, such as the street, PO Box, or company name. + Total cost breakdown for the rental. """ - line2: NotRequired[str] + vehicle: NotRequired[ + "PaymentIntentConfirmParamsPaymentDetailsCarRentalDatumVehicle" + ] """ - Address line 2, such as the apartment, suite, unit, or building. + Vehicle details for the rental. """ - postal_code: NotRequired[str] + + +class PaymentIntentConfirmParamsPaymentDetailsCarRentalDatumAffiliate( + TypedDict, +): + code: NotRequired[str] """ - ZIP or postal code. + Affiliate partner code. """ - state: NotRequired[str] + name: NotRequired[str] """ - State, county, province, or region. + Name of affiliate partner. """ -class PaymentIntentConfirmParamsPaymentDetailsEventDetailsAffiliate(TypedDict): - name: str +class PaymentIntentConfirmParamsPaymentDetailsCarRentalDatumDistance( + TypedDict +): + amount: int """ - The name of the affiliate that originated the purchase. + Distance traveled. + """ + unit: Literal["kilometers", "miles"] + """ + Unit of measurement for the distance traveled. One of `miles` or `kilometers`. """ -class PaymentIntentConfirmParamsPaymentDetailsEventDetailsDelivery(TypedDict): - mode: NotRequired[Literal["email", "phone", "pickup", "post"]] +class PaymentIntentConfirmParamsPaymentDetailsCarRentalDatumDriver(TypedDict): + date_of_birth: NotRequired[ + "PaymentIntentConfirmParamsPaymentDetailsCarRentalDatumDriverDateOfBirth" + ] """ - The delivery method for the payment + Driver's date of birth. """ - recipient: NotRequired[ - "PaymentIntentConfirmParamsPaymentDetailsEventDetailsDeliveryRecipient" - ] + driver_identification_number: NotRequired[str] """ - Details of the recipient. + Driver's identification number. + """ + driver_tax_number: NotRequired[str] + """ + Driver's tax number. + """ + name: str + """ + Driver's full name. """ -class PaymentIntentConfirmParamsPaymentDetailsEventDetailsDeliveryRecipient( +class PaymentIntentConfirmParamsPaymentDetailsCarRentalDatumDriverDateOfBirth( TypedDict, ): - email: NotRequired[str] + day: int """ - The email of the recipient the ticket is delivered to. + Day of birth (1-31). """ - name: NotRequired[str] + month: int """ - The name of the recipient the ticket is delivered to. + Month of birth (1-12). """ - phone: NotRequired[str] + year: int """ - The phone number of the recipient the ticket is delivered to. + Year of birth (must be greater than 1900). """ -class PaymentIntentConfirmParamsPaymentDetailsFlight(TypedDict): - affiliate: NotRequired[ - "PaymentIntentConfirmParamsPaymentDetailsFlightAffiliate" - ] +class PaymentIntentConfirmParamsPaymentDetailsCarRentalDatumDropOff(TypedDict): + address: ( + "PaymentIntentConfirmParamsPaymentDetailsCarRentalDatumDropOffAddress" + ) """ - Affiliate details for this purchase. + Address of the rental location. """ - agency_number: NotRequired[str] + location_name: NotRequired[str] """ - The agency number (i.e. International Air Transport Association (IATA) agency number) of the travel agency that made the booking. + Location name. """ - carrier: NotRequired[str] + time: int """ - The International Air Transport Association (IATA) carrier code of the carrier that issued the ticket. + Timestamp for the location. """ - delivery: NotRequired[ - "PaymentIntentConfirmParamsPaymentDetailsFlightDelivery" - ] + + +class PaymentIntentConfirmParamsPaymentDetailsCarRentalDatumDropOffAddress( + TypedDict, +): + city: str """ - Delivery details for this purchase. + City, district, suburb, town, or village. """ - passenger_name: NotRequired[str] + country: str """ - The name of the person or entity on the reservation. + Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). """ - passengers: NotRequired[ - List["PaymentIntentConfirmParamsPaymentDetailsFlightPassenger"] - ] + line1: str """ - The details of the passengers in the travel reservation. + Address line 1, such as the street, PO Box, or company name. """ - segments: List["PaymentIntentConfirmParamsPaymentDetailsFlightSegment"] + line2: NotRequired[str] """ - The individual flight segments associated with the trip. + Address line 2, such as the apartment, suite, unit, or building. """ - ticket_number: NotRequired[str] + postal_code: str """ - The ticket number associated with the travel reservation. + ZIP or postal code. """ - - -class PaymentIntentConfirmParamsPaymentDetailsFlightAffiliate(TypedDict): - name: str + state: NotRequired[str] """ - The name of the affiliate that originated the purchase. + State, county, province, or region. """ -class PaymentIntentConfirmParamsPaymentDetailsFlightDelivery(TypedDict): - mode: NotRequired[Literal["email", "phone", "pickup", "post"]] +class PaymentIntentConfirmParamsPaymentDetailsCarRentalDatumInsurance( + TypedDict, +): + amount: int """ - The delivery method for the payment + Amount of the insurance coverage in cents. """ - recipient: NotRequired[ - "PaymentIntentConfirmParamsPaymentDetailsFlightDeliveryRecipient" + currency: NotRequired[str] + """ + Currency of the insurance amount. + """ + insurance_company_name: NotRequired[str] + """ + Name of the insurance company. + """ + insurance_type: Literal[ + "liability_supplement", + "loss_damage_waiver", + "other", + "partial_damage_waiver", + "personal_accident", + "personal_effects", ] """ - Details of the recipient. + Type of insurance coverage. """ -class PaymentIntentConfirmParamsPaymentDetailsFlightDeliveryRecipient( - TypedDict, -): - email: NotRequired[str] +class PaymentIntentConfirmParamsPaymentDetailsCarRentalDatumPickup(TypedDict): + address: ( + "PaymentIntentConfirmParamsPaymentDetailsCarRentalDatumPickupAddress" + ) """ - The email of the recipient the ticket is delivered to. + Address of the rental location. """ - name: NotRequired[str] + location_name: NotRequired[str] """ - The name of the recipient the ticket is delivered to. + Location name. """ - phone: NotRequired[str] + time: int """ - The phone number of the recipient the ticket is delivered to. + Timestamp for the location. """ -class PaymentIntentConfirmParamsPaymentDetailsFlightPassenger(TypedDict): - name: str +class PaymentIntentConfirmParamsPaymentDetailsCarRentalDatumPickupAddress( + TypedDict, +): + city: str """ - Full name of the person or entity on the flight reservation. + City, district, suburb, town, or village. """ - - -class PaymentIntentConfirmParamsPaymentDetailsFlightSegment(TypedDict): - amount: NotRequired[int] + country: str """ - The flight segment amount. + Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). """ - arrival_airport: NotRequired[str] + line1: str """ - The International Air Transport Association (IATA) airport code for the arrival airport. + Address line 1, such as the street, PO Box, or company name. """ - arrives_at: NotRequired[int] + line2: NotRequired[str] """ - The arrival time for the flight segment. Measured in seconds since the Unix epoch. + Address line 2, such as the apartment, suite, unit, or building. """ - carrier: NotRequired[str] + postal_code: str """ - The International Air Transport Association (IATA) carrier code of the carrier operating the flight segment. + ZIP or postal code. """ - departs_at: int + state: NotRequired[str] """ - The departure time for the flight segment. Measured in seconds since the Unix epoch. + State, county, province, or region. """ - departure_airport: NotRequired[str] + + +class PaymentIntentConfirmParamsPaymentDetailsCarRentalDatumTotal(TypedDict): + amount: int """ - The International Air Transport Association (IATA) airport code for the departure airport. + Total amount in cents. """ - flight_number: NotRequired[str] + currency: NotRequired[str] """ - The flight number associated with the segment + Currency of the amount. """ - service_class: NotRequired[ - Literal["business", "economy", "first", "premium_economy"] + discounts: NotRequired[ + "PaymentIntentConfirmParamsPaymentDetailsCarRentalDatumTotalDiscounts" ] """ - The fare class for the segment. + Discount details for the rental. """ - - -class PaymentIntentConfirmParamsPaymentDetailsLodging(TypedDict): - address: NotRequired[ - "PaymentIntentConfirmParamsPaymentDetailsLodgingAddress" + extra_charges: NotRequired[ + List[ + "PaymentIntentConfirmParamsPaymentDetailsCarRentalDatumTotalExtraCharge" + ] ] """ - The lodging location's address. + Additional charges for the rental. """ - adults: NotRequired[int] + rate_per_unit: NotRequired[int] """ - The number of adults on the booking + Rate per unit for the rental. """ - affiliate: NotRequired[ - "PaymentIntentConfirmParamsPaymentDetailsLodgingAffiliate" + rate_unit: NotRequired[ + Literal["days", "kilometers", "miles", "months", "weeks"] ] """ - Affiliate details for this purchase. - """ - booking_number: NotRequired[str] + Unit of measurement for the rate. """ - The booking number associated with the lodging reservation. + tax: NotRequired[ + "PaymentIntentConfirmParamsPaymentDetailsCarRentalDatumTotalTax" + ] """ - category: NotRequired[Literal["hotel", "vacation_rental"]] + Tax breakdown for the rental. """ - The lodging category + + +class PaymentIntentConfirmParamsPaymentDetailsCarRentalDatumTotalDiscounts( + TypedDict, +): + corporate_client_code: NotRequired[str] """ - checkin_at: int + Corporate client discount code. """ - Lodging check-in time. Measured in seconds since the Unix epoch. + coupon: NotRequired[str] """ - checkout_at: int + Coupon code applied to the rental. """ - Lodging check-out time. Measured in seconds since the Unix epoch. + maximum_free_miles_or_kilometers: NotRequired[int] """ - customer_service_phone_number: NotRequired[str] + Maximum number of free miles or kilometers included. """ - The customer service phone number of the lodging company. - """ - daily_room_rate_amount: NotRequired[int] + + +class PaymentIntentConfirmParamsPaymentDetailsCarRentalDatumTotalExtraCharge( + TypedDict, +): + amount: int """ - The daily lodging room rate. + Amount of the extra charge in cents. """ - delivery: NotRequired[ - "PaymentIntentConfirmParamsPaymentDetailsLodgingDelivery" + type: Literal[ + "extra_mileage", + "gas", + "gps", + "late_charge", + "one_way_drop_off", + "other", + "parking", + "phone", + "regular_mileage", + "towing", ] """ - Delivery details for this purchase. + Type of extra charge. """ - extra_charges: NotRequired[ + + +class PaymentIntentConfirmParamsPaymentDetailsCarRentalDatumTotalTax( + TypedDict +): + tax_exempt_indicator: NotRequired[bool] + """ + Indicates if the transaction is tax exempt. + """ + taxes: NotRequired[ List[ - Literal[ - "gift_shop", - "laundry", - "mini_bar", - "other", - "restaurant", - "telephone", - ] + "PaymentIntentConfirmParamsPaymentDetailsCarRentalDatumTotalTaxTax" ] ] """ - List of additional charges being billed. + Array of tax details. """ - fire_safety_act_compliance: NotRequired[bool] + + +class PaymentIntentConfirmParamsPaymentDetailsCarRentalDatumTotalTaxTax( + TypedDict, +): + amount: NotRequired[int] """ - Indicates whether the lodging location is compliant with the Fire Safety Act. + Tax amount. """ - name: NotRequired[str] + rate: NotRequired[int] """ - The name of the lodging location. + Tax rate applied. """ - no_show: NotRequired[bool] + type: NotRequired[str] """ - Indicates if the customer did not keep their booking while failing to cancel the reservation. + Type of tax applied. """ - number_of_rooms: NotRequired[int] + + +class PaymentIntentConfirmParamsPaymentDetailsCarRentalDatumVehicle(TypedDict): + make: NotRequired[str] """ - The number of rooms on the booking + Make of the rental vehicle. """ - passengers: NotRequired[ - List["PaymentIntentConfirmParamsPaymentDetailsLodgingPassenger"] + model: NotRequired[str] + """ + Model of the rental vehicle. + """ + odometer: NotRequired[int] + """ + Odometer reading at the time of rental. + """ + type: NotRequired[ + Literal[ + "cargo_van", + "compact", + "economy", + "exotic", + "exotic_suv", + "fifteen_passenger_van", + "four_wheel_drive", + "full_size", + "intermediate", + "large_suv", + "large_truck", + "luxury", + "medium_suv", + "midsize", + "mini", + "minivan", + "miscellaneous", + "moped", + "moving_van", + "premium", + "regular", + "small_medium_truck", + "small_suv", + "special", + "standard", + "stretch", + "subcompact", + "taxi", + "twelve_foot_truck", + "twelve_passenger_van", + "twenty_foot_truck", + "twenty_four_foot_truck", + "twenty_six_foot_truck", + "unique", + ] ] """ - The details of the passengers in the travel reservation + Type of the rental vehicle. """ - property_phone_number: NotRequired[str] + vehicle_class: NotRequired[ + Literal["business", "economy", "first_class", "premium_economy"] + ] """ - The phone number of the lodging location. + Class of the rental vehicle. """ - room_class: NotRequired[str] + vehicle_identification_number: NotRequired[str] """ - The room class for this purchase. + Vehicle identification number (VIN). """ - room_nights: NotRequired[int] + + +class PaymentIntentConfirmParamsPaymentDetailsEventDetails(TypedDict): + access_controlled_venue: NotRequired[bool] """ - The number of room nights + Indicates if the tickets are digitally checked when entering the venue. """ - total_room_tax_amount: NotRequired[int] + address: NotRequired[ + "PaymentIntentConfirmParamsPaymentDetailsEventDetailsAddress" + ] """ - The total tax amount associating with the room reservation. + The event location's address. """ - total_tax_amount: NotRequired[int] + affiliate: NotRequired[ + "PaymentIntentConfirmParamsPaymentDetailsEventDetailsAffiliate" + ] """ - The total tax amount + Affiliate details for this purchase. + """ + company: NotRequired[str] + """ + The name of the company + """ + delivery: NotRequired[ + "PaymentIntentConfirmParamsPaymentDetailsEventDetailsDelivery" + ] + """ + Delivery details for this purchase. + """ + ends_at: NotRequired[int] + """ + Event end time. Measured in seconds since the Unix epoch. + """ + genre: NotRequired[str] + """ + Type of the event entertainment (concert, sports event etc) + """ + name: str + """ + The name of the event. + """ + starts_at: NotRequired[int] + """ + Event start time. Measured in seconds since the Unix epoch. """ -class PaymentIntentConfirmParamsPaymentDetailsLodgingAddress(TypedDict): +class PaymentIntentConfirmParamsPaymentDetailsEventDetailsAddress(TypedDict): city: NotRequired[str] """ City, district, suburb, town, or village. @@ -1041,27 +1225,27 @@ class PaymentIntentConfirmParamsPaymentDetailsLodgingAddress(TypedDict): """ -class PaymentIntentConfirmParamsPaymentDetailsLodgingAffiliate(TypedDict): +class PaymentIntentConfirmParamsPaymentDetailsEventDetailsAffiliate(TypedDict): name: str """ The name of the affiliate that originated the purchase. """ -class PaymentIntentConfirmParamsPaymentDetailsLodgingDelivery(TypedDict): +class PaymentIntentConfirmParamsPaymentDetailsEventDetailsDelivery(TypedDict): mode: NotRequired[Literal["email", "phone", "pickup", "post"]] """ The delivery method for the payment """ recipient: NotRequired[ - "PaymentIntentConfirmParamsPaymentDetailsLodgingDeliveryRecipient" + "PaymentIntentConfirmParamsPaymentDetailsEventDetailsDeliveryRecipient" ] """ Details of the recipient. """ -class PaymentIntentConfirmParamsPaymentDetailsLodgingDeliveryRecipient( +class PaymentIntentConfirmParamsPaymentDetailsEventDetailsDeliveryRecipient( TypedDict, ): email: NotRequired[str] @@ -1078,519 +1262,537 @@ class PaymentIntentConfirmParamsPaymentDetailsLodgingDeliveryRecipient( """ -class PaymentIntentConfirmParamsPaymentDetailsLodgingPassenger(TypedDict): - name: str - """ - Full name of the person or entity on the lodging reservation. - """ - - -class PaymentIntentConfirmParamsPaymentDetailsSubscription(TypedDict): +class PaymentIntentConfirmParamsPaymentDetailsFlight(TypedDict): affiliate: NotRequired[ - "PaymentIntentConfirmParamsPaymentDetailsSubscriptionAffiliate" + "PaymentIntentConfirmParamsPaymentDetailsFlightAffiliate" ] """ Affiliate details for this purchase. """ - auto_renewal: NotRequired[bool] + agency_number: NotRequired[str] """ - Info whether the subscription will be auto renewed upon expiry. + The agency number (i.e. International Air Transport Association (IATA) agency number) of the travel agency that made the booking. """ - billing_interval: NotRequired[ - "PaymentIntentConfirmParamsPaymentDetailsSubscriptionBillingInterval" + carrier: NotRequired[str] + """ + The International Air Transport Association (IATA) carrier code of the carrier that issued the ticket. + """ + delivery: NotRequired[ + "PaymentIntentConfirmParamsPaymentDetailsFlightDelivery" ] """ - Subscription billing details for this purchase. + Delivery details for this purchase. """ - ends_at: NotRequired[int] + passenger_name: NotRequired[str] """ - Subscription end time. Measured in seconds since the Unix epoch. + The name of the person or entity on the reservation. """ - name: str + passengers: NotRequired[ + List["PaymentIntentConfirmParamsPaymentDetailsFlightPassenger"] + ] """ - Name of the product on subscription. e.g. Apple Music Subscription + The details of the passengers in the travel reservation. """ - starts_at: NotRequired[int] + segments: List["PaymentIntentConfirmParamsPaymentDetailsFlightSegment"] """ - Subscription start time. Measured in seconds since the Unix epoch. + The individual flight segments associated with the trip. + """ + ticket_number: NotRequired[str] + """ + The ticket number associated with the travel reservation. """ -class PaymentIntentConfirmParamsPaymentDetailsSubscriptionAffiliate(TypedDict): +class PaymentIntentConfirmParamsPaymentDetailsFlightAffiliate(TypedDict): name: str """ The name of the affiliate that originated the purchase. """ -class PaymentIntentConfirmParamsPaymentDetailsSubscriptionBillingInterval( - TypedDict, -): - count: int +class PaymentIntentConfirmParamsPaymentDetailsFlightDelivery(TypedDict): + mode: NotRequired[Literal["email", "phone", "pickup", "post"]] """ - The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration. + The delivery method for the payment """ - interval: Literal["day", "month", "week", "year"] + recipient: NotRequired[ + "PaymentIntentConfirmParamsPaymentDetailsFlightDeliveryRecipient" + ] """ - Specifies a type of interval unit. Either `day`, `week`, `month` or `year`. + Details of the recipient. """ -class PaymentIntentConfirmParamsPaymentMethodData(TypedDict): - acss_debit: NotRequired[ - "PaymentIntentConfirmParamsPaymentMethodDataAcssDebit" - ] +class PaymentIntentConfirmParamsPaymentDetailsFlightDeliveryRecipient( + TypedDict, +): + email: NotRequired[str] """ - If this is an `acss_debit` PaymentMethod, this hash contains details about the ACSS Debit payment method. + The email of the recipient the ticket is delivered to. """ - affirm: NotRequired["PaymentIntentConfirmParamsPaymentMethodDataAffirm"] + name: NotRequired[str] """ - If this is an `affirm` PaymentMethod, this hash contains details about the Affirm payment method. + The name of the recipient the ticket is delivered to. """ - afterpay_clearpay: NotRequired[ - "PaymentIntentConfirmParamsPaymentMethodDataAfterpayClearpay" - ] + phone: NotRequired[str] """ - If this is an `AfterpayClearpay` PaymentMethod, this hash contains details about the AfterpayClearpay payment method. + The phone number of the recipient the ticket is delivered to. """ - alipay: NotRequired["PaymentIntentConfirmParamsPaymentMethodDataAlipay"] + + +class PaymentIntentConfirmParamsPaymentDetailsFlightPassenger(TypedDict): + name: str """ - If this is an `Alipay` PaymentMethod, this hash contains details about the Alipay payment method. + Full name of the person or entity on the flight reservation. """ - allow_redisplay: NotRequired[Literal["always", "limited", "unspecified"]] + + +class PaymentIntentConfirmParamsPaymentDetailsFlightSegment(TypedDict): + amount: NotRequired[int] """ - This field indicates whether this payment method can be shown again to its customer in a checkout flow. Stripe products such as Checkout and Elements use this field to determine whether a payment method can be shown as a saved payment method in a checkout flow. The field defaults to `unspecified`. + The flight segment amount. """ - alma: NotRequired["PaymentIntentConfirmParamsPaymentMethodDataAlma"] + arrival_airport: NotRequired[str] """ - If this is a Alma PaymentMethod, this hash contains details about the Alma payment method. + The International Air Transport Association (IATA) airport code for the arrival airport. """ - amazon_pay: NotRequired[ - "PaymentIntentConfirmParamsPaymentMethodDataAmazonPay" - ] + arrives_at: NotRequired[int] """ - If this is a AmazonPay PaymentMethod, this hash contains details about the AmazonPay payment method. + The arrival time for the flight segment. Measured in seconds since the Unix epoch. """ - au_becs_debit: NotRequired[ - "PaymentIntentConfirmParamsPaymentMethodDataAuBecsDebit" - ] + carrier: NotRequired[str] """ - If this is an `au_becs_debit` PaymentMethod, this hash contains details about the bank account. + The International Air Transport Association (IATA) carrier code of the carrier operating the flight segment. """ - bacs_debit: NotRequired[ - "PaymentIntentConfirmParamsPaymentMethodDataBacsDebit" - ] + departs_at: int """ - If this is a `bacs_debit` PaymentMethod, this hash contains details about the Bacs Direct Debit bank account. + The departure time for the flight segment. Measured in seconds since the Unix epoch. """ - bancontact: NotRequired[ - "PaymentIntentConfirmParamsPaymentMethodDataBancontact" - ] + departure_airport: NotRequired[str] """ - If this is a `bancontact` PaymentMethod, this hash contains details about the Bancontact payment method. + The International Air Transport Association (IATA) airport code for the departure airport. """ - billie: NotRequired["PaymentIntentConfirmParamsPaymentMethodDataBillie"] + flight_number: NotRequired[str] """ - If this is a `billie` PaymentMethod, this hash contains details about the Billie payment method. + The flight number associated with the segment """ - billing_details: NotRequired[ - "PaymentIntentConfirmParamsPaymentMethodDataBillingDetails" + service_class: NotRequired[ + Literal["business", "economy", "first", "premium_economy"] ] """ - Billing information associated with the PaymentMethod that may be used or required by particular types of payment methods. + The fare class for the segment. """ - blik: NotRequired["PaymentIntentConfirmParamsPaymentMethodDataBlik"] + + +class PaymentIntentConfirmParamsPaymentDetailsFlightDatum(TypedDict): + affiliate: NotRequired[ + "PaymentIntentConfirmParamsPaymentDetailsFlightDatumAffiliate" + ] """ - If this is a `blik` PaymentMethod, this hash contains details about the BLIK payment method. + Affiliate details if applicable. """ - boleto: NotRequired["PaymentIntentConfirmParamsPaymentMethodDataBoleto"] + booking_number: NotRequired[str] """ - If this is a `boleto` PaymentMethod, this hash contains details about the Boleto payment method. + Reservation reference. """ - cashapp: NotRequired["PaymentIntentConfirmParamsPaymentMethodDataCashapp"] + computerized_reservation_system: NotRequired[str] """ - If this is a `cashapp` PaymentMethod, this hash contains details about the Cash App Pay payment method. + Computerized reservation system used to make the reservation and purchase the ticket. """ - crypto: NotRequired["PaymentIntentConfirmParamsPaymentMethodDataCrypto"] + endorsements_and_restrictions: NotRequired[str] """ - If this is a Crypto PaymentMethod, this hash contains details about the Crypto payment method. + Ticket restrictions. """ - customer_balance: NotRequired[ - "PaymentIntentConfirmParamsPaymentMethodDataCustomerBalance" + insurances: NotRequired[ + List["PaymentIntentConfirmParamsPaymentDetailsFlightDatumInsurance"] ] """ - If this is a `customer_balance` PaymentMethod, this hash contains details about the CustomerBalance payment method. - """ - eps: NotRequired["PaymentIntentConfirmParamsPaymentMethodDataEps"] - """ - If this is an `eps` PaymentMethod, this hash contains details about the EPS payment method. + List of insurances. """ - fpx: NotRequired["PaymentIntentConfirmParamsPaymentMethodDataFpx"] + passengers: NotRequired[ + List["PaymentIntentConfirmParamsPaymentDetailsFlightDatumPassenger"] + ] """ - If this is an `fpx` PaymentMethod, this hash contains details about the FPX payment method. + List of passengers. """ - giropay: NotRequired["PaymentIntentConfirmParamsPaymentMethodDataGiropay"] + segments: List[ + "PaymentIntentConfirmParamsPaymentDetailsFlightDatumSegment" + ] """ - If this is a `giropay` PaymentMethod, this hash contains details about the Giropay payment method. + List of flight segments. """ - gopay: NotRequired["PaymentIntentConfirmParamsPaymentMethodDataGopay"] + ticket_electronically_issued_indicator: NotRequired[bool] """ - If this is a Gopay PaymentMethod, this hash contains details about the Gopay payment method. + Electronic ticket indicator. """ - grabpay: NotRequired["PaymentIntentConfirmParamsPaymentMethodDataGrabpay"] + total: "PaymentIntentConfirmParamsPaymentDetailsFlightDatumTotal" """ - If this is a `grabpay` PaymentMethod, this hash contains details about the GrabPay payment method. + Total cost breakdown. """ - id_bank_transfer: NotRequired[ - "PaymentIntentConfirmParamsPaymentMethodDataIdBankTransfer" + transaction_type: NotRequired[ + Literal[ + "exchange_ticket", "miscellaneous", "refund", "ticket_purchase" + ] ] """ - If this is an `IdBankTransfer` PaymentMethod, this hash contains details about the IdBankTransfer payment method. + Type of flight transaction. """ - ideal: NotRequired["PaymentIntentConfirmParamsPaymentMethodDataIdeal"] + + +class PaymentIntentConfirmParamsPaymentDetailsFlightDatumAffiliate(TypedDict): + code: NotRequired[str] """ - If this is an `ideal` PaymentMethod, this hash contains details about the iDEAL payment method. + Affiliate partner code. """ - interac_present: NotRequired[ - "PaymentIntentConfirmParamsPaymentMethodDataInteracPresent" - ] + name: NotRequired[str] """ - If this is an `interac_present` PaymentMethod, this hash contains details about the Interac Present payment method. + Name of affiliate partner. """ - kakao_pay: NotRequired[ - "PaymentIntentConfirmParamsPaymentMethodDataKakaoPay" - ] + travel_authorization_code: NotRequired[str] """ - If this is a `kakao_pay` PaymentMethod, this hash contains details about the Kakao Pay payment method. + Code provided by the company to a travel agent authorizing ticket issuance. """ - klarna: NotRequired["PaymentIntentConfirmParamsPaymentMethodDataKlarna"] + + +class PaymentIntentConfirmParamsPaymentDetailsFlightDatumInsurance(TypedDict): + amount: int """ - If this is a `klarna` PaymentMethod, this hash contains details about the Klarna payment method. + Insurance cost. """ - konbini: NotRequired["PaymentIntentConfirmParamsPaymentMethodDataKonbini"] + currency: NotRequired[str] """ - If this is a `konbini` PaymentMethod, this hash contains details about the Konbini payment method. + Insurance currency. """ - kr_card: NotRequired["PaymentIntentConfirmParamsPaymentMethodDataKrCard"] + insurance_company_name: NotRequired[str] """ - If this is a `kr_card` PaymentMethod, this hash contains details about the Korean Card payment method. + Insurance company name. """ - link: NotRequired["PaymentIntentConfirmParamsPaymentMethodDataLink"] + insurance_type: Literal[ + "baggage", "bankruptcy", "cancelation", "emergency", "medical" + ] """ - If this is an `Link` PaymentMethod, this hash contains details about the Link payment method. + Type of insurance. """ - mb_way: NotRequired["PaymentIntentConfirmParamsPaymentMethodDataMbWay"] + + +class PaymentIntentConfirmParamsPaymentDetailsFlightDatumPassenger(TypedDict): + name: str """ - If this is a MB WAY PaymentMethod, this hash contains details about the MB WAY payment method. + Passenger's full name. """ - metadata: NotRequired[Dict[str, str]] + + +class PaymentIntentConfirmParamsPaymentDetailsFlightDatumSegment(TypedDict): + amount: NotRequired[int] """ - Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. + Segment fare amount. """ - mobilepay: NotRequired[ - "PaymentIntentConfirmParamsPaymentMethodDataMobilepay" - ] + arrival: ( + "PaymentIntentConfirmParamsPaymentDetailsFlightDatumSegmentArrival" + ) """ - If this is a `mobilepay` PaymentMethod, this hash contains details about the MobilePay payment method. + Arrival details. """ - multibanco: NotRequired[ - "PaymentIntentConfirmParamsPaymentMethodDataMultibanco" - ] + carrier_code: str """ - If this is a `multibanco` PaymentMethod, this hash contains details about the Multibanco payment method. + Airline carrier code. """ - naver_pay: NotRequired[ - "PaymentIntentConfirmParamsPaymentMethodDataNaverPay" - ] + carrier_name: NotRequired[str] """ - If this is a `naver_pay` PaymentMethod, this hash contains details about the Naver Pay payment method. + Carrier name. """ - nz_bank_account: NotRequired[ - "PaymentIntentConfirmParamsPaymentMethodDataNzBankAccount" - ] + currency: NotRequired[str] """ - If this is an nz_bank_account PaymentMethod, this hash contains details about the nz_bank_account payment method. + Segment currency. """ - oxxo: NotRequired["PaymentIntentConfirmParamsPaymentMethodDataOxxo"] + departure: ( + "PaymentIntentConfirmParamsPaymentDetailsFlightDatumSegmentDeparture" + ) """ - If this is an `oxxo` PaymentMethod, this hash contains details about the OXXO payment method. + Departure details. """ - p24: NotRequired["PaymentIntentConfirmParamsPaymentMethodDataP24"] + exchange_ticket_number: NotRequired[str] """ - If this is a `p24` PaymentMethod, this hash contains details about the P24 payment method. + Exchange ticket number. """ - pay_by_bank: NotRequired[ - "PaymentIntentConfirmParamsPaymentMethodDataPayByBank" - ] + fare_basis_code: NotRequired[str] """ - If this is a `pay_by_bank` PaymentMethod, this hash contains details about the PayByBank payment method. + Fare basis code. """ - payco: NotRequired["PaymentIntentConfirmParamsPaymentMethodDataPayco"] + fees: NotRequired[int] """ - If this is a `payco` PaymentMethod, this hash contains details about the PAYCO payment method. + Additional fees. """ - paynow: NotRequired["PaymentIntentConfirmParamsPaymentMethodDataPaynow"] + flight_number: NotRequired[str] """ - If this is a `paynow` PaymentMethod, this hash contains details about the PayNow payment method. + Flight number. """ - paypal: NotRequired["PaymentIntentConfirmParamsPaymentMethodDataPaypal"] + is_stop_over_indicator: NotRequired[bool] """ - If this is a `paypal` PaymentMethod, this hash contains details about the PayPal payment method. + Stopover indicator. """ - paypay: NotRequired["PaymentIntentConfirmParamsPaymentMethodDataPaypay"] + refundable: NotRequired[bool] """ - If this is a `paypay` PaymentMethod, this hash contains details about the PayPay payment method. + Refundable ticket indicator. """ - payto: NotRequired["PaymentIntentConfirmParamsPaymentMethodDataPayto"] + service_class: Literal[ + "business", "economy", "first_class", "premium_economy" + ] """ - If this is a `payto` PaymentMethod, this hash contains details about the PayTo payment method. + Class of service. """ - pix: NotRequired["PaymentIntentConfirmParamsPaymentMethodDataPix"] + tax_amount: NotRequired[int] """ - If this is a `pix` PaymentMethod, this hash contains details about the Pix payment method. + Tax amount for segment. """ - promptpay: NotRequired[ - "PaymentIntentConfirmParamsPaymentMethodDataPromptpay" - ] + ticket_number: NotRequired[str] """ - If this is a `promptpay` PaymentMethod, this hash contains details about the PromptPay payment method. + Ticket number. """ - qris: NotRequired["PaymentIntentConfirmParamsPaymentMethodDataQris"] + + +class PaymentIntentConfirmParamsPaymentDetailsFlightDatumSegmentArrival( + TypedDict, +): + airport: str """ - If this is a `qris` PaymentMethod, this hash contains details about the QRIS payment method. + Arrival airport IATA code. """ - radar_options: NotRequired[ - "PaymentIntentConfirmParamsPaymentMethodDataRadarOptions" - ] + arrives_at: NotRequired[int] """ - Options to configure Radar. See [Radar Session](https://stripe.com/docs/radar/radar-session) for more information. + Arrival date/time. """ - rechnung: NotRequired[ - "PaymentIntentConfirmParamsPaymentMethodDataRechnung" - ] + city: NotRequired[str] """ - If this is a `rechnung` PaymentMethod, this hash contains details about the Rechnung payment method. + Arrival city. """ - revolut_pay: NotRequired[ - "PaymentIntentConfirmParamsPaymentMethodDataRevolutPay" - ] + country: NotRequired[str] """ - If this is a `revolut_pay` PaymentMethod, this hash contains details about the Revolut Pay payment method. + Arrival country. """ - samsung_pay: NotRequired[ - "PaymentIntentConfirmParamsPaymentMethodDataSamsungPay" - ] + + +class PaymentIntentConfirmParamsPaymentDetailsFlightDatumSegmentDeparture( + TypedDict, +): + airport: str """ - If this is a `samsung_pay` PaymentMethod, this hash contains details about the SamsungPay payment method. + Departure airport IATA code. """ - satispay: NotRequired[ - "PaymentIntentConfirmParamsPaymentMethodDataSatispay" - ] + city: NotRequired[str] """ - If this is a `satispay` PaymentMethod, this hash contains details about the Satispay payment method. + Departure city. """ - sepa_debit: NotRequired[ - "PaymentIntentConfirmParamsPaymentMethodDataSepaDebit" - ] + country: NotRequired[str] """ - If this is a `sepa_debit` PaymentMethod, this hash contains details about the SEPA debit bank account. + Departure country. """ - shopeepay: NotRequired[ - "PaymentIntentConfirmParamsPaymentMethodDataShopeepay" - ] + departs_at: int """ - If this is a Shopeepay PaymentMethod, this hash contains details about the Shopeepay payment method. + Departure date/time. """ - sofort: NotRequired["PaymentIntentConfirmParamsPaymentMethodDataSofort"] + + +class PaymentIntentConfirmParamsPaymentDetailsFlightDatumTotal(TypedDict): + amount: int """ - If this is a `sofort` PaymentMethod, this hash contains details about the SOFORT payment method. + Total flight amount. """ - stripe_balance: NotRequired[ - "PaymentIntentConfirmParamsPaymentMethodDataStripeBalance" + credit_reason: NotRequired[ + Literal[ + "other", + "partial_ticket_refund", + "passenger_transport_ancillary_cancellation", + "ticket_and_ancillary_cancellation", + "ticket_cancellation", + ] ] """ - This hash contains details about the Stripe balance payment method. - """ - swish: NotRequired["PaymentIntentConfirmParamsPaymentMethodDataSwish"] - """ - If this is a `swish` PaymentMethod, this hash contains details about the Swish payment method. + Reason for credit. """ - twint: NotRequired["PaymentIntentConfirmParamsPaymentMethodDataTwint"] + currency: NotRequired[str] """ - If this is a TWINT PaymentMethod, this hash contains details about the TWINT payment method. + Total currency. """ - type: Literal[ - "acss_debit", - "affirm", - "afterpay_clearpay", - "alipay", - "alma", - "amazon_pay", - "au_becs_debit", - "bacs_debit", - "bancontact", - "billie", - "blik", - "boleto", - "cashapp", - "crypto", - "customer_balance", - "eps", - "fpx", - "giropay", - "gopay", - "grabpay", - "id_bank_transfer", - "ideal", - "kakao_pay", - "klarna", - "konbini", - "kr_card", - "link", - "mb_way", - "mobilepay", - "multibanco", - "naver_pay", - "nz_bank_account", - "oxxo", - "p24", - "pay_by_bank", - "payco", - "paynow", - "paypal", - "paypay", - "payto", - "pix", - "promptpay", - "qris", - "rechnung", - "revolut_pay", - "samsung_pay", - "satispay", - "sepa_debit", - "shopeepay", - "sofort", - "stripe_balance", - "swish", - "twint", - "us_bank_account", - "wechat_pay", - "zip", + discounts: NotRequired[ + "PaymentIntentConfirmParamsPaymentDetailsFlightDatumTotalDiscounts" ] """ - The type of the PaymentMethod. An additional hash is included on the PaymentMethod with a name matching this value. It contains additional information specific to the PaymentMethod type. + Discount details. """ - us_bank_account: NotRequired[ - "PaymentIntentConfirmParamsPaymentMethodDataUsBankAccount" + extra_charges: NotRequired[ + List[ + "PaymentIntentConfirmParamsPaymentDetailsFlightDatumTotalExtraCharge" + ] ] """ - If this is an `us_bank_account` PaymentMethod, this hash contains details about the US bank account payment method. + Additional charges. """ - wechat_pay: NotRequired[ - "PaymentIntentConfirmParamsPaymentMethodDataWechatPay" + tax: NotRequired[ + "PaymentIntentConfirmParamsPaymentDetailsFlightDatumTotalTax" ] """ - If this is an `wechat_pay` PaymentMethod, this hash contains details about the wechat_pay payment method. + Tax breakdown. """ - zip: NotRequired["PaymentIntentConfirmParamsPaymentMethodDataZip"] + + +class PaymentIntentConfirmParamsPaymentDetailsFlightDatumTotalDiscounts( + TypedDict, +): + corporate_client_code: NotRequired[str] """ - If this is a `zip` PaymentMethod, this hash contains details about the Zip payment method. + Corporate client discount code. """ -class PaymentIntentConfirmParamsPaymentMethodDataAcssDebit(TypedDict): - account_number: str +class PaymentIntentConfirmParamsPaymentDetailsFlightDatumTotalExtraCharge( + TypedDict, +): + amount: NotRequired[int] """ - Customer's bank account number. + Amount of additional charges. """ - institution_number: str + type: NotRequired[ + Literal["additional_fees", "ancillary_service_charges", "exchange_fee"] + ] """ - Institution number of the customer's bank. + Type of additional charges. """ - transit_number: str + + +class PaymentIntentConfirmParamsPaymentDetailsFlightDatumTotalTax(TypedDict): + taxes: NotRequired[ + List["PaymentIntentConfirmParamsPaymentDetailsFlightDatumTotalTaxTax"] + ] """ - Transit number of the customer's bank. + Array of tax details. """ -class PaymentIntentConfirmParamsPaymentMethodDataAffirm(TypedDict): - pass - - -class PaymentIntentConfirmParamsPaymentMethodDataAfterpayClearpay(TypedDict): - pass - - -class PaymentIntentConfirmParamsPaymentMethodDataAlipay(TypedDict): - pass - - -class PaymentIntentConfirmParamsPaymentMethodDataAlma(TypedDict): - pass - - -class PaymentIntentConfirmParamsPaymentMethodDataAmazonPay(TypedDict): - pass - - -class PaymentIntentConfirmParamsPaymentMethodDataAuBecsDebit(TypedDict): - account_number: str +class PaymentIntentConfirmParamsPaymentDetailsFlightDatumTotalTaxTax( + TypedDict +): + amount: NotRequired[int] """ - The account number for the bank account. + Tax amount. """ - bsb_number: str + rate: NotRequired[int] """ - Bank-State-Branch number of the bank account. + Tax rate. + """ + type: NotRequired[str] + """ + Type of tax. """ -class PaymentIntentConfirmParamsPaymentMethodDataBacsDebit(TypedDict): - account_number: NotRequired[str] +class PaymentIntentConfirmParamsPaymentDetailsLodging(TypedDict): + address: NotRequired[ + "PaymentIntentConfirmParamsPaymentDetailsLodgingAddress" + ] """ - Account number of the bank account that the funds will be debited from. + The lodging location's address. """ - sort_code: NotRequired[str] + adults: NotRequired[int] """ - Sort code of the bank account. (e.g., `10-20-30`) + The number of adults on the booking """ - - -class PaymentIntentConfirmParamsPaymentMethodDataBancontact(TypedDict): - pass - - -class PaymentIntentConfirmParamsPaymentMethodDataBillie(TypedDict): - pass - - -class PaymentIntentConfirmParamsPaymentMethodDataBillingDetails(TypedDict): - address: NotRequired[ - "Literal['']|PaymentIntentConfirmParamsPaymentMethodDataBillingDetailsAddress" + affiliate: NotRequired[ + "PaymentIntentConfirmParamsPaymentDetailsLodgingAffiliate" ] """ - Billing address. + Affiliate details for this purchase. """ - email: NotRequired["Literal['']|str"] + booking_number: NotRequired[str] """ - Email address. + The booking number associated with the lodging reservation. """ - name: NotRequired["Literal['']|str"] + category: NotRequired[Literal["hotel", "vacation_rental"]] """ - Full name. + The lodging category """ - phone: NotRequired["Literal['']|str"] + checkin_at: int """ - Billing phone number (including extension). + Lodging check-in time. Measured in seconds since the Unix epoch. """ - tax_id: NotRequired[str] + checkout_at: int """ - Taxpayer identification number. Used only for transactions between LATAM buyers and non-LATAM sellers. + Lodging check-out time. Measured in seconds since the Unix epoch. + """ + customer_service_phone_number: NotRequired[str] + """ + The customer service phone number of the lodging company. + """ + daily_room_rate_amount: NotRequired[int] + """ + The daily lodging room rate. + """ + delivery: NotRequired[ + "PaymentIntentConfirmParamsPaymentDetailsLodgingDelivery" + ] + """ + Delivery details for this purchase. + """ + extra_charges: NotRequired[ + List[ + Literal[ + "gift_shop", + "laundry", + "mini_bar", + "other", + "restaurant", + "telephone", + ] + ] + ] + """ + List of additional charges being billed. + """ + fire_safety_act_compliance: NotRequired[bool] + """ + Indicates whether the lodging location is compliant with the Fire Safety Act. + """ + name: NotRequired[str] + """ + The name of the lodging location. + """ + no_show: NotRequired[bool] + """ + Indicates if the customer did not keep their booking while failing to cancel the reservation. + """ + number_of_rooms: NotRequired[int] + """ + The number of rooms on the booking + """ + passengers: NotRequired[ + List["PaymentIntentConfirmParamsPaymentDetailsLodgingPassenger"] + ] + """ + The details of the passengers in the travel reservation + """ + property_phone_number: NotRequired[str] + """ + The phone number of the lodging location. + """ + room_class: NotRequired[str] + """ + The room class for this purchase. + """ + room_nights: NotRequired[int] + """ + The number of room nights + """ + total_room_tax_amount: NotRequired[int] + """ + The total tax amount associating with the room reservation. + """ + total_tax_amount: NotRequired[int] + """ + The total tax amount """ -class PaymentIntentConfirmParamsPaymentMethodDataBillingDetailsAddress( - TypedDict, -): +class PaymentIntentConfirmParamsPaymentDetailsLodgingAddress(TypedDict): city: NotRequired[str] """ City, district, suburb, town, or village. @@ -1617,1839 +1819,3831 @@ class PaymentIntentConfirmParamsPaymentMethodDataBillingDetailsAddress( """ -class PaymentIntentConfirmParamsPaymentMethodDataBlik(TypedDict): - pass - - -class PaymentIntentConfirmParamsPaymentMethodDataBoleto(TypedDict): - tax_id: str +class PaymentIntentConfirmParamsPaymentDetailsLodgingAffiliate(TypedDict): + name: str """ - The tax ID of the customer (CPF for individual consumers or CNPJ for businesses consumers) + The name of the affiliate that originated the purchase. """ -class PaymentIntentConfirmParamsPaymentMethodDataCashapp(TypedDict): - pass - - -class PaymentIntentConfirmParamsPaymentMethodDataCrypto(TypedDict): - pass - - -class PaymentIntentConfirmParamsPaymentMethodDataCustomerBalance(TypedDict): - pass - - -class PaymentIntentConfirmParamsPaymentMethodDataEps(TypedDict): - bank: NotRequired[ - Literal[ - "arzte_und_apotheker_bank", - "austrian_anadi_bank_ag", - "bank_austria", - "bankhaus_carl_spangler", - "bankhaus_schelhammer_und_schattera_ag", - "bawag_psk_ag", - "bks_bank_ag", - "brull_kallmus_bank_ag", - "btv_vier_lander_bank", - "capital_bank_grawe_gruppe_ag", - "deutsche_bank_ag", - "dolomitenbank", - "easybank_ag", - "erste_bank_und_sparkassen", - "hypo_alpeadriabank_international_ag", - "hypo_bank_burgenland_aktiengesellschaft", - "hypo_noe_lb_fur_niederosterreich_u_wien", - "hypo_oberosterreich_salzburg_steiermark", - "hypo_tirol_bank_ag", - "hypo_vorarlberg_bank_ag", - "marchfelder_bank", - "oberbank_ag", - "raiffeisen_bankengruppe_osterreich", - "schoellerbank_ag", - "sparda_bank_wien", - "volksbank_gruppe", - "volkskreditbank_ag", - "vr_bank_braunau", - ] +class PaymentIntentConfirmParamsPaymentDetailsLodgingDelivery(TypedDict): + mode: NotRequired[Literal["email", "phone", "pickup", "post"]] + """ + The delivery method for the payment + """ + recipient: NotRequired[ + "PaymentIntentConfirmParamsPaymentDetailsLodgingDeliveryRecipient" ] """ - The customer's bank. + Details of the recipient. """ -class PaymentIntentConfirmParamsPaymentMethodDataFpx(TypedDict): - account_holder_type: NotRequired[Literal["company", "individual"]] +class PaymentIntentConfirmParamsPaymentDetailsLodgingDeliveryRecipient( + TypedDict, +): + email: NotRequired[str] """ - Account holder type for FPX transaction + The email of the recipient the ticket is delivered to. """ - bank: Literal[ - "affin_bank", - "agrobank", - "alliance_bank", - "ambank", - "bank_islam", - "bank_muamalat", - "bank_of_china", - "bank_rakyat", - "bsn", - "cimb", - "deutsche_bank", - "hong_leong_bank", - "hsbc", - "kfh", - "maybank2e", - "maybank2u", - "ocbc", - "pb_enterprise", - "public_bank", - "rhb", - "standard_chartered", - "uob", - ] + name: NotRequired[str] """ - The customer's bank. + The name of the recipient the ticket is delivered to. + """ + phone: NotRequired[str] + """ + The phone number of the recipient the ticket is delivered to. """ -class PaymentIntentConfirmParamsPaymentMethodDataGiropay(TypedDict): - pass - - -class PaymentIntentConfirmParamsPaymentMethodDataGopay(TypedDict): - pass - - -class PaymentIntentConfirmParamsPaymentMethodDataGrabpay(TypedDict): - pass - - -class PaymentIntentConfirmParamsPaymentMethodDataIdBankTransfer(TypedDict): - bank: NotRequired[Literal["bca", "bni", "bri", "cimb", "permata"]] +class PaymentIntentConfirmParamsPaymentDetailsLodgingPassenger(TypedDict): + name: str """ - Bank where the account is held. + Full name of the person or entity on the lodging reservation. """ -class PaymentIntentConfirmParamsPaymentMethodDataIdeal(TypedDict): - bank: NotRequired[ - Literal[ - "abn_amro", - "asn_bank", - "bunq", - "buut", - "handelsbanken", - "ing", - "knab", - "moneyou", - "n26", - "nn", - "rabobank", - "regiobank", - "revolut", - "sns_bank", - "triodos_bank", - "van_lanschot", - "yoursafe", - ] +class PaymentIntentConfirmParamsPaymentDetailsLodgingDatum(TypedDict): + accommodation: NotRequired[ + "PaymentIntentConfirmParamsPaymentDetailsLodgingDatumAccommodation" ] """ - The customer's bank. Only use this parameter for existing customers. Don't use it for new customers. + Accommodation details for the lodging. """ - - -class PaymentIntentConfirmParamsPaymentMethodDataInteracPresent(TypedDict): - pass - - -class PaymentIntentConfirmParamsPaymentMethodDataKakaoPay(TypedDict): - pass - - -class PaymentIntentConfirmParamsPaymentMethodDataKlarna(TypedDict): - dob: NotRequired["PaymentIntentConfirmParamsPaymentMethodDataKlarnaDob"] + affiliate: NotRequired[ + "PaymentIntentConfirmParamsPaymentDetailsLodgingDatumAffiliate" + ] """ - Customer's date of birth + Affiliate details if applicable. """ - - -class PaymentIntentConfirmParamsPaymentMethodDataKlarnaDob(TypedDict): - day: int + booking_number: NotRequired[str] """ - The day of birth, between 1 and 31. + Booking confirmation number for the lodging. """ - month: int + checkin_at: int """ - The month of birth, between 1 and 12. + Check-in date. """ - year: int + checkout_at: int """ - The four-digit year of birth. + Check-out date. """ - - -class PaymentIntentConfirmParamsPaymentMethodDataKonbini(TypedDict): - pass - - -class PaymentIntentConfirmParamsPaymentMethodDataKrCard(TypedDict): - pass - - -class PaymentIntentConfirmParamsPaymentMethodDataLink(TypedDict): - pass - - -class PaymentIntentConfirmParamsPaymentMethodDataMbWay(TypedDict): - pass - - -class PaymentIntentConfirmParamsPaymentMethodDataMobilepay(TypedDict): - pass - - -class PaymentIntentConfirmParamsPaymentMethodDataMultibanco(TypedDict): - pass - - -class PaymentIntentConfirmParamsPaymentMethodDataNaverPay(TypedDict): - funding: NotRequired[Literal["card", "points"]] + customer_service_phone_number: NotRequired[str] """ - Whether to use Naver Pay points or a card to fund this transaction. If not provided, this defaults to `card`. + Customer service phone number for the lodging company. """ - - -class PaymentIntentConfirmParamsPaymentMethodDataNzBankAccount(TypedDict): - account_holder_name: NotRequired[str] + fire_safety_act_compliance_indicator: NotRequired[bool] """ - The name on the bank account. Only required if the account holder name is different from the name of the authorized signatory collected in the PaymentMethod's billing details. + Whether the lodging is compliant with any hotel fire safety regulations. """ - account_number: str + guests: NotRequired[ + List["PaymentIntentConfirmParamsPaymentDetailsLodgingDatumGuest"] + ] """ - The account number for the bank account. + List of guests for the lodging. """ - bank_code: str + host: NotRequired[ + "PaymentIntentConfirmParamsPaymentDetailsLodgingDatumHost" + ] """ - The numeric code for the bank account's bank. + Host details for the lodging. """ - branch_code: str + insurances: NotRequired[ + List["PaymentIntentConfirmParamsPaymentDetailsLodgingDatumInsurance"] + ] """ - The numeric code for the bank account's bank branch. + List of insurances for the lodging. """ - reference: NotRequired[str] - suffix: str + no_show_indicator: NotRequired[bool] """ - The suffix of the bank account number. + Whether the renter is a no-show. + """ + renter_id_number: NotRequired[str] + """ + Renter ID number for the lodging. + """ + renter_name: NotRequired[str] + """ + Renter name for the lodging. + """ + total: "PaymentIntentConfirmParamsPaymentDetailsLodgingDatumTotal" + """ + Total details for the lodging. """ -class PaymentIntentConfirmParamsPaymentMethodDataOxxo(TypedDict): - pass - - -class PaymentIntentConfirmParamsPaymentMethodDataP24(TypedDict): - bank: NotRequired[ +class PaymentIntentConfirmParamsPaymentDetailsLodgingDatumAccommodation( + TypedDict, +): + accommodation_type: NotRequired[ Literal[ - "alior_bank", - "bank_millennium", - "bank_nowy_bfg_sa", - "bank_pekao_sa", - "banki_spbdzielcze", - "blik", - "bnp_paribas", - "boz", - "citi_handlowy", - "credit_agricole", - "envelobank", - "etransfer_pocztowy24", - "getin_bank", - "ideabank", - "ing", - "inteligo", - "mbank_mtransfer", - "nest_przelew", - "noble_pay", - "pbac_z_ipko", - "plus_bank", - "santander_przelew24", - "tmobile_usbugi_bankowe", - "toyota_bank", - "velobank", - "volkswagen_bank", + "apartment", + "cabana", + "house", + "penthouse", + "room", + "standard", + "suite", + "villa", ] ] """ - The customer's bank. + Type of accommodation. """ - - -class PaymentIntentConfirmParamsPaymentMethodDataPayByBank(TypedDict): - pass - - -class PaymentIntentConfirmParamsPaymentMethodDataPayco(TypedDict): - pass - - -class PaymentIntentConfirmParamsPaymentMethodDataPaynow(TypedDict): - pass - - -class PaymentIntentConfirmParamsPaymentMethodDataPaypal(TypedDict): - pass - - -class PaymentIntentConfirmParamsPaymentMethodDataPaypay(TypedDict): - pass - - -class PaymentIntentConfirmParamsPaymentMethodDataPayto(TypedDict): - account_number: NotRequired[str] + bed_type: NotRequired[str] """ - The account number for the bank account. + Bed type. """ - bsb_number: NotRequired[str] + daily_rate_amount: NotRequired[int] """ - Bank-State-Branch number of the bank account. + Daily accommodation rate in cents. """ - pay_id: NotRequired[str] + nights: NotRequired[int] """ - The PayID alias for the bank account. + Number of nights. + """ + number_of_rooms: NotRequired[int] + """ + Number of rooms, cabanas, apartments, and so on. + """ + rate_type: NotRequired[str] + """ + Rate type. + """ + smoking_indicator: NotRequired[bool] + """ + Whether smoking is allowed. """ -class PaymentIntentConfirmParamsPaymentMethodDataPix(TypedDict): - pass - - -class PaymentIntentConfirmParamsPaymentMethodDataPromptpay(TypedDict): - pass - - -class PaymentIntentConfirmParamsPaymentMethodDataQris(TypedDict): - pass - - -class PaymentIntentConfirmParamsPaymentMethodDataRadarOptions(TypedDict): - session: NotRequired[str] +class PaymentIntentConfirmParamsPaymentDetailsLodgingDatumAffiliate(TypedDict): + code: NotRequired[str] """ - A [Radar Session](https://stripe.com/docs/radar/radar-session) is a snapshot of the browser metadata and device details that help Radar make more accurate predictions on your payments. + Affiliate partner code. + """ + name: NotRequired[str] + """ + Affiliate partner name. """ -class PaymentIntentConfirmParamsPaymentMethodDataRechnung(TypedDict): - dob: "PaymentIntentConfirmParamsPaymentMethodDataRechnungDob" +class PaymentIntentConfirmParamsPaymentDetailsLodgingDatumGuest(TypedDict): + name: str """ - Customer's date of birth + Guest's full name. """ -class PaymentIntentConfirmParamsPaymentMethodDataRechnungDob(TypedDict): - day: int +class PaymentIntentConfirmParamsPaymentDetailsLodgingDatumHost(TypedDict): + address: NotRequired[ + "PaymentIntentConfirmParamsPaymentDetailsLodgingDatumHostAddress" + ] """ - The day of birth, between 1 and 31. + Address of the host. """ - month: int + country_of_domicile: NotRequired[str] """ - The month of birth, between 1 and 12. + Host's country of domicile. """ - year: int + host_reference: NotRequired[str] """ - The four-digit year of birth. + Reference number for the host. """ - - -class PaymentIntentConfirmParamsPaymentMethodDataRevolutPay(TypedDict): - pass - - -class PaymentIntentConfirmParamsPaymentMethodDataSamsungPay(TypedDict): - pass - - -class PaymentIntentConfirmParamsPaymentMethodDataSatispay(TypedDict): - pass - - -class PaymentIntentConfirmParamsPaymentMethodDataSepaDebit(TypedDict): - iban: str + host_type: NotRequired[ + Literal["hostel", "hotel", "owner", "rental_agency"] + ] """ - IBAN of the bank account. + Type of host. """ - - -class PaymentIntentConfirmParamsPaymentMethodDataShopeepay(TypedDict): - pass - - -class PaymentIntentConfirmParamsPaymentMethodDataSofort(TypedDict): - country: Literal["AT", "BE", "DE", "ES", "IT", "NL"] + name: NotRequired[str] """ - Two-letter ISO code representing the country the bank account is located in. + Name of the lodging property or host. """ - - -class PaymentIntentConfirmParamsPaymentMethodDataStripeBalance(TypedDict): - account: NotRequired[str] + number_of_reservations: NotRequired[int] """ - The connected account ID whose Stripe balance to use as the source of payment + Total number of reservations for the host. """ - source_type: NotRequired[Literal["bank_account", "card", "fpx"]] + property_phone_number: NotRequired[str] """ - The [source_type](https://docs.stripe.com/api/balance/balance_object#balance_object-available-source_types) of the balance + Property phone number. + """ + registered_at: NotRequired[int] + """ + Host's registration date. """ -class PaymentIntentConfirmParamsPaymentMethodDataSwish(TypedDict): - pass - - -class PaymentIntentConfirmParamsPaymentMethodDataTwint(TypedDict): - pass - - -class PaymentIntentConfirmParamsPaymentMethodDataUsBankAccount(TypedDict): - account_holder_type: NotRequired[Literal["company", "individual"]] +class PaymentIntentConfirmParamsPaymentDetailsLodgingDatumHostAddress( + TypedDict, +): + city: str """ - Account holder type: individual or company. + City, district, suburb, town, or village. """ - account_number: NotRequired[str] + country: str """ - Account number of the bank account. + Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). """ - account_type: NotRequired[Literal["checking", "savings"]] + line1: str """ - Account type: checkings or savings. Defaults to checking if omitted. + Address line 1, such as the street, PO Box, or company name. """ - financial_connections_account: NotRequired[str] + line2: NotRequired[str] """ - The ID of a Financial Connections Account to use as a payment method. + Address line 2, such as the apartment, suite, unit, or building. """ - routing_number: NotRequired[str] + postal_code: str """ - Routing number of the bank account. + ZIP or postal code. + """ + state: NotRequired[str] + """ + State, county, province, or region. """ -class PaymentIntentConfirmParamsPaymentMethodDataWechatPay(TypedDict): - pass - - -class PaymentIntentConfirmParamsPaymentMethodDataZip(TypedDict): - pass - - -class PaymentIntentConfirmParamsPaymentMethodOptions(TypedDict): - acss_debit: NotRequired[ - "Literal['']|PaymentIntentConfirmParamsPaymentMethodOptionsAcssDebit" - ] +class PaymentIntentConfirmParamsPaymentDetailsLodgingDatumInsurance(TypedDict): + amount: int """ - If this is a `acss_debit` PaymentMethod, this sub-hash contains details about the ACSS Debit payment method options. + Price of the insurance coverage in cents. """ - affirm: NotRequired[ - "Literal['']|PaymentIntentConfirmParamsPaymentMethodOptionsAffirm" - ] + currency: NotRequired[str] """ - If this is an `affirm` PaymentMethod, this sub-hash contains details about the Affirm payment method options. + Currency of the insurance amount. """ - afterpay_clearpay: NotRequired[ - "Literal['']|PaymentIntentConfirmParamsPaymentMethodOptionsAfterpayClearpay" - ] + insurance_company_name: NotRequired[str] """ - If this is a `afterpay_clearpay` PaymentMethod, this sub-hash contains details about the Afterpay Clearpay payment method options. + Name of the insurance company. """ - alipay: NotRequired[ - "Literal['']|PaymentIntentConfirmParamsPaymentMethodOptionsAlipay" + insurance_type: Literal[ + "bankruptcy", "cancelation", "emergency", "medical" ] """ - If this is a `alipay` PaymentMethod, this sub-hash contains details about the Alipay payment method options. + Type of insurance coverage. """ - alma: NotRequired[ - "Literal['']|PaymentIntentConfirmParamsPaymentMethodOptionsAlma" - ] + + +class PaymentIntentConfirmParamsPaymentDetailsLodgingDatumTotal(TypedDict): + amount: int """ - If this is a `alma` PaymentMethod, this sub-hash contains details about the Alma payment method options. + Total price of the lodging reservation in cents. """ - amazon_pay: NotRequired[ - "Literal['']|PaymentIntentConfirmParamsPaymentMethodOptionsAmazonPay" - ] + cash_advances: NotRequired[int] """ - If this is a `amazon_pay` PaymentMethod, this sub-hash contains details about the Amazon Pay payment method options. + Cash advances in cents. """ - au_becs_debit: NotRequired[ - "Literal['']|PaymentIntentConfirmParamsPaymentMethodOptionsAuBecsDebit" - ] + currency: NotRequired[str] """ - If this is a `au_becs_debit` PaymentMethod, this sub-hash contains details about the AU BECS Direct Debit payment method options. + Currency of the total amount. """ - bacs_debit: NotRequired[ - "Literal['']|PaymentIntentConfirmParamsPaymentMethodOptionsBacsDebit" + discounts: NotRequired[ + "PaymentIntentConfirmParamsPaymentDetailsLodgingDatumTotalDiscounts" ] """ - If this is a `bacs_debit` PaymentMethod, this sub-hash contains details about the BACS Debit payment method options. + Discount details for the lodging. """ - bancontact: NotRequired[ - "Literal['']|PaymentIntentConfirmParamsPaymentMethodOptionsBancontact" + extra_charges: NotRequired[ + List[ + "PaymentIntentConfirmParamsPaymentDetailsLodgingDatumTotalExtraCharge" + ] ] """ - If this is a `bancontact` PaymentMethod, this sub-hash contains details about the Bancontact payment method options. + Additional charges for the lodging. """ - billie: NotRequired[ - "Literal['']|PaymentIntentConfirmParamsPaymentMethodOptionsBillie" - ] + prepaid_amount: NotRequired[int] """ - If this is a `billie` PaymentMethod, this sub-hash contains details about the Billie payment method options. + Prepaid amount in cents. """ - blik: NotRequired[ - "Literal['']|PaymentIntentConfirmParamsPaymentMethodOptionsBlik" + tax: NotRequired[ + "PaymentIntentConfirmParamsPaymentDetailsLodgingDatumTotalTax" ] """ - If this is a `blik` PaymentMethod, this sub-hash contains details about the BLIK payment method options. + Tax breakdown for the lodging reservation. """ - boleto: NotRequired[ - "Literal['']|PaymentIntentConfirmParamsPaymentMethodOptionsBoleto" - ] + + +class PaymentIntentConfirmParamsPaymentDetailsLodgingDatumTotalDiscounts( + TypedDict, +): + corporate_client_code: NotRequired[str] """ - If this is a `boleto` PaymentMethod, this sub-hash contains details about the Boleto payment method options. + Corporate client discount code. """ - card: NotRequired[ - "Literal['']|PaymentIntentConfirmParamsPaymentMethodOptionsCard" - ] + coupon: NotRequired[str] """ - Configuration for any card payments attempted on this PaymentIntent. + Coupon code. """ - card_present: NotRequired[ - "Literal['']|PaymentIntentConfirmParamsPaymentMethodOptionsCardPresent" - ] + + +class PaymentIntentConfirmParamsPaymentDetailsLodgingDatumTotalExtraCharge( + TypedDict, +): + amount: NotRequired[int] """ - If this is a `card_present` PaymentMethod, this sub-hash contains details about the Card Present payment method options. + Amount of the extra charge in cents. """ - cashapp: NotRequired[ - "Literal['']|PaymentIntentConfirmParamsPaymentMethodOptionsCashapp" + type: NotRequired[ + Literal[ + "gift_shop", "laundry", "mini_bar", "other", "phone", "restaurant" + ] ] """ - If this is a `cashapp` PaymentMethod, this sub-hash contains details about the Cash App Pay payment method options. + Type of extra charge. """ - crypto: NotRequired[ - "Literal['']|PaymentIntentConfirmParamsPaymentMethodOptionsCrypto" - ] + + +class PaymentIntentConfirmParamsPaymentDetailsLodgingDatumTotalTax(TypedDict): + tax_exempt_indicator: NotRequired[bool] """ - If this is a `crypto` PaymentMethod, this sub-hash contains details about the Crypto payment method options. + Indicates whether the transaction is tax exempt. """ - customer_balance: NotRequired[ - "Literal['']|PaymentIntentConfirmParamsPaymentMethodOptionsCustomerBalance" + taxes: NotRequired[ + List["PaymentIntentConfirmParamsPaymentDetailsLodgingDatumTotalTaxTax"] ] """ - If this is a `customer balance` PaymentMethod, this sub-hash contains details about the customer balance payment method options. + Tax details. """ - eps: NotRequired[ - "Literal['']|PaymentIntentConfirmParamsPaymentMethodOptionsEps" - ] + + +class PaymentIntentConfirmParamsPaymentDetailsLodgingDatumTotalTaxTax( + TypedDict, +): + amount: NotRequired[int] """ - If this is a `eps` PaymentMethod, this sub-hash contains details about the EPS payment method options. + Tax amount in cents. """ - fpx: NotRequired[ - "Literal['']|PaymentIntentConfirmParamsPaymentMethodOptionsFpx" - ] + rate: NotRequired[int] """ - If this is a `fpx` PaymentMethod, this sub-hash contains details about the FPX payment method options. + Tax rate. """ - giropay: NotRequired[ - "Literal['']|PaymentIntentConfirmParamsPaymentMethodOptionsGiropay" - ] + type: NotRequired[str] """ - If this is a `giropay` PaymentMethod, this sub-hash contains details about the Giropay payment method options. + Type of tax applied. """ - gopay: NotRequired[ - "Literal['']|PaymentIntentConfirmParamsPaymentMethodOptionsGopay" + + +class PaymentIntentConfirmParamsPaymentDetailsSubscription(TypedDict): + affiliate: NotRequired[ + "PaymentIntentConfirmParamsPaymentDetailsSubscriptionAffiliate" ] """ - If this is a `gopay` PaymentMethod, this sub-hash contains details about the Gopay payment method options. + Affiliate details for this purchase. """ - grabpay: NotRequired[ - "Literal['']|PaymentIntentConfirmParamsPaymentMethodOptionsGrabpay" - ] + auto_renewal: NotRequired[bool] """ - If this is a `grabpay` PaymentMethod, this sub-hash contains details about the Grabpay payment method options. + Info whether the subscription will be auto renewed upon expiry. """ - id_bank_transfer: NotRequired[ - "Literal['']|PaymentIntentConfirmParamsPaymentMethodOptionsIdBankTransfer" + billing_interval: NotRequired[ + "PaymentIntentConfirmParamsPaymentDetailsSubscriptionBillingInterval" ] """ - If this is a `id_bank_transfer` PaymentMethod, this sub-hash contains details about the Indonesia Bank Transfer payment method options. + Subscription billing details for this purchase. """ - ideal: NotRequired[ - "Literal['']|PaymentIntentConfirmParamsPaymentMethodOptionsIdeal" - ] + ends_at: NotRequired[int] """ - If this is a `ideal` PaymentMethod, this sub-hash contains details about the Ideal payment method options. + Subscription end time. Measured in seconds since the Unix epoch. """ - interac_present: NotRequired[ - "Literal['']|PaymentIntentConfirmParamsPaymentMethodOptionsInteracPresent" - ] + name: str """ - If this is a `interac_present` PaymentMethod, this sub-hash contains details about the Card Present payment method options. + Name of the product on subscription. e.g. Apple Music Subscription """ - kakao_pay: NotRequired[ - "Literal['']|PaymentIntentConfirmParamsPaymentMethodOptionsKakaoPay" - ] + starts_at: NotRequired[int] """ - If this is a `kakao_pay` PaymentMethod, this sub-hash contains details about the Kakao Pay payment method options. + Subscription start time. Measured in seconds since the Unix epoch. """ - klarna: NotRequired[ - "Literal['']|PaymentIntentConfirmParamsPaymentMethodOptionsKlarna" - ] + + +class PaymentIntentConfirmParamsPaymentDetailsSubscriptionAffiliate(TypedDict): + name: str """ - If this is a `klarna` PaymentMethod, this sub-hash contains details about the Klarna payment method options. + The name of the affiliate that originated the purchase. """ - konbini: NotRequired[ - "Literal['']|PaymentIntentConfirmParamsPaymentMethodOptionsKonbini" - ] + + +class PaymentIntentConfirmParamsPaymentDetailsSubscriptionBillingInterval( + TypedDict, +): + count: int """ - If this is a `konbini` PaymentMethod, this sub-hash contains details about the Konbini payment method options. + The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration. """ - kr_card: NotRequired[ - "Literal['']|PaymentIntentConfirmParamsPaymentMethodOptionsKrCard" - ] + interval: Literal["day", "month", "week", "year"] """ - If this is a `kr_card` PaymentMethod, this sub-hash contains details about the KR Card payment method options. + Specifies a type of interval unit. Either `day`, `week`, `month` or `year`. """ - link: NotRequired[ - "Literal['']|PaymentIntentConfirmParamsPaymentMethodOptionsLink" + + +class PaymentIntentConfirmParamsPaymentMethodData(TypedDict): + acss_debit: NotRequired[ + "PaymentIntentConfirmParamsPaymentMethodDataAcssDebit" ] """ - If this is a `link` PaymentMethod, this sub-hash contains details about the Link payment method options. + If this is an `acss_debit` PaymentMethod, this hash contains details about the ACSS Debit payment method. """ - mb_way: NotRequired[ - "Literal['']|PaymentIntentConfirmParamsPaymentMethodOptionsMbWay" - ] + affirm: NotRequired["PaymentIntentConfirmParamsPaymentMethodDataAffirm"] """ - If this is a `mb_way` PaymentMethod, this sub-hash contains details about the MB WAY payment method options. + If this is an `affirm` PaymentMethod, this hash contains details about the Affirm payment method. """ - mobilepay: NotRequired[ - "Literal['']|PaymentIntentConfirmParamsPaymentMethodOptionsMobilepay" + afterpay_clearpay: NotRequired[ + "PaymentIntentConfirmParamsPaymentMethodDataAfterpayClearpay" ] """ - If this is a `MobilePay` PaymentMethod, this sub-hash contains details about the MobilePay payment method options. + If this is an `AfterpayClearpay` PaymentMethod, this hash contains details about the AfterpayClearpay payment method. """ - multibanco: NotRequired[ - "Literal['']|PaymentIntentConfirmParamsPaymentMethodOptionsMultibanco" - ] + alipay: NotRequired["PaymentIntentConfirmParamsPaymentMethodDataAlipay"] """ - If this is a `multibanco` PaymentMethod, this sub-hash contains details about the Multibanco payment method options. + If this is an `Alipay` PaymentMethod, this hash contains details about the Alipay payment method. """ - naver_pay: NotRequired[ - "Literal['']|PaymentIntentConfirmParamsPaymentMethodOptionsNaverPay" - ] + allow_redisplay: NotRequired[Literal["always", "limited", "unspecified"]] """ - If this is a `naver_pay` PaymentMethod, this sub-hash contains details about the Naver Pay payment method options. + This field indicates whether this payment method can be shown again to its customer in a checkout flow. Stripe products such as Checkout and Elements use this field to determine whether a payment method can be shown as a saved payment method in a checkout flow. The field defaults to `unspecified`. """ - nz_bank_account: NotRequired[ - "Literal['']|PaymentIntentConfirmParamsPaymentMethodOptionsNzBankAccount" - ] + alma: NotRequired["PaymentIntentConfirmParamsPaymentMethodDataAlma"] """ - If this is a `nz_bank_account` PaymentMethod, this sub-hash contains details about the NZ BECS Direct Debit payment method options. + If this is a Alma PaymentMethod, this hash contains details about the Alma payment method. """ - oxxo: NotRequired[ - "Literal['']|PaymentIntentConfirmParamsPaymentMethodOptionsOxxo" + amazon_pay: NotRequired[ + "PaymentIntentConfirmParamsPaymentMethodDataAmazonPay" ] """ - If this is a `oxxo` PaymentMethod, this sub-hash contains details about the OXXO payment method options. + If this is a AmazonPay PaymentMethod, this hash contains details about the AmazonPay payment method. """ - p24: NotRequired[ - "Literal['']|PaymentIntentConfirmParamsPaymentMethodOptionsP24" + au_becs_debit: NotRequired[ + "PaymentIntentConfirmParamsPaymentMethodDataAuBecsDebit" ] """ - If this is a `p24` PaymentMethod, this sub-hash contains details about the Przelewy24 payment method options. + If this is an `au_becs_debit` PaymentMethod, this hash contains details about the bank account. + """ + bacs_debit: NotRequired[ + "PaymentIntentConfirmParamsPaymentMethodDataBacsDebit" + ] + """ + If this is a `bacs_debit` PaymentMethod, this hash contains details about the Bacs Direct Debit bank account. + """ + bancontact: NotRequired[ + "PaymentIntentConfirmParamsPaymentMethodDataBancontact" + ] + """ + If this is a `bancontact` PaymentMethod, this hash contains details about the Bancontact payment method. + """ + billie: NotRequired["PaymentIntentConfirmParamsPaymentMethodDataBillie"] + """ + If this is a `billie` PaymentMethod, this hash contains details about the Billie payment method. + """ + billing_details: NotRequired[ + "PaymentIntentConfirmParamsPaymentMethodDataBillingDetails" + ] + """ + Billing information associated with the PaymentMethod that may be used or required by particular types of payment methods. + """ + blik: NotRequired["PaymentIntentConfirmParamsPaymentMethodDataBlik"] + """ + If this is a `blik` PaymentMethod, this hash contains details about the BLIK payment method. + """ + boleto: NotRequired["PaymentIntentConfirmParamsPaymentMethodDataBoleto"] + """ + If this is a `boleto` PaymentMethod, this hash contains details about the Boleto payment method. + """ + cashapp: NotRequired["PaymentIntentConfirmParamsPaymentMethodDataCashapp"] + """ + If this is a `cashapp` PaymentMethod, this hash contains details about the Cash App Pay payment method. + """ + crypto: NotRequired["PaymentIntentConfirmParamsPaymentMethodDataCrypto"] + """ + If this is a Crypto PaymentMethod, this hash contains details about the Crypto payment method. + """ + customer_balance: NotRequired[ + "PaymentIntentConfirmParamsPaymentMethodDataCustomerBalance" + ] + """ + If this is a `customer_balance` PaymentMethod, this hash contains details about the CustomerBalance payment method. + """ + eps: NotRequired["PaymentIntentConfirmParamsPaymentMethodDataEps"] + """ + If this is an `eps` PaymentMethod, this hash contains details about the EPS payment method. + """ + fpx: NotRequired["PaymentIntentConfirmParamsPaymentMethodDataFpx"] + """ + If this is an `fpx` PaymentMethod, this hash contains details about the FPX payment method. + """ + giropay: NotRequired["PaymentIntentConfirmParamsPaymentMethodDataGiropay"] + """ + If this is a `giropay` PaymentMethod, this hash contains details about the Giropay payment method. + """ + gopay: NotRequired["PaymentIntentConfirmParamsPaymentMethodDataGopay"] + """ + If this is a Gopay PaymentMethod, this hash contains details about the Gopay payment method. + """ + grabpay: NotRequired["PaymentIntentConfirmParamsPaymentMethodDataGrabpay"] + """ + If this is a `grabpay` PaymentMethod, this hash contains details about the GrabPay payment method. + """ + id_bank_transfer: NotRequired[ + "PaymentIntentConfirmParamsPaymentMethodDataIdBankTransfer" + ] + """ + If this is an `IdBankTransfer` PaymentMethod, this hash contains details about the IdBankTransfer payment method. + """ + ideal: NotRequired["PaymentIntentConfirmParamsPaymentMethodDataIdeal"] + """ + If this is an `ideal` PaymentMethod, this hash contains details about the iDEAL payment method. + """ + interac_present: NotRequired[ + "PaymentIntentConfirmParamsPaymentMethodDataInteracPresent" + ] + """ + If this is an `interac_present` PaymentMethod, this hash contains details about the Interac Present payment method. + """ + kakao_pay: NotRequired[ + "PaymentIntentConfirmParamsPaymentMethodDataKakaoPay" + ] + """ + If this is a `kakao_pay` PaymentMethod, this hash contains details about the Kakao Pay payment method. + """ + klarna: NotRequired["PaymentIntentConfirmParamsPaymentMethodDataKlarna"] + """ + If this is a `klarna` PaymentMethod, this hash contains details about the Klarna payment method. + """ + konbini: NotRequired["PaymentIntentConfirmParamsPaymentMethodDataKonbini"] + """ + If this is a `konbini` PaymentMethod, this hash contains details about the Konbini payment method. + """ + kr_card: NotRequired["PaymentIntentConfirmParamsPaymentMethodDataKrCard"] + """ + If this is a `kr_card` PaymentMethod, this hash contains details about the Korean Card payment method. + """ + link: NotRequired["PaymentIntentConfirmParamsPaymentMethodDataLink"] + """ + If this is an `Link` PaymentMethod, this hash contains details about the Link payment method. + """ + mb_way: NotRequired["PaymentIntentConfirmParamsPaymentMethodDataMbWay"] + """ + If this is a MB WAY PaymentMethod, this hash contains details about the MB WAY payment method. + """ + metadata: NotRequired[Dict[str, str]] + """ + Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. + """ + mobilepay: NotRequired[ + "PaymentIntentConfirmParamsPaymentMethodDataMobilepay" + ] + """ + If this is a `mobilepay` PaymentMethod, this hash contains details about the MobilePay payment method. + """ + multibanco: NotRequired[ + "PaymentIntentConfirmParamsPaymentMethodDataMultibanco" + ] + """ + If this is a `multibanco` PaymentMethod, this hash contains details about the Multibanco payment method. + """ + naver_pay: NotRequired[ + "PaymentIntentConfirmParamsPaymentMethodDataNaverPay" + ] + """ + If this is a `naver_pay` PaymentMethod, this hash contains details about the Naver Pay payment method. + """ + nz_bank_account: NotRequired[ + "PaymentIntentConfirmParamsPaymentMethodDataNzBankAccount" + ] + """ + If this is an nz_bank_account PaymentMethod, this hash contains details about the nz_bank_account payment method. + """ + oxxo: NotRequired["PaymentIntentConfirmParamsPaymentMethodDataOxxo"] + """ + If this is an `oxxo` PaymentMethod, this hash contains details about the OXXO payment method. + """ + p24: NotRequired["PaymentIntentConfirmParamsPaymentMethodDataP24"] + """ + If this is a `p24` PaymentMethod, this hash contains details about the P24 payment method. """ pay_by_bank: NotRequired[ - "Literal['']|PaymentIntentConfirmParamsPaymentMethodOptionsPayByBank" + "PaymentIntentConfirmParamsPaymentMethodDataPayByBank" ] """ - If this is a `pay_by_bank` PaymentMethod, this sub-hash contains details about the PayByBank payment method options. + If this is a `pay_by_bank` PaymentMethod, this hash contains details about the PayByBank payment method. """ - payco: NotRequired[ - "Literal['']|PaymentIntentConfirmParamsPaymentMethodOptionsPayco" + payco: NotRequired["PaymentIntentConfirmParamsPaymentMethodDataPayco"] + """ + If this is a `payco` PaymentMethod, this hash contains details about the PAYCO payment method. + """ + paynow: NotRequired["PaymentIntentConfirmParamsPaymentMethodDataPaynow"] + """ + If this is a `paynow` PaymentMethod, this hash contains details about the PayNow payment method. + """ + paypal: NotRequired["PaymentIntentConfirmParamsPaymentMethodDataPaypal"] + """ + If this is a `paypal` PaymentMethod, this hash contains details about the PayPal payment method. + """ + paypay: NotRequired["PaymentIntentConfirmParamsPaymentMethodDataPaypay"] + """ + If this is a `paypay` PaymentMethod, this hash contains details about the PayPay payment method. + """ + payto: NotRequired["PaymentIntentConfirmParamsPaymentMethodDataPayto"] + """ + If this is a `payto` PaymentMethod, this hash contains details about the PayTo payment method. + """ + pix: NotRequired["PaymentIntentConfirmParamsPaymentMethodDataPix"] + """ + If this is a `pix` PaymentMethod, this hash contains details about the Pix payment method. + """ + promptpay: NotRequired[ + "PaymentIntentConfirmParamsPaymentMethodDataPromptpay" ] """ - If this is a `payco` PaymentMethod, this sub-hash contains details about the PAYCO payment method options. + If this is a `promptpay` PaymentMethod, this hash contains details about the PromptPay payment method. """ - paynow: NotRequired[ - "Literal['']|PaymentIntentConfirmParamsPaymentMethodOptionsPaynow" + qris: NotRequired["PaymentIntentConfirmParamsPaymentMethodDataQris"] + """ + If this is a `qris` PaymentMethod, this hash contains details about the QRIS payment method. + """ + radar_options: NotRequired[ + "PaymentIntentConfirmParamsPaymentMethodDataRadarOptions" ] """ - If this is a `paynow` PaymentMethod, this sub-hash contains details about the PayNow payment method options. + Options to configure Radar. See [Radar Session](https://stripe.com/docs/radar/radar-session) for more information. """ - paypal: NotRequired[ - "Literal['']|PaymentIntentConfirmParamsPaymentMethodOptionsPaypal" + rechnung: NotRequired[ + "PaymentIntentConfirmParamsPaymentMethodDataRechnung" ] """ - If this is a `paypal` PaymentMethod, this sub-hash contains details about the PayPal payment method options. + If this is a `rechnung` PaymentMethod, this hash contains details about the Rechnung payment method. """ - paypay: NotRequired[ - "Literal['']|PaymentIntentConfirmParamsPaymentMethodOptionsPaypay" + revolut_pay: NotRequired[ + "PaymentIntentConfirmParamsPaymentMethodDataRevolutPay" + ] + """ + If this is a `revolut_pay` PaymentMethod, this hash contains details about the Revolut Pay payment method. + """ + samsung_pay: NotRequired[ + "PaymentIntentConfirmParamsPaymentMethodDataSamsungPay" + ] + """ + If this is a `samsung_pay` PaymentMethod, this hash contains details about the SamsungPay payment method. + """ + satispay: NotRequired[ + "PaymentIntentConfirmParamsPaymentMethodDataSatispay" + ] + """ + If this is a `satispay` PaymentMethod, this hash contains details about the Satispay payment method. + """ + sepa_debit: NotRequired[ + "PaymentIntentConfirmParamsPaymentMethodDataSepaDebit" + ] + """ + If this is a `sepa_debit` PaymentMethod, this hash contains details about the SEPA debit bank account. + """ + shopeepay: NotRequired[ + "PaymentIntentConfirmParamsPaymentMethodDataShopeepay" ] """ - If this is a `paypay` PaymentMethod, this sub-hash contains details about the PayPay payment method options. + If this is a Shopeepay PaymentMethod, this hash contains details about the Shopeepay payment method. + """ + sofort: NotRequired["PaymentIntentConfirmParamsPaymentMethodDataSofort"] + """ + If this is a `sofort` PaymentMethod, this hash contains details about the SOFORT payment method. + """ + stripe_balance: NotRequired[ + "PaymentIntentConfirmParamsPaymentMethodDataStripeBalance" + ] + """ + This hash contains details about the Stripe balance payment method. + """ + swish: NotRequired["PaymentIntentConfirmParamsPaymentMethodDataSwish"] + """ + If this is a `swish` PaymentMethod, this hash contains details about the Swish payment method. + """ + twint: NotRequired["PaymentIntentConfirmParamsPaymentMethodDataTwint"] + """ + If this is a TWINT PaymentMethod, this hash contains details about the TWINT payment method. + """ + type: Literal[ + "acss_debit", + "affirm", + "afterpay_clearpay", + "alipay", + "alma", + "amazon_pay", + "au_becs_debit", + "bacs_debit", + "bancontact", + "billie", + "blik", + "boleto", + "cashapp", + "crypto", + "customer_balance", + "eps", + "fpx", + "giropay", + "gopay", + "grabpay", + "id_bank_transfer", + "ideal", + "kakao_pay", + "klarna", + "konbini", + "kr_card", + "link", + "mb_way", + "mobilepay", + "multibanco", + "naver_pay", + "nz_bank_account", + "oxxo", + "p24", + "pay_by_bank", + "payco", + "paynow", + "paypal", + "paypay", + "payto", + "pix", + "promptpay", + "qris", + "rechnung", + "revolut_pay", + "samsung_pay", + "satispay", + "sepa_debit", + "shopeepay", + "sofort", + "stripe_balance", + "swish", + "twint", + "us_bank_account", + "wechat_pay", + "zip", + ] + """ + The type of the PaymentMethod. An additional hash is included on the PaymentMethod with a name matching this value. It contains additional information specific to the PaymentMethod type. + """ + us_bank_account: NotRequired[ + "PaymentIntentConfirmParamsPaymentMethodDataUsBankAccount" + ] + """ + If this is an `us_bank_account` PaymentMethod, this hash contains details about the US bank account payment method. + """ + wechat_pay: NotRequired[ + "PaymentIntentConfirmParamsPaymentMethodDataWechatPay" + ] + """ + If this is an `wechat_pay` PaymentMethod, this hash contains details about the wechat_pay payment method. + """ + zip: NotRequired["PaymentIntentConfirmParamsPaymentMethodDataZip"] + """ + If this is a `zip` PaymentMethod, this hash contains details about the Zip payment method. + """ + + +class PaymentIntentConfirmParamsPaymentMethodDataAcssDebit(TypedDict): + account_number: str + """ + Customer's bank account number. + """ + institution_number: str + """ + Institution number of the customer's bank. + """ + transit_number: str + """ + Transit number of the customer's bank. + """ + + +class PaymentIntentConfirmParamsPaymentMethodDataAffirm(TypedDict): + pass + + +class PaymentIntentConfirmParamsPaymentMethodDataAfterpayClearpay(TypedDict): + pass + + +class PaymentIntentConfirmParamsPaymentMethodDataAlipay(TypedDict): + pass + + +class PaymentIntentConfirmParamsPaymentMethodDataAlma(TypedDict): + pass + + +class PaymentIntentConfirmParamsPaymentMethodDataAmazonPay(TypedDict): + pass + + +class PaymentIntentConfirmParamsPaymentMethodDataAuBecsDebit(TypedDict): + account_number: str + """ + The account number for the bank account. + """ + bsb_number: str + """ + Bank-State-Branch number of the bank account. + """ + + +class PaymentIntentConfirmParamsPaymentMethodDataBacsDebit(TypedDict): + account_number: NotRequired[str] + """ + Account number of the bank account that the funds will be debited from. + """ + sort_code: NotRequired[str] + """ + Sort code of the bank account. (e.g., `10-20-30`) + """ + + +class PaymentIntentConfirmParamsPaymentMethodDataBancontact(TypedDict): + pass + + +class PaymentIntentConfirmParamsPaymentMethodDataBillie(TypedDict): + pass + + +class PaymentIntentConfirmParamsPaymentMethodDataBillingDetails(TypedDict): + address: NotRequired[ + "Literal['']|PaymentIntentConfirmParamsPaymentMethodDataBillingDetailsAddress" + ] + """ + Billing address. + """ + email: NotRequired["Literal['']|str"] + """ + Email address. + """ + name: NotRequired["Literal['']|str"] + """ + Full name. + """ + phone: NotRequired["Literal['']|str"] + """ + Billing phone number (including extension). + """ + tax_id: NotRequired[str] + """ + Taxpayer identification number. Used only for transactions between LATAM buyers and non-LATAM sellers. + """ + + +class PaymentIntentConfirmParamsPaymentMethodDataBillingDetailsAddress( + TypedDict, +): + city: NotRequired[str] + """ + City, district, suburb, town, or village. + """ + country: NotRequired[str] + """ + Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). + """ + line1: NotRequired[str] + """ + Address line 1, such as the street, PO Box, or company name. + """ + line2: NotRequired[str] + """ + Address line 2, such as the apartment, suite, unit, or building. + """ + postal_code: NotRequired[str] + """ + ZIP or postal code. + """ + state: NotRequired[str] + """ + State, county, province, or region. + """ + + +class PaymentIntentConfirmParamsPaymentMethodDataBlik(TypedDict): + pass + + +class PaymentIntentConfirmParamsPaymentMethodDataBoleto(TypedDict): + tax_id: str + """ + The tax ID of the customer (CPF for individual consumers or CNPJ for businesses consumers) + """ + + +class PaymentIntentConfirmParamsPaymentMethodDataCashapp(TypedDict): + pass + + +class PaymentIntentConfirmParamsPaymentMethodDataCrypto(TypedDict): + pass + + +class PaymentIntentConfirmParamsPaymentMethodDataCustomerBalance(TypedDict): + pass + + +class PaymentIntentConfirmParamsPaymentMethodDataEps(TypedDict): + bank: NotRequired[ + Literal[ + "arzte_und_apotheker_bank", + "austrian_anadi_bank_ag", + "bank_austria", + "bankhaus_carl_spangler", + "bankhaus_schelhammer_und_schattera_ag", + "bawag_psk_ag", + "bks_bank_ag", + "brull_kallmus_bank_ag", + "btv_vier_lander_bank", + "capital_bank_grawe_gruppe_ag", + "deutsche_bank_ag", + "dolomitenbank", + "easybank_ag", + "erste_bank_und_sparkassen", + "hypo_alpeadriabank_international_ag", + "hypo_bank_burgenland_aktiengesellschaft", + "hypo_noe_lb_fur_niederosterreich_u_wien", + "hypo_oberosterreich_salzburg_steiermark", + "hypo_tirol_bank_ag", + "hypo_vorarlberg_bank_ag", + "marchfelder_bank", + "oberbank_ag", + "raiffeisen_bankengruppe_osterreich", + "schoellerbank_ag", + "sparda_bank_wien", + "volksbank_gruppe", + "volkskreditbank_ag", + "vr_bank_braunau", + ] + ] + """ + The customer's bank. + """ + + +class PaymentIntentConfirmParamsPaymentMethodDataFpx(TypedDict): + account_holder_type: NotRequired[Literal["company", "individual"]] + """ + Account holder type for FPX transaction + """ + bank: Literal[ + "affin_bank", + "agrobank", + "alliance_bank", + "ambank", + "bank_islam", + "bank_muamalat", + "bank_of_china", + "bank_rakyat", + "bsn", + "cimb", + "deutsche_bank", + "hong_leong_bank", + "hsbc", + "kfh", + "maybank2e", + "maybank2u", + "ocbc", + "pb_enterprise", + "public_bank", + "rhb", + "standard_chartered", + "uob", + ] + """ + The customer's bank. + """ + + +class PaymentIntentConfirmParamsPaymentMethodDataGiropay(TypedDict): + pass + + +class PaymentIntentConfirmParamsPaymentMethodDataGopay(TypedDict): + pass + + +class PaymentIntentConfirmParamsPaymentMethodDataGrabpay(TypedDict): + pass + + +class PaymentIntentConfirmParamsPaymentMethodDataIdBankTransfer(TypedDict): + bank: NotRequired[Literal["bca", "bni", "bri", "cimb", "permata"]] + """ + Bank where the account is held. + """ + + +class PaymentIntentConfirmParamsPaymentMethodDataIdeal(TypedDict): + bank: NotRequired[ + Literal[ + "abn_amro", + "asn_bank", + "bunq", + "buut", + "finom", + "handelsbanken", + "ing", + "knab", + "moneyou", + "n26", + "nn", + "rabobank", + "regiobank", + "revolut", + "sns_bank", + "triodos_bank", + "van_lanschot", + "yoursafe", + ] + ] + """ + The customer's bank. Only use this parameter for existing customers. Don't use it for new customers. + """ + + +class PaymentIntentConfirmParamsPaymentMethodDataInteracPresent(TypedDict): + pass + + +class PaymentIntentConfirmParamsPaymentMethodDataKakaoPay(TypedDict): + pass + + +class PaymentIntentConfirmParamsPaymentMethodDataKlarna(TypedDict): + dob: NotRequired["PaymentIntentConfirmParamsPaymentMethodDataKlarnaDob"] + """ + Customer's date of birth + """ + + +class PaymentIntentConfirmParamsPaymentMethodDataKlarnaDob(TypedDict): + day: int + """ + The day of birth, between 1 and 31. + """ + month: int + """ + The month of birth, between 1 and 12. + """ + year: int + """ + The four-digit year of birth. + """ + + +class PaymentIntentConfirmParamsPaymentMethodDataKonbini(TypedDict): + pass + + +class PaymentIntentConfirmParamsPaymentMethodDataKrCard(TypedDict): + pass + + +class PaymentIntentConfirmParamsPaymentMethodDataLink(TypedDict): + pass + + +class PaymentIntentConfirmParamsPaymentMethodDataMbWay(TypedDict): + pass + + +class PaymentIntentConfirmParamsPaymentMethodDataMobilepay(TypedDict): + pass + + +class PaymentIntentConfirmParamsPaymentMethodDataMultibanco(TypedDict): + pass + + +class PaymentIntentConfirmParamsPaymentMethodDataNaverPay(TypedDict): + funding: NotRequired[Literal["card", "points"]] + """ + Whether to use Naver Pay points or a card to fund this transaction. If not provided, this defaults to `card`. + """ + + +class PaymentIntentConfirmParamsPaymentMethodDataNzBankAccount(TypedDict): + account_holder_name: NotRequired[str] + """ + The name on the bank account. Only required if the account holder name is different from the name of the authorized signatory collected in the PaymentMethod's billing details. + """ + account_number: str + """ + The account number for the bank account. + """ + bank_code: str + """ + The numeric code for the bank account's bank. + """ + branch_code: str + """ + The numeric code for the bank account's bank branch. + """ + reference: NotRequired[str] + suffix: str + """ + The suffix of the bank account number. + """ + + +class PaymentIntentConfirmParamsPaymentMethodDataOxxo(TypedDict): + pass + + +class PaymentIntentConfirmParamsPaymentMethodDataP24(TypedDict): + bank: NotRequired[ + Literal[ + "alior_bank", + "bank_millennium", + "bank_nowy_bfg_sa", + "bank_pekao_sa", + "banki_spbdzielcze", + "blik", + "bnp_paribas", + "boz", + "citi_handlowy", + "credit_agricole", + "envelobank", + "etransfer_pocztowy24", + "getin_bank", + "ideabank", + "ing", + "inteligo", + "mbank_mtransfer", + "nest_przelew", + "noble_pay", + "pbac_z_ipko", + "plus_bank", + "santander_przelew24", + "tmobile_usbugi_bankowe", + "toyota_bank", + "velobank", + "volkswagen_bank", + ] + ] + """ + The customer's bank. + """ + + +class PaymentIntentConfirmParamsPaymentMethodDataPayByBank(TypedDict): + pass + + +class PaymentIntentConfirmParamsPaymentMethodDataPayco(TypedDict): + pass + + +class PaymentIntentConfirmParamsPaymentMethodDataPaynow(TypedDict): + pass + + +class PaymentIntentConfirmParamsPaymentMethodDataPaypal(TypedDict): + pass + + +class PaymentIntentConfirmParamsPaymentMethodDataPaypay(TypedDict): + pass + + +class PaymentIntentConfirmParamsPaymentMethodDataPayto(TypedDict): + account_number: NotRequired[str] + """ + The account number for the bank account. + """ + bsb_number: NotRequired[str] + """ + Bank-State-Branch number of the bank account. + """ + pay_id: NotRequired[str] + """ + The PayID alias for the bank account. + """ + + +class PaymentIntentConfirmParamsPaymentMethodDataPix(TypedDict): + pass + + +class PaymentIntentConfirmParamsPaymentMethodDataPromptpay(TypedDict): + pass + + +class PaymentIntentConfirmParamsPaymentMethodDataQris(TypedDict): + pass + + +class PaymentIntentConfirmParamsPaymentMethodDataRadarOptions(TypedDict): + session: NotRequired[str] + """ + A [Radar Session](https://stripe.com/docs/radar/radar-session) is a snapshot of the browser metadata and device details that help Radar make more accurate predictions on your payments. + """ + + +class PaymentIntentConfirmParamsPaymentMethodDataRechnung(TypedDict): + dob: "PaymentIntentConfirmParamsPaymentMethodDataRechnungDob" + """ + Customer's date of birth + """ + + +class PaymentIntentConfirmParamsPaymentMethodDataRechnungDob(TypedDict): + day: int + """ + The day of birth, between 1 and 31. + """ + month: int + """ + The month of birth, between 1 and 12. + """ + year: int + """ + The four-digit year of birth. + """ + + +class PaymentIntentConfirmParamsPaymentMethodDataRevolutPay(TypedDict): + pass + + +class PaymentIntentConfirmParamsPaymentMethodDataSamsungPay(TypedDict): + pass + + +class PaymentIntentConfirmParamsPaymentMethodDataSatispay(TypedDict): + pass + + +class PaymentIntentConfirmParamsPaymentMethodDataSepaDebit(TypedDict): + iban: str + """ + IBAN of the bank account. + """ + + +class PaymentIntentConfirmParamsPaymentMethodDataShopeepay(TypedDict): + pass + + +class PaymentIntentConfirmParamsPaymentMethodDataSofort(TypedDict): + country: Literal["AT", "BE", "DE", "ES", "IT", "NL"] + """ + Two-letter ISO code representing the country the bank account is located in. + """ + + +class PaymentIntentConfirmParamsPaymentMethodDataStripeBalance(TypedDict): + account: NotRequired[str] + """ + The connected account ID whose Stripe balance to use as the source of payment + """ + source_type: NotRequired[Literal["bank_account", "card", "fpx"]] + """ + The [source_type](https://docs.stripe.com/api/balance/balance_object#balance_object-available-source_types) of the balance + """ + + +class PaymentIntentConfirmParamsPaymentMethodDataSwish(TypedDict): + pass + + +class PaymentIntentConfirmParamsPaymentMethodDataTwint(TypedDict): + pass + + +class PaymentIntentConfirmParamsPaymentMethodDataUsBankAccount(TypedDict): + account_holder_type: NotRequired[Literal["company", "individual"]] + """ + Account holder type: individual or company. + """ + account_number: NotRequired[str] + """ + Account number of the bank account. + """ + account_type: NotRequired[Literal["checking", "savings"]] + """ + Account type: checkings or savings. Defaults to checking if omitted. + """ + financial_connections_account: NotRequired[str] + """ + The ID of a Financial Connections Account to use as a payment method. + """ + routing_number: NotRequired[str] + """ + Routing number of the bank account. + """ + + +class PaymentIntentConfirmParamsPaymentMethodDataWechatPay(TypedDict): + pass + + +class PaymentIntentConfirmParamsPaymentMethodDataZip(TypedDict): + pass + + +class PaymentIntentConfirmParamsPaymentMethodOptions(TypedDict): + acss_debit: NotRequired[ + "Literal['']|PaymentIntentConfirmParamsPaymentMethodOptionsAcssDebit" + ] + """ + If this is a `acss_debit` PaymentMethod, this sub-hash contains details about the ACSS Debit payment method options. + """ + affirm: NotRequired[ + "Literal['']|PaymentIntentConfirmParamsPaymentMethodOptionsAffirm" + ] + """ + If this is an `affirm` PaymentMethod, this sub-hash contains details about the Affirm payment method options. + """ + afterpay_clearpay: NotRequired[ + "Literal['']|PaymentIntentConfirmParamsPaymentMethodOptionsAfterpayClearpay" + ] + """ + If this is a `afterpay_clearpay` PaymentMethod, this sub-hash contains details about the Afterpay Clearpay payment method options. + """ + alipay: NotRequired[ + "Literal['']|PaymentIntentConfirmParamsPaymentMethodOptionsAlipay" + ] + """ + If this is a `alipay` PaymentMethod, this sub-hash contains details about the Alipay payment method options. + """ + alma: NotRequired[ + "Literal['']|PaymentIntentConfirmParamsPaymentMethodOptionsAlma" + ] + """ + If this is a `alma` PaymentMethod, this sub-hash contains details about the Alma payment method options. + """ + amazon_pay: NotRequired[ + "Literal['']|PaymentIntentConfirmParamsPaymentMethodOptionsAmazonPay" + ] + """ + If this is a `amazon_pay` PaymentMethod, this sub-hash contains details about the Amazon Pay payment method options. + """ + au_becs_debit: NotRequired[ + "Literal['']|PaymentIntentConfirmParamsPaymentMethodOptionsAuBecsDebit" + ] + """ + If this is a `au_becs_debit` PaymentMethod, this sub-hash contains details about the AU BECS Direct Debit payment method options. + """ + bacs_debit: NotRequired[ + "Literal['']|PaymentIntentConfirmParamsPaymentMethodOptionsBacsDebit" + ] + """ + If this is a `bacs_debit` PaymentMethod, this sub-hash contains details about the BACS Debit payment method options. + """ + bancontact: NotRequired[ + "Literal['']|PaymentIntentConfirmParamsPaymentMethodOptionsBancontact" + ] + """ + If this is a `bancontact` PaymentMethod, this sub-hash contains details about the Bancontact payment method options. + """ + billie: NotRequired[ + "Literal['']|PaymentIntentConfirmParamsPaymentMethodOptionsBillie" + ] + """ + If this is a `billie` PaymentMethod, this sub-hash contains details about the Billie payment method options. + """ + blik: NotRequired[ + "Literal['']|PaymentIntentConfirmParamsPaymentMethodOptionsBlik" + ] + """ + If this is a `blik` PaymentMethod, this sub-hash contains details about the BLIK payment method options. + """ + boleto: NotRequired[ + "Literal['']|PaymentIntentConfirmParamsPaymentMethodOptionsBoleto" + ] + """ + If this is a `boleto` PaymentMethod, this sub-hash contains details about the Boleto payment method options. + """ + card: NotRequired[ + "Literal['']|PaymentIntentConfirmParamsPaymentMethodOptionsCard" + ] + """ + Configuration for any card payments attempted on this PaymentIntent. + """ + card_present: NotRequired[ + "Literal['']|PaymentIntentConfirmParamsPaymentMethodOptionsCardPresent" + ] + """ + If this is a `card_present` PaymentMethod, this sub-hash contains details about the Card Present payment method options. + """ + cashapp: NotRequired[ + "Literal['']|PaymentIntentConfirmParamsPaymentMethodOptionsCashapp" + ] + """ + If this is a `cashapp` PaymentMethod, this sub-hash contains details about the Cash App Pay payment method options. + """ + crypto: NotRequired[ + "Literal['']|PaymentIntentConfirmParamsPaymentMethodOptionsCrypto" + ] + """ + If this is a `crypto` PaymentMethod, this sub-hash contains details about the Crypto payment method options. + """ + customer_balance: NotRequired[ + "Literal['']|PaymentIntentConfirmParamsPaymentMethodOptionsCustomerBalance" + ] + """ + If this is a `customer balance` PaymentMethod, this sub-hash contains details about the customer balance payment method options. + """ + eps: NotRequired[ + "Literal['']|PaymentIntentConfirmParamsPaymentMethodOptionsEps" + ] + """ + If this is a `eps` PaymentMethod, this sub-hash contains details about the EPS payment method options. + """ + fpx: NotRequired[ + "Literal['']|PaymentIntentConfirmParamsPaymentMethodOptionsFpx" + ] + """ + If this is a `fpx` PaymentMethod, this sub-hash contains details about the FPX payment method options. + """ + giropay: NotRequired[ + "Literal['']|PaymentIntentConfirmParamsPaymentMethodOptionsGiropay" + ] + """ + If this is a `giropay` PaymentMethod, this sub-hash contains details about the Giropay payment method options. + """ + gopay: NotRequired[ + "Literal['']|PaymentIntentConfirmParamsPaymentMethodOptionsGopay" + ] + """ + If this is a `gopay` PaymentMethod, this sub-hash contains details about the Gopay payment method options. + """ + grabpay: NotRequired[ + "Literal['']|PaymentIntentConfirmParamsPaymentMethodOptionsGrabpay" + ] + """ + If this is a `grabpay` PaymentMethod, this sub-hash contains details about the Grabpay payment method options. + """ + id_bank_transfer: NotRequired[ + "Literal['']|PaymentIntentConfirmParamsPaymentMethodOptionsIdBankTransfer" + ] + """ + If this is a `id_bank_transfer` PaymentMethod, this sub-hash contains details about the Indonesia Bank Transfer payment method options. + """ + ideal: NotRequired[ + "Literal['']|PaymentIntentConfirmParamsPaymentMethodOptionsIdeal" + ] + """ + If this is a `ideal` PaymentMethod, this sub-hash contains details about the Ideal payment method options. + """ + interac_present: NotRequired[ + "Literal['']|PaymentIntentConfirmParamsPaymentMethodOptionsInteracPresent" + ] + """ + If this is a `interac_present` PaymentMethod, this sub-hash contains details about the Card Present payment method options. + """ + kakao_pay: NotRequired[ + "Literal['']|PaymentIntentConfirmParamsPaymentMethodOptionsKakaoPay" + ] + """ + If this is a `kakao_pay` PaymentMethod, this sub-hash contains details about the Kakao Pay payment method options. + """ + klarna: NotRequired[ + "Literal['']|PaymentIntentConfirmParamsPaymentMethodOptionsKlarna" + ] + """ + If this is a `klarna` PaymentMethod, this sub-hash contains details about the Klarna payment method options. + """ + konbini: NotRequired[ + "Literal['']|PaymentIntentConfirmParamsPaymentMethodOptionsKonbini" + ] + """ + If this is a `konbini` PaymentMethod, this sub-hash contains details about the Konbini payment method options. + """ + kr_card: NotRequired[ + "Literal['']|PaymentIntentConfirmParamsPaymentMethodOptionsKrCard" + ] + """ + If this is a `kr_card` PaymentMethod, this sub-hash contains details about the KR Card payment method options. + """ + link: NotRequired[ + "Literal['']|PaymentIntentConfirmParamsPaymentMethodOptionsLink" + ] + """ + If this is a `link` PaymentMethod, this sub-hash contains details about the Link payment method options. + """ + mb_way: NotRequired[ + "Literal['']|PaymentIntentConfirmParamsPaymentMethodOptionsMbWay" + ] + """ + If this is a `mb_way` PaymentMethod, this sub-hash contains details about the MB WAY payment method options. + """ + mobilepay: NotRequired[ + "Literal['']|PaymentIntentConfirmParamsPaymentMethodOptionsMobilepay" + ] + """ + If this is a `MobilePay` PaymentMethod, this sub-hash contains details about the MobilePay payment method options. + """ + multibanco: NotRequired[ + "Literal['']|PaymentIntentConfirmParamsPaymentMethodOptionsMultibanco" + ] + """ + If this is a `multibanco` PaymentMethod, this sub-hash contains details about the Multibanco payment method options. + """ + naver_pay: NotRequired[ + "Literal['']|PaymentIntentConfirmParamsPaymentMethodOptionsNaverPay" + ] + """ + If this is a `naver_pay` PaymentMethod, this sub-hash contains details about the Naver Pay payment method options. + """ + nz_bank_account: NotRequired[ + "Literal['']|PaymentIntentConfirmParamsPaymentMethodOptionsNzBankAccount" + ] + """ + If this is a `nz_bank_account` PaymentMethod, this sub-hash contains details about the NZ BECS Direct Debit payment method options. + """ + oxxo: NotRequired[ + "Literal['']|PaymentIntentConfirmParamsPaymentMethodOptionsOxxo" + ] + """ + If this is a `oxxo` PaymentMethod, this sub-hash contains details about the OXXO payment method options. + """ + p24: NotRequired[ + "Literal['']|PaymentIntentConfirmParamsPaymentMethodOptionsP24" + ] + """ + If this is a `p24` PaymentMethod, this sub-hash contains details about the Przelewy24 payment method options. + """ + pay_by_bank: NotRequired[ + "Literal['']|PaymentIntentConfirmParamsPaymentMethodOptionsPayByBank" + ] + """ + If this is a `pay_by_bank` PaymentMethod, this sub-hash contains details about the PayByBank payment method options. + """ + payco: NotRequired[ + "Literal['']|PaymentIntentConfirmParamsPaymentMethodOptionsPayco" + ] + """ + If this is a `payco` PaymentMethod, this sub-hash contains details about the PAYCO payment method options. + """ + paynow: NotRequired[ + "Literal['']|PaymentIntentConfirmParamsPaymentMethodOptionsPaynow" + ] + """ + If this is a `paynow` PaymentMethod, this sub-hash contains details about the PayNow payment method options. + """ + paypal: NotRequired[ + "Literal['']|PaymentIntentConfirmParamsPaymentMethodOptionsPaypal" + ] + """ + If this is a `paypal` PaymentMethod, this sub-hash contains details about the PayPal payment method options. + """ + paypay: NotRequired[ + "Literal['']|PaymentIntentConfirmParamsPaymentMethodOptionsPaypay" + ] + """ + If this is a `paypay` PaymentMethod, this sub-hash contains details about the PayPay payment method options. + """ + payto: NotRequired[ + "Literal['']|PaymentIntentConfirmParamsPaymentMethodOptionsPayto" + ] + """ + If this is a `payto` PaymentMethod, this sub-hash contains details about the PayTo payment method options. + """ + pix: NotRequired[ + "Literal['']|PaymentIntentConfirmParamsPaymentMethodOptionsPix" + ] + """ + If this is a `pix` PaymentMethod, this sub-hash contains details about the Pix payment method options. + """ + promptpay: NotRequired[ + "Literal['']|PaymentIntentConfirmParamsPaymentMethodOptionsPromptpay" + ] + """ + If this is a `promptpay` PaymentMethod, this sub-hash contains details about the PromptPay payment method options. + """ + qris: NotRequired[ + "Literal['']|PaymentIntentConfirmParamsPaymentMethodOptionsQris" + ] + """ + If this is a `qris` PaymentMethod, this sub-hash contains details about the QRIS payment method options. + """ + rechnung: NotRequired[ + "Literal['']|PaymentIntentConfirmParamsPaymentMethodOptionsRechnung" + ] + """ + If this is a `rechnung` PaymentMethod, this sub-hash contains details about the Rechnung payment method options. + """ + revolut_pay: NotRequired[ + "Literal['']|PaymentIntentConfirmParamsPaymentMethodOptionsRevolutPay" + ] + """ + If this is a `revolut_pay` PaymentMethod, this sub-hash contains details about the Revolut Pay payment method options. + """ + samsung_pay: NotRequired[ + "Literal['']|PaymentIntentConfirmParamsPaymentMethodOptionsSamsungPay" + ] + """ + If this is a `samsung_pay` PaymentMethod, this sub-hash contains details about the Samsung Pay payment method options. + """ + satispay: NotRequired[ + "Literal['']|PaymentIntentConfirmParamsPaymentMethodOptionsSatispay" + ] + """ + If this is a `satispay` PaymentMethod, this sub-hash contains details about the Satispay payment method options. + """ + sepa_debit: NotRequired[ + "Literal['']|PaymentIntentConfirmParamsPaymentMethodOptionsSepaDebit" + ] + """ + If this is a `sepa_debit` PaymentIntent, this sub-hash contains details about the SEPA Debit payment method options. + """ + shopeepay: NotRequired[ + "Literal['']|PaymentIntentConfirmParamsPaymentMethodOptionsShopeepay" + ] + """ + If this is a `shopeepay` PaymentMethod, this sub-hash contains details about the ShopeePay payment method options. + """ + sofort: NotRequired[ + "Literal['']|PaymentIntentConfirmParamsPaymentMethodOptionsSofort" + ] + """ + If this is a `sofort` PaymentMethod, this sub-hash contains details about the SOFORT payment method options. + """ + stripe_balance: NotRequired[ + "Literal['']|PaymentIntentConfirmParamsPaymentMethodOptionsStripeBalance" + ] + """ + If this is a `stripe_balance` PaymentMethod, this sub-hash contains details about the Stripe Balance payment method options. + """ + swish: NotRequired[ + "Literal['']|PaymentIntentConfirmParamsPaymentMethodOptionsSwish" + ] + """ + If this is a `Swish` PaymentMethod, this sub-hash contains details about the Swish payment method options. + """ + twint: NotRequired[ + "Literal['']|PaymentIntentConfirmParamsPaymentMethodOptionsTwint" + ] + """ + If this is a `twint` PaymentMethod, this sub-hash contains details about the TWINT payment method options. + """ + us_bank_account: NotRequired[ + "Literal['']|PaymentIntentConfirmParamsPaymentMethodOptionsUsBankAccount" + ] + """ + If this is a `us_bank_account` PaymentMethod, this sub-hash contains details about the US bank account payment method options. + """ + wechat_pay: NotRequired[ + "Literal['']|PaymentIntentConfirmParamsPaymentMethodOptionsWechatPay" + ] + """ + If this is a `wechat_pay` PaymentMethod, this sub-hash contains details about the WeChat Pay payment method options. + """ + zip: NotRequired[ + "Literal['']|PaymentIntentConfirmParamsPaymentMethodOptionsZip" + ] + """ + If this is a `zip` PaymentMethod, this sub-hash contains details about the Zip payment method options. + """ + + +class PaymentIntentConfirmParamsPaymentMethodOptionsAcssDebit(TypedDict): + mandate_options: NotRequired[ + "PaymentIntentConfirmParamsPaymentMethodOptionsAcssDebitMandateOptions" + ] + """ + Additional fields for Mandate creation + """ + setup_future_usage: NotRequired[ + "Literal['']|Literal['none', 'off_session', 'on_session']" + ] + """ + Indicates that you intend to make future payments with this PaymentIntent's payment method. + + If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. + + If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. + + When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). + + If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`. + """ + target_date: NotRequired[str] + """ + Controls when Stripe will attempt to debit the funds from the customer's account. The date must be a string in YYYY-MM-DD format. The date must be in the future and between 3 and 15 calendar days from now. + """ + verification_method: NotRequired[ + Literal["automatic", "instant", "microdeposits"] + ] + """ + Bank account verification method. + """ + + +class PaymentIntentConfirmParamsPaymentMethodOptionsAcssDebitMandateOptions( + TypedDict, +): + custom_mandate_url: NotRequired["Literal['']|str"] + """ + A URL for custom mandate text to render during confirmation step. + The URL will be rendered with additional GET parameters `payment_intent` and `payment_intent_client_secret` when confirming a Payment Intent, + or `setup_intent` and `setup_intent_client_secret` when confirming a Setup Intent. + """ + interval_description: NotRequired[str] + """ + Description of the mandate interval. Only required if 'payment_schedule' parameter is 'interval' or 'combined'. + """ + payment_schedule: NotRequired[Literal["combined", "interval", "sporadic"]] + """ + Payment schedule for the mandate. + """ + transaction_type: NotRequired[Literal["business", "personal"]] + """ + Transaction type of the mandate. + """ + + +class PaymentIntentConfirmParamsPaymentMethodOptionsAffirm(TypedDict): + capture_method: NotRequired["Literal['']|Literal['manual']"] + """ + Controls when the funds are captured from the customer's account. + + If provided, this parameter overrides the behavior of the top-level [capture_method](https://docs.stripe.com/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type. + + If `capture_method` is already set on the PaymentIntent, providing an empty value for this parameter unsets the stored value for this payment method type. + """ + preferred_locale: NotRequired[str] + """ + Preferred language of the Affirm authorization page that the customer is redirected to. + """ + setup_future_usage: NotRequired[Literal["none"]] + """ + Indicates that you intend to make future payments with this PaymentIntent's payment method. + + If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. + + If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. + + When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). + + If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`. + """ + + +class PaymentIntentConfirmParamsPaymentMethodOptionsAfterpayClearpay( + TypedDict +): + capture_method: NotRequired["Literal['']|Literal['manual']"] + """ + Controls when the funds are captured from the customer's account. + + If provided, this parameter overrides the behavior of the top-level [capture_method](https://docs.stripe.com/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type. + + If `capture_method` is already set on the PaymentIntent, providing an empty value for this parameter unsets the stored value for this payment method type. + """ + reference: NotRequired[str] + """ + An internal identifier or reference that this payment corresponds to. You must limit the identifier to 128 characters, and it can only contain letters, numbers, underscores, backslashes, and dashes. + This field differs from the statement descriptor and item name. + """ + setup_future_usage: NotRequired[Literal["none"]] + """ + Indicates that you intend to make future payments with this PaymentIntent's payment method. + + If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. + + If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. + + When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). + + If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`. + """ + + +class PaymentIntentConfirmParamsPaymentMethodOptionsAlipay(TypedDict): + setup_future_usage: NotRequired[ + "Literal['']|Literal['none', 'off_session']" + ] + """ + Indicates that you intend to make future payments with this PaymentIntent's payment method. + + If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. + + If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. + + When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). + + If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`. + """ + + +class PaymentIntentConfirmParamsPaymentMethodOptionsAlma(TypedDict): + capture_method: NotRequired["Literal['']|Literal['manual']"] + """ + Controls when the funds are captured from the customer's account. + + If provided, this parameter overrides the behavior of the top-level [capture_method](https://docs.stripe.com/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type. + + If `capture_method` is already set on the PaymentIntent, providing an empty value for this parameter unsets the stored value for this payment method type. + """ + + +class PaymentIntentConfirmParamsPaymentMethodOptionsAmazonPay(TypedDict): + capture_method: NotRequired["Literal['']|Literal['manual']"] + """ + Controls when the funds are captured from the customer's account. + + If provided, this parameter overrides the behavior of the top-level [capture_method](https://docs.stripe.com/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type. + + If `capture_method` is already set on the PaymentIntent, providing an empty value for this parameter unsets the stored value for this payment method type. + """ + setup_future_usage: NotRequired[ + "Literal['']|Literal['none', 'off_session']" + ] + """ + Indicates that you intend to make future payments with this PaymentIntent's payment method. + + If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. + + If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. + + When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). + """ + + +class PaymentIntentConfirmParamsPaymentMethodOptionsAuBecsDebit(TypedDict): + setup_future_usage: NotRequired[ + "Literal['']|Literal['none', 'off_session', 'on_session']" + ] + """ + Indicates that you intend to make future payments with this PaymentIntent's payment method. + + If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. + + If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. + + When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). + + If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`. + """ + target_date: NotRequired[str] + """ + Controls when Stripe will attempt to debit the funds from the customer's account. The date must be a string in YYYY-MM-DD format. The date must be in the future and between 3 and 15 calendar days from now. + """ + + +class PaymentIntentConfirmParamsPaymentMethodOptionsBacsDebit(TypedDict): + mandate_options: NotRequired[ + "PaymentIntentConfirmParamsPaymentMethodOptionsBacsDebitMandateOptions" + ] + """ + Additional fields for Mandate creation + """ + setup_future_usage: NotRequired[ + "Literal['']|Literal['none', 'off_session', 'on_session']" + ] + """ + Indicates that you intend to make future payments with this PaymentIntent's payment method. + + If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. + + If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. + + When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). + + If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`. + """ + target_date: NotRequired[str] + """ + Controls when Stripe will attempt to debit the funds from the customer's account. The date must be a string in YYYY-MM-DD format. The date must be in the future and between 3 and 15 calendar days from now. + """ + + +class PaymentIntentConfirmParamsPaymentMethodOptionsBacsDebitMandateOptions( + TypedDict, +): + reference_prefix: NotRequired["Literal['']|str"] + """ + Prefix used to generate the Mandate reference. Must be at most 12 characters long. Must consist of only uppercase letters, numbers, spaces, or the following special characters: '/', '_', '-', '&', '.'. Cannot begin with 'DDIC' or 'STRIPE'. + """ + + +class PaymentIntentConfirmParamsPaymentMethodOptionsBancontact(TypedDict): + preferred_language: NotRequired[Literal["de", "en", "fr", "nl"]] + """ + Preferred language of the Bancontact authorization page that the customer is redirected to. + """ + setup_future_usage: NotRequired[ + "Literal['']|Literal['none', 'off_session']" + ] + """ + Indicates that you intend to make future payments with this PaymentIntent's payment method. + + If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. + + If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. + + When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). + + If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`. + """ + + +class PaymentIntentConfirmParamsPaymentMethodOptionsBillie(TypedDict): + capture_method: NotRequired["Literal['']|Literal['manual']"] + """ + Controls when the funds are captured from the customer's account. + + If provided, this parameter overrides the behavior of the top-level [capture_method](https://docs.stripe.com/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type. + + If `capture_method` is already set on the PaymentIntent, providing an empty value for this parameter unsets the stored value for this payment method type. + """ + + +class PaymentIntentConfirmParamsPaymentMethodOptionsBlik(TypedDict): + code: NotRequired[str] + """ + The 6-digit BLIK code that a customer has generated using their banking application. Can only be set on confirmation. + """ + setup_future_usage: NotRequired["Literal['']|Literal['none']"] + """ + Indicates that you intend to make future payments with this PaymentIntent's payment method. + + If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. + + If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. + + When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). + + If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`. + """ + + +class PaymentIntentConfirmParamsPaymentMethodOptionsBoleto(TypedDict): + expires_after_days: NotRequired[int] + """ + The number of calendar days before a Boleto voucher expires. For example, if you create a Boleto voucher on Monday and you set expires_after_days to 2, the Boleto invoice will expire on Wednesday at 23:59 America/Sao_Paulo time. + """ + setup_future_usage: NotRequired[ + "Literal['']|Literal['none', 'off_session', 'on_session']" + ] + """ + Indicates that you intend to make future payments with this PaymentIntent's payment method. + + If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. + + If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. + + When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). + + If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`. + """ + + +class PaymentIntentConfirmParamsPaymentMethodOptionsCard(TypedDict): + capture_method: NotRequired["Literal['']|Literal['manual']"] + """ + Controls when the funds are captured from the customer's account. + + If provided, this parameter overrides the behavior of the top-level [capture_method](https://docs.stripe.com/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type. + + If `capture_method` is already set on the PaymentIntent, providing an empty value for this parameter unsets the stored value for this payment method type. + """ + cvc_token: NotRequired[str] + """ + A single-use `cvc_update` Token that represents a card CVC value. When provided, the CVC value will be verified during the card payment attempt. This parameter can only be provided during confirmation. + """ + installments: NotRequired[ + "PaymentIntentConfirmParamsPaymentMethodOptionsCardInstallments" + ] + """ + Installment configuration for payments attempted on this PaymentIntent. + + For more information, see the [installments integration guide](https://stripe.com/docs/payments/installments). + """ + mandate_options: NotRequired[ + "PaymentIntentConfirmParamsPaymentMethodOptionsCardMandateOptions" + ] + """ + Configuration options for setting up an eMandate for cards issued in India. + """ + moto: NotRequired[bool] + """ + When specified, this parameter indicates that a transaction will be marked + as MOTO (Mail Order Telephone Order) and thus out of scope for SCA. This + parameter can only be provided during confirmation. + """ + network: NotRequired[ + Literal[ + "amex", + "cartes_bancaires", + "diners", + "discover", + "eftpos_au", + "girocard", + "interac", + "jcb", + "link", + "mastercard", + "unionpay", + "unknown", + "visa", + ] + ] + """ + Selected network to process this PaymentIntent on. Depends on the available networks of the card attached to the PaymentIntent. Can be only set confirm-time. + """ + request_decremental_authorization: NotRequired[ + Literal["if_available", "never"] + ] + """ + Request ability to [decrement the authorization](https://stripe.com/docs/payments/decremental-authorization) for this PaymentIntent. + """ + request_extended_authorization: NotRequired[ + Literal["if_available", "never"] + ] + """ + Request ability to [capture beyond the standard authorization validity window](https://stripe.com/docs/payments/extended-authorization) for this PaymentIntent. + """ + request_incremental_authorization: NotRequired[ + Literal["if_available", "never"] + ] + """ + Request ability to [increment the authorization](https://stripe.com/docs/payments/incremental-authorization) for this PaymentIntent. + """ + request_multicapture: NotRequired[Literal["if_available", "never"]] + """ + Request ability to make [multiple captures](https://stripe.com/docs/payments/multicapture) for this PaymentIntent. + """ + request_overcapture: NotRequired[Literal["if_available", "never"]] + """ + Request ability to [overcapture](https://stripe.com/docs/payments/overcapture) for this PaymentIntent. + """ + request_partial_authorization: NotRequired[ + Literal["if_available", "never"] + ] + """ + Request partial authorization on this PaymentIntent. + """ + request_three_d_secure: NotRequired[ + Literal["any", "automatic", "challenge"] + ] + """ + We strongly recommend that you rely on our SCA Engine to automatically prompt your customers for authentication based on risk level and [other requirements](https://stripe.com/docs/strong-customer-authentication). However, if you wish to request 3D Secure based on logic from your own fraud engine, provide this option. If not provided, this value defaults to `automatic`. Read our guide on [manually requesting 3D Secure](https://stripe.com/docs/payments/3d-secure/authentication-flow#manual-three-ds) for more information on how this configuration interacts with Radar and our SCA Engine. + """ + require_cvc_recollection: NotRequired[bool] + """ + When enabled, using a card that is attached to a customer will require the CVC to be provided again (i.e. using the cvc_token parameter). + """ + setup_future_usage: NotRequired[ + "Literal['']|Literal['none', 'off_session', 'on_session']" + ] + """ + Indicates that you intend to make future payments with this PaymentIntent's payment method. + + If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. + + If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. + + When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). + + If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`. + """ + statement_descriptor_suffix_kana: NotRequired["Literal['']|str"] + """ + Provides information about a card payment that customers see on their statements. Concatenated with the Kana prefix (shortened Kana descriptor) or Kana statement descriptor that's set on the account to form the complete statement descriptor. Maximum 22 characters. On card statements, the *concatenation* of both prefix and suffix (including separators) will appear truncated to 22 characters. + """ + statement_descriptor_suffix_kanji: NotRequired["Literal['']|str"] + """ + Provides information about a card payment that customers see on their statements. Concatenated with the Kanji prefix (shortened Kanji descriptor) or Kanji statement descriptor that's set on the account to form the complete statement descriptor. Maximum 17 characters. On card statements, the *concatenation* of both prefix and suffix (including separators) will appear truncated to 17 characters. + """ + statement_details: NotRequired[ + "Literal['']|PaymentIntentConfirmParamsPaymentMethodOptionsCardStatementDetails" + ] + """ + Statement details for this payment intent. You can use this to override the merchant details shown on your customers' statements. + """ + three_d_secure: NotRequired[ + "PaymentIntentConfirmParamsPaymentMethodOptionsCardThreeDSecure" + ] + """ + If 3D Secure authentication was performed with a third-party provider, + the authentication details to use for this payment. + """ + + +class PaymentIntentConfirmParamsPaymentMethodOptionsCardInstallments( + TypedDict +): + enabled: NotRequired[bool] + """ + Setting to true enables installments for this PaymentIntent. + This will cause the response to contain a list of available installment plans. + Setting to false will prevent any selected plan from applying to a charge. + """ + plan: NotRequired[ + "Literal['']|PaymentIntentConfirmParamsPaymentMethodOptionsCardInstallmentsPlan" + ] + """ + The selected installment plan to use for this payment attempt. + This parameter can only be provided during confirmation. + """ + + +class PaymentIntentConfirmParamsPaymentMethodOptionsCardInstallmentsPlan( + TypedDict, +): + count: NotRequired[int] + """ + For `fixed_count` installment plans, this is required. It represents the number of installment payments your customer will make to their credit card. + """ + interval: NotRequired[Literal["month"]] + """ + For `fixed_count` installment plans, this is required. It represents the interval between installment payments your customer will make to their credit card. + One of `month`. + """ + type: Literal["bonus", "fixed_count", "revolving"] + """ + Type of installment plan, one of `fixed_count`, `bonus`, or `revolving`. + """ + + +class PaymentIntentConfirmParamsPaymentMethodOptionsCardMandateOptions( + TypedDict, +): + amount: int + """ + Amount to be charged for future payments. + """ + amount_type: Literal["fixed", "maximum"] + """ + One of `fixed` or `maximum`. If `fixed`, the `amount` param refers to the exact amount to be charged in future payments. If `maximum`, the amount charged can be up to the value passed for the `amount` param. + """ + description: NotRequired[str] + """ + A description of the mandate or subscription that is meant to be displayed to the customer. + """ + end_date: NotRequired[int] + """ + End date of the mandate or subscription. If not provided, the mandate will be active until canceled. If provided, end date should be after start date. + """ + interval: Literal["day", "month", "sporadic", "week", "year"] + """ + Specifies payment frequency. One of `day`, `week`, `month`, `year`, or `sporadic`. + """ + interval_count: NotRequired[int] + """ + The number of intervals between payments. For example, `interval=month` and `interval_count=3` indicates one payment every three months. Maximum of one year interval allowed (1 year, 12 months, or 52 weeks). This parameter is optional when `interval=sporadic`. + """ + reference: str + """ + Unique identifier for the mandate or subscription. + """ + start_date: int + """ + Start date of the mandate or subscription. Start date should not be lesser than yesterday. + """ + supported_types: NotRequired[List[Literal["india"]]] + """ + Specifies the type of mandates supported. Possible values are `india`. + """ + + +class PaymentIntentConfirmParamsPaymentMethodOptionsCardStatementDetails( + TypedDict, +): + address: NotRequired[ + "PaymentIntentConfirmParamsPaymentMethodOptionsCardStatementDetailsAddress" + ] + """ + Please pass in an address that is within your Stripe user account country + """ + phone: NotRequired[str] + """ + Phone number (e.g., a toll-free number that customers can call) + """ + + +class PaymentIntentConfirmParamsPaymentMethodOptionsCardStatementDetailsAddress( + TypedDict, +): + city: NotRequired[str] + """ + City, district, suburb, town, or village. + """ + country: NotRequired[str] + """ + Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). + """ + line1: NotRequired[str] + """ + Address line 1, such as the street, PO Box, or company name. + """ + line2: NotRequired[str] + """ + Address line 2, such as the apartment, suite, unit, or building. + """ + postal_code: NotRequired[str] + """ + ZIP or postal code. + """ + state: NotRequired[str] + """ + State, county, province, or region. + """ + + +class PaymentIntentConfirmParamsPaymentMethodOptionsCardThreeDSecure( + TypedDict +): + ares_trans_status: NotRequired[Literal["A", "C", "I", "N", "R", "U", "Y"]] + """ + The `transStatus` returned from the card Issuer's ACS in the ARes. + """ + cryptogram: str + """ + The cryptogram, also known as the "authentication value" (AAV, CAVV or + AEVV). This value is 20 bytes, base64-encoded into a 28-character string. + (Most 3D Secure providers will return the base64-encoded version, which + is what you should specify here.) + """ + electronic_commerce_indicator: NotRequired[ + Literal["01", "02", "05", "06", "07"] + ] + """ + The Electronic Commerce Indicator (ECI) is returned by your 3D Secure + provider and indicates what degree of authentication was performed. + """ + exemption_indicator: NotRequired[Literal["low_risk", "none"]] + """ + The exemption requested via 3DS and accepted by the issuer at authentication time. + """ + network_options: NotRequired[ + "PaymentIntentConfirmParamsPaymentMethodOptionsCardThreeDSecureNetworkOptions" + ] + """ + Network specific 3DS fields. Network specific arguments require an + explicit card brand choice. The parameter `payment_method_options.card.network`` + must be populated accordingly + """ + requestor_challenge_indicator: NotRequired[str] + """ + The challenge indicator (`threeDSRequestorChallengeInd`) which was requested in the + AReq sent to the card Issuer's ACS. A string containing 2 digits from 01-99. + """ + transaction_id: str + """ + For 3D Secure 1, the XID. For 3D Secure 2, the Directory Server + Transaction ID (dsTransID). + """ + version: Literal["1.0.2", "2.1.0", "2.2.0"] + """ + The version of 3D Secure that was performed. + """ + + +class PaymentIntentConfirmParamsPaymentMethodOptionsCardThreeDSecureNetworkOptions( + TypedDict, +): + cartes_bancaires: NotRequired[ + "PaymentIntentConfirmParamsPaymentMethodOptionsCardThreeDSecureNetworkOptionsCartesBancaires" + ] + """ + Cartes Bancaires-specific 3DS fields. + """ + + +class PaymentIntentConfirmParamsPaymentMethodOptionsCardThreeDSecureNetworkOptionsCartesBancaires( + TypedDict, +): + cb_avalgo: Literal["0", "1", "2", "3", "4", "A"] + """ + The cryptogram calculation algorithm used by the card Issuer's ACS + to calculate the Authentication cryptogram. Also known as `cavvAlgorithm`. + messageExtension: CB-AVALGO + """ + cb_exemption: NotRequired[str] + """ + The exemption indicator returned from Cartes Bancaires in the ARes. + message extension: CB-EXEMPTION; string (4 characters) + This is a 3 byte bitmap (low significant byte first and most significant + bit first) that has been Base64 encoded + """ + cb_score: NotRequired[int] + """ + The risk score returned from Cartes Bancaires in the ARes. + message extension: CB-SCORE; numeric value 0-99 + """ + + +class PaymentIntentConfirmParamsPaymentMethodOptionsCardPresent(TypedDict): + capture_method: NotRequired[Literal["manual", "manual_preferred"]] + """ + Controls when the funds are captured from the customer's account. + + If provided, this parameter overrides the behavior of the top-level [capture_method](https://docs.stripe.com/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type. + + If `capture_method` is already set on the PaymentIntent, providing an empty value for this parameter unsets the stored value for this payment method type. + """ + request_extended_authorization: NotRequired[bool] + """ + Request ability to capture this payment beyond the standard [authorization validity window](https://stripe.com/docs/terminal/features/extended-authorizations#authorization-validity) + """ + request_incremental_authorization_support: NotRequired[bool] + """ + Request ability to [increment](https://stripe.com/docs/terminal/features/incremental-authorizations) this PaymentIntent if the combination of MCC and card brand is eligible. Check [incremental_authorization_supported](https://stripe.com/docs/api/charges/object#charge_object-payment_method_details-card_present-incremental_authorization_supported) in the [Confirm](https://stripe.com/docs/api/payment_intents/confirm) response to verify support. + """ + routing: NotRequired[ + "PaymentIntentConfirmParamsPaymentMethodOptionsCardPresentRouting" + ] + """ + Network routing priority on co-branded EMV cards supporting domestic debit and international card schemes. + """ + + +class PaymentIntentConfirmParamsPaymentMethodOptionsCardPresentRouting( + TypedDict, +): + requested_priority: NotRequired[Literal["domestic", "international"]] + """ + Routing requested priority + """ + + +class PaymentIntentConfirmParamsPaymentMethodOptionsCashapp(TypedDict): + capture_method: NotRequired["Literal['']|Literal['manual']"] + """ + Controls when the funds are captured from the customer's account. + + If provided, this parameter overrides the behavior of the top-level [capture_method](https://docs.stripe.com/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type. + + If `capture_method` is already set on the PaymentIntent, providing an empty value for this parameter unsets the stored value for this payment method type. + """ + setup_future_usage: NotRequired[ + "Literal['']|Literal['none', 'off_session', 'on_session']" + ] + """ + Indicates that you intend to make future payments with this PaymentIntent's payment method. + + If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. + + If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. + + When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). + + If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`. + """ + + +class PaymentIntentConfirmParamsPaymentMethodOptionsCrypto(TypedDict): + setup_future_usage: NotRequired[Literal["none"]] + """ + Indicates that you intend to make future payments with this PaymentIntent's payment method. + + If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. + + If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. + + When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). + + If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`. + """ + + +class PaymentIntentConfirmParamsPaymentMethodOptionsCustomerBalance(TypedDict): + bank_transfer: NotRequired[ + "PaymentIntentConfirmParamsPaymentMethodOptionsCustomerBalanceBankTransfer" + ] + """ + Configuration for the bank transfer funding type, if the `funding_type` is set to `bank_transfer`. + """ + funding_type: NotRequired[Literal["bank_transfer"]] + """ + The funding method type to be used when there are not enough funds in the customer balance. Permitted values include: `bank_transfer`. + """ + setup_future_usage: NotRequired[Literal["none"]] + """ + Indicates that you intend to make future payments with this PaymentIntent's payment method. + + If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. + + If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. + + When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). + + If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`. + """ + + +class PaymentIntentConfirmParamsPaymentMethodOptionsCustomerBalanceBankTransfer( + TypedDict, +): + eu_bank_transfer: NotRequired[ + "PaymentIntentConfirmParamsPaymentMethodOptionsCustomerBalanceBankTransferEuBankTransfer" + ] + """ + Configuration for the eu_bank_transfer funding type. + """ + requested_address_types: NotRequired[ + List[ + Literal[ + "aba", "iban", "sepa", "sort_code", "spei", "swift", "zengin" + ] + ] + ] + """ + List of address types that should be returned in the financial_addresses response. If not specified, all valid types will be returned. + + Permitted values include: `sort_code`, `zengin`, `iban`, or `spei`. + """ + type: Literal[ + "eu_bank_transfer", + "gb_bank_transfer", + "jp_bank_transfer", + "mx_bank_transfer", + "us_bank_transfer", + ] + """ + The list of bank transfer types that this PaymentIntent is allowed to use for funding Permitted values include: `eu_bank_transfer`, `gb_bank_transfer`, `jp_bank_transfer`, `mx_bank_transfer`, or `us_bank_transfer`. + """ + + +class PaymentIntentConfirmParamsPaymentMethodOptionsCustomerBalanceBankTransferEuBankTransfer( + TypedDict, +): + country: str + """ + The desired country code of the bank account information. Permitted values include: `BE`, `DE`, `ES`, `FR`, `IE`, or `NL`. + """ + + +class PaymentIntentConfirmParamsPaymentMethodOptionsEps(TypedDict): + setup_future_usage: NotRequired[Literal["none"]] + """ + Indicates that you intend to make future payments with this PaymentIntent's payment method. + + If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. + + If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. + + When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). + + If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`. + """ + + +class PaymentIntentConfirmParamsPaymentMethodOptionsFpx(TypedDict): + setup_future_usage: NotRequired[Literal["none"]] + """ + Indicates that you intend to make future payments with this PaymentIntent's payment method. + + If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. + + If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. + + When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). + + If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`. + """ + + +class PaymentIntentConfirmParamsPaymentMethodOptionsGiropay(TypedDict): + setup_future_usage: NotRequired[Literal["none"]] + """ + Indicates that you intend to make future payments with this PaymentIntent's payment method. + + If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. + + If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. + + When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). + + If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`. + """ + + +class PaymentIntentConfirmParamsPaymentMethodOptionsGopay(TypedDict): + setup_future_usage: NotRequired[Literal["none", "off_session"]] + """ + Indicates that you intend to make future payments with this PaymentIntent's payment method. + + If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. + + If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. + + When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). + + If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`. + """ + + +class PaymentIntentConfirmParamsPaymentMethodOptionsGrabpay(TypedDict): + setup_future_usage: NotRequired[Literal["none"]] + """ + Indicates that you intend to make future payments with this PaymentIntent's payment method. + + If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. + + If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. + + When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). + + If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`. + """ + + +class PaymentIntentConfirmParamsPaymentMethodOptionsIdBankTransfer(TypedDict): + expires_after: NotRequired[int] + """ + The UNIX timestamp until which the virtual bank account is valid. Permitted range is from 5 minutes from now until 31 days from now. If unset, it defaults to 3 days from now. + """ + expires_at: NotRequired[int] + """ + The UNIX timestamp until which the virtual bank account is valid. Permitted range is from now until 30 days from now. If unset, it defaults to 1 days from now. + """ + setup_future_usage: NotRequired[Literal["none"]] + """ + Indicates that you intend to make future payments with this PaymentIntent's payment method. + + If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. + + If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. + + When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). + + If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`. + """ + + +class PaymentIntentConfirmParamsPaymentMethodOptionsIdeal(TypedDict): + setup_future_usage: NotRequired[ + "Literal['']|Literal['none', 'off_session']" + ] + """ + Indicates that you intend to make future payments with this PaymentIntent's payment method. + + If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. + + If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. + + When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). + + If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`. + """ + + +class PaymentIntentConfirmParamsPaymentMethodOptionsInteracPresent(TypedDict): + pass + + +class PaymentIntentConfirmParamsPaymentMethodOptionsKakaoPay(TypedDict): + capture_method: NotRequired["Literal['']|Literal['manual']"] + """ + Controls when the funds are captured from the customer's account. + + If provided, this parameter overrides the behavior of the top-level [capture_method](https://docs.stripe.com/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type. + + If `capture_method` is already set on the PaymentIntent, providing an empty value for this parameter unsets the stored value for this payment method type. + """ + setup_future_usage: NotRequired[ + "Literal['']|Literal['none', 'off_session']" + ] + """ + Indicates that you intend to make future payments with this PaymentIntent's payment method. + + If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. + + If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. + + When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). + """ + + +class PaymentIntentConfirmParamsPaymentMethodOptionsKlarna(TypedDict): + capture_method: NotRequired["Literal['']|Literal['manual']"] + """ + Controls when the funds are captured from the customer's account. + + If provided, this parameter overrides the behavior of the top-level [capture_method](https://docs.stripe.com/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type. + + If `capture_method` is already set on the PaymentIntent, providing an empty value for this parameter unsets the stored value for this payment method type. + """ + on_demand: NotRequired[ + "PaymentIntentConfirmParamsPaymentMethodOptionsKlarnaOnDemand" + ] + """ + On-demand details if setting up or charging an on-demand payment. + """ + preferred_locale: NotRequired[ + Literal[ + "cs-CZ", + "da-DK", + "de-AT", + "de-CH", + "de-DE", + "el-GR", + "en-AT", + "en-AU", + "en-BE", + "en-CA", + "en-CH", + "en-CZ", + "en-DE", + "en-DK", + "en-ES", + "en-FI", + "en-FR", + "en-GB", + "en-GR", + "en-IE", + "en-IT", + "en-NL", + "en-NO", + "en-NZ", + "en-PL", + "en-PT", + "en-RO", + "en-SE", + "en-US", + "es-ES", + "es-US", + "fi-FI", + "fr-BE", + "fr-CA", + "fr-CH", + "fr-FR", + "it-CH", + "it-IT", + "nb-NO", + "nl-BE", + "nl-NL", + "pl-PL", + "pt-PT", + "ro-RO", + "sv-FI", + "sv-SE", + ] + ] + """ + Preferred language of the Klarna authorization page that the customer is redirected to + """ + setup_future_usage: NotRequired[ + Literal["none", "off_session", "on_session"] + ] + """ + Indicates that you intend to make future payments with this PaymentIntent's payment method. + + If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. + + If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. + + When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). + + If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`. + """ + subscriptions: NotRequired[ + "Literal['']|List[PaymentIntentConfirmParamsPaymentMethodOptionsKlarnaSubscription]" + ] + """ + Subscription details if setting up or charging a subscription. + """ + supplementary_purchase_data: NotRequired[ + "Literal['']|PaymentIntentConfirmParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseData" + ] + """ + Supplementary Purchase Data for the corresponding Klarna payment + """ + + +class PaymentIntentConfirmParamsPaymentMethodOptionsKlarnaOnDemand(TypedDict): + average_amount: NotRequired[int] + """ + Your average amount value. You can use a value across your customer base, or segment based on customer type, country, etc. + """ + maximum_amount: NotRequired[int] + """ + The maximum value you may charge a customer per purchase. You can use a value across your customer base, or segment based on customer type, country, etc. + """ + minimum_amount: NotRequired[int] + """ + The lowest or minimum value you may charge a customer per purchase. You can use a value across your customer base, or segment based on customer type, country, etc. + """ + purchase_interval: NotRequired[Literal["day", "month", "week", "year"]] + """ + Interval at which the customer is making purchases + """ + purchase_interval_count: NotRequired[int] + """ + The number of `purchase_interval` between charges + """ + + +class PaymentIntentConfirmParamsPaymentMethodOptionsKlarnaSubscription( + TypedDict, +): + interval: Literal["day", "month", "week", "year"] + """ + Unit of time between subscription charges. + """ + interval_count: NotRequired[int] + """ + The number of intervals (specified in the `interval` attribute) between subscription charges. For example, `interval=month` and `interval_count=3` charges every 3 months. + """ + name: NotRequired[str] + """ + Name for subscription. + """ + next_billing: NotRequired[ + "PaymentIntentConfirmParamsPaymentMethodOptionsKlarnaSubscriptionNextBilling" + ] + """ + Describes the upcoming charge for this subscription. + """ + reference: str + """ + A non-customer-facing reference to correlate subscription charges in the Klarna app. Use a value that persists across subscription charges. + """ + + +class PaymentIntentConfirmParamsPaymentMethodOptionsKlarnaSubscriptionNextBilling( + TypedDict, +): + amount: int + """ + The amount of the next charge for the subscription. + """ + date: str + """ + The date of the next charge for the subscription in YYYY-MM-DD format. """ - payto: NotRequired[ - "Literal['']|PaymentIntentConfirmParamsPaymentMethodOptionsPayto" + + +class PaymentIntentConfirmParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseData( + TypedDict, +): + bus_reservation_details: NotRequired[ + "Literal['']|List[PaymentIntentConfirmParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataBusReservationDetail]" ] """ - If this is a `payto` PaymentMethod, this sub-hash contains details about the PayTo payment method options. + Supplementary bus reservation details. """ - pix: NotRequired[ - "Literal['']|PaymentIntentConfirmParamsPaymentMethodOptionsPix" + event_reservation_details: NotRequired[ + "Literal['']|List[PaymentIntentConfirmParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataEventReservationDetail]" ] """ - If this is a `pix` PaymentMethod, this sub-hash contains details about the Pix payment method options. + Supplementary event reservation details. """ - promptpay: NotRequired[ - "Literal['']|PaymentIntentConfirmParamsPaymentMethodOptionsPromptpay" + ferry_reservation_details: NotRequired[ + "Literal['']|List[PaymentIntentConfirmParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataFerryReservationDetail]" ] """ - If this is a `promptpay` PaymentMethod, this sub-hash contains details about the PromptPay payment method options. + Supplementary ferry reservation details. """ - qris: NotRequired[ - "Literal['']|PaymentIntentConfirmParamsPaymentMethodOptionsQris" + insurances: NotRequired[ + "Literal['']|List[PaymentIntentConfirmParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataInsurance]" ] """ - If this is a `qris` PaymentMethod, this sub-hash contains details about the QRIS payment method options. + Supplementary insurance details. """ - rechnung: NotRequired[ - "Literal['']|PaymentIntentConfirmParamsPaymentMethodOptionsRechnung" + marketplace_sellers: NotRequired[ + "Literal['']|List[PaymentIntentConfirmParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataMarketplaceSeller]" ] """ - If this is a `rechnung` PaymentMethod, this sub-hash contains details about the Rechnung payment method options. + Supplementary marketplace seller details. """ - revolut_pay: NotRequired[ - "Literal['']|PaymentIntentConfirmParamsPaymentMethodOptionsRevolutPay" + round_trip_reservation_details: NotRequired[ + "Literal['']|List[PaymentIntentConfirmParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataRoundTripReservationDetail]" ] """ - If this is a `revolut_pay` PaymentMethod, this sub-hash contains details about the Revolut Pay payment method options. + Supplementary round trip reservation details. """ - samsung_pay: NotRequired[ - "Literal['']|PaymentIntentConfirmParamsPaymentMethodOptionsSamsungPay" + train_reservation_details: NotRequired[ + "Literal['']|List[PaymentIntentConfirmParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataTrainReservationDetail]" ] """ - If this is a `samsung_pay` PaymentMethod, this sub-hash contains details about the Samsung Pay payment method options. + Supplementary train reservation details. """ - satispay: NotRequired[ - "Literal['']|PaymentIntentConfirmParamsPaymentMethodOptionsSatispay" + vouchers: NotRequired[ + "Literal['']|List[PaymentIntentConfirmParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataVoucher]" ] """ - If this is a `satispay` PaymentMethod, this sub-hash contains details about the Satispay payment method options. + Voucher details, such as a gift card or discount code. """ - sepa_debit: NotRequired[ - "Literal['']|PaymentIntentConfirmParamsPaymentMethodOptionsSepaDebit" - ] + + +class PaymentIntentConfirmParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataBusReservationDetail( + TypedDict, +): + affiliate_name: NotRequired[str] """ - If this is a `sepa_debit` PaymentIntent, this sub-hash contains details about the SEPA Debit payment method options. + Name of associated or partner company for the service. """ - shopeepay: NotRequired[ - "Literal['']|PaymentIntentConfirmParamsPaymentMethodOptionsShopeepay" + arrival: NotRequired[ + "PaymentIntentConfirmParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataBusReservationDetailArrival" ] """ - If this is a `shopeepay` PaymentMethod, this sub-hash contains details about the ShopeePay payment method options. + Arrival details. """ - sofort: NotRequired[ - "Literal['']|PaymentIntentConfirmParamsPaymentMethodOptionsSofort" - ] + carrier_name: NotRequired[str] """ - If this is a `sofort` PaymentMethod, this sub-hash contains details about the SOFORT payment method options. + Name of transportation company. """ - stripe_balance: NotRequired[ - "Literal['']|PaymentIntentConfirmParamsPaymentMethodOptionsStripeBalance" - ] + currency: NotRequired[str] """ - If this is a `stripe_balance` PaymentMethod, this sub-hash contains details about the Stripe Balance payment method options. + Currency. """ - swish: NotRequired[ - "Literal['']|PaymentIntentConfirmParamsPaymentMethodOptionsSwish" + departure: NotRequired[ + "PaymentIntentConfirmParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataBusReservationDetailDeparture" ] """ - If this is a `Swish` PaymentMethod, this sub-hash contains details about the Swish payment method options. + Departure details. """ - twint: NotRequired[ - "Literal['']|PaymentIntentConfirmParamsPaymentMethodOptionsTwint" + insurances: NotRequired[ + List[ + "PaymentIntentConfirmParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataBusReservationDetailInsurance" + ] ] """ - If this is a `twint` PaymentMethod, this sub-hash contains details about the TWINT payment method options. + List of insurances for this reservation. """ - us_bank_account: NotRequired[ - "Literal['']|PaymentIntentConfirmParamsPaymentMethodOptionsUsBankAccount" + passengers: NotRequired[ + List[ + "PaymentIntentConfirmParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataBusReservationDetailPassenger" + ] ] """ - If this is a `us_bank_account` PaymentMethod, this sub-hash contains details about the US bank account payment method options. + List of passengers that this reservation applies to. """ - wechat_pay: NotRequired[ - "Literal['']|PaymentIntentConfirmParamsPaymentMethodOptionsWechatPay" - ] + price: NotRequired[int] """ - If this is a `wechat_pay` PaymentMethod, this sub-hash contains details about the WeChat Pay payment method options. + Price in cents. """ - zip: NotRequired[ - "Literal['']|PaymentIntentConfirmParamsPaymentMethodOptionsZip" + ticket_class: NotRequired[ + Literal["business", "economy", "first_class", "premium_economy"] ] """ - If this is a `zip` PaymentMethod, this sub-hash contains details about the Zip payment method options. + Ticket class. """ -class PaymentIntentConfirmParamsPaymentMethodOptionsAcssDebit(TypedDict): - mandate_options: NotRequired[ - "PaymentIntentConfirmParamsPaymentMethodOptionsAcssDebitMandateOptions" +class PaymentIntentConfirmParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataBusReservationDetailArrival( + TypedDict, +): + address: NotRequired[ + "PaymentIntentConfirmParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataBusReservationDetailArrivalAddress" ] """ - Additional fields for Mandate creation + Address of the arrival location. """ - setup_future_usage: NotRequired[ - "Literal['']|Literal['none', 'off_session', 'on_session']" - ] + arrival_location: NotRequired[str] + """ + Identifier name or reference for the arrival location. """ - Indicates that you intend to make future payments with this PaymentIntent's payment method. - - If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. - - If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. - When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). - If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`. - """ - target_date: NotRequired[str] +class PaymentIntentConfirmParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataBusReservationDetailArrivalAddress( + TypedDict, +): + city: NotRequired[str] """ - Controls when Stripe will attempt to debit the funds from the customer's account. The date must be a string in YYYY-MM-DD format. The date must be in the future and between 3 and 15 calendar days from now. + The city or town. """ - verification_method: NotRequired[ - Literal["automatic", "instant", "microdeposits"] - ] + country: NotRequired[str] """ - Bank account verification method. + The country in ISO 3166-1 alpha-2 format. """ - - -class PaymentIntentConfirmParamsPaymentMethodOptionsAcssDebitMandateOptions( - TypedDict, -): - custom_mandate_url: NotRequired["Literal['']|str"] + postal_code: NotRequired[str] """ - A URL for custom mandate text to render during confirmation step. - The URL will be rendered with additional GET parameters `payment_intent` and `payment_intent_client_secret` when confirming a Payment Intent, - or `setup_intent` and `setup_intent_client_secret` when confirming a Setup Intent. + The postal code formatted according to country. """ - interval_description: NotRequired[str] + region: NotRequired[str] """ - Description of the mandate interval. Only required if 'payment_schedule' parameter is 'interval' or 'combined'. + The state, county, province, or region formatted according to country. """ - payment_schedule: NotRequired[Literal["combined", "interval", "sporadic"]] + street_address: NotRequired[str] """ - Payment schedule for the mandate. + Line 1 of the street address. """ - transaction_type: NotRequired[Literal["business", "personal"]] + street_address2: NotRequired[str] """ - Transaction type of the mandate. + Line 2 of the street address. """ -class PaymentIntentConfirmParamsPaymentMethodOptionsAffirm(TypedDict): - capture_method: NotRequired["Literal['']|Literal['manual']"] +class PaymentIntentConfirmParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataBusReservationDetailDeparture( + TypedDict, +): + address: NotRequired[ + "PaymentIntentConfirmParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataBusReservationDetailDepartureAddress" + ] """ - Controls when the funds are captured from the customer's account. - - If provided, this parameter overrides the behavior of the top-level [capture_method](https://docs.stripe.com/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type. - - If `capture_method` is already set on the PaymentIntent, providing an empty value for this parameter unsets the stored value for this payment method type. + Address of the departure location. """ - preferred_locale: NotRequired[str] + departs_at: NotRequired[int] """ - Preferred language of the Affirm authorization page that the customer is redirected to. + Timestamp of departure. """ - setup_future_usage: NotRequired[Literal["none"]] + departure_location: NotRequired[str] """ - Indicates that you intend to make future payments with this PaymentIntent's payment method. - - If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. - - If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. - - When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). - - If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`. + Identifier name or reference for the origin location. """ -class PaymentIntentConfirmParamsPaymentMethodOptionsAfterpayClearpay( - TypedDict +class PaymentIntentConfirmParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataBusReservationDetailDepartureAddress( + TypedDict, ): - capture_method: NotRequired["Literal['']|Literal['manual']"] + city: NotRequired[str] """ - Controls when the funds are captured from the customer's account. - - If provided, this parameter overrides the behavior of the top-level [capture_method](https://docs.stripe.com/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type. - - If `capture_method` is already set on the PaymentIntent, providing an empty value for this parameter unsets the stored value for this payment method type. + The city or town. """ - reference: NotRequired[str] + country: NotRequired[str] """ - An internal identifier or reference that this payment corresponds to. You must limit the identifier to 128 characters, and it can only contain letters, numbers, underscores, backslashes, and dashes. - This field differs from the statement descriptor and item name. + The country in ISO 3166-1 alpha-2 format. """ - setup_future_usage: NotRequired[Literal["none"]] + postal_code: NotRequired[str] """ - Indicates that you intend to make future payments with this PaymentIntent's payment method. - - If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. - - If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. - - When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). - - If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`. + The postal code formatted according to country. """ - - -class PaymentIntentConfirmParamsPaymentMethodOptionsAlipay(TypedDict): - setup_future_usage: NotRequired[ - "Literal['']|Literal['none', 'off_session']" - ] + region: NotRequired[str] """ - Indicates that you intend to make future payments with this PaymentIntent's payment method. - - If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. - - If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. - - When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). - - If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`. + The state, county, province, or region formatted according to country. """ - - -class PaymentIntentConfirmParamsPaymentMethodOptionsAlma(TypedDict): - capture_method: NotRequired["Literal['']|Literal['manual']"] + street_address: NotRequired[str] """ - Controls when the funds are captured from the customer's account. - - If provided, this parameter overrides the behavior of the top-level [capture_method](https://docs.stripe.com/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type. - - If `capture_method` is already set on the PaymentIntent, providing an empty value for this parameter unsets the stored value for this payment method type. + Line 1 of the street address. """ - - -class PaymentIntentConfirmParamsPaymentMethodOptionsAmazonPay(TypedDict): - capture_method: NotRequired["Literal['']|Literal['manual']"] + street_address2: NotRequired[str] + """ + Line 2 of the street address. """ - Controls when the funds are captured from the customer's account. - If provided, this parameter overrides the behavior of the top-level [capture_method](https://docs.stripe.com/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type. - If `capture_method` is already set on the PaymentIntent, providing an empty value for this parameter unsets the stored value for this payment method type. +class PaymentIntentConfirmParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataBusReservationDetailInsurance( + TypedDict, +): + currency: NotRequired[str] """ - setup_future_usage: NotRequired[ - "Literal['']|Literal['none', 'off_session']" + Insurance currency. + """ + insurance_company_name: NotRequired[str] + """ + Name of the company providing the insurance. + """ + insurance_type: NotRequired[ + Literal["baggage", "bankruptcy", "cancelation", "emergency", "medical"] ] """ - Indicates that you intend to make future payments with this PaymentIntent's payment method. - - If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. + Type of insurance. + """ + price: NotRequired[int] + """ + Price of insurance in cents. + """ - If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. - When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). +class PaymentIntentConfirmParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataBusReservationDetailPassenger( + TypedDict, +): + family_name: NotRequired[str] + """ + The family name of the person. + """ + given_name: NotRequired[str] + """ + The given name of the person. """ -class PaymentIntentConfirmParamsPaymentMethodOptionsAuBecsDebit(TypedDict): - setup_future_usage: NotRequired[ - "Literal['']|Literal['none', 'off_session', 'on_session']" +class PaymentIntentConfirmParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataEventReservationDetail( + TypedDict, +): + access_controlled_venue: NotRequired[bool] + """ + Indicates if the tickets are digitally checked when entering the venue. + """ + address: NotRequired[ + "PaymentIntentConfirmParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataEventReservationDetailAddress" ] """ - Indicates that you intend to make future payments with this PaymentIntent's payment method. - - If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. - - If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. - - When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). - - If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`. + Address of the event. """ - target_date: NotRequired[str] + affiliate_name: NotRequired[str] """ - Controls when Stripe will attempt to debit the funds from the customer's account. The date must be a string in YYYY-MM-DD format. The date must be in the future and between 3 and 15 calendar days from now. + Name of associated or partner company for the service. """ - - -class PaymentIntentConfirmParamsPaymentMethodOptionsBacsDebit(TypedDict): - mandate_options: NotRequired[ - "PaymentIntentConfirmParamsPaymentMethodOptionsBacsDebitMandateOptions" + ends_at: NotRequired[int] + """ + End timestamp of the event. + """ + event_company_name: NotRequired[str] + """ + Company selling the ticket. + """ + event_name: NotRequired[str] + """ + Name of the event. + """ + event_type: NotRequired[ + Literal[ + "concert", + "conference", + "digital_education", + "expo", + "festival", + "in_person_education", + "sport", + "tour", + ] ] """ - Additional fields for Mandate creation + Type of the event. """ - setup_future_usage: NotRequired[ - "Literal['']|Literal['none', 'off_session', 'on_session']" + insurances: NotRequired[ + List[ + "PaymentIntentConfirmParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataEventReservationDetailInsurance" + ] ] """ - Indicates that you intend to make future payments with this PaymentIntent's payment method. - - If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. - - If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. - - When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). - - If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`. + List of insurances for this event. """ - target_date: NotRequired[str] + starts_at: NotRequired[int] """ - Controls when Stripe will attempt to debit the funds from the customer's account. The date must be a string in YYYY-MM-DD format. The date must be in the future and between 3 and 15 calendar days from now. + Start timestamp of the event. + """ + venue_name: NotRequired[str] + """ + Name of the venue where the event takes place. """ -class PaymentIntentConfirmParamsPaymentMethodOptionsBacsDebitMandateOptions( +class PaymentIntentConfirmParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataEventReservationDetailAddress( TypedDict, ): - reference_prefix: NotRequired["Literal['']|str"] + city: NotRequired[str] """ - Prefix used to generate the Mandate reference. Must be at most 12 characters long. Must consist of only uppercase letters, numbers, spaces, or the following special characters: '/', '_', '-', '&', '.'. Cannot begin with 'DDIC' or 'STRIPE'. + The city or town. """ - - -class PaymentIntentConfirmParamsPaymentMethodOptionsBancontact(TypedDict): - preferred_language: NotRequired[Literal["de", "en", "fr", "nl"]] + country: NotRequired[str] """ - Preferred language of the Bancontact authorization page that the customer is redirected to. + The country in ISO 3166-1 alpha-2 format. """ - setup_future_usage: NotRequired[ - "Literal['']|Literal['none', 'off_session']" - ] + postal_code: NotRequired[str] """ - Indicates that you intend to make future payments with this PaymentIntent's payment method. - - If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. - - If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. - - When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). - - If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`. + The postal code formatted according to country. """ - - -class PaymentIntentConfirmParamsPaymentMethodOptionsBillie(TypedDict): - capture_method: NotRequired["Literal['']|Literal['manual']"] + region: NotRequired[str] """ - Controls when the funds are captured from the customer's account. - - If provided, this parameter overrides the behavior of the top-level [capture_method](https://docs.stripe.com/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type. - - If `capture_method` is already set on the PaymentIntent, providing an empty value for this parameter unsets the stored value for this payment method type. + The state, county, province, or region formatted according to country. """ - - -class PaymentIntentConfirmParamsPaymentMethodOptionsBlik(TypedDict): - code: NotRequired[str] + street_address: NotRequired[str] """ - The 6-digit BLIK code that a customer has generated using their banking application. Can only be set on confirmation. + Line 1 of the street address. """ - setup_future_usage: NotRequired["Literal['']|Literal['none']"] + street_address2: NotRequired[str] """ - Indicates that you intend to make future payments with this PaymentIntent's payment method. - - If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. - - If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. - - When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). - - If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`. + Line 2 of the street address. """ -class PaymentIntentConfirmParamsPaymentMethodOptionsBoleto(TypedDict): - expires_after_days: NotRequired[int] - """ - The number of calendar days before a Boleto voucher expires. For example, if you create a Boleto voucher on Monday and you set expires_after_days to 2, the Boleto invoice will expire on Wednesday at 23:59 America/Sao_Paulo time. +class PaymentIntentConfirmParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataEventReservationDetailInsurance( + TypedDict, +): + currency: NotRequired[str] """ - setup_future_usage: NotRequired[ - "Literal['']|Literal['none', 'off_session', 'on_session']" - ] + Insurance currency. """ - Indicates that you intend to make future payments with this PaymentIntent's payment method. - - If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. - - If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. - - When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). - - If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`. + insurance_company_name: NotRequired[str] """ - - -class PaymentIntentConfirmParamsPaymentMethodOptionsCard(TypedDict): - capture_method: NotRequired["Literal['']|Literal['manual']"] + Name of the company providing the insurance. """ - Controls when the funds are captured from the customer's account. - - If provided, this parameter overrides the behavior of the top-level [capture_method](https://docs.stripe.com/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type. - - If `capture_method` is already set on the PaymentIntent, providing an empty value for this parameter unsets the stored value for this payment method type. + insurance_type: NotRequired[ + Literal["bankruptcy", "cancelation", "emergency", "medical"] + ] """ - cvc_token: NotRequired[str] + Type of insurance. """ - A single-use `cvc_update` Token that represents a card CVC value. When provided, the CVC value will be verified during the card payment attempt. This parameter can only be provided during confirmation. + price: NotRequired[int] """ - installments: NotRequired[ - "PaymentIntentConfirmParamsPaymentMethodOptionsCardInstallments" - ] + Price of insurance in cents. """ - Installment configuration for payments attempted on this PaymentIntent. - For more information, see the [installments integration guide](https://stripe.com/docs/payments/installments). + +class PaymentIntentConfirmParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataFerryReservationDetail( + TypedDict, +): + affiliate_name: NotRequired[str] """ - mandate_options: NotRequired[ - "PaymentIntentConfirmParamsPaymentMethodOptionsCardMandateOptions" + Name of associated or partner company for the service. + """ + arrival: NotRequired[ + "PaymentIntentConfirmParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataFerryReservationDetailArrival" ] """ - Configuration options for setting up an eMandate for cards issued in India. + Arrival details. """ - moto: NotRequired[bool] + carrier_name: NotRequired[str] """ - When specified, this parameter indicates that a transaction will be marked - as MOTO (Mail Order Telephone Order) and thus out of scope for SCA. This - parameter can only be provided during confirmation. + Name of transportation company. """ - network: NotRequired[ - Literal[ - "amex", - "cartes_bancaires", - "diners", - "discover", - "eftpos_au", - "girocard", - "interac", - "jcb", - "link", - "mastercard", - "unionpay", - "unknown", - "visa", - ] - ] + currency: NotRequired[str] """ - Selected network to process this PaymentIntent on. Depends on the available networks of the card attached to the PaymentIntent. Can be only set confirm-time. + Currency. """ - request_decremental_authorization: NotRequired[ - Literal["if_available", "never"] + departure: NotRequired[ + "PaymentIntentConfirmParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataFerryReservationDetailDeparture" ] """ - Request ability to [decrement the authorization](https://stripe.com/docs/payments/decremental-authorization) for this PaymentIntent. + Departure details. """ - request_extended_authorization: NotRequired[ - Literal["if_available", "never"] + insurances: NotRequired[ + List[ + "PaymentIntentConfirmParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataFerryReservationDetailInsurance" + ] ] """ - Request ability to [capture beyond the standard authorization validity window](https://stripe.com/docs/payments/extended-authorization) for this PaymentIntent. + List of insurances for this reservation. """ - request_incremental_authorization: NotRequired[ - Literal["if_available", "never"] + passengers: NotRequired[ + List[ + "PaymentIntentConfirmParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataFerryReservationDetailPassenger" + ] ] """ - Request ability to [increment the authorization](https://stripe.com/docs/payments/incremental-authorization) for this PaymentIntent. - """ - request_multicapture: NotRequired[Literal["if_available", "never"]] - """ - Request ability to make [multiple captures](https://stripe.com/docs/payments/multicapture) for this PaymentIntent. + List of passengers that this reservation applies to. """ - request_overcapture: NotRequired[Literal["if_available", "never"]] + price: NotRequired[int] """ - Request ability to [overcapture](https://stripe.com/docs/payments/overcapture) for this PaymentIntent. + Price in cents. """ - request_partial_authorization: NotRequired[ - Literal["if_available", "never"] + ticket_class: NotRequired[ + Literal["business", "economy", "first_class", "premium_economy"] ] """ - Request partial authorization on this PaymentIntent. + Ticket class. """ - request_three_d_secure: NotRequired[ - Literal["any", "automatic", "challenge"] + + +class PaymentIntentConfirmParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataFerryReservationDetailArrival( + TypedDict, +): + address: NotRequired[ + "PaymentIntentConfirmParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataFerryReservationDetailArrivalAddress" ] """ - We strongly recommend that you rely on our SCA Engine to automatically prompt your customers for authentication based on risk level and [other requirements](https://stripe.com/docs/strong-customer-authentication). However, if you wish to request 3D Secure based on logic from your own fraud engine, provide this option. If not provided, this value defaults to `automatic`. Read our guide on [manually requesting 3D Secure](https://stripe.com/docs/payments/3d-secure/authentication-flow#manual-three-ds) for more information on how this configuration interacts with Radar and our SCA Engine. - """ - require_cvc_recollection: NotRequired[bool] + Address of the arrival location. """ - When enabled, using a card that is attached to a customer will require the CVC to be provided again (i.e. using the cvc_token parameter). + arrival_location: NotRequired[str] """ - setup_future_usage: NotRequired[ - "Literal['']|Literal['none', 'off_session', 'on_session']" - ] + Identifier name or reference for the arrival location. """ - Indicates that you intend to make future payments with this PaymentIntent's payment method. - - If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. - If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. - - When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). - If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`. - """ - statement_descriptor_suffix_kana: NotRequired["Literal['']|str"] +class PaymentIntentConfirmParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataFerryReservationDetailArrivalAddress( + TypedDict, +): + city: NotRequired[str] """ - Provides information about a card payment that customers see on their statements. Concatenated with the Kana prefix (shortened Kana descriptor) or Kana statement descriptor that's set on the account to form the complete statement descriptor. Maximum 22 characters. On card statements, the *concatenation* of both prefix and suffix (including separators) will appear truncated to 22 characters. + The city or town. """ - statement_descriptor_suffix_kanji: NotRequired["Literal['']|str"] + country: NotRequired[str] """ - Provides information about a card payment that customers see on their statements. Concatenated with the Kanji prefix (shortened Kanji descriptor) or Kanji statement descriptor that's set on the account to form the complete statement descriptor. Maximum 17 characters. On card statements, the *concatenation* of both prefix and suffix (including separators) will appear truncated to 17 characters. + The country in ISO 3166-1 alpha-2 format. """ - statement_details: NotRequired[ - "Literal['']|PaymentIntentConfirmParamsPaymentMethodOptionsCardStatementDetails" - ] + postal_code: NotRequired[str] """ - Statement details for this payment intent. You can use this to override the merchant details shown on your customers' statements. + The postal code formatted according to country. """ - three_d_secure: NotRequired[ - "PaymentIntentConfirmParamsPaymentMethodOptionsCardThreeDSecure" - ] + region: NotRequired[str] """ - If 3D Secure authentication was performed with a third-party provider, - the authentication details to use for this payment. + The state, county, province, or region formatted according to country. """ - - -class PaymentIntentConfirmParamsPaymentMethodOptionsCardInstallments( - TypedDict -): - enabled: NotRequired[bool] + street_address: NotRequired[str] """ - Setting to true enables installments for this PaymentIntent. - This will cause the response to contain a list of available installment plans. - Setting to false will prevent any selected plan from applying to a charge. + Line 1 of the street address. """ - plan: NotRequired[ - "Literal['']|PaymentIntentConfirmParamsPaymentMethodOptionsCardInstallmentsPlan" - ] + street_address2: NotRequired[str] """ - The selected installment plan to use for this payment attempt. - This parameter can only be provided during confirmation. + Line 2 of the street address. """ -class PaymentIntentConfirmParamsPaymentMethodOptionsCardInstallmentsPlan( +class PaymentIntentConfirmParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataFerryReservationDetailDeparture( TypedDict, ): - count: NotRequired[int] + address: NotRequired[ + "PaymentIntentConfirmParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataFerryReservationDetailDepartureAddress" + ] """ - For `fixed_count` installment plans, this is required. It represents the number of installment payments your customer will make to their credit card. + Address of the departure location. """ - interval: NotRequired[Literal["month"]] + departs_at: NotRequired[int] """ - For `fixed_count` installment plans, this is required. It represents the interval between installment payments your customer will make to their credit card. - One of `month`. + Timestamp of departure. """ - type: Literal["bonus", "fixed_count", "revolving"] + departure_location: NotRequired[str] """ - Type of installment plan, one of `fixed_count`, `bonus`, or `revolving`. + Identifier name or reference for the origin location. """ -class PaymentIntentConfirmParamsPaymentMethodOptionsCardMandateOptions( +class PaymentIntentConfirmParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataFerryReservationDetailDepartureAddress( TypedDict, ): - amount: int + city: NotRequired[str] """ - Amount to be charged for future payments. + The city or town. """ - amount_type: Literal["fixed", "maximum"] + country: NotRequired[str] """ - One of `fixed` or `maximum`. If `fixed`, the `amount` param refers to the exact amount to be charged in future payments. If `maximum`, the amount charged can be up to the value passed for the `amount` param. + The country in ISO 3166-1 alpha-2 format. """ - description: NotRequired[str] + postal_code: NotRequired[str] """ - A description of the mandate or subscription that is meant to be displayed to the customer. + The postal code formatted according to country. """ - end_date: NotRequired[int] + region: NotRequired[str] """ - End date of the mandate or subscription. If not provided, the mandate will be active until canceled. If provided, end date should be after start date. + The state, county, province, or region formatted according to country. """ - interval: Literal["day", "month", "sporadic", "week", "year"] + street_address: NotRequired[str] """ - Specifies payment frequency. One of `day`, `week`, `month`, `year`, or `sporadic`. + Line 1 of the street address. """ - interval_count: NotRequired[int] + street_address2: NotRequired[str] """ - The number of intervals between payments. For example, `interval=month` and `interval_count=3` indicates one payment every three months. Maximum of one year interval allowed (1 year, 12 months, or 52 weeks). This parameter is optional when `interval=sporadic`. + Line 2 of the street address. """ - reference: str + + +class PaymentIntentConfirmParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataFerryReservationDetailInsurance( + TypedDict, +): + currency: NotRequired[str] """ - Unique identifier for the mandate or subscription. + Insurance currency. """ - start_date: int + insurance_company_name: NotRequired[str] """ - Start date of the mandate or subscription. Start date should not be lesser than yesterday. + Name of the company providing the insurance. """ - supported_types: NotRequired[List[Literal["india"]]] + insurance_type: NotRequired[ + Literal["baggage", "bankruptcy", "cancelation", "emergency", "medical"] + ] """ - Specifies the type of mandates supported. Possible values are `india`. + Type of insurance. + """ + price: NotRequired[int] + """ + Price of insurance in cents. """ -class PaymentIntentConfirmParamsPaymentMethodOptionsCardStatementDetails( +class PaymentIntentConfirmParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataFerryReservationDetailPassenger( TypedDict, ): - address: NotRequired[ - "PaymentIntentConfirmParamsPaymentMethodOptionsCardStatementDetailsAddress" - ] + family_name: NotRequired[str] """ - Please pass in an address that is within your Stripe user account country + The family name of the person. """ - phone: NotRequired[str] + given_name: NotRequired[str] """ - Phone number (e.g., a toll-free number that customers can call) + The given name of the person. """ -class PaymentIntentConfirmParamsPaymentMethodOptionsCardStatementDetailsAddress( +class PaymentIntentConfirmParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataInsurance( TypedDict, ): - city: NotRequired[str] + currency: NotRequired[str] + """ + Insurance currency. """ - City, district, suburb, town, or village. + insurance_company_name: NotRequired[str] """ - country: NotRequired[str] + Name of the company providing the insurance. """ - Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). + insurance_type: NotRequired[ + Literal["bankruptcy", "cancelation", "emergency", "medical"] + ] """ - line1: NotRequired[str] + Type of insurance """ - Address line 1, such as the street, PO Box, or company name. + price: NotRequired[int] """ - line2: NotRequired[str] + Price of insurance in cents. """ - Address line 2, such as the apartment, suite, unit, or building. + + +class PaymentIntentConfirmParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataMarketplaceSeller( + TypedDict, +): + line_item_references: NotRequired[List[str]] """ - postal_code: NotRequired[str] + The references to line items for purchases with multiple associated sub-sellers. """ - ZIP or postal code. + marketplace_seller_address: NotRequired[ + "PaymentIntentConfirmParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataMarketplaceSellerMarketplaceSellerAddress" + ] """ - state: NotRequired[str] + The address of the selling or delivering merchant. """ - State, county, province, or region. + marketplace_seller_name: NotRequired[str] """ - - -class PaymentIntentConfirmParamsPaymentMethodOptionsCardThreeDSecure( - TypedDict -): - ares_trans_status: NotRequired[Literal["A", "C", "I", "N", "R", "U", "Y"]] + The name of the marketplace seller. """ - The `transStatus` returned from the card Issuer's ACS in the ARes. + marketplace_seller_reference: NotRequired[str] """ - cryptogram: str + The unique identifier for the marketplace seller. """ - The cryptogram, also known as the "authentication value" (AAV, CAVV or - AEVV). This value is 20 bytes, base64-encoded into a 28-character string. - (Most 3D Secure providers will return the base64-encoded version, which - is what you should specify here.) + number_of_transactions: NotRequired[int] """ - electronic_commerce_indicator: NotRequired[ - Literal["01", "02", "05", "06", "07"] + The number of transactions the sub-seller completed in the last 12 months. + """ + product_category: NotRequired[ + Literal[ + "accessories", + "appliances", + "apps_and_games", + "arts_crafts_and_sewing", + "automotive", + "baby", + "baby_clothing", + "bags_and_purses", + "beauty", + "books", + "cds_and_vinyl", + "cell_phones_and_accessories", + "collectibles_and_fine_arts", + "digital_music", + "electronics", + "grocery_and_gourmet_food", + "handmade", + "health_and_personal_care", + "home_and_kitchen", + "industrial_and_scientific", + "luggage_and_travel_gear", + "magazine_subscriptions", + "men_clothing", + "musical_instruments", + "office_products", + "patio_lawn_and_garden", + "pet_supplies", + "shoes", + "software", + "sports_and_outdoors", + "tools_and_home_improvement", + "toys_and_games", + "video_games", + "women_clothing", + ] ] """ - The Electronic Commerce Indicator (ECI) is returned by your 3D Secure - provider and indicates what degree of authentication was performed. + The category of the product. """ - exemption_indicator: NotRequired[Literal["low_risk", "none"]] + seller_last_login_at: NotRequired[int] """ - The exemption requested via 3DS and accepted by the issuer at authentication time. + The date when the seller's account with the marketplace was last logged in. """ - network_options: NotRequired[ - "PaymentIntentConfirmParamsPaymentMethodOptionsCardThreeDSecureNetworkOptions" + seller_rating: NotRequired[ + Literal["high", "low", "medium", "very_high", "very_low"] ] """ - Network specific 3DS fields. Network specific arguments require an - explicit card brand choice. The parameter `payment_method_options.card.network`` - must be populated accordingly + The current rating of the marketplace seller. If the marketplace uses numeric ranking, map these to the enum values. """ - requestor_challenge_indicator: NotRequired[str] + seller_registered_at: NotRequired[int] """ - The challenge indicator (`threeDSRequestorChallengeInd`) which was requested in the - AReq sent to the card Issuer's ACS. A string containing 2 digits from 01-99. + The date when the seller's account with the marketplace was created. """ - transaction_id: str + seller_updated_at: NotRequired[int] """ - For 3D Secure 1, the XID. For 3D Secure 2, the Directory Server - Transaction ID (dsTransID). + The date when the seller's account with the marketplace was last updated. """ - version: Literal["1.0.2", "2.1.0", "2.2.0"] + shipping_references: NotRequired[List[str]] """ - The version of 3D Secure that was performed. + The references to shipping addresses for purchases with multiple associated sub-sellers. """ - - -class PaymentIntentConfirmParamsPaymentMethodOptionsCardThreeDSecureNetworkOptions( - TypedDict, -): - cartes_bancaires: NotRequired[ - "PaymentIntentConfirmParamsPaymentMethodOptionsCardThreeDSecureNetworkOptionsCartesBancaires" - ] + volume_of_transactions: NotRequired[int] """ - Cartes Bancaires-specific 3DS fields. + The accumulated amount of sales transactions made by the sub-merchant or sub-seller within the past 12 months in the payment currency. These transactions are in minor currency units. """ -class PaymentIntentConfirmParamsPaymentMethodOptionsCardThreeDSecureNetworkOptionsCartesBancaires( +class PaymentIntentConfirmParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataMarketplaceSellerMarketplaceSellerAddress( TypedDict, ): - cb_avalgo: Literal["0", "1", "2", "3", "4", "A"] + city: NotRequired[str] """ - The cryptogram calculation algorithm used by the card Issuer's ACS - to calculate the Authentication cryptogram. Also known as `cavvAlgorithm`. - messageExtension: CB-AVALGO + The city or town. """ - cb_exemption: NotRequired[str] + country: NotRequired[str] """ - The exemption indicator returned from Cartes Bancaires in the ARes. - message extension: CB-EXEMPTION; string (4 characters) - This is a 3 byte bitmap (low significant byte first and most significant - bit first) that has been Base64 encoded + The country in ISO 3166-1 alpha-2 format. """ - cb_score: NotRequired[int] + postal_code: NotRequired[str] """ - The risk score returned from Cartes Bancaires in the ARes. - message extension: CB-SCORE; numeric value 0-99 + The postal code formatted according to country. """ - - -class PaymentIntentConfirmParamsPaymentMethodOptionsCardPresent(TypedDict): - request_extended_authorization: NotRequired[bool] + region: NotRequired[str] """ - Request ability to capture this payment beyond the standard [authorization validity window](https://stripe.com/docs/terminal/features/extended-authorizations#authorization-validity) + The state, county, province, or region formatted according to country. """ - request_incremental_authorization_support: NotRequired[bool] + street_address: NotRequired[str] """ - Request ability to [increment](https://stripe.com/docs/terminal/features/incremental-authorizations) this PaymentIntent if the combination of MCC and card brand is eligible. Check [incremental_authorization_supported](https://stripe.com/docs/api/charges/object#charge_object-payment_method_details-card_present-incremental_authorization_supported) in the [Confirm](https://stripe.com/docs/api/payment_intents/confirm) response to verify support. + Line 1 of the street address. """ - routing: NotRequired[ - "PaymentIntentConfirmParamsPaymentMethodOptionsCardPresentRouting" - ] + street_address2: NotRequired[str] """ - Network routing priority on co-branded EMV cards supporting domestic debit and international card schemes. + Line 2 of the street address. """ -class PaymentIntentConfirmParamsPaymentMethodOptionsCardPresentRouting( +class PaymentIntentConfirmParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataRoundTripReservationDetail( TypedDict, ): - requested_priority: NotRequired[Literal["domestic", "international"]] + affiliate_name: NotRequired[str] """ - Routing requested priority + Name of associated or partner company for the service. """ - - -class PaymentIntentConfirmParamsPaymentMethodOptionsCashapp(TypedDict): - capture_method: NotRequired["Literal['']|Literal['manual']"] + arrival: NotRequired[ + "PaymentIntentConfirmParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataRoundTripReservationDetailArrival" + ] """ - Controls when the funds are captured from the customer's account. - - If provided, this parameter overrides the behavior of the top-level [capture_method](https://docs.stripe.com/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type. - - If `capture_method` is already set on the PaymentIntent, providing an empty value for this parameter unsets the stored value for this payment method type. + Arrival details. """ - setup_future_usage: NotRequired[ - "Literal['']|Literal['none', 'off_session', 'on_session']" + carrier_name: NotRequired[str] + """ + Name of transportation company. + """ + currency: NotRequired[str] + """ + Currency. + """ + departure: NotRequired[ + "PaymentIntentConfirmParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataRoundTripReservationDetailDeparture" ] """ - Indicates that you intend to make future payments with this PaymentIntent's payment method. - - If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. - - If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. - - When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). - - If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`. + Departure details. """ - - -class PaymentIntentConfirmParamsPaymentMethodOptionsCrypto(TypedDict): - setup_future_usage: NotRequired[Literal["none"]] + insurances: NotRequired[ + List[ + "PaymentIntentConfirmParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataRoundTripReservationDetailInsurance" + ] + ] """ - Indicates that you intend to make future payments with this PaymentIntent's payment method. - - If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. - - If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. - - When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). - - If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`. + List of insurances for this reservation. """ - - -class PaymentIntentConfirmParamsPaymentMethodOptionsCustomerBalance(TypedDict): - bank_transfer: NotRequired[ - "PaymentIntentConfirmParamsPaymentMethodOptionsCustomerBalanceBankTransfer" + passengers: NotRequired[ + List[ + "PaymentIntentConfirmParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataRoundTripReservationDetailPassenger" + ] ] """ - Configuration for the bank transfer funding type, if the `funding_type` is set to `bank_transfer`. + List of passengers that this reservation applies to. """ - funding_type: NotRequired[Literal["bank_transfer"]] + price: NotRequired[int] """ - The funding method type to be used when there are not enough funds in the customer balance. Permitted values include: `bank_transfer`. + Price in cents. """ - setup_future_usage: NotRequired[Literal["none"]] + ticket_class: NotRequired[ + Literal["business", "economy", "first_class", "premium_economy"] + ] """ - Indicates that you intend to make future payments with this PaymentIntent's payment method. - - If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. - - If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. - - When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). - - If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`. + Ticket class. """ -class PaymentIntentConfirmParamsPaymentMethodOptionsCustomerBalanceBankTransfer( +class PaymentIntentConfirmParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataRoundTripReservationDetailArrival( TypedDict, ): - eu_bank_transfer: NotRequired[ - "PaymentIntentConfirmParamsPaymentMethodOptionsCustomerBalanceBankTransferEuBankTransfer" - ] - """ - Configuration for the eu_bank_transfer funding type. - """ - requested_address_types: NotRequired[ - List[ - Literal[ - "aba", "iban", "sepa", "sort_code", "spei", "swift", "zengin" - ] - ] + address: NotRequired[ + "PaymentIntentConfirmParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataRoundTripReservationDetailArrivalAddress" ] """ - List of address types that should be returned in the financial_addresses response. If not specified, all valid types will be returned. - - Permitted values include: `sort_code`, `zengin`, `iban`, or `spei`. + Address of the arrival location. """ - type: Literal[ - "eu_bank_transfer", - "gb_bank_transfer", - "jp_bank_transfer", - "mx_bank_transfer", - "us_bank_transfer", - ] + arrival_location: NotRequired[str] """ - The list of bank transfer types that this PaymentIntent is allowed to use for funding Permitted values include: `eu_bank_transfer`, `gb_bank_transfer`, `jp_bank_transfer`, `mx_bank_transfer`, or `us_bank_transfer`. + Identifier name or reference for the arrival location. """ -class PaymentIntentConfirmParamsPaymentMethodOptionsCustomerBalanceBankTransferEuBankTransfer( +class PaymentIntentConfirmParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataRoundTripReservationDetailArrivalAddress( TypedDict, ): - country: str + city: NotRequired[str] """ - The desired country code of the bank account information. Permitted values include: `BE`, `DE`, `ES`, `FR`, `IE`, or `NL`. + The city or town. """ - - -class PaymentIntentConfirmParamsPaymentMethodOptionsEps(TypedDict): - setup_future_usage: NotRequired[Literal["none"]] + country: NotRequired[str] """ - Indicates that you intend to make future payments with this PaymentIntent's payment method. - - If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. - - If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. - - When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). - - If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`. + The country in ISO 3166-1 alpha-2 format. """ - - -class PaymentIntentConfirmParamsPaymentMethodOptionsFpx(TypedDict): - setup_future_usage: NotRequired[Literal["none"]] + postal_code: NotRequired[str] """ - Indicates that you intend to make future payments with this PaymentIntent's payment method. - - If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. - - If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. - - When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). - - If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`. + The postal code formatted according to country. """ - - -class PaymentIntentConfirmParamsPaymentMethodOptionsGiropay(TypedDict): - setup_future_usage: NotRequired[Literal["none"]] + region: NotRequired[str] """ - Indicates that you intend to make future payments with this PaymentIntent's payment method. - - If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. - - If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. - - When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). - - If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`. + The state, county, province, or region formatted according to country. """ - - -class PaymentIntentConfirmParamsPaymentMethodOptionsGopay(TypedDict): - setup_future_usage: NotRequired[Literal["none", "off_session"]] + street_address: NotRequired[str] """ - Indicates that you intend to make future payments with this PaymentIntent's payment method. - - If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. - - If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. - - When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). - - If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`. + Line 1 of the street address. """ - - -class PaymentIntentConfirmParamsPaymentMethodOptionsGrabpay(TypedDict): - setup_future_usage: NotRequired[Literal["none"]] + street_address2: NotRequired[str] + """ + Line 2 of the street address. """ - Indicates that you intend to make future payments with this PaymentIntent's payment method. - - If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. - - If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. - When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). - If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`. +class PaymentIntentConfirmParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataRoundTripReservationDetailDeparture( + TypedDict, +): + address: NotRequired[ + "PaymentIntentConfirmParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataRoundTripReservationDetailDepartureAddress" + ] + """ + Address of the departure location. + """ + departs_at: NotRequired[int] + """ + Timestamp of departure. + """ + departure_location: NotRequired[str] + """ + Identifier name or reference for the origin location. """ -class PaymentIntentConfirmParamsPaymentMethodOptionsIdBankTransfer(TypedDict): - expires_after: NotRequired[int] +class PaymentIntentConfirmParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataRoundTripReservationDetailDepartureAddress( + TypedDict, +): + city: NotRequired[str] """ - The UNIX timestamp until which the virtual bank account is valid. Permitted range is from 5 minutes from now until 31 days from now. If unset, it defaults to 3 days from now. + The city or town. """ - expires_at: NotRequired[int] + country: NotRequired[str] """ - The UNIX timestamp until which the virtual bank account is valid. Permitted range is from now until 30 days from now. If unset, it defaults to 1 days from now. + The country in ISO 3166-1 alpha-2 format. """ - setup_future_usage: NotRequired[Literal["none"]] + postal_code: NotRequired[str] """ - Indicates that you intend to make future payments with this PaymentIntent's payment method. - - If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. - - If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. - - When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). - - If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`. + The postal code formatted according to country. + """ + region: NotRequired[str] + """ + The state, county, province, or region formatted according to country. + """ + street_address: NotRequired[str] + """ + Line 1 of the street address. + """ + street_address2: NotRequired[str] + """ + Line 2 of the street address. """ -class PaymentIntentConfirmParamsPaymentMethodOptionsIdeal(TypedDict): - setup_future_usage: NotRequired[ - "Literal['']|Literal['none', 'off_session']" +class PaymentIntentConfirmParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataRoundTripReservationDetailInsurance( + TypedDict, +): + currency: NotRequired[str] + """ + Insurance currency. + """ + insurance_company_name: NotRequired[str] + """ + Name of the company providing the insurance. + """ + insurance_type: NotRequired[ + Literal["baggage", "bankruptcy", "cancelation", "emergency", "medical"] ] """ - Indicates that you intend to make future payments with this PaymentIntent's payment method. - - If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. - - If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. - - When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). - - If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`. + Type of insurance. + """ + price: NotRequired[int] + """ + Price of insurance in cents. """ -class PaymentIntentConfirmParamsPaymentMethodOptionsInteracPresent(TypedDict): - pass - - -class PaymentIntentConfirmParamsPaymentMethodOptionsKakaoPay(TypedDict): - capture_method: NotRequired["Literal['']|Literal['manual']"] +class PaymentIntentConfirmParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataRoundTripReservationDetailPassenger( + TypedDict, +): + family_name: NotRequired[str] + """ + The family name of the person. + """ + given_name: NotRequired[str] + """ + The given name of the person. """ - Controls when the funds are captured from the customer's account. - If provided, this parameter overrides the behavior of the top-level [capture_method](https://docs.stripe.com/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type. - If `capture_method` is already set on the PaymentIntent, providing an empty value for this parameter unsets the stored value for this payment method type. +class PaymentIntentConfirmParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataTrainReservationDetail( + TypedDict, +): + affiliate_name: NotRequired[str] """ - setup_future_usage: NotRequired[ - "Literal['']|Literal['none', 'off_session']" + Name of associated or partner company for the service. + """ + arrival: NotRequired[ + "PaymentIntentConfirmParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataTrainReservationDetailArrival" ] """ - Indicates that you intend to make future payments with this PaymentIntent's payment method. - - If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. - - If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. - - When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). + Arrival details. """ - - -class PaymentIntentConfirmParamsPaymentMethodOptionsKlarna(TypedDict): - capture_method: NotRequired["Literal['']|Literal['manual']"] + carrier_name: NotRequired[str] """ - Controls when the funds are captured from the customer's account. - - If provided, this parameter overrides the behavior of the top-level [capture_method](https://docs.stripe.com/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type. - - If `capture_method` is already set on the PaymentIntent, providing an empty value for this parameter unsets the stored value for this payment method type. + Name of transportation company. """ - on_demand: NotRequired[ - "PaymentIntentConfirmParamsPaymentMethodOptionsKlarnaOnDemand" + currency: NotRequired[str] + """ + Currency. + """ + departure: NotRequired[ + "PaymentIntentConfirmParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataTrainReservationDetailDeparture" ] """ - On-demand details if setting up or charging an on-demand payment. + Departure details. """ - preferred_locale: NotRequired[ - Literal[ - "cs-CZ", - "da-DK", - "de-AT", - "de-CH", - "de-DE", - "el-GR", - "en-AT", - "en-AU", - "en-BE", - "en-CA", - "en-CH", - "en-CZ", - "en-DE", - "en-DK", - "en-ES", - "en-FI", - "en-FR", - "en-GB", - "en-GR", - "en-IE", - "en-IT", - "en-NL", - "en-NO", - "en-NZ", - "en-PL", - "en-PT", - "en-RO", - "en-SE", - "en-US", - "es-ES", - "es-US", - "fi-FI", - "fr-BE", - "fr-CA", - "fr-CH", - "fr-FR", - "it-CH", - "it-IT", - "nb-NO", - "nl-BE", - "nl-NL", - "pl-PL", - "pt-PT", - "ro-RO", - "sv-FI", - "sv-SE", + insurances: NotRequired[ + List[ + "PaymentIntentConfirmParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataTrainReservationDetailInsurance" ] ] """ - Preferred language of the Klarna authorization page that the customer is redirected to + List of insurances for this reservation. """ - setup_future_usage: NotRequired[ - Literal["none", "off_session", "on_session"] + passengers: NotRequired[ + List[ + "PaymentIntentConfirmParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataTrainReservationDetailPassenger" + ] ] """ - Indicates that you intend to make future payments with this PaymentIntent's payment method. + List of passengers that this reservation applies to. + """ + price: NotRequired[int] + """ + Price in cents. + """ + ticket_class: NotRequired[ + Literal["business", "economy", "first_class", "premium_economy"] + ] + """ + Ticket class. + """ - If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. - If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. +class PaymentIntentConfirmParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataTrainReservationDetailArrival( + TypedDict, +): + address: NotRequired[ + "PaymentIntentConfirmParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataTrainReservationDetailArrivalAddress" + ] + """ + Address of the arrival location. + """ + arrival_location: NotRequired[str] + """ + Identifier name or reference for the arrival location. + """ - When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). - If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`. +class PaymentIntentConfirmParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataTrainReservationDetailArrivalAddress( + TypedDict, +): + city: NotRequired[str] """ - subscriptions: NotRequired[ - "Literal['']|List[PaymentIntentConfirmParamsPaymentMethodOptionsKlarnaSubscription]" + The city or town. + """ + country: NotRequired[str] + """ + The country in ISO 3166-1 alpha-2 format. + """ + postal_code: NotRequired[str] + """ + The postal code formatted according to country. + """ + region: NotRequired[str] + """ + The state, county, province, or region formatted according to country. + """ + street_address: NotRequired[str] + """ + Line 1 of the street address. + """ + street_address2: NotRequired[str] + """ + Line 2 of the street address. + """ + + +class PaymentIntentConfirmParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataTrainReservationDetailDeparture( + TypedDict, +): + address: NotRequired[ + "PaymentIntentConfirmParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataTrainReservationDetailDepartureAddress" ] """ - Subscription details if setting up or charging a subscription. + Address of the departure location. + """ + departs_at: NotRequired[int] + """ + Timestamp of departure. + """ + departure_location: NotRequired[str] + """ + Identifier name or reference for the origin location. """ -class PaymentIntentConfirmParamsPaymentMethodOptionsKlarnaOnDemand(TypedDict): - average_amount: NotRequired[int] +class PaymentIntentConfirmParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataTrainReservationDetailDepartureAddress( + TypedDict, +): + city: NotRequired[str] """ - Your average amount value. You can use a value across your customer base, or segment based on customer type, country, etc. + The city or town. """ - maximum_amount: NotRequired[int] + country: NotRequired[str] """ - The maximum value you may charge a customer per purchase. You can use a value across your customer base, or segment based on customer type, country, etc. + The country in ISO 3166-1 alpha-2 format. """ - minimum_amount: NotRequired[int] + postal_code: NotRequired[str] """ - The lowest or minimum value you may charge a customer per purchase. You can use a value across your customer base, or segment based on customer type, country, etc. + The postal code formatted according to country. """ - purchase_interval: NotRequired[Literal["day", "month", "week", "year"]] + region: NotRequired[str] """ - Interval at which the customer is making purchases + The state, county, province, or region formatted according to country. """ - purchase_interval_count: NotRequired[int] + street_address: NotRequired[str] """ - The number of `purchase_interval` between charges + Line 1 of the street address. + """ + street_address2: NotRequired[str] + """ + Line 2 of the street address. """ -class PaymentIntentConfirmParamsPaymentMethodOptionsKlarnaSubscription( +class PaymentIntentConfirmParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataTrainReservationDetailInsurance( TypedDict, ): - interval: Literal["day", "month", "week", "year"] + currency: NotRequired[str] """ - Unit of time between subscription charges. + Insurance currency. """ - interval_count: NotRequired[int] + insurance_company_name: NotRequired[str] """ - The number of intervals (specified in the `interval` attribute) between subscription charges. For example, `interval=month` and `interval_count=3` charges every 3 months. + Name of the company providing the insurance. """ - name: NotRequired[str] + insurance_type: NotRequired[ + Literal["baggage", "bankruptcy", "cancelation", "emergency", "medical"] + ] """ - Name for subscription. + Type of insurance. """ - next_billing: NotRequired[ - "PaymentIntentConfirmParamsPaymentMethodOptionsKlarnaSubscriptionNextBilling" - ] + price: NotRequired[int] """ - Describes the upcoming charge for this subscription. + Price of insurance in cents. """ - reference: str + + +class PaymentIntentConfirmParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataTrainReservationDetailPassenger( + TypedDict, +): + family_name: NotRequired[str] """ - A non-customer-facing reference to correlate subscription charges in the Klarna app. Use a value that persists across subscription charges. + The family name of the person. + """ + given_name: NotRequired[str] + """ + The given name of the person. """ -class PaymentIntentConfirmParamsPaymentMethodOptionsKlarnaSubscriptionNextBilling( +class PaymentIntentConfirmParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataVoucher( TypedDict, ): - amount: int + affiliate_name: NotRequired[str] """ - The amount of the next charge for the subscription. + Name of associated or partner company for this voucher. """ - date: str + ends_at: NotRequired[int] """ - The date of the next charge for the subscription in YYYY-MM-DD format. + The voucher validity end time. + """ + starts_at: NotRequired[int] + """ + The voucher validity start time. + """ + voucher_company: NotRequired[str] + """ + The issuer or provider of this voucher. + """ + voucher_name: NotRequired[str] + """ + The name or reference to identify the voucher. + """ + voucher_type: NotRequired[ + Literal[ + "digital_product", + "discount", + "gift_card", + "physical_product", + "services", + ] + ] + """ + The type of this voucher. """ @@ -3867,7 +6061,7 @@ class PaymentIntentConfirmParamsPaymentMethodOptionsPaytoMandateOptions( """ amount_type: NotRequired[Literal["fixed", "maximum"]] """ - The type of amount that will be collected. The amount charged must be exact or up to the value of `amount` param for `fixed` or `maximum` type respectively. + The type of amount that will be collected. The amount charged must be exact or up to the value of `amount` param for `fixed` or `maximum` type respectively. Defaults to `maximum`. """ end_date: NotRequired[str] """ @@ -3886,7 +6080,7 @@ class PaymentIntentConfirmParamsPaymentMethodOptionsPaytoMandateOptions( ] ] """ - The periodicity at which payments will be collected. + The periodicity at which payments will be collected. Defaults to `adhoc`. """ payments_per_period: NotRequired[int] """ @@ -3908,7 +6102,7 @@ class PaymentIntentConfirmParamsPaymentMethodOptionsPaytoMandateOptions( ] ] """ - The purpose for which payments are made. Defaults to retail. + The purpose for which payments are made. Has a default value based on your merchant category code. """ @@ -4411,10 +6605,3 @@ class PaymentIntentConfirmParamsShippingAddress(TypedDict): """ State, county, province, or region. """ - - -class PaymentIntentConfirmParamsAllocatedFunds(TypedDict): - enabled: NotRequired[bool] - """ - Whether Allocated Funds creation is enabled for this PaymentIntent. - """ diff --git a/stripe/params/_payment_intent_create_params.py b/stripe/params/_payment_intent_create_params.py index 68d9ba97a..251b21357 100644 --- a/stripe/params/_payment_intent_create_params.py +++ b/stripe/params/_payment_intent_create_params.py @@ -6,6 +6,10 @@ class PaymentIntentCreateParams(RequestOptions): + allocated_funds: NotRequired["PaymentIntentCreateParamsAllocatedFunds"] + """ + Allocated Funds configuration for this PaymentIntent. + """ amount: int """ Amount intended to be collected by this PaymentIntent. A positive integer representing how much to charge in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal) (e.g., 100 cents to charge $1.00 or 100 to charge ¥100, a zero-decimal currency). The minimum amount is $0.50 US or [equivalent in charge currency](https://stripe.com/docs/currencies#minimum-and-maximum-charge-amounts). The amount value supports up to eight digits (e.g., a value of 99999999 for a USD charge of $999,999.99). @@ -258,16 +262,21 @@ class PaymentIntentCreateParams(RequestOptions): """ Set to `true` when confirming server-side and using Stripe.js, iOS, or Android client-side SDKs to handle the next actions. """ - allocated_funds: NotRequired["PaymentIntentCreateParamsAllocatedFunds"] + + +class PaymentIntentCreateParamsAllocatedFunds(TypedDict): + enabled: NotRequired[bool] """ - Allocated Funds configuration for this PaymentIntent. + Whether Allocated Funds creation is enabled for this PaymentIntent. """ class PaymentIntentCreateParamsAmountDetails(TypedDict): discount_amount: NotRequired["Literal['']|int"] """ - The total discount applied on the transaction. + The total discount applied on the transaction represented in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal). An integer greater than 0. + + This field is mutually exclusive with the `amount_details[line_items][#][discount_amount]` field. """ line_items: NotRequired[ "Literal['']|List[PaymentIntentCreateParamsAmountDetailsLineItem]" @@ -290,7 +299,9 @@ class PaymentIntentCreateParamsAmountDetails(TypedDict): class PaymentIntentCreateParamsAmountDetailsLineItem(TypedDict): discount_amount: NotRequired[int] """ - The amount an item was discounted for. Positive integer. + The discount applied on this line item represented in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal). An integer greater than 0. + + This field is mutually exclusive with the `amount_details[discount_amount]` field. """ payment_method_options: NotRequired[ "PaymentIntentCreateParamsAmountDetailsLineItemPaymentMethodOptions" @@ -300,15 +311,17 @@ class PaymentIntentCreateParamsAmountDetailsLineItem(TypedDict): """ product_code: NotRequired[str] """ - Unique identifier of the product. At most 12 characters long. + The product code of the line item, such as an SKU. Required for L3 rates. At most 12 characters long. """ product_name: str """ - Name of the product. At most 100 characters long. + The product name of the line item. Required for L3 rates. At most 1024 characters long. + + For Cards, this field is truncated to 26 alphanumeric characters before being sent to the card networks. For Paypal, this field is truncated to 127 characters. """ quantity: int """ - Number of items of the product. Positive integer. + The quantity of items. Required for L3 rates. An integer greater than 0. """ tax: NotRequired["PaymentIntentCreateParamsAmountDetailsLineItemTax"] """ @@ -316,7 +329,7 @@ class PaymentIntentCreateParamsAmountDetailsLineItem(TypedDict): """ unit_cost: int """ - Cost of the product. Non-negative integer. + The unit cost of the line item represented in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal). Required for L3 rates. An integer greater than or equal to 0. """ unit_of_measure: NotRequired[str] """ @@ -414,29 +427,33 @@ class PaymentIntentCreateParamsAmountDetailsLineItemPaymentMethodOptionsPaypal( class PaymentIntentCreateParamsAmountDetailsLineItemTax(TypedDict): total_tax_amount: int """ - The total tax on an item. Non-negative integer. + The total amount of tax on a single line item represented in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal). Required for L3 rates. An integer greater than or equal to 0. + + This field is mutually exclusive with the `amount_details[tax][total_tax_amount]` field. """ class PaymentIntentCreateParamsAmountDetailsShipping(TypedDict): amount: NotRequired["Literal['']|int"] """ - Portion of the amount that is for shipping. + If a physical good is being shipped, the cost of shipping represented in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal). An integer greater than or equal to 0. """ from_postal_code: NotRequired["Literal['']|str"] """ - The postal code that represents the shipping source. + If a physical good is being shipped, the postal code of where it is being shipped from. At most 10 alphanumeric characters long, hyphens are allowed. """ to_postal_code: NotRequired["Literal['']|str"] """ - The postal code that represents the shipping destination. + If a physical good is being shipped, the postal code of where it is being shipped to. At most 10 alphanumeric characters long, hyphens are allowed. """ class PaymentIntentCreateParamsAmountDetailsTax(TypedDict): total_tax_amount: int """ - Total portion of the amount that is for tax. + The total amount of tax on the transaction represented in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal). Required for L2 rates. An integer greater than or equal to 0. + + This field is mutually exclusive with the `amount_details[line_items][#][tax][total_tax_amount]` field. """ @@ -530,9 +547,17 @@ class PaymentIntentCreateParamsPaymentDetails(TypedDict): """ Car rental details for this PaymentIntent. """ + car_rental_data: NotRequired[ + "Literal['']|List[PaymentIntentCreateParamsPaymentDetailsCarRentalDatum]" + ] + """ + Car rental data for this PaymentIntent. + """ customer_reference: NotRequired["Literal['']|str"] """ - Some customers might be required by their company or organization to provide this information. If so, provide this value. Otherwise you can ignore this field. + A unique value to identify the customer. This field is available only for card payments. + + This field is truncated to 25 alphanumeric characters, excluding spaces, before being sent to card networks. """ event_details: NotRequired[ "PaymentIntentCreateParamsPaymentDetailsEventDetails" @@ -544,13 +569,29 @@ class PaymentIntentCreateParamsPaymentDetails(TypedDict): """ Flight reservation details for this PaymentIntent """ + flight_data: NotRequired[ + "Literal['']|List[PaymentIntentCreateParamsPaymentDetailsFlightDatum]" + ] + """ + Flight data for this PaymentIntent. + """ lodging: NotRequired["PaymentIntentCreateParamsPaymentDetailsLodging"] """ Lodging reservation details for this PaymentIntent """ + lodging_data: NotRequired[ + "Literal['']|List[PaymentIntentCreateParamsPaymentDetailsLodgingDatum]" + ] + """ + Lodging data for this PaymentIntent. + """ order_reference: NotRequired["Literal['']|str"] """ - A unique value assigned by the business to identify the transaction. + A unique value assigned by the business to identify the transaction. Required for L2 and L3 rates. + + Required when the Payment Method Types array contains `card`, including when [automatic_payment_methods.enabled](https://docs.stripe.com/api/payment_intents/create#create_payment_intent-automatic_payment_methods-enabled) is set to `true`. + + For Cards, this field is truncated to 25 alphanumeric characters, excluding spaces, before being sent to card networks. For Klarna, this field is truncated to 255 characters and is visible to customers when they view the order in the Klarna app. """ subscription: NotRequired[ "PaymentIntentCreateParamsPaymentDetailsSubscription" @@ -814,344 +855,483 @@ class PaymentIntentCreateParamsPaymentDetailsCarRentalReturnAddress(TypedDict): """ -class PaymentIntentCreateParamsPaymentDetailsEventDetails(TypedDict): - access_controlled_venue: NotRequired[bool] +class PaymentIntentCreateParamsPaymentDetailsCarRentalDatum(TypedDict): + affiliate: NotRequired[ + "PaymentIntentCreateParamsPaymentDetailsCarRentalDatumAffiliate" + ] """ - Indicates if the tickets are digitally checked when entering the venue. + Affiliate (such as travel agency) details for the rental. """ - address: NotRequired[ - "PaymentIntentCreateParamsPaymentDetailsEventDetailsAddress" - ] + booking_number: NotRequired[str] """ - The event location's address. + Booking confirmation number for the car rental. """ - affiliate: NotRequired[ - "PaymentIntentCreateParamsPaymentDetailsEventDetailsAffiliate" - ] + carrier_name: NotRequired[str] """ - Affiliate details for this purchase. + Name of the car rental company. """ - company: NotRequired[str] + customer_service_phone_number: NotRequired[str] """ - The name of the company + Customer service phone number for the car rental company. """ - delivery: NotRequired[ - "PaymentIntentCreateParamsPaymentDetailsEventDetailsDelivery" + days_rented: NotRequired[int] + """ + Number of days the car is being rented. + """ + distance: NotRequired[ + "PaymentIntentCreateParamsPaymentDetailsCarRentalDatumDistance" ] """ - Delivery details for this purchase. + Distance details for the rental. """ - ends_at: NotRequired[int] + drivers: NotRequired[ + List["PaymentIntentCreateParamsPaymentDetailsCarRentalDatumDriver"] + ] """ - Event end time. Measured in seconds since the Unix epoch. + List of drivers for the rental. """ - genre: NotRequired[str] + drop_off: "PaymentIntentCreateParamsPaymentDetailsCarRentalDatumDropOff" """ - Type of the event entertainment (concert, sports event etc) + Drop-off location details. """ - name: str + insurances: NotRequired[ + List["PaymentIntentCreateParamsPaymentDetailsCarRentalDatumInsurance"] + ] """ - The name of the event. + Insurance details for the rental. """ - starts_at: NotRequired[int] + no_show_indicator: NotRequired[bool] """ - Event start time. Measured in seconds since the Unix epoch. + Indicates if the customer was a no-show. """ - - -class PaymentIntentCreateParamsPaymentDetailsEventDetailsAddress(TypedDict): - city: NotRequired[str] + pickup: "PaymentIntentCreateParamsPaymentDetailsCarRentalDatumPickup" """ - City, district, suburb, town, or village. + Pickup location details. """ - country: NotRequired[str] + renter_name: NotRequired[str] """ - Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). + Name of the person renting the vehicle. """ - line1: NotRequired[str] + total: "PaymentIntentCreateParamsPaymentDetailsCarRentalDatumTotal" """ - Address line 1, such as the street, PO Box, or company name. + Total cost breakdown for the rental. """ - line2: NotRequired[str] + vehicle: NotRequired[ + "PaymentIntentCreateParamsPaymentDetailsCarRentalDatumVehicle" + ] """ - Address line 2, such as the apartment, suite, unit, or building. + Vehicle details for the rental. """ - postal_code: NotRequired[str] + + +class PaymentIntentCreateParamsPaymentDetailsCarRentalDatumAffiliate( + TypedDict +): + code: NotRequired[str] """ - ZIP or postal code. + Affiliate partner code. """ - state: NotRequired[str] + name: NotRequired[str] """ - State, county, province, or region. + Name of affiliate partner. """ -class PaymentIntentCreateParamsPaymentDetailsEventDetailsAffiliate(TypedDict): - name: str +class PaymentIntentCreateParamsPaymentDetailsCarRentalDatumDistance(TypedDict): + amount: int """ - The name of the affiliate that originated the purchase. + Distance traveled. + """ + unit: Literal["kilometers", "miles"] + """ + Unit of measurement for the distance traveled. One of `miles` or `kilometers`. """ -class PaymentIntentCreateParamsPaymentDetailsEventDetailsDelivery(TypedDict): - mode: NotRequired[Literal["email", "phone", "pickup", "post"]] +class PaymentIntentCreateParamsPaymentDetailsCarRentalDatumDriver(TypedDict): + date_of_birth: NotRequired[ + "PaymentIntentCreateParamsPaymentDetailsCarRentalDatumDriverDateOfBirth" + ] """ - The delivery method for the payment + Driver's date of birth. """ - recipient: NotRequired[ - "PaymentIntentCreateParamsPaymentDetailsEventDetailsDeliveryRecipient" - ] + driver_identification_number: NotRequired[str] """ - Details of the recipient. + Driver's identification number. + """ + driver_tax_number: NotRequired[str] + """ + Driver's tax number. + """ + name: str + """ + Driver's full name. """ -class PaymentIntentCreateParamsPaymentDetailsEventDetailsDeliveryRecipient( +class PaymentIntentCreateParamsPaymentDetailsCarRentalDatumDriverDateOfBirth( TypedDict, ): - email: NotRequired[str] + day: int """ - The email of the recipient the ticket is delivered to. + Day of birth (1-31). """ - name: NotRequired[str] + month: int """ - The name of the recipient the ticket is delivered to. + Month of birth (1-12). """ - phone: NotRequired[str] + year: int """ - The phone number of the recipient the ticket is delivered to. + Year of birth (must be greater than 1900). """ -class PaymentIntentCreateParamsPaymentDetailsFlight(TypedDict): - affiliate: NotRequired[ - "PaymentIntentCreateParamsPaymentDetailsFlightAffiliate" - ] +class PaymentIntentCreateParamsPaymentDetailsCarRentalDatumDropOff(TypedDict): + address: ( + "PaymentIntentCreateParamsPaymentDetailsCarRentalDatumDropOffAddress" + ) """ - Affiliate details for this purchase. + Address of the rental location. """ - agency_number: NotRequired[str] + location_name: NotRequired[str] """ - The agency number (i.e. International Air Transport Association (IATA) agency number) of the travel agency that made the booking. + Location name. """ - carrier: NotRequired[str] + time: int """ - The International Air Transport Association (IATA) carrier code of the carrier that issued the ticket. + Timestamp for the location. """ - delivery: NotRequired[ - "PaymentIntentCreateParamsPaymentDetailsFlightDelivery" - ] + + +class PaymentIntentCreateParamsPaymentDetailsCarRentalDatumDropOffAddress( + TypedDict, +): + city: str """ - Delivery details for this purchase. + City, district, suburb, town, or village. """ - passenger_name: NotRequired[str] + country: str """ - The name of the person or entity on the reservation. + Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). """ - passengers: NotRequired[ - List["PaymentIntentCreateParamsPaymentDetailsFlightPassenger"] - ] + line1: str """ - The details of the passengers in the travel reservation. + Address line 1, such as the street, PO Box, or company name. """ - segments: List["PaymentIntentCreateParamsPaymentDetailsFlightSegment"] + line2: NotRequired[str] """ - The individual flight segments associated with the trip. + Address line 2, such as the apartment, suite, unit, or building. """ - ticket_number: NotRequired[str] + postal_code: str """ - The ticket number associated with the travel reservation. + ZIP or postal code. """ - - -class PaymentIntentCreateParamsPaymentDetailsFlightAffiliate(TypedDict): - name: str + state: NotRequired[str] """ - The name of the affiliate that originated the purchase. + State, county, province, or region. """ -class PaymentIntentCreateParamsPaymentDetailsFlightDelivery(TypedDict): - mode: NotRequired[Literal["email", "phone", "pickup", "post"]] +class PaymentIntentCreateParamsPaymentDetailsCarRentalDatumInsurance( + TypedDict +): + amount: int """ - The delivery method for the payment + Amount of the insurance coverage in cents. """ - recipient: NotRequired[ - "PaymentIntentCreateParamsPaymentDetailsFlightDeliveryRecipient" + currency: NotRequired[str] + """ + Currency of the insurance amount. + """ + insurance_company_name: NotRequired[str] + """ + Name of the insurance company. + """ + insurance_type: Literal[ + "liability_supplement", + "loss_damage_waiver", + "other", + "partial_damage_waiver", + "personal_accident", + "personal_effects", ] """ - Details of the recipient. + Type of insurance coverage. """ -class PaymentIntentCreateParamsPaymentDetailsFlightDeliveryRecipient( - TypedDict -): - email: NotRequired[str] +class PaymentIntentCreateParamsPaymentDetailsCarRentalDatumPickup(TypedDict): + address: ( + "PaymentIntentCreateParamsPaymentDetailsCarRentalDatumPickupAddress" + ) """ - The email of the recipient the ticket is delivered to. + Address of the rental location. """ - name: NotRequired[str] + location_name: NotRequired[str] """ - The name of the recipient the ticket is delivered to. + Location name. """ - phone: NotRequired[str] + time: int """ - The phone number of the recipient the ticket is delivered to. + Timestamp for the location. """ -class PaymentIntentCreateParamsPaymentDetailsFlightPassenger(TypedDict): - name: str +class PaymentIntentCreateParamsPaymentDetailsCarRentalDatumPickupAddress( + TypedDict, +): + city: str """ - Full name of the person or entity on the flight reservation. + City, district, suburb, town, or village. """ - - -class PaymentIntentCreateParamsPaymentDetailsFlightSegment(TypedDict): - amount: NotRequired[int] + country: str """ - The flight segment amount. + Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). """ - arrival_airport: NotRequired[str] + line1: str """ - The International Air Transport Association (IATA) airport code for the arrival airport. + Address line 1, such as the street, PO Box, or company name. """ - arrives_at: NotRequired[int] + line2: NotRequired[str] """ - The arrival time for the flight segment. Measured in seconds since the Unix epoch. + Address line 2, such as the apartment, suite, unit, or building. """ - carrier: NotRequired[str] + postal_code: str """ - The International Air Transport Association (IATA) carrier code of the carrier operating the flight segment. + ZIP or postal code. """ - departs_at: int + state: NotRequired[str] """ - The departure time for the flight segment. Measured in seconds since the Unix epoch. + State, county, province, or region. """ - departure_airport: NotRequired[str] + + +class PaymentIntentCreateParamsPaymentDetailsCarRentalDatumTotal(TypedDict): + amount: int """ - The International Air Transport Association (IATA) airport code for the departure airport. + Total amount in cents. """ - flight_number: NotRequired[str] + currency: NotRequired[str] """ - The flight number associated with the segment + Currency of the amount. """ - service_class: NotRequired[ - Literal["business", "economy", "first", "premium_economy"] + discounts: NotRequired[ + "PaymentIntentCreateParamsPaymentDetailsCarRentalDatumTotalDiscounts" ] """ - The fare class for the segment. + Discount details for the rental. """ - - -class PaymentIntentCreateParamsPaymentDetailsLodging(TypedDict): - address: NotRequired[ - "PaymentIntentCreateParamsPaymentDetailsLodgingAddress" + extra_charges: NotRequired[ + List[ + "PaymentIntentCreateParamsPaymentDetailsCarRentalDatumTotalExtraCharge" + ] ] """ - The lodging location's address. + Additional charges for the rental. """ - adults: NotRequired[int] + rate_per_unit: NotRequired[int] """ - The number of adults on the booking + Rate per unit for the rental. """ - affiliate: NotRequired[ - "PaymentIntentCreateParamsPaymentDetailsLodgingAffiliate" + rate_unit: NotRequired[ + Literal["days", "kilometers", "miles", "months", "weeks"] ] """ - Affiliate details for this purchase. - """ - booking_number: NotRequired[str] + Unit of measurement for the rate. """ - The booking number associated with the lodging reservation. + tax: NotRequired[ + "PaymentIntentCreateParamsPaymentDetailsCarRentalDatumTotalTax" + ] """ - category: NotRequired[Literal["hotel", "vacation_rental"]] + Tax breakdown for the rental. """ - The lodging category + + +class PaymentIntentCreateParamsPaymentDetailsCarRentalDatumTotalDiscounts( + TypedDict, +): + corporate_client_code: NotRequired[str] """ - checkin_at: int + Corporate client discount code. """ - Lodging check-in time. Measured in seconds since the Unix epoch. + coupon: NotRequired[str] """ - checkout_at: int + Coupon code applied to the rental. """ - Lodging check-out time. Measured in seconds since the Unix epoch. + maximum_free_miles_or_kilometers: NotRequired[int] """ - customer_service_phone_number: NotRequired[str] + Maximum number of free miles or kilometers included. """ - The customer service phone number of the lodging company. - """ - daily_room_rate_amount: NotRequired[int] + + +class PaymentIntentCreateParamsPaymentDetailsCarRentalDatumTotalExtraCharge( + TypedDict, +): + amount: int """ - The daily lodging room rate. + Amount of the extra charge in cents. """ - delivery: NotRequired[ - "PaymentIntentCreateParamsPaymentDetailsLodgingDelivery" + type: Literal[ + "extra_mileage", + "gas", + "gps", + "late_charge", + "one_way_drop_off", + "other", + "parking", + "phone", + "regular_mileage", + "towing", ] """ - Delivery details for this purchase. + Type of extra charge. """ - extra_charges: NotRequired[ + + +class PaymentIntentCreateParamsPaymentDetailsCarRentalDatumTotalTax(TypedDict): + tax_exempt_indicator: NotRequired[bool] + """ + Indicates if the transaction is tax exempt. + """ + taxes: NotRequired[ List[ - Literal[ - "gift_shop", - "laundry", - "mini_bar", - "other", - "restaurant", - "telephone", - ] + "PaymentIntentCreateParamsPaymentDetailsCarRentalDatumTotalTaxTax" ] ] """ - List of additional charges being billed. + Array of tax details. """ - fire_safety_act_compliance: NotRequired[bool] + + +class PaymentIntentCreateParamsPaymentDetailsCarRentalDatumTotalTaxTax( + TypedDict, +): + amount: NotRequired[int] """ - Indicates whether the lodging location is compliant with the Fire Safety Act. + Tax amount. """ - name: NotRequired[str] + rate: NotRequired[int] """ - The name of the lodging location. + Tax rate applied. """ - no_show: NotRequired[bool] + type: NotRequired[str] """ - Indicates if the customer did not keep their booking while failing to cancel the reservation. + Type of tax applied. """ - number_of_rooms: NotRequired[int] + + +class PaymentIntentCreateParamsPaymentDetailsCarRentalDatumVehicle(TypedDict): + make: NotRequired[str] """ - The number of rooms on the booking + Make of the rental vehicle. """ - passengers: NotRequired[ - List["PaymentIntentCreateParamsPaymentDetailsLodgingPassenger"] + model: NotRequired[str] + """ + Model of the rental vehicle. + """ + odometer: NotRequired[int] + """ + Odometer reading at the time of rental. + """ + type: NotRequired[ + Literal[ + "cargo_van", + "compact", + "economy", + "exotic", + "exotic_suv", + "fifteen_passenger_van", + "four_wheel_drive", + "full_size", + "intermediate", + "large_suv", + "large_truck", + "luxury", + "medium_suv", + "midsize", + "mini", + "minivan", + "miscellaneous", + "moped", + "moving_van", + "premium", + "regular", + "small_medium_truck", + "small_suv", + "special", + "standard", + "stretch", + "subcompact", + "taxi", + "twelve_foot_truck", + "twelve_passenger_van", + "twenty_foot_truck", + "twenty_four_foot_truck", + "twenty_six_foot_truck", + "unique", + ] ] """ - The details of the passengers in the travel reservation + Type of the rental vehicle. """ - property_phone_number: NotRequired[str] + vehicle_class: NotRequired[ + Literal["business", "economy", "first_class", "premium_economy"] + ] """ - The phone number of the lodging location. + Class of the rental vehicle. """ - room_class: NotRequired[str] + vehicle_identification_number: NotRequired[str] """ - The room class for this purchase. + Vehicle identification number (VIN). """ - room_nights: NotRequired[int] + + +class PaymentIntentCreateParamsPaymentDetailsEventDetails(TypedDict): + access_controlled_venue: NotRequired[bool] """ - The number of room nights + Indicates if the tickets are digitally checked when entering the venue. """ - total_room_tax_amount: NotRequired[int] + address: NotRequired[ + "PaymentIntentCreateParamsPaymentDetailsEventDetailsAddress" + ] """ - The total tax amount associating with the room reservation. + The event location's address. """ - total_tax_amount: NotRequired[int] + affiliate: NotRequired[ + "PaymentIntentCreateParamsPaymentDetailsEventDetailsAffiliate" + ] """ - The total tax amount + Affiliate details for this purchase. + """ + company: NotRequired[str] + """ + The name of the company + """ + delivery: NotRequired[ + "PaymentIntentCreateParamsPaymentDetailsEventDetailsDelivery" + ] + """ + Delivery details for this purchase. + """ + ends_at: NotRequired[int] + """ + Event end time. Measured in seconds since the Unix epoch. + """ + genre: NotRequired[str] + """ + Type of the event entertainment (concert, sports event etc) + """ + name: str + """ + The name of the event. + """ + starts_at: NotRequired[int] + """ + Event start time. Measured in seconds since the Unix epoch. """ -class PaymentIntentCreateParamsPaymentDetailsLodgingAddress(TypedDict): +class PaymentIntentCreateParamsPaymentDetailsEventDetailsAddress(TypedDict): city: NotRequired[str] """ City, district, suburb, town, or village. @@ -1178,27 +1358,27 @@ class PaymentIntentCreateParamsPaymentDetailsLodgingAddress(TypedDict): """ -class PaymentIntentCreateParamsPaymentDetailsLodgingAffiliate(TypedDict): +class PaymentIntentCreateParamsPaymentDetailsEventDetailsAffiliate(TypedDict): name: str """ The name of the affiliate that originated the purchase. """ -class PaymentIntentCreateParamsPaymentDetailsLodgingDelivery(TypedDict): +class PaymentIntentCreateParamsPaymentDetailsEventDetailsDelivery(TypedDict): mode: NotRequired[Literal["email", "phone", "pickup", "post"]] """ The delivery method for the payment """ recipient: NotRequired[ - "PaymentIntentCreateParamsPaymentDetailsLodgingDeliveryRecipient" + "PaymentIntentCreateParamsPaymentDetailsEventDetailsDeliveryRecipient" ] """ Details of the recipient. """ -class PaymentIntentCreateParamsPaymentDetailsLodgingDeliveryRecipient( +class PaymentIntentCreateParamsPaymentDetailsEventDetailsDeliveryRecipient( TypedDict, ): email: NotRequired[str] @@ -1215,515 +1395,531 @@ class PaymentIntentCreateParamsPaymentDetailsLodgingDeliveryRecipient( """ -class PaymentIntentCreateParamsPaymentDetailsLodgingPassenger(TypedDict): - name: str - """ - Full name of the person or entity on the lodging reservation. - """ - - -class PaymentIntentCreateParamsPaymentDetailsSubscription(TypedDict): +class PaymentIntentCreateParamsPaymentDetailsFlight(TypedDict): affiliate: NotRequired[ - "PaymentIntentCreateParamsPaymentDetailsSubscriptionAffiliate" + "PaymentIntentCreateParamsPaymentDetailsFlightAffiliate" ] """ Affiliate details for this purchase. """ - auto_renewal: NotRequired[bool] + agency_number: NotRequired[str] """ - Info whether the subscription will be auto renewed upon expiry. + The agency number (i.e. International Air Transport Association (IATA) agency number) of the travel agency that made the booking. """ - billing_interval: NotRequired[ - "PaymentIntentCreateParamsPaymentDetailsSubscriptionBillingInterval" + carrier: NotRequired[str] + """ + The International Air Transport Association (IATA) carrier code of the carrier that issued the ticket. + """ + delivery: NotRequired[ + "PaymentIntentCreateParamsPaymentDetailsFlightDelivery" ] """ - Subscription billing details for this purchase. + Delivery details for this purchase. """ - ends_at: NotRequired[int] + passenger_name: NotRequired[str] """ - Subscription end time. Measured in seconds since the Unix epoch. + The name of the person or entity on the reservation. """ - name: str + passengers: NotRequired[ + List["PaymentIntentCreateParamsPaymentDetailsFlightPassenger"] + ] """ - Name of the product on subscription. e.g. Apple Music Subscription + The details of the passengers in the travel reservation. """ - starts_at: NotRequired[int] + segments: List["PaymentIntentCreateParamsPaymentDetailsFlightSegment"] """ - Subscription start time. Measured in seconds since the Unix epoch. + The individual flight segments associated with the trip. + """ + ticket_number: NotRequired[str] + """ + The ticket number associated with the travel reservation. """ -class PaymentIntentCreateParamsPaymentDetailsSubscriptionAffiliate(TypedDict): +class PaymentIntentCreateParamsPaymentDetailsFlightAffiliate(TypedDict): name: str """ The name of the affiliate that originated the purchase. """ -class PaymentIntentCreateParamsPaymentDetailsSubscriptionBillingInterval( - TypedDict, -): - count: int +class PaymentIntentCreateParamsPaymentDetailsFlightDelivery(TypedDict): + mode: NotRequired[Literal["email", "phone", "pickup", "post"]] """ - The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration. + The delivery method for the payment """ - interval: Literal["day", "month", "week", "year"] + recipient: NotRequired[ + "PaymentIntentCreateParamsPaymentDetailsFlightDeliveryRecipient" + ] """ - Specifies a type of interval unit. Either `day`, `week`, `month` or `year`. + Details of the recipient. """ -class PaymentIntentCreateParamsPaymentMethodData(TypedDict): - acss_debit: NotRequired[ - "PaymentIntentCreateParamsPaymentMethodDataAcssDebit" - ] +class PaymentIntentCreateParamsPaymentDetailsFlightDeliveryRecipient( + TypedDict +): + email: NotRequired[str] """ - If this is an `acss_debit` PaymentMethod, this hash contains details about the ACSS Debit payment method. + The email of the recipient the ticket is delivered to. """ - affirm: NotRequired["PaymentIntentCreateParamsPaymentMethodDataAffirm"] + name: NotRequired[str] """ - If this is an `affirm` PaymentMethod, this hash contains details about the Affirm payment method. + The name of the recipient the ticket is delivered to. """ - afterpay_clearpay: NotRequired[ - "PaymentIntentCreateParamsPaymentMethodDataAfterpayClearpay" - ] + phone: NotRequired[str] """ - If this is an `AfterpayClearpay` PaymentMethod, this hash contains details about the AfterpayClearpay payment method. + The phone number of the recipient the ticket is delivered to. """ - alipay: NotRequired["PaymentIntentCreateParamsPaymentMethodDataAlipay"] + + +class PaymentIntentCreateParamsPaymentDetailsFlightPassenger(TypedDict): + name: str """ - If this is an `Alipay` PaymentMethod, this hash contains details about the Alipay payment method. + Full name of the person or entity on the flight reservation. """ - allow_redisplay: NotRequired[Literal["always", "limited", "unspecified"]] + + +class PaymentIntentCreateParamsPaymentDetailsFlightSegment(TypedDict): + amount: NotRequired[int] """ - This field indicates whether this payment method can be shown again to its customer in a checkout flow. Stripe products such as Checkout and Elements use this field to determine whether a payment method can be shown as a saved payment method in a checkout flow. The field defaults to `unspecified`. + The flight segment amount. """ - alma: NotRequired["PaymentIntentCreateParamsPaymentMethodDataAlma"] + arrival_airport: NotRequired[str] """ - If this is a Alma PaymentMethod, this hash contains details about the Alma payment method. + The International Air Transport Association (IATA) airport code for the arrival airport. """ - amazon_pay: NotRequired[ - "PaymentIntentCreateParamsPaymentMethodDataAmazonPay" - ] + arrives_at: NotRequired[int] """ - If this is a AmazonPay PaymentMethod, this hash contains details about the AmazonPay payment method. + The arrival time for the flight segment. Measured in seconds since the Unix epoch. """ - au_becs_debit: NotRequired[ - "PaymentIntentCreateParamsPaymentMethodDataAuBecsDebit" - ] + carrier: NotRequired[str] """ - If this is an `au_becs_debit` PaymentMethod, this hash contains details about the bank account. + The International Air Transport Association (IATA) carrier code of the carrier operating the flight segment. """ - bacs_debit: NotRequired[ - "PaymentIntentCreateParamsPaymentMethodDataBacsDebit" - ] + departs_at: int """ - If this is a `bacs_debit` PaymentMethod, this hash contains details about the Bacs Direct Debit bank account. + The departure time for the flight segment. Measured in seconds since the Unix epoch. """ - bancontact: NotRequired[ - "PaymentIntentCreateParamsPaymentMethodDataBancontact" - ] + departure_airport: NotRequired[str] """ - If this is a `bancontact` PaymentMethod, this hash contains details about the Bancontact payment method. + The International Air Transport Association (IATA) airport code for the departure airport. """ - billie: NotRequired["PaymentIntentCreateParamsPaymentMethodDataBillie"] + flight_number: NotRequired[str] """ - If this is a `billie` PaymentMethod, this hash contains details about the Billie payment method. + The flight number associated with the segment """ - billing_details: NotRequired[ - "PaymentIntentCreateParamsPaymentMethodDataBillingDetails" + service_class: NotRequired[ + Literal["business", "economy", "first", "premium_economy"] ] """ - Billing information associated with the PaymentMethod that may be used or required by particular types of payment methods. + The fare class for the segment. """ - blik: NotRequired["PaymentIntentCreateParamsPaymentMethodDataBlik"] + + +class PaymentIntentCreateParamsPaymentDetailsFlightDatum(TypedDict): + affiliate: NotRequired[ + "PaymentIntentCreateParamsPaymentDetailsFlightDatumAffiliate" + ] """ - If this is a `blik` PaymentMethod, this hash contains details about the BLIK payment method. + Affiliate details if applicable. """ - boleto: NotRequired["PaymentIntentCreateParamsPaymentMethodDataBoleto"] + booking_number: NotRequired[str] """ - If this is a `boleto` PaymentMethod, this hash contains details about the Boleto payment method. + Reservation reference. """ - cashapp: NotRequired["PaymentIntentCreateParamsPaymentMethodDataCashapp"] + computerized_reservation_system: NotRequired[str] """ - If this is a `cashapp` PaymentMethod, this hash contains details about the Cash App Pay payment method. + Computerized reservation system used to make the reservation and purchase the ticket. """ - crypto: NotRequired["PaymentIntentCreateParamsPaymentMethodDataCrypto"] + endorsements_and_restrictions: NotRequired[str] """ - If this is a Crypto PaymentMethod, this hash contains details about the Crypto payment method. + Ticket restrictions. """ - customer_balance: NotRequired[ - "PaymentIntentCreateParamsPaymentMethodDataCustomerBalance" + insurances: NotRequired[ + List["PaymentIntentCreateParamsPaymentDetailsFlightDatumInsurance"] ] """ - If this is a `customer_balance` PaymentMethod, this hash contains details about the CustomerBalance payment method. - """ - eps: NotRequired["PaymentIntentCreateParamsPaymentMethodDataEps"] - """ - If this is an `eps` PaymentMethod, this hash contains details about the EPS payment method. + List of insurances. """ - fpx: NotRequired["PaymentIntentCreateParamsPaymentMethodDataFpx"] + passengers: NotRequired[ + List["PaymentIntentCreateParamsPaymentDetailsFlightDatumPassenger"] + ] """ - If this is an `fpx` PaymentMethod, this hash contains details about the FPX payment method. + List of passengers. """ - giropay: NotRequired["PaymentIntentCreateParamsPaymentMethodDataGiropay"] + segments: List["PaymentIntentCreateParamsPaymentDetailsFlightDatumSegment"] """ - If this is a `giropay` PaymentMethod, this hash contains details about the Giropay payment method. + List of flight segments. """ - gopay: NotRequired["PaymentIntentCreateParamsPaymentMethodDataGopay"] + ticket_electronically_issued_indicator: NotRequired[bool] """ - If this is a Gopay PaymentMethod, this hash contains details about the Gopay payment method. + Electronic ticket indicator. """ - grabpay: NotRequired["PaymentIntentCreateParamsPaymentMethodDataGrabpay"] + total: "PaymentIntentCreateParamsPaymentDetailsFlightDatumTotal" """ - If this is a `grabpay` PaymentMethod, this hash contains details about the GrabPay payment method. + Total cost breakdown. """ - id_bank_transfer: NotRequired[ - "PaymentIntentCreateParamsPaymentMethodDataIdBankTransfer" + transaction_type: NotRequired[ + Literal[ + "exchange_ticket", "miscellaneous", "refund", "ticket_purchase" + ] ] """ - If this is an `IdBankTransfer` PaymentMethod, this hash contains details about the IdBankTransfer payment method. + Type of flight transaction. """ - ideal: NotRequired["PaymentIntentCreateParamsPaymentMethodDataIdeal"] + + +class PaymentIntentCreateParamsPaymentDetailsFlightDatumAffiliate(TypedDict): + code: NotRequired[str] """ - If this is an `ideal` PaymentMethod, this hash contains details about the iDEAL payment method. + Affiliate partner code. """ - interac_present: NotRequired[ - "PaymentIntentCreateParamsPaymentMethodDataInteracPresent" - ] + name: NotRequired[str] """ - If this is an `interac_present` PaymentMethod, this hash contains details about the Interac Present payment method. + Name of affiliate partner. """ - kakao_pay: NotRequired[ - "PaymentIntentCreateParamsPaymentMethodDataKakaoPay" - ] + travel_authorization_code: NotRequired[str] """ - If this is a `kakao_pay` PaymentMethod, this hash contains details about the Kakao Pay payment method. + Code provided by the company to a travel agent authorizing ticket issuance. """ - klarna: NotRequired["PaymentIntentCreateParamsPaymentMethodDataKlarna"] + + +class PaymentIntentCreateParamsPaymentDetailsFlightDatumInsurance(TypedDict): + amount: int """ - If this is a `klarna` PaymentMethod, this hash contains details about the Klarna payment method. + Insurance cost. """ - konbini: NotRequired["PaymentIntentCreateParamsPaymentMethodDataKonbini"] + currency: NotRequired[str] """ - If this is a `konbini` PaymentMethod, this hash contains details about the Konbini payment method. + Insurance currency. """ - kr_card: NotRequired["PaymentIntentCreateParamsPaymentMethodDataKrCard"] + insurance_company_name: NotRequired[str] """ - If this is a `kr_card` PaymentMethod, this hash contains details about the Korean Card payment method. + Insurance company name. """ - link: NotRequired["PaymentIntentCreateParamsPaymentMethodDataLink"] + insurance_type: Literal[ + "baggage", "bankruptcy", "cancelation", "emergency", "medical" + ] """ - If this is an `Link` PaymentMethod, this hash contains details about the Link payment method. + Type of insurance. """ - mb_way: NotRequired["PaymentIntentCreateParamsPaymentMethodDataMbWay"] + + +class PaymentIntentCreateParamsPaymentDetailsFlightDatumPassenger(TypedDict): + name: str """ - If this is a MB WAY PaymentMethod, this hash contains details about the MB WAY payment method. + Passenger's full name. """ - metadata: NotRequired[Dict[str, str]] + + +class PaymentIntentCreateParamsPaymentDetailsFlightDatumSegment(TypedDict): + amount: NotRequired[int] """ - Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. + Segment fare amount. """ - mobilepay: NotRequired[ - "PaymentIntentCreateParamsPaymentMethodDataMobilepay" - ] + arrival: "PaymentIntentCreateParamsPaymentDetailsFlightDatumSegmentArrival" """ - If this is a `mobilepay` PaymentMethod, this hash contains details about the MobilePay payment method. + Arrival details. """ - multibanco: NotRequired[ - "PaymentIntentCreateParamsPaymentMethodDataMultibanco" - ] + carrier_code: str """ - If this is a `multibanco` PaymentMethod, this hash contains details about the Multibanco payment method. + Airline carrier code. """ - naver_pay: NotRequired[ - "PaymentIntentCreateParamsPaymentMethodDataNaverPay" - ] + carrier_name: NotRequired[str] """ - If this is a `naver_pay` PaymentMethod, this hash contains details about the Naver Pay payment method. + Carrier name. """ - nz_bank_account: NotRequired[ - "PaymentIntentCreateParamsPaymentMethodDataNzBankAccount" - ] + currency: NotRequired[str] """ - If this is an nz_bank_account PaymentMethod, this hash contains details about the nz_bank_account payment method. + Segment currency. """ - oxxo: NotRequired["PaymentIntentCreateParamsPaymentMethodDataOxxo"] + departure: ( + "PaymentIntentCreateParamsPaymentDetailsFlightDatumSegmentDeparture" + ) """ - If this is an `oxxo` PaymentMethod, this hash contains details about the OXXO payment method. + Departure details. """ - p24: NotRequired["PaymentIntentCreateParamsPaymentMethodDataP24"] + exchange_ticket_number: NotRequired[str] """ - If this is a `p24` PaymentMethod, this hash contains details about the P24 payment method. + Exchange ticket number. """ - pay_by_bank: NotRequired[ - "PaymentIntentCreateParamsPaymentMethodDataPayByBank" - ] + fare_basis_code: NotRequired[str] """ - If this is a `pay_by_bank` PaymentMethod, this hash contains details about the PayByBank payment method. + Fare basis code. """ - payco: NotRequired["PaymentIntentCreateParamsPaymentMethodDataPayco"] + fees: NotRequired[int] """ - If this is a `payco` PaymentMethod, this hash contains details about the PAYCO payment method. + Additional fees. """ - paynow: NotRequired["PaymentIntentCreateParamsPaymentMethodDataPaynow"] + flight_number: NotRequired[str] """ - If this is a `paynow` PaymentMethod, this hash contains details about the PayNow payment method. + Flight number. """ - paypal: NotRequired["PaymentIntentCreateParamsPaymentMethodDataPaypal"] + is_stop_over_indicator: NotRequired[bool] """ - If this is a `paypal` PaymentMethod, this hash contains details about the PayPal payment method. + Stopover indicator. """ - paypay: NotRequired["PaymentIntentCreateParamsPaymentMethodDataPaypay"] + refundable: NotRequired[bool] """ - If this is a `paypay` PaymentMethod, this hash contains details about the PayPay payment method. + Refundable ticket indicator. """ - payto: NotRequired["PaymentIntentCreateParamsPaymentMethodDataPayto"] + service_class: Literal[ + "business", "economy", "first_class", "premium_economy" + ] """ - If this is a `payto` PaymentMethod, this hash contains details about the PayTo payment method. + Class of service. """ - pix: NotRequired["PaymentIntentCreateParamsPaymentMethodDataPix"] + tax_amount: NotRequired[int] """ - If this is a `pix` PaymentMethod, this hash contains details about the Pix payment method. + Tax amount for segment. """ - promptpay: NotRequired[ - "PaymentIntentCreateParamsPaymentMethodDataPromptpay" - ] + ticket_number: NotRequired[str] """ - If this is a `promptpay` PaymentMethod, this hash contains details about the PromptPay payment method. + Ticket number. """ - qris: NotRequired["PaymentIntentCreateParamsPaymentMethodDataQris"] + + +class PaymentIntentCreateParamsPaymentDetailsFlightDatumSegmentArrival( + TypedDict, +): + airport: str """ - If this is a `qris` PaymentMethod, this hash contains details about the QRIS payment method. + Arrival airport IATA code. """ - radar_options: NotRequired[ - "PaymentIntentCreateParamsPaymentMethodDataRadarOptions" - ] + arrives_at: NotRequired[int] """ - Options to configure Radar. See [Radar Session](https://stripe.com/docs/radar/radar-session) for more information. + Arrival date/time. """ - rechnung: NotRequired["PaymentIntentCreateParamsPaymentMethodDataRechnung"] + city: NotRequired[str] """ - If this is a `rechnung` PaymentMethod, this hash contains details about the Rechnung payment method. + Arrival city. """ - revolut_pay: NotRequired[ - "PaymentIntentCreateParamsPaymentMethodDataRevolutPay" - ] + country: NotRequired[str] """ - If this is a `revolut_pay` PaymentMethod, this hash contains details about the Revolut Pay payment method. + Arrival country. """ - samsung_pay: NotRequired[ - "PaymentIntentCreateParamsPaymentMethodDataSamsungPay" - ] + + +class PaymentIntentCreateParamsPaymentDetailsFlightDatumSegmentDeparture( + TypedDict, +): + airport: str """ - If this is a `samsung_pay` PaymentMethod, this hash contains details about the SamsungPay payment method. + Departure airport IATA code. """ - satispay: NotRequired["PaymentIntentCreateParamsPaymentMethodDataSatispay"] + city: NotRequired[str] """ - If this is a `satispay` PaymentMethod, this hash contains details about the Satispay payment method. + Departure city. """ - sepa_debit: NotRequired[ - "PaymentIntentCreateParamsPaymentMethodDataSepaDebit" - ] + country: NotRequired[str] """ - If this is a `sepa_debit` PaymentMethod, this hash contains details about the SEPA debit bank account. + Departure country. """ - shopeepay: NotRequired[ - "PaymentIntentCreateParamsPaymentMethodDataShopeepay" - ] + departs_at: int """ - If this is a Shopeepay PaymentMethod, this hash contains details about the Shopeepay payment method. + Departure date/time. """ - sofort: NotRequired["PaymentIntentCreateParamsPaymentMethodDataSofort"] + + +class PaymentIntentCreateParamsPaymentDetailsFlightDatumTotal(TypedDict): + amount: int """ - If this is a `sofort` PaymentMethod, this hash contains details about the SOFORT payment method. + Total flight amount. """ - stripe_balance: NotRequired[ - "PaymentIntentCreateParamsPaymentMethodDataStripeBalance" + credit_reason: NotRequired[ + Literal[ + "other", + "partial_ticket_refund", + "passenger_transport_ancillary_cancellation", + "ticket_and_ancillary_cancellation", + "ticket_cancellation", + ] ] """ - This hash contains details about the Stripe balance payment method. + Reason for credit. """ - swish: NotRequired["PaymentIntentCreateParamsPaymentMethodDataSwish"] + currency: NotRequired[str] """ - If this is a `swish` PaymentMethod, this hash contains details about the Swish payment method. + Total currency. """ - twint: NotRequired["PaymentIntentCreateParamsPaymentMethodDataTwint"] + discounts: NotRequired[ + "PaymentIntentCreateParamsPaymentDetailsFlightDatumTotalDiscounts" + ] """ - If this is a TWINT PaymentMethod, this hash contains details about the TWINT payment method. + Discount details. """ - type: Literal[ - "acss_debit", - "affirm", - "afterpay_clearpay", - "alipay", - "alma", - "amazon_pay", - "au_becs_debit", - "bacs_debit", - "bancontact", - "billie", - "blik", - "boleto", - "cashapp", - "crypto", - "customer_balance", - "eps", - "fpx", - "giropay", - "gopay", - "grabpay", - "id_bank_transfer", - "ideal", - "kakao_pay", - "klarna", - "konbini", - "kr_card", - "link", - "mb_way", - "mobilepay", - "multibanco", - "naver_pay", - "nz_bank_account", - "oxxo", - "p24", - "pay_by_bank", - "payco", - "paynow", - "paypal", - "paypay", - "payto", - "pix", - "promptpay", - "qris", - "rechnung", - "revolut_pay", - "samsung_pay", - "satispay", - "sepa_debit", - "shopeepay", - "sofort", - "stripe_balance", - "swish", - "twint", - "us_bank_account", - "wechat_pay", - "zip", + extra_charges: NotRequired[ + List[ + "PaymentIntentCreateParamsPaymentDetailsFlightDatumTotalExtraCharge" + ] ] """ - The type of the PaymentMethod. An additional hash is included on the PaymentMethod with a name matching this value. It contains additional information specific to the PaymentMethod type. + Additional charges. """ - us_bank_account: NotRequired[ - "PaymentIntentCreateParamsPaymentMethodDataUsBankAccount" + tax: NotRequired[ + "PaymentIntentCreateParamsPaymentDetailsFlightDatumTotalTax" ] """ - If this is an `us_bank_account` PaymentMethod, this hash contains details about the US bank account payment method. + Tax breakdown. """ - wechat_pay: NotRequired[ - "PaymentIntentCreateParamsPaymentMethodDataWechatPay" + + +class PaymentIntentCreateParamsPaymentDetailsFlightDatumTotalDiscounts( + TypedDict, +): + corporate_client_code: NotRequired[str] + """ + Corporate client discount code. + """ + + +class PaymentIntentCreateParamsPaymentDetailsFlightDatumTotalExtraCharge( + TypedDict, +): + amount: NotRequired[int] + """ + Amount of additional charges. + """ + type: NotRequired[ + Literal["additional_fees", "ancillary_service_charges", "exchange_fee"] ] """ - If this is an `wechat_pay` PaymentMethod, this hash contains details about the wechat_pay payment method. + Type of additional charges. """ - zip: NotRequired["PaymentIntentCreateParamsPaymentMethodDataZip"] + + +class PaymentIntentCreateParamsPaymentDetailsFlightDatumTotalTax(TypedDict): + taxes: NotRequired[ + List["PaymentIntentCreateParamsPaymentDetailsFlightDatumTotalTaxTax"] + ] """ - If this is a `zip` PaymentMethod, this hash contains details about the Zip payment method. + Array of tax details. """ -class PaymentIntentCreateParamsPaymentMethodDataAcssDebit(TypedDict): - account_number: str +class PaymentIntentCreateParamsPaymentDetailsFlightDatumTotalTaxTax(TypedDict): + amount: NotRequired[int] """ - Customer's bank account number. + Tax amount. """ - institution_number: str + rate: NotRequired[int] """ - Institution number of the customer's bank. + Tax rate. """ - transit_number: str + type: NotRequired[str] """ - Transit number of the customer's bank. + Type of tax. """ -class PaymentIntentCreateParamsPaymentMethodDataAffirm(TypedDict): - pass - - -class PaymentIntentCreateParamsPaymentMethodDataAfterpayClearpay(TypedDict): - pass - - -class PaymentIntentCreateParamsPaymentMethodDataAlipay(TypedDict): - pass - - -class PaymentIntentCreateParamsPaymentMethodDataAlma(TypedDict): - pass - - -class PaymentIntentCreateParamsPaymentMethodDataAmazonPay(TypedDict): - pass - - -class PaymentIntentCreateParamsPaymentMethodDataAuBecsDebit(TypedDict): - account_number: str +class PaymentIntentCreateParamsPaymentDetailsLodging(TypedDict): + address: NotRequired[ + "PaymentIntentCreateParamsPaymentDetailsLodgingAddress" + ] """ - The account number for the bank account. + The lodging location's address. """ - bsb_number: str + adults: NotRequired[int] """ - Bank-State-Branch number of the bank account. + The number of adults on the booking """ - - -class PaymentIntentCreateParamsPaymentMethodDataBacsDebit(TypedDict): - account_number: NotRequired[str] + affiliate: NotRequired[ + "PaymentIntentCreateParamsPaymentDetailsLodgingAffiliate" + ] """ - Account number of the bank account that the funds will be debited from. + Affiliate details for this purchase. """ - sort_code: NotRequired[str] + booking_number: NotRequired[str] """ - Sort code of the bank account. (e.g., `10-20-30`) + The booking number associated with the lodging reservation. """ - - -class PaymentIntentCreateParamsPaymentMethodDataBancontact(TypedDict): - pass - - -class PaymentIntentCreateParamsPaymentMethodDataBillie(TypedDict): - pass - - -class PaymentIntentCreateParamsPaymentMethodDataBillingDetails(TypedDict): - address: NotRequired[ - "Literal['']|PaymentIntentCreateParamsPaymentMethodDataBillingDetailsAddress" + category: NotRequired[Literal["hotel", "vacation_rental"]] + """ + The lodging category + """ + checkin_at: int + """ + Lodging check-in time. Measured in seconds since the Unix epoch. + """ + checkout_at: int + """ + Lodging check-out time. Measured in seconds since the Unix epoch. + """ + customer_service_phone_number: NotRequired[str] + """ + The customer service phone number of the lodging company. + """ + daily_room_rate_amount: NotRequired[int] + """ + The daily lodging room rate. + """ + delivery: NotRequired[ + "PaymentIntentCreateParamsPaymentDetailsLodgingDelivery" ] """ - Billing address. + Delivery details for this purchase. """ - email: NotRequired["Literal['']|str"] + extra_charges: NotRequired[ + List[ + Literal[ + "gift_shop", + "laundry", + "mini_bar", + "other", + "restaurant", + "telephone", + ] + ] + ] """ - Email address. + List of additional charges being billed. """ - name: NotRequired["Literal['']|str"] + fire_safety_act_compliance: NotRequired[bool] """ - Full name. + Indicates whether the lodging location is compliant with the Fire Safety Act. """ - phone: NotRequired["Literal['']|str"] + name: NotRequired[str] """ - Billing phone number (including extension). + The name of the lodging location. """ - tax_id: NotRequired[str] + no_show: NotRequired[bool] """ - Taxpayer identification number. Used only for transactions between LATAM buyers and non-LATAM sellers. + Indicates if the customer did not keep their booking while failing to cancel the reservation. + """ + number_of_rooms: NotRequired[int] + """ + The number of rooms on the booking + """ + passengers: NotRequired[ + List["PaymentIntentCreateParamsPaymentDetailsLodgingPassenger"] + ] + """ + The details of the passengers in the travel reservation + """ + property_phone_number: NotRequired[str] + """ + The phone number of the lodging location. + """ + room_class: NotRequired[str] + """ + The room class for this purchase. + """ + room_nights: NotRequired[int] + """ + The number of room nights + """ + total_room_tax_amount: NotRequired[int] + """ + The total tax amount associating with the room reservation. + """ + total_tax_amount: NotRequired[int] + """ + The total tax amount """ -class PaymentIntentCreateParamsPaymentMethodDataBillingDetailsAddress( - TypedDict, -): +class PaymentIntentCreateParamsPaymentDetailsLodgingAddress(TypedDict): city: NotRequired[str] """ City, district, suburb, town, or village. @@ -1750,1833 +1946,3821 @@ class PaymentIntentCreateParamsPaymentMethodDataBillingDetailsAddress( """ -class PaymentIntentCreateParamsPaymentMethodDataBlik(TypedDict): - pass - - -class PaymentIntentCreateParamsPaymentMethodDataBoleto(TypedDict): - tax_id: str +class PaymentIntentCreateParamsPaymentDetailsLodgingAffiliate(TypedDict): + name: str """ - The tax ID of the customer (CPF for individual consumers or CNPJ for businesses consumers) + The name of the affiliate that originated the purchase. """ -class PaymentIntentCreateParamsPaymentMethodDataCashapp(TypedDict): - pass - - -class PaymentIntentCreateParamsPaymentMethodDataCrypto(TypedDict): - pass - - -class PaymentIntentCreateParamsPaymentMethodDataCustomerBalance(TypedDict): - pass - - -class PaymentIntentCreateParamsPaymentMethodDataEps(TypedDict): - bank: NotRequired[ - Literal[ - "arzte_und_apotheker_bank", - "austrian_anadi_bank_ag", - "bank_austria", - "bankhaus_carl_spangler", - "bankhaus_schelhammer_und_schattera_ag", - "bawag_psk_ag", - "bks_bank_ag", - "brull_kallmus_bank_ag", - "btv_vier_lander_bank", - "capital_bank_grawe_gruppe_ag", - "deutsche_bank_ag", - "dolomitenbank", - "easybank_ag", - "erste_bank_und_sparkassen", - "hypo_alpeadriabank_international_ag", - "hypo_bank_burgenland_aktiengesellschaft", - "hypo_noe_lb_fur_niederosterreich_u_wien", - "hypo_oberosterreich_salzburg_steiermark", - "hypo_tirol_bank_ag", - "hypo_vorarlberg_bank_ag", - "marchfelder_bank", - "oberbank_ag", - "raiffeisen_bankengruppe_osterreich", - "schoellerbank_ag", - "sparda_bank_wien", - "volksbank_gruppe", - "volkskreditbank_ag", - "vr_bank_braunau", - ] +class PaymentIntentCreateParamsPaymentDetailsLodgingDelivery(TypedDict): + mode: NotRequired[Literal["email", "phone", "pickup", "post"]] + """ + The delivery method for the payment + """ + recipient: NotRequired[ + "PaymentIntentCreateParamsPaymentDetailsLodgingDeliveryRecipient" ] """ - The customer's bank. + Details of the recipient. """ -class PaymentIntentCreateParamsPaymentMethodDataFpx(TypedDict): - account_holder_type: NotRequired[Literal["company", "individual"]] +class PaymentIntentCreateParamsPaymentDetailsLodgingDeliveryRecipient( + TypedDict, +): + email: NotRequired[str] """ - Account holder type for FPX transaction + The email of the recipient the ticket is delivered to. """ - bank: Literal[ - "affin_bank", - "agrobank", - "alliance_bank", - "ambank", - "bank_islam", - "bank_muamalat", - "bank_of_china", - "bank_rakyat", - "bsn", - "cimb", - "deutsche_bank", - "hong_leong_bank", - "hsbc", - "kfh", - "maybank2e", - "maybank2u", - "ocbc", - "pb_enterprise", - "public_bank", - "rhb", - "standard_chartered", - "uob", - ] + name: NotRequired[str] """ - The customer's bank. + The name of the recipient the ticket is delivered to. + """ + phone: NotRequired[str] + """ + The phone number of the recipient the ticket is delivered to. """ -class PaymentIntentCreateParamsPaymentMethodDataGiropay(TypedDict): - pass - - -class PaymentIntentCreateParamsPaymentMethodDataGopay(TypedDict): - pass +class PaymentIntentCreateParamsPaymentDetailsLodgingPassenger(TypedDict): + name: str + """ + Full name of the person or entity on the lodging reservation. + """ -class PaymentIntentCreateParamsPaymentMethodDataGrabpay(TypedDict): - pass - - -class PaymentIntentCreateParamsPaymentMethodDataIdBankTransfer(TypedDict): - bank: NotRequired[Literal["bca", "bni", "bri", "cimb", "permata"]] +class PaymentIntentCreateParamsPaymentDetailsLodgingDatum(TypedDict): + accommodation: NotRequired[ + "PaymentIntentCreateParamsPaymentDetailsLodgingDatumAccommodation" + ] """ - Bank where the account is held. + Accommodation details for the lodging. """ - - -class PaymentIntentCreateParamsPaymentMethodDataIdeal(TypedDict): - bank: NotRequired[ - Literal[ - "abn_amro", - "asn_bank", - "bunq", - "buut", - "handelsbanken", - "ing", - "knab", - "moneyou", - "n26", - "nn", - "rabobank", - "regiobank", - "revolut", - "sns_bank", - "triodos_bank", - "van_lanschot", - "yoursafe", - ] + affiliate: NotRequired[ + "PaymentIntentCreateParamsPaymentDetailsLodgingDatumAffiliate" ] """ - The customer's bank. Only use this parameter for existing customers. Don't use it for new customers. + Affiliate details if applicable. """ - - -class PaymentIntentCreateParamsPaymentMethodDataInteracPresent(TypedDict): - pass - - -class PaymentIntentCreateParamsPaymentMethodDataKakaoPay(TypedDict): - pass - - -class PaymentIntentCreateParamsPaymentMethodDataKlarna(TypedDict): - dob: NotRequired["PaymentIntentCreateParamsPaymentMethodDataKlarnaDob"] + booking_number: NotRequired[str] """ - Customer's date of birth + Booking confirmation number for the lodging. """ - - -class PaymentIntentCreateParamsPaymentMethodDataKlarnaDob(TypedDict): - day: int + checkin_at: int """ - The day of birth, between 1 and 31. + Check-in date. """ - month: int + checkout_at: int """ - The month of birth, between 1 and 12. + Check-out date. """ - year: int + customer_service_phone_number: NotRequired[str] """ - The four-digit year of birth. + Customer service phone number for the lodging company. """ - - -class PaymentIntentCreateParamsPaymentMethodDataKonbini(TypedDict): - pass - - -class PaymentIntentCreateParamsPaymentMethodDataKrCard(TypedDict): - pass - - -class PaymentIntentCreateParamsPaymentMethodDataLink(TypedDict): - pass - - -class PaymentIntentCreateParamsPaymentMethodDataMbWay(TypedDict): - pass - - -class PaymentIntentCreateParamsPaymentMethodDataMobilepay(TypedDict): - pass - - -class PaymentIntentCreateParamsPaymentMethodDataMultibanco(TypedDict): - pass - - -class PaymentIntentCreateParamsPaymentMethodDataNaverPay(TypedDict): - funding: NotRequired[Literal["card", "points"]] + fire_safety_act_compliance_indicator: NotRequired[bool] """ - Whether to use Naver Pay points or a card to fund this transaction. If not provided, this defaults to `card`. + Whether the lodging is compliant with any hotel fire safety regulations. """ - - -class PaymentIntentCreateParamsPaymentMethodDataNzBankAccount(TypedDict): - account_holder_name: NotRequired[str] + guests: NotRequired[ + List["PaymentIntentCreateParamsPaymentDetailsLodgingDatumGuest"] + ] """ - The name on the bank account. Only required if the account holder name is different from the name of the authorized signatory collected in the PaymentMethod's billing details. + List of guests for the lodging. """ - account_number: str + host: NotRequired[ + "PaymentIntentCreateParamsPaymentDetailsLodgingDatumHost" + ] """ - The account number for the bank account. + Host details for the lodging. """ - bank_code: str + insurances: NotRequired[ + List["PaymentIntentCreateParamsPaymentDetailsLodgingDatumInsurance"] + ] """ - The numeric code for the bank account's bank. + List of insurances for the lodging. """ - branch_code: str + no_show_indicator: NotRequired[bool] """ - The numeric code for the bank account's bank branch. + Whether the renter is a no-show. """ - reference: NotRequired[str] - suffix: str + renter_id_number: NotRequired[str] """ - The suffix of the bank account number. + Renter ID number for the lodging. + """ + renter_name: NotRequired[str] + """ + Renter name for the lodging. + """ + total: "PaymentIntentCreateParamsPaymentDetailsLodgingDatumTotal" + """ + Total details for the lodging. """ -class PaymentIntentCreateParamsPaymentMethodDataOxxo(TypedDict): - pass - - -class PaymentIntentCreateParamsPaymentMethodDataP24(TypedDict): - bank: NotRequired[ +class PaymentIntentCreateParamsPaymentDetailsLodgingDatumAccommodation( + TypedDict, +): + accommodation_type: NotRequired[ Literal[ - "alior_bank", - "bank_millennium", - "bank_nowy_bfg_sa", - "bank_pekao_sa", - "banki_spbdzielcze", - "blik", - "bnp_paribas", - "boz", - "citi_handlowy", - "credit_agricole", - "envelobank", - "etransfer_pocztowy24", - "getin_bank", - "ideabank", - "ing", - "inteligo", - "mbank_mtransfer", - "nest_przelew", - "noble_pay", - "pbac_z_ipko", - "plus_bank", - "santander_przelew24", - "tmobile_usbugi_bankowe", - "toyota_bank", - "velobank", - "volkswagen_bank", + "apartment", + "cabana", + "house", + "penthouse", + "room", + "standard", + "suite", + "villa", ] ] """ - The customer's bank. + Type of accommodation. """ - - -class PaymentIntentCreateParamsPaymentMethodDataPayByBank(TypedDict): - pass - - -class PaymentIntentCreateParamsPaymentMethodDataPayco(TypedDict): - pass - - -class PaymentIntentCreateParamsPaymentMethodDataPaynow(TypedDict): - pass - - -class PaymentIntentCreateParamsPaymentMethodDataPaypal(TypedDict): - pass - - -class PaymentIntentCreateParamsPaymentMethodDataPaypay(TypedDict): - pass - - -class PaymentIntentCreateParamsPaymentMethodDataPayto(TypedDict): - account_number: NotRequired[str] + bed_type: NotRequired[str] """ - The account number for the bank account. + Bed type. """ - bsb_number: NotRequired[str] + daily_rate_amount: NotRequired[int] """ - Bank-State-Branch number of the bank account. + Daily accommodation rate in cents. """ - pay_id: NotRequired[str] + nights: NotRequired[int] """ - The PayID alias for the bank account. + Number of nights. + """ + number_of_rooms: NotRequired[int] + """ + Number of rooms, cabanas, apartments, and so on. + """ + rate_type: NotRequired[str] + """ + Rate type. + """ + smoking_indicator: NotRequired[bool] + """ + Whether smoking is allowed. """ -class PaymentIntentCreateParamsPaymentMethodDataPix(TypedDict): - pass - - -class PaymentIntentCreateParamsPaymentMethodDataPromptpay(TypedDict): - pass - - -class PaymentIntentCreateParamsPaymentMethodDataQris(TypedDict): - pass - - -class PaymentIntentCreateParamsPaymentMethodDataRadarOptions(TypedDict): - session: NotRequired[str] +class PaymentIntentCreateParamsPaymentDetailsLodgingDatumAffiliate(TypedDict): + code: NotRequired[str] """ - A [Radar Session](https://stripe.com/docs/radar/radar-session) is a snapshot of the browser metadata and device details that help Radar make more accurate predictions on your payments. + Affiliate partner code. + """ + name: NotRequired[str] + """ + Affiliate partner name. """ -class PaymentIntentCreateParamsPaymentMethodDataRechnung(TypedDict): - dob: "PaymentIntentCreateParamsPaymentMethodDataRechnungDob" +class PaymentIntentCreateParamsPaymentDetailsLodgingDatumGuest(TypedDict): + name: str """ - Customer's date of birth + Guest's full name. """ -class PaymentIntentCreateParamsPaymentMethodDataRechnungDob(TypedDict): - day: int +class PaymentIntentCreateParamsPaymentDetailsLodgingDatumHost(TypedDict): + address: NotRequired[ + "PaymentIntentCreateParamsPaymentDetailsLodgingDatumHostAddress" + ] """ - The day of birth, between 1 and 31. + Address of the host. """ - month: int + country_of_domicile: NotRequired[str] """ - The month of birth, between 1 and 12. + Host's country of domicile. """ - year: int + host_reference: NotRequired[str] """ - The four-digit year of birth. + Reference number for the host. """ - - -class PaymentIntentCreateParamsPaymentMethodDataRevolutPay(TypedDict): - pass - - -class PaymentIntentCreateParamsPaymentMethodDataSamsungPay(TypedDict): - pass - - -class PaymentIntentCreateParamsPaymentMethodDataSatispay(TypedDict): - pass - - -class PaymentIntentCreateParamsPaymentMethodDataSepaDebit(TypedDict): - iban: str + host_type: NotRequired[ + Literal["hostel", "hotel", "owner", "rental_agency"] + ] """ - IBAN of the bank account. + Type of host. """ - - -class PaymentIntentCreateParamsPaymentMethodDataShopeepay(TypedDict): - pass - - -class PaymentIntentCreateParamsPaymentMethodDataSofort(TypedDict): - country: Literal["AT", "BE", "DE", "ES", "IT", "NL"] + name: NotRequired[str] """ - Two-letter ISO code representing the country the bank account is located in. + Name of the lodging property or host. """ - - -class PaymentIntentCreateParamsPaymentMethodDataStripeBalance(TypedDict): - account: NotRequired[str] + number_of_reservations: NotRequired[int] """ - The connected account ID whose Stripe balance to use as the source of payment + Total number of reservations for the host. """ - source_type: NotRequired[Literal["bank_account", "card", "fpx"]] + property_phone_number: NotRequired[str] """ - The [source_type](https://docs.stripe.com/api/balance/balance_object#balance_object-available-source_types) of the balance + Property phone number. + """ + registered_at: NotRequired[int] + """ + Host's registration date. """ -class PaymentIntentCreateParamsPaymentMethodDataSwish(TypedDict): - pass - - -class PaymentIntentCreateParamsPaymentMethodDataTwint(TypedDict): - pass - - -class PaymentIntentCreateParamsPaymentMethodDataUsBankAccount(TypedDict): - account_holder_type: NotRequired[Literal["company", "individual"]] +class PaymentIntentCreateParamsPaymentDetailsLodgingDatumHostAddress( + TypedDict +): + city: str """ - Account holder type: individual or company. + City, district, suburb, town, or village. """ - account_number: NotRequired[str] + country: str """ - Account number of the bank account. + Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). """ - account_type: NotRequired[Literal["checking", "savings"]] + line1: str """ - Account type: checkings or savings. Defaults to checking if omitted. + Address line 1, such as the street, PO Box, or company name. """ - financial_connections_account: NotRequired[str] + line2: NotRequired[str] """ - The ID of a Financial Connections Account to use as a payment method. + Address line 2, such as the apartment, suite, unit, or building. """ - routing_number: NotRequired[str] + postal_code: str """ - Routing number of the bank account. + ZIP or postal code. + """ + state: NotRequired[str] + """ + State, county, province, or region. """ -class PaymentIntentCreateParamsPaymentMethodDataWechatPay(TypedDict): - pass - - -class PaymentIntentCreateParamsPaymentMethodDataZip(TypedDict): - pass - - -class PaymentIntentCreateParamsPaymentMethodOptions(TypedDict): - acss_debit: NotRequired[ - "Literal['']|PaymentIntentCreateParamsPaymentMethodOptionsAcssDebit" - ] +class PaymentIntentCreateParamsPaymentDetailsLodgingDatumInsurance(TypedDict): + amount: int """ - If this is a `acss_debit` PaymentMethod, this sub-hash contains details about the ACSS Debit payment method options. + Price of the insurance coverage in cents. """ - affirm: NotRequired[ - "Literal['']|PaymentIntentCreateParamsPaymentMethodOptionsAffirm" - ] + currency: NotRequired[str] """ - If this is an `affirm` PaymentMethod, this sub-hash contains details about the Affirm payment method options. + Currency of the insurance amount. """ - afterpay_clearpay: NotRequired[ - "Literal['']|PaymentIntentCreateParamsPaymentMethodOptionsAfterpayClearpay" - ] + insurance_company_name: NotRequired[str] """ - If this is a `afterpay_clearpay` PaymentMethod, this sub-hash contains details about the Afterpay Clearpay payment method options. + Name of the insurance company. """ - alipay: NotRequired[ - "Literal['']|PaymentIntentCreateParamsPaymentMethodOptionsAlipay" + insurance_type: Literal[ + "bankruptcy", "cancelation", "emergency", "medical" ] """ - If this is a `alipay` PaymentMethod, this sub-hash contains details about the Alipay payment method options. + Type of insurance coverage. """ - alma: NotRequired[ - "Literal['']|PaymentIntentCreateParamsPaymentMethodOptionsAlma" - ] + + +class PaymentIntentCreateParamsPaymentDetailsLodgingDatumTotal(TypedDict): + amount: int """ - If this is a `alma` PaymentMethod, this sub-hash contains details about the Alma payment method options. + Total price of the lodging reservation in cents. """ - amazon_pay: NotRequired[ - "Literal['']|PaymentIntentCreateParamsPaymentMethodOptionsAmazonPay" - ] + cash_advances: NotRequired[int] """ - If this is a `amazon_pay` PaymentMethod, this sub-hash contains details about the Amazon Pay payment method options. + Cash advances in cents. """ - au_becs_debit: NotRequired[ - "Literal['']|PaymentIntentCreateParamsPaymentMethodOptionsAuBecsDebit" - ] + currency: NotRequired[str] """ - If this is a `au_becs_debit` PaymentMethod, this sub-hash contains details about the AU BECS Direct Debit payment method options. + Currency of the total amount. """ - bacs_debit: NotRequired[ - "Literal['']|PaymentIntentCreateParamsPaymentMethodOptionsBacsDebit" + discounts: NotRequired[ + "PaymentIntentCreateParamsPaymentDetailsLodgingDatumTotalDiscounts" ] """ - If this is a `bacs_debit` PaymentMethod, this sub-hash contains details about the BACS Debit payment method options. + Discount details for the lodging. """ - bancontact: NotRequired[ - "Literal['']|PaymentIntentCreateParamsPaymentMethodOptionsBancontact" + extra_charges: NotRequired[ + List[ + "PaymentIntentCreateParamsPaymentDetailsLodgingDatumTotalExtraCharge" + ] ] """ - If this is a `bancontact` PaymentMethod, this sub-hash contains details about the Bancontact payment method options. + Additional charges for the lodging. """ - billie: NotRequired[ - "Literal['']|PaymentIntentCreateParamsPaymentMethodOptionsBillie" - ] + prepaid_amount: NotRequired[int] """ - If this is a `billie` PaymentMethod, this sub-hash contains details about the Billie payment method options. + Prepaid amount in cents. """ - blik: NotRequired[ - "Literal['']|PaymentIntentCreateParamsPaymentMethodOptionsBlik" + tax: NotRequired[ + "PaymentIntentCreateParamsPaymentDetailsLodgingDatumTotalTax" ] """ - If this is a `blik` PaymentMethod, this sub-hash contains details about the BLIK payment method options. + Tax breakdown for the lodging reservation. """ - boleto: NotRequired[ - "Literal['']|PaymentIntentCreateParamsPaymentMethodOptionsBoleto" - ] + + +class PaymentIntentCreateParamsPaymentDetailsLodgingDatumTotalDiscounts( + TypedDict, +): + corporate_client_code: NotRequired[str] """ - If this is a `boleto` PaymentMethod, this sub-hash contains details about the Boleto payment method options. + Corporate client discount code. """ - card: NotRequired[ - "Literal['']|PaymentIntentCreateParamsPaymentMethodOptionsCard" - ] + coupon: NotRequired[str] """ - Configuration for any card payments attempted on this PaymentIntent. + Coupon code. """ - card_present: NotRequired[ - "Literal['']|PaymentIntentCreateParamsPaymentMethodOptionsCardPresent" - ] + + +class PaymentIntentCreateParamsPaymentDetailsLodgingDatumTotalExtraCharge( + TypedDict, +): + amount: NotRequired[int] """ - If this is a `card_present` PaymentMethod, this sub-hash contains details about the Card Present payment method options. + Amount of the extra charge in cents. """ - cashapp: NotRequired[ - "Literal['']|PaymentIntentCreateParamsPaymentMethodOptionsCashapp" + type: NotRequired[ + Literal[ + "gift_shop", "laundry", "mini_bar", "other", "phone", "restaurant" + ] ] """ - If this is a `cashapp` PaymentMethod, this sub-hash contains details about the Cash App Pay payment method options. + Type of extra charge. """ - crypto: NotRequired[ - "Literal['']|PaymentIntentCreateParamsPaymentMethodOptionsCrypto" - ] + + +class PaymentIntentCreateParamsPaymentDetailsLodgingDatumTotalTax(TypedDict): + tax_exempt_indicator: NotRequired[bool] """ - If this is a `crypto` PaymentMethod, this sub-hash contains details about the Crypto payment method options. + Indicates whether the transaction is tax exempt. """ - customer_balance: NotRequired[ - "Literal['']|PaymentIntentCreateParamsPaymentMethodOptionsCustomerBalance" + taxes: NotRequired[ + List["PaymentIntentCreateParamsPaymentDetailsLodgingDatumTotalTaxTax"] ] """ - If this is a `customer balance` PaymentMethod, this sub-hash contains details about the customer balance payment method options. + Tax details. """ - eps: NotRequired[ - "Literal['']|PaymentIntentCreateParamsPaymentMethodOptionsEps" - ] + + +class PaymentIntentCreateParamsPaymentDetailsLodgingDatumTotalTaxTax( + TypedDict +): + amount: NotRequired[int] """ - If this is a `eps` PaymentMethod, this sub-hash contains details about the EPS payment method options. + Tax amount in cents. """ - fpx: NotRequired[ - "Literal['']|PaymentIntentCreateParamsPaymentMethodOptionsFpx" - ] + rate: NotRequired[int] """ - If this is a `fpx` PaymentMethod, this sub-hash contains details about the FPX payment method options. + Tax rate. """ - giropay: NotRequired[ - "Literal['']|PaymentIntentCreateParamsPaymentMethodOptionsGiropay" - ] + type: NotRequired[str] """ - If this is a `giropay` PaymentMethod, this sub-hash contains details about the Giropay payment method options. + Type of tax applied. """ - gopay: NotRequired[ - "Literal['']|PaymentIntentCreateParamsPaymentMethodOptionsGopay" + + +class PaymentIntentCreateParamsPaymentDetailsSubscription(TypedDict): + affiliate: NotRequired[ + "PaymentIntentCreateParamsPaymentDetailsSubscriptionAffiliate" ] """ - If this is a `gopay` PaymentMethod, this sub-hash contains details about the Gopay payment method options. + Affiliate details for this purchase. """ - grabpay: NotRequired[ - "Literal['']|PaymentIntentCreateParamsPaymentMethodOptionsGrabpay" - ] + auto_renewal: NotRequired[bool] """ - If this is a `grabpay` PaymentMethod, this sub-hash contains details about the Grabpay payment method options. + Info whether the subscription will be auto renewed upon expiry. """ - id_bank_transfer: NotRequired[ - "Literal['']|PaymentIntentCreateParamsPaymentMethodOptionsIdBankTransfer" + billing_interval: NotRequired[ + "PaymentIntentCreateParamsPaymentDetailsSubscriptionBillingInterval" ] """ - If this is a `id_bank_transfer` PaymentMethod, this sub-hash contains details about the Indonesia Bank Transfer payment method options. + Subscription billing details for this purchase. """ - ideal: NotRequired[ - "Literal['']|PaymentIntentCreateParamsPaymentMethodOptionsIdeal" - ] + ends_at: NotRequired[int] """ - If this is a `ideal` PaymentMethod, this sub-hash contains details about the Ideal payment method options. + Subscription end time. Measured in seconds since the Unix epoch. """ - interac_present: NotRequired[ - "Literal['']|PaymentIntentCreateParamsPaymentMethodOptionsInteracPresent" - ] + name: str """ - If this is a `interac_present` PaymentMethod, this sub-hash contains details about the Card Present payment method options. + Name of the product on subscription. e.g. Apple Music Subscription """ - kakao_pay: NotRequired[ - "Literal['']|PaymentIntentCreateParamsPaymentMethodOptionsKakaoPay" - ] + starts_at: NotRequired[int] """ - If this is a `kakao_pay` PaymentMethod, this sub-hash contains details about the Kakao Pay payment method options. + Subscription start time. Measured in seconds since the Unix epoch. """ - klarna: NotRequired[ - "Literal['']|PaymentIntentCreateParamsPaymentMethodOptionsKlarna" - ] + + +class PaymentIntentCreateParamsPaymentDetailsSubscriptionAffiliate(TypedDict): + name: str """ - If this is a `klarna` PaymentMethod, this sub-hash contains details about the Klarna payment method options. + The name of the affiliate that originated the purchase. """ - konbini: NotRequired[ - "Literal['']|PaymentIntentCreateParamsPaymentMethodOptionsKonbini" - ] + + +class PaymentIntentCreateParamsPaymentDetailsSubscriptionBillingInterval( + TypedDict, +): + count: int """ - If this is a `konbini` PaymentMethod, this sub-hash contains details about the Konbini payment method options. + The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration. """ - kr_card: NotRequired[ - "Literal['']|PaymentIntentCreateParamsPaymentMethodOptionsKrCard" - ] + interval: Literal["day", "month", "week", "year"] """ - If this is a `kr_card` PaymentMethod, this sub-hash contains details about the KR Card payment method options. + Specifies a type of interval unit. Either `day`, `week`, `month` or `year`. """ - link: NotRequired[ - "Literal['']|PaymentIntentCreateParamsPaymentMethodOptionsLink" + + +class PaymentIntentCreateParamsPaymentMethodData(TypedDict): + acss_debit: NotRequired[ + "PaymentIntentCreateParamsPaymentMethodDataAcssDebit" ] """ - If this is a `link` PaymentMethod, this sub-hash contains details about the Link payment method options. + If this is an `acss_debit` PaymentMethod, this hash contains details about the ACSS Debit payment method. """ - mb_way: NotRequired[ - "Literal['']|PaymentIntentCreateParamsPaymentMethodOptionsMbWay" - ] + affirm: NotRequired["PaymentIntentCreateParamsPaymentMethodDataAffirm"] """ - If this is a `mb_way` PaymentMethod, this sub-hash contains details about the MB WAY payment method options. + If this is an `affirm` PaymentMethod, this hash contains details about the Affirm payment method. """ - mobilepay: NotRequired[ - "Literal['']|PaymentIntentCreateParamsPaymentMethodOptionsMobilepay" + afterpay_clearpay: NotRequired[ + "PaymentIntentCreateParamsPaymentMethodDataAfterpayClearpay" ] """ - If this is a `MobilePay` PaymentMethod, this sub-hash contains details about the MobilePay payment method options. + If this is an `AfterpayClearpay` PaymentMethod, this hash contains details about the AfterpayClearpay payment method. """ - multibanco: NotRequired[ - "Literal['']|PaymentIntentCreateParamsPaymentMethodOptionsMultibanco" - ] + alipay: NotRequired["PaymentIntentCreateParamsPaymentMethodDataAlipay"] """ - If this is a `multibanco` PaymentMethod, this sub-hash contains details about the Multibanco payment method options. + If this is an `Alipay` PaymentMethod, this hash contains details about the Alipay payment method. """ - naver_pay: NotRequired[ - "Literal['']|PaymentIntentCreateParamsPaymentMethodOptionsNaverPay" - ] + allow_redisplay: NotRequired[Literal["always", "limited", "unspecified"]] """ - If this is a `naver_pay` PaymentMethod, this sub-hash contains details about the Naver Pay payment method options. + This field indicates whether this payment method can be shown again to its customer in a checkout flow. Stripe products such as Checkout and Elements use this field to determine whether a payment method can be shown as a saved payment method in a checkout flow. The field defaults to `unspecified`. """ - nz_bank_account: NotRequired[ - "Literal['']|PaymentIntentCreateParamsPaymentMethodOptionsNzBankAccount" - ] + alma: NotRequired["PaymentIntentCreateParamsPaymentMethodDataAlma"] """ - If this is a `nz_bank_account` PaymentMethod, this sub-hash contains details about the NZ BECS Direct Debit payment method options. + If this is a Alma PaymentMethod, this hash contains details about the Alma payment method. """ - oxxo: NotRequired[ - "Literal['']|PaymentIntentCreateParamsPaymentMethodOptionsOxxo" + amazon_pay: NotRequired[ + "PaymentIntentCreateParamsPaymentMethodDataAmazonPay" ] """ - If this is a `oxxo` PaymentMethod, this sub-hash contains details about the OXXO payment method options. + If this is a AmazonPay PaymentMethod, this hash contains details about the AmazonPay payment method. """ - p24: NotRequired[ - "Literal['']|PaymentIntentCreateParamsPaymentMethodOptionsP24" + au_becs_debit: NotRequired[ + "PaymentIntentCreateParamsPaymentMethodDataAuBecsDebit" ] """ - If this is a `p24` PaymentMethod, this sub-hash contains details about the Przelewy24 payment method options. + If this is an `au_becs_debit` PaymentMethod, this hash contains details about the bank account. """ - pay_by_bank: NotRequired[ - "Literal['']|PaymentIntentCreateParamsPaymentMethodOptionsPayByBank" + bacs_debit: NotRequired[ + "PaymentIntentCreateParamsPaymentMethodDataBacsDebit" + ] + """ + If this is a `bacs_debit` PaymentMethod, this hash contains details about the Bacs Direct Debit bank account. + """ + bancontact: NotRequired[ + "PaymentIntentCreateParamsPaymentMethodDataBancontact" + ] + """ + If this is a `bancontact` PaymentMethod, this hash contains details about the Bancontact payment method. + """ + billie: NotRequired["PaymentIntentCreateParamsPaymentMethodDataBillie"] + """ + If this is a `billie` PaymentMethod, this hash contains details about the Billie payment method. + """ + billing_details: NotRequired[ + "PaymentIntentCreateParamsPaymentMethodDataBillingDetails" + ] + """ + Billing information associated with the PaymentMethod that may be used or required by particular types of payment methods. + """ + blik: NotRequired["PaymentIntentCreateParamsPaymentMethodDataBlik"] + """ + If this is a `blik` PaymentMethod, this hash contains details about the BLIK payment method. + """ + boleto: NotRequired["PaymentIntentCreateParamsPaymentMethodDataBoleto"] + """ + If this is a `boleto` PaymentMethod, this hash contains details about the Boleto payment method. + """ + cashapp: NotRequired["PaymentIntentCreateParamsPaymentMethodDataCashapp"] + """ + If this is a `cashapp` PaymentMethod, this hash contains details about the Cash App Pay payment method. + """ + crypto: NotRequired["PaymentIntentCreateParamsPaymentMethodDataCrypto"] + """ + If this is a Crypto PaymentMethod, this hash contains details about the Crypto payment method. + """ + customer_balance: NotRequired[ + "PaymentIntentCreateParamsPaymentMethodDataCustomerBalance" + ] + """ + If this is a `customer_balance` PaymentMethod, this hash contains details about the CustomerBalance payment method. + """ + eps: NotRequired["PaymentIntentCreateParamsPaymentMethodDataEps"] + """ + If this is an `eps` PaymentMethod, this hash contains details about the EPS payment method. + """ + fpx: NotRequired["PaymentIntentCreateParamsPaymentMethodDataFpx"] + """ + If this is an `fpx` PaymentMethod, this hash contains details about the FPX payment method. + """ + giropay: NotRequired["PaymentIntentCreateParamsPaymentMethodDataGiropay"] + """ + If this is a `giropay` PaymentMethod, this hash contains details about the Giropay payment method. + """ + gopay: NotRequired["PaymentIntentCreateParamsPaymentMethodDataGopay"] + """ + If this is a Gopay PaymentMethod, this hash contains details about the Gopay payment method. + """ + grabpay: NotRequired["PaymentIntentCreateParamsPaymentMethodDataGrabpay"] + """ + If this is a `grabpay` PaymentMethod, this hash contains details about the GrabPay payment method. + """ + id_bank_transfer: NotRequired[ + "PaymentIntentCreateParamsPaymentMethodDataIdBankTransfer" + ] + """ + If this is an `IdBankTransfer` PaymentMethod, this hash contains details about the IdBankTransfer payment method. + """ + ideal: NotRequired["PaymentIntentCreateParamsPaymentMethodDataIdeal"] + """ + If this is an `ideal` PaymentMethod, this hash contains details about the iDEAL payment method. + """ + interac_present: NotRequired[ + "PaymentIntentCreateParamsPaymentMethodDataInteracPresent" + ] + """ + If this is an `interac_present` PaymentMethod, this hash contains details about the Interac Present payment method. + """ + kakao_pay: NotRequired[ + "PaymentIntentCreateParamsPaymentMethodDataKakaoPay" + ] + """ + If this is a `kakao_pay` PaymentMethod, this hash contains details about the Kakao Pay payment method. + """ + klarna: NotRequired["PaymentIntentCreateParamsPaymentMethodDataKlarna"] + """ + If this is a `klarna` PaymentMethod, this hash contains details about the Klarna payment method. + """ + konbini: NotRequired["PaymentIntentCreateParamsPaymentMethodDataKonbini"] + """ + If this is a `konbini` PaymentMethod, this hash contains details about the Konbini payment method. + """ + kr_card: NotRequired["PaymentIntentCreateParamsPaymentMethodDataKrCard"] + """ + If this is a `kr_card` PaymentMethod, this hash contains details about the Korean Card payment method. + """ + link: NotRequired["PaymentIntentCreateParamsPaymentMethodDataLink"] + """ + If this is an `Link` PaymentMethod, this hash contains details about the Link payment method. + """ + mb_way: NotRequired["PaymentIntentCreateParamsPaymentMethodDataMbWay"] + """ + If this is a MB WAY PaymentMethod, this hash contains details about the MB WAY payment method. + """ + metadata: NotRequired[Dict[str, str]] + """ + Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. + """ + mobilepay: NotRequired[ + "PaymentIntentCreateParamsPaymentMethodDataMobilepay" + ] + """ + If this is a `mobilepay` PaymentMethod, this hash contains details about the MobilePay payment method. + """ + multibanco: NotRequired[ + "PaymentIntentCreateParamsPaymentMethodDataMultibanco" + ] + """ + If this is a `multibanco` PaymentMethod, this hash contains details about the Multibanco payment method. + """ + naver_pay: NotRequired[ + "PaymentIntentCreateParamsPaymentMethodDataNaverPay" + ] + """ + If this is a `naver_pay` PaymentMethod, this hash contains details about the Naver Pay payment method. + """ + nz_bank_account: NotRequired[ + "PaymentIntentCreateParamsPaymentMethodDataNzBankAccount" + ] + """ + If this is an nz_bank_account PaymentMethod, this hash contains details about the nz_bank_account payment method. + """ + oxxo: NotRequired["PaymentIntentCreateParamsPaymentMethodDataOxxo"] + """ + If this is an `oxxo` PaymentMethod, this hash contains details about the OXXO payment method. + """ + p24: NotRequired["PaymentIntentCreateParamsPaymentMethodDataP24"] + """ + If this is a `p24` PaymentMethod, this hash contains details about the P24 payment method. + """ + pay_by_bank: NotRequired[ + "PaymentIntentCreateParamsPaymentMethodDataPayByBank" + ] + """ + If this is a `pay_by_bank` PaymentMethod, this hash contains details about the PayByBank payment method. + """ + payco: NotRequired["PaymentIntentCreateParamsPaymentMethodDataPayco"] + """ + If this is a `payco` PaymentMethod, this hash contains details about the PAYCO payment method. + """ + paynow: NotRequired["PaymentIntentCreateParamsPaymentMethodDataPaynow"] + """ + If this is a `paynow` PaymentMethod, this hash contains details about the PayNow payment method. + """ + paypal: NotRequired["PaymentIntentCreateParamsPaymentMethodDataPaypal"] + """ + If this is a `paypal` PaymentMethod, this hash contains details about the PayPal payment method. + """ + paypay: NotRequired["PaymentIntentCreateParamsPaymentMethodDataPaypay"] + """ + If this is a `paypay` PaymentMethod, this hash contains details about the PayPay payment method. + """ + payto: NotRequired["PaymentIntentCreateParamsPaymentMethodDataPayto"] + """ + If this is a `payto` PaymentMethod, this hash contains details about the PayTo payment method. + """ + pix: NotRequired["PaymentIntentCreateParamsPaymentMethodDataPix"] + """ + If this is a `pix` PaymentMethod, this hash contains details about the Pix payment method. + """ + promptpay: NotRequired[ + "PaymentIntentCreateParamsPaymentMethodDataPromptpay" + ] + """ + If this is a `promptpay` PaymentMethod, this hash contains details about the PromptPay payment method. + """ + qris: NotRequired["PaymentIntentCreateParamsPaymentMethodDataQris"] + """ + If this is a `qris` PaymentMethod, this hash contains details about the QRIS payment method. + """ + radar_options: NotRequired[ + "PaymentIntentCreateParamsPaymentMethodDataRadarOptions" + ] + """ + Options to configure Radar. See [Radar Session](https://stripe.com/docs/radar/radar-session) for more information. + """ + rechnung: NotRequired["PaymentIntentCreateParamsPaymentMethodDataRechnung"] + """ + If this is a `rechnung` PaymentMethod, this hash contains details about the Rechnung payment method. + """ + revolut_pay: NotRequired[ + "PaymentIntentCreateParamsPaymentMethodDataRevolutPay" + ] + """ + If this is a `revolut_pay` PaymentMethod, this hash contains details about the Revolut Pay payment method. + """ + samsung_pay: NotRequired[ + "PaymentIntentCreateParamsPaymentMethodDataSamsungPay" + ] + """ + If this is a `samsung_pay` PaymentMethod, this hash contains details about the SamsungPay payment method. + """ + satispay: NotRequired["PaymentIntentCreateParamsPaymentMethodDataSatispay"] + """ + If this is a `satispay` PaymentMethod, this hash contains details about the Satispay payment method. + """ + sepa_debit: NotRequired[ + "PaymentIntentCreateParamsPaymentMethodDataSepaDebit" + ] + """ + If this is a `sepa_debit` PaymentMethod, this hash contains details about the SEPA debit bank account. + """ + shopeepay: NotRequired[ + "PaymentIntentCreateParamsPaymentMethodDataShopeepay" + ] + """ + If this is a Shopeepay PaymentMethod, this hash contains details about the Shopeepay payment method. + """ + sofort: NotRequired["PaymentIntentCreateParamsPaymentMethodDataSofort"] + """ + If this is a `sofort` PaymentMethod, this hash contains details about the SOFORT payment method. + """ + stripe_balance: NotRequired[ + "PaymentIntentCreateParamsPaymentMethodDataStripeBalance" + ] + """ + This hash contains details about the Stripe balance payment method. + """ + swish: NotRequired["PaymentIntentCreateParamsPaymentMethodDataSwish"] + """ + If this is a `swish` PaymentMethod, this hash contains details about the Swish payment method. + """ + twint: NotRequired["PaymentIntentCreateParamsPaymentMethodDataTwint"] + """ + If this is a TWINT PaymentMethod, this hash contains details about the TWINT payment method. + """ + type: Literal[ + "acss_debit", + "affirm", + "afterpay_clearpay", + "alipay", + "alma", + "amazon_pay", + "au_becs_debit", + "bacs_debit", + "bancontact", + "billie", + "blik", + "boleto", + "cashapp", + "crypto", + "customer_balance", + "eps", + "fpx", + "giropay", + "gopay", + "grabpay", + "id_bank_transfer", + "ideal", + "kakao_pay", + "klarna", + "konbini", + "kr_card", + "link", + "mb_way", + "mobilepay", + "multibanco", + "naver_pay", + "nz_bank_account", + "oxxo", + "p24", + "pay_by_bank", + "payco", + "paynow", + "paypal", + "paypay", + "payto", + "pix", + "promptpay", + "qris", + "rechnung", + "revolut_pay", + "samsung_pay", + "satispay", + "sepa_debit", + "shopeepay", + "sofort", + "stripe_balance", + "swish", + "twint", + "us_bank_account", + "wechat_pay", + "zip", + ] + """ + The type of the PaymentMethod. An additional hash is included on the PaymentMethod with a name matching this value. It contains additional information specific to the PaymentMethod type. + """ + us_bank_account: NotRequired[ + "PaymentIntentCreateParamsPaymentMethodDataUsBankAccount" + ] + """ + If this is an `us_bank_account` PaymentMethod, this hash contains details about the US bank account payment method. + """ + wechat_pay: NotRequired[ + "PaymentIntentCreateParamsPaymentMethodDataWechatPay" + ] + """ + If this is an `wechat_pay` PaymentMethod, this hash contains details about the wechat_pay payment method. + """ + zip: NotRequired["PaymentIntentCreateParamsPaymentMethodDataZip"] + """ + If this is a `zip` PaymentMethod, this hash contains details about the Zip payment method. + """ + + +class PaymentIntentCreateParamsPaymentMethodDataAcssDebit(TypedDict): + account_number: str + """ + Customer's bank account number. + """ + institution_number: str + """ + Institution number of the customer's bank. + """ + transit_number: str + """ + Transit number of the customer's bank. + """ + + +class PaymentIntentCreateParamsPaymentMethodDataAffirm(TypedDict): + pass + + +class PaymentIntentCreateParamsPaymentMethodDataAfterpayClearpay(TypedDict): + pass + + +class PaymentIntentCreateParamsPaymentMethodDataAlipay(TypedDict): + pass + + +class PaymentIntentCreateParamsPaymentMethodDataAlma(TypedDict): + pass + + +class PaymentIntentCreateParamsPaymentMethodDataAmazonPay(TypedDict): + pass + + +class PaymentIntentCreateParamsPaymentMethodDataAuBecsDebit(TypedDict): + account_number: str + """ + The account number for the bank account. + """ + bsb_number: str + """ + Bank-State-Branch number of the bank account. + """ + + +class PaymentIntentCreateParamsPaymentMethodDataBacsDebit(TypedDict): + account_number: NotRequired[str] + """ + Account number of the bank account that the funds will be debited from. + """ + sort_code: NotRequired[str] + """ + Sort code of the bank account. (e.g., `10-20-30`) + """ + + +class PaymentIntentCreateParamsPaymentMethodDataBancontact(TypedDict): + pass + + +class PaymentIntentCreateParamsPaymentMethodDataBillie(TypedDict): + pass + + +class PaymentIntentCreateParamsPaymentMethodDataBillingDetails(TypedDict): + address: NotRequired[ + "Literal['']|PaymentIntentCreateParamsPaymentMethodDataBillingDetailsAddress" + ] + """ + Billing address. + """ + email: NotRequired["Literal['']|str"] + """ + Email address. + """ + name: NotRequired["Literal['']|str"] + """ + Full name. + """ + phone: NotRequired["Literal['']|str"] + """ + Billing phone number (including extension). + """ + tax_id: NotRequired[str] + """ + Taxpayer identification number. Used only for transactions between LATAM buyers and non-LATAM sellers. + """ + + +class PaymentIntentCreateParamsPaymentMethodDataBillingDetailsAddress( + TypedDict, +): + city: NotRequired[str] + """ + City, district, suburb, town, or village. + """ + country: NotRequired[str] + """ + Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). + """ + line1: NotRequired[str] + """ + Address line 1, such as the street, PO Box, or company name. + """ + line2: NotRequired[str] + """ + Address line 2, such as the apartment, suite, unit, or building. + """ + postal_code: NotRequired[str] + """ + ZIP or postal code. + """ + state: NotRequired[str] + """ + State, county, province, or region. + """ + + +class PaymentIntentCreateParamsPaymentMethodDataBlik(TypedDict): + pass + + +class PaymentIntentCreateParamsPaymentMethodDataBoleto(TypedDict): + tax_id: str + """ + The tax ID of the customer (CPF for individual consumers or CNPJ for businesses consumers) + """ + + +class PaymentIntentCreateParamsPaymentMethodDataCashapp(TypedDict): + pass + + +class PaymentIntentCreateParamsPaymentMethodDataCrypto(TypedDict): + pass + + +class PaymentIntentCreateParamsPaymentMethodDataCustomerBalance(TypedDict): + pass + + +class PaymentIntentCreateParamsPaymentMethodDataEps(TypedDict): + bank: NotRequired[ + Literal[ + "arzte_und_apotheker_bank", + "austrian_anadi_bank_ag", + "bank_austria", + "bankhaus_carl_spangler", + "bankhaus_schelhammer_und_schattera_ag", + "bawag_psk_ag", + "bks_bank_ag", + "brull_kallmus_bank_ag", + "btv_vier_lander_bank", + "capital_bank_grawe_gruppe_ag", + "deutsche_bank_ag", + "dolomitenbank", + "easybank_ag", + "erste_bank_und_sparkassen", + "hypo_alpeadriabank_international_ag", + "hypo_bank_burgenland_aktiengesellschaft", + "hypo_noe_lb_fur_niederosterreich_u_wien", + "hypo_oberosterreich_salzburg_steiermark", + "hypo_tirol_bank_ag", + "hypo_vorarlberg_bank_ag", + "marchfelder_bank", + "oberbank_ag", + "raiffeisen_bankengruppe_osterreich", + "schoellerbank_ag", + "sparda_bank_wien", + "volksbank_gruppe", + "volkskreditbank_ag", + "vr_bank_braunau", + ] + ] + """ + The customer's bank. + """ + + +class PaymentIntentCreateParamsPaymentMethodDataFpx(TypedDict): + account_holder_type: NotRequired[Literal["company", "individual"]] + """ + Account holder type for FPX transaction + """ + bank: Literal[ + "affin_bank", + "agrobank", + "alliance_bank", + "ambank", + "bank_islam", + "bank_muamalat", + "bank_of_china", + "bank_rakyat", + "bsn", + "cimb", + "deutsche_bank", + "hong_leong_bank", + "hsbc", + "kfh", + "maybank2e", + "maybank2u", + "ocbc", + "pb_enterprise", + "public_bank", + "rhb", + "standard_chartered", + "uob", + ] + """ + The customer's bank. + """ + + +class PaymentIntentCreateParamsPaymentMethodDataGiropay(TypedDict): + pass + + +class PaymentIntentCreateParamsPaymentMethodDataGopay(TypedDict): + pass + + +class PaymentIntentCreateParamsPaymentMethodDataGrabpay(TypedDict): + pass + + +class PaymentIntentCreateParamsPaymentMethodDataIdBankTransfer(TypedDict): + bank: NotRequired[Literal["bca", "bni", "bri", "cimb", "permata"]] + """ + Bank where the account is held. + """ + + +class PaymentIntentCreateParamsPaymentMethodDataIdeal(TypedDict): + bank: NotRequired[ + Literal[ + "abn_amro", + "asn_bank", + "bunq", + "buut", + "finom", + "handelsbanken", + "ing", + "knab", + "moneyou", + "n26", + "nn", + "rabobank", + "regiobank", + "revolut", + "sns_bank", + "triodos_bank", + "van_lanschot", + "yoursafe", + ] + ] + """ + The customer's bank. Only use this parameter for existing customers. Don't use it for new customers. + """ + + +class PaymentIntentCreateParamsPaymentMethodDataInteracPresent(TypedDict): + pass + + +class PaymentIntentCreateParamsPaymentMethodDataKakaoPay(TypedDict): + pass + + +class PaymentIntentCreateParamsPaymentMethodDataKlarna(TypedDict): + dob: NotRequired["PaymentIntentCreateParamsPaymentMethodDataKlarnaDob"] + """ + Customer's date of birth + """ + + +class PaymentIntentCreateParamsPaymentMethodDataKlarnaDob(TypedDict): + day: int + """ + The day of birth, between 1 and 31. + """ + month: int + """ + The month of birth, between 1 and 12. + """ + year: int + """ + The four-digit year of birth. + """ + + +class PaymentIntentCreateParamsPaymentMethodDataKonbini(TypedDict): + pass + + +class PaymentIntentCreateParamsPaymentMethodDataKrCard(TypedDict): + pass + + +class PaymentIntentCreateParamsPaymentMethodDataLink(TypedDict): + pass + + +class PaymentIntentCreateParamsPaymentMethodDataMbWay(TypedDict): + pass + + +class PaymentIntentCreateParamsPaymentMethodDataMobilepay(TypedDict): + pass + + +class PaymentIntentCreateParamsPaymentMethodDataMultibanco(TypedDict): + pass + + +class PaymentIntentCreateParamsPaymentMethodDataNaverPay(TypedDict): + funding: NotRequired[Literal["card", "points"]] + """ + Whether to use Naver Pay points or a card to fund this transaction. If not provided, this defaults to `card`. + """ + + +class PaymentIntentCreateParamsPaymentMethodDataNzBankAccount(TypedDict): + account_holder_name: NotRequired[str] + """ + The name on the bank account. Only required if the account holder name is different from the name of the authorized signatory collected in the PaymentMethod's billing details. + """ + account_number: str + """ + The account number for the bank account. + """ + bank_code: str + """ + The numeric code for the bank account's bank. + """ + branch_code: str + """ + The numeric code for the bank account's bank branch. + """ + reference: NotRequired[str] + suffix: str + """ + The suffix of the bank account number. + """ + + +class PaymentIntentCreateParamsPaymentMethodDataOxxo(TypedDict): + pass + + +class PaymentIntentCreateParamsPaymentMethodDataP24(TypedDict): + bank: NotRequired[ + Literal[ + "alior_bank", + "bank_millennium", + "bank_nowy_bfg_sa", + "bank_pekao_sa", + "banki_spbdzielcze", + "blik", + "bnp_paribas", + "boz", + "citi_handlowy", + "credit_agricole", + "envelobank", + "etransfer_pocztowy24", + "getin_bank", + "ideabank", + "ing", + "inteligo", + "mbank_mtransfer", + "nest_przelew", + "noble_pay", + "pbac_z_ipko", + "plus_bank", + "santander_przelew24", + "tmobile_usbugi_bankowe", + "toyota_bank", + "velobank", + "volkswagen_bank", + ] + ] + """ + The customer's bank. + """ + + +class PaymentIntentCreateParamsPaymentMethodDataPayByBank(TypedDict): + pass + + +class PaymentIntentCreateParamsPaymentMethodDataPayco(TypedDict): + pass + + +class PaymentIntentCreateParamsPaymentMethodDataPaynow(TypedDict): + pass + + +class PaymentIntentCreateParamsPaymentMethodDataPaypal(TypedDict): + pass + + +class PaymentIntentCreateParamsPaymentMethodDataPaypay(TypedDict): + pass + + +class PaymentIntentCreateParamsPaymentMethodDataPayto(TypedDict): + account_number: NotRequired[str] + """ + The account number for the bank account. + """ + bsb_number: NotRequired[str] + """ + Bank-State-Branch number of the bank account. + """ + pay_id: NotRequired[str] + """ + The PayID alias for the bank account. + """ + + +class PaymentIntentCreateParamsPaymentMethodDataPix(TypedDict): + pass + + +class PaymentIntentCreateParamsPaymentMethodDataPromptpay(TypedDict): + pass + + +class PaymentIntentCreateParamsPaymentMethodDataQris(TypedDict): + pass + + +class PaymentIntentCreateParamsPaymentMethodDataRadarOptions(TypedDict): + session: NotRequired[str] + """ + A [Radar Session](https://stripe.com/docs/radar/radar-session) is a snapshot of the browser metadata and device details that help Radar make more accurate predictions on your payments. + """ + + +class PaymentIntentCreateParamsPaymentMethodDataRechnung(TypedDict): + dob: "PaymentIntentCreateParamsPaymentMethodDataRechnungDob" + """ + Customer's date of birth + """ + + +class PaymentIntentCreateParamsPaymentMethodDataRechnungDob(TypedDict): + day: int + """ + The day of birth, between 1 and 31. + """ + month: int + """ + The month of birth, between 1 and 12. + """ + year: int + """ + The four-digit year of birth. + """ + + +class PaymentIntentCreateParamsPaymentMethodDataRevolutPay(TypedDict): + pass + + +class PaymentIntentCreateParamsPaymentMethodDataSamsungPay(TypedDict): + pass + + +class PaymentIntentCreateParamsPaymentMethodDataSatispay(TypedDict): + pass + + +class PaymentIntentCreateParamsPaymentMethodDataSepaDebit(TypedDict): + iban: str + """ + IBAN of the bank account. + """ + + +class PaymentIntentCreateParamsPaymentMethodDataShopeepay(TypedDict): + pass + + +class PaymentIntentCreateParamsPaymentMethodDataSofort(TypedDict): + country: Literal["AT", "BE", "DE", "ES", "IT", "NL"] + """ + Two-letter ISO code representing the country the bank account is located in. + """ + + +class PaymentIntentCreateParamsPaymentMethodDataStripeBalance(TypedDict): + account: NotRequired[str] + """ + The connected account ID whose Stripe balance to use as the source of payment + """ + source_type: NotRequired[Literal["bank_account", "card", "fpx"]] + """ + The [source_type](https://docs.stripe.com/api/balance/balance_object#balance_object-available-source_types) of the balance + """ + + +class PaymentIntentCreateParamsPaymentMethodDataSwish(TypedDict): + pass + + +class PaymentIntentCreateParamsPaymentMethodDataTwint(TypedDict): + pass + + +class PaymentIntentCreateParamsPaymentMethodDataUsBankAccount(TypedDict): + account_holder_type: NotRequired[Literal["company", "individual"]] + """ + Account holder type: individual or company. + """ + account_number: NotRequired[str] + """ + Account number of the bank account. + """ + account_type: NotRequired[Literal["checking", "savings"]] + """ + Account type: checkings or savings. Defaults to checking if omitted. + """ + financial_connections_account: NotRequired[str] + """ + The ID of a Financial Connections Account to use as a payment method. + """ + routing_number: NotRequired[str] + """ + Routing number of the bank account. + """ + + +class PaymentIntentCreateParamsPaymentMethodDataWechatPay(TypedDict): + pass + + +class PaymentIntentCreateParamsPaymentMethodDataZip(TypedDict): + pass + + +class PaymentIntentCreateParamsPaymentMethodOptions(TypedDict): + acss_debit: NotRequired[ + "Literal['']|PaymentIntentCreateParamsPaymentMethodOptionsAcssDebit" + ] + """ + If this is a `acss_debit` PaymentMethod, this sub-hash contains details about the ACSS Debit payment method options. + """ + affirm: NotRequired[ + "Literal['']|PaymentIntentCreateParamsPaymentMethodOptionsAffirm" + ] + """ + If this is an `affirm` PaymentMethod, this sub-hash contains details about the Affirm payment method options. + """ + afterpay_clearpay: NotRequired[ + "Literal['']|PaymentIntentCreateParamsPaymentMethodOptionsAfterpayClearpay" + ] + """ + If this is a `afterpay_clearpay` PaymentMethod, this sub-hash contains details about the Afterpay Clearpay payment method options. + """ + alipay: NotRequired[ + "Literal['']|PaymentIntentCreateParamsPaymentMethodOptionsAlipay" + ] + """ + If this is a `alipay` PaymentMethod, this sub-hash contains details about the Alipay payment method options. + """ + alma: NotRequired[ + "Literal['']|PaymentIntentCreateParamsPaymentMethodOptionsAlma" + ] + """ + If this is a `alma` PaymentMethod, this sub-hash contains details about the Alma payment method options. + """ + amazon_pay: NotRequired[ + "Literal['']|PaymentIntentCreateParamsPaymentMethodOptionsAmazonPay" + ] + """ + If this is a `amazon_pay` PaymentMethod, this sub-hash contains details about the Amazon Pay payment method options. + """ + au_becs_debit: NotRequired[ + "Literal['']|PaymentIntentCreateParamsPaymentMethodOptionsAuBecsDebit" + ] + """ + If this is a `au_becs_debit` PaymentMethod, this sub-hash contains details about the AU BECS Direct Debit payment method options. + """ + bacs_debit: NotRequired[ + "Literal['']|PaymentIntentCreateParamsPaymentMethodOptionsBacsDebit" + ] + """ + If this is a `bacs_debit` PaymentMethod, this sub-hash contains details about the BACS Debit payment method options. + """ + bancontact: NotRequired[ + "Literal['']|PaymentIntentCreateParamsPaymentMethodOptionsBancontact" + ] + """ + If this is a `bancontact` PaymentMethod, this sub-hash contains details about the Bancontact payment method options. + """ + billie: NotRequired[ + "Literal['']|PaymentIntentCreateParamsPaymentMethodOptionsBillie" + ] + """ + If this is a `billie` PaymentMethod, this sub-hash contains details about the Billie payment method options. + """ + blik: NotRequired[ + "Literal['']|PaymentIntentCreateParamsPaymentMethodOptionsBlik" + ] + """ + If this is a `blik` PaymentMethod, this sub-hash contains details about the BLIK payment method options. + """ + boleto: NotRequired[ + "Literal['']|PaymentIntentCreateParamsPaymentMethodOptionsBoleto" + ] + """ + If this is a `boleto` PaymentMethod, this sub-hash contains details about the Boleto payment method options. + """ + card: NotRequired[ + "Literal['']|PaymentIntentCreateParamsPaymentMethodOptionsCard" + ] + """ + Configuration for any card payments attempted on this PaymentIntent. + """ + card_present: NotRequired[ + "Literal['']|PaymentIntentCreateParamsPaymentMethodOptionsCardPresent" + ] + """ + If this is a `card_present` PaymentMethod, this sub-hash contains details about the Card Present payment method options. + """ + cashapp: NotRequired[ + "Literal['']|PaymentIntentCreateParamsPaymentMethodOptionsCashapp" + ] + """ + If this is a `cashapp` PaymentMethod, this sub-hash contains details about the Cash App Pay payment method options. + """ + crypto: NotRequired[ + "Literal['']|PaymentIntentCreateParamsPaymentMethodOptionsCrypto" + ] + """ + If this is a `crypto` PaymentMethod, this sub-hash contains details about the Crypto payment method options. + """ + customer_balance: NotRequired[ + "Literal['']|PaymentIntentCreateParamsPaymentMethodOptionsCustomerBalance" + ] + """ + If this is a `customer balance` PaymentMethod, this sub-hash contains details about the customer balance payment method options. + """ + eps: NotRequired[ + "Literal['']|PaymentIntentCreateParamsPaymentMethodOptionsEps" + ] + """ + If this is a `eps` PaymentMethod, this sub-hash contains details about the EPS payment method options. + """ + fpx: NotRequired[ + "Literal['']|PaymentIntentCreateParamsPaymentMethodOptionsFpx" + ] + """ + If this is a `fpx` PaymentMethod, this sub-hash contains details about the FPX payment method options. + """ + giropay: NotRequired[ + "Literal['']|PaymentIntentCreateParamsPaymentMethodOptionsGiropay" + ] + """ + If this is a `giropay` PaymentMethod, this sub-hash contains details about the Giropay payment method options. + """ + gopay: NotRequired[ + "Literal['']|PaymentIntentCreateParamsPaymentMethodOptionsGopay" + ] + """ + If this is a `gopay` PaymentMethod, this sub-hash contains details about the Gopay payment method options. + """ + grabpay: NotRequired[ + "Literal['']|PaymentIntentCreateParamsPaymentMethodOptionsGrabpay" + ] + """ + If this is a `grabpay` PaymentMethod, this sub-hash contains details about the Grabpay payment method options. + """ + id_bank_transfer: NotRequired[ + "Literal['']|PaymentIntentCreateParamsPaymentMethodOptionsIdBankTransfer" + ] + """ + If this is a `id_bank_transfer` PaymentMethod, this sub-hash contains details about the Indonesia Bank Transfer payment method options. + """ + ideal: NotRequired[ + "Literal['']|PaymentIntentCreateParamsPaymentMethodOptionsIdeal" + ] + """ + If this is a `ideal` PaymentMethod, this sub-hash contains details about the Ideal payment method options. + """ + interac_present: NotRequired[ + "Literal['']|PaymentIntentCreateParamsPaymentMethodOptionsInteracPresent" + ] + """ + If this is a `interac_present` PaymentMethod, this sub-hash contains details about the Card Present payment method options. + """ + kakao_pay: NotRequired[ + "Literal['']|PaymentIntentCreateParamsPaymentMethodOptionsKakaoPay" + ] + """ + If this is a `kakao_pay` PaymentMethod, this sub-hash contains details about the Kakao Pay payment method options. + """ + klarna: NotRequired[ + "Literal['']|PaymentIntentCreateParamsPaymentMethodOptionsKlarna" + ] + """ + If this is a `klarna` PaymentMethod, this sub-hash contains details about the Klarna payment method options. + """ + konbini: NotRequired[ + "Literal['']|PaymentIntentCreateParamsPaymentMethodOptionsKonbini" + ] + """ + If this is a `konbini` PaymentMethod, this sub-hash contains details about the Konbini payment method options. + """ + kr_card: NotRequired[ + "Literal['']|PaymentIntentCreateParamsPaymentMethodOptionsKrCard" + ] + """ + If this is a `kr_card` PaymentMethod, this sub-hash contains details about the KR Card payment method options. + """ + link: NotRequired[ + "Literal['']|PaymentIntentCreateParamsPaymentMethodOptionsLink" + ] + """ + If this is a `link` PaymentMethod, this sub-hash contains details about the Link payment method options. + """ + mb_way: NotRequired[ + "Literal['']|PaymentIntentCreateParamsPaymentMethodOptionsMbWay" + ] + """ + If this is a `mb_way` PaymentMethod, this sub-hash contains details about the MB WAY payment method options. + """ + mobilepay: NotRequired[ + "Literal['']|PaymentIntentCreateParamsPaymentMethodOptionsMobilepay" + ] + """ + If this is a `MobilePay` PaymentMethod, this sub-hash contains details about the MobilePay payment method options. + """ + multibanco: NotRequired[ + "Literal['']|PaymentIntentCreateParamsPaymentMethodOptionsMultibanco" + ] + """ + If this is a `multibanco` PaymentMethod, this sub-hash contains details about the Multibanco payment method options. + """ + naver_pay: NotRequired[ + "Literal['']|PaymentIntentCreateParamsPaymentMethodOptionsNaverPay" + ] + """ + If this is a `naver_pay` PaymentMethod, this sub-hash contains details about the Naver Pay payment method options. + """ + nz_bank_account: NotRequired[ + "Literal['']|PaymentIntentCreateParamsPaymentMethodOptionsNzBankAccount" + ] + """ + If this is a `nz_bank_account` PaymentMethod, this sub-hash contains details about the NZ BECS Direct Debit payment method options. + """ + oxxo: NotRequired[ + "Literal['']|PaymentIntentCreateParamsPaymentMethodOptionsOxxo" + ] + """ + If this is a `oxxo` PaymentMethod, this sub-hash contains details about the OXXO payment method options. + """ + p24: NotRequired[ + "Literal['']|PaymentIntentCreateParamsPaymentMethodOptionsP24" + ] + """ + If this is a `p24` PaymentMethod, this sub-hash contains details about the Przelewy24 payment method options. + """ + pay_by_bank: NotRequired[ + "Literal['']|PaymentIntentCreateParamsPaymentMethodOptionsPayByBank" ] """ If this is a `pay_by_bank` PaymentMethod, this sub-hash contains details about the PayByBank payment method options. """ - payco: NotRequired[ - "Literal['']|PaymentIntentCreateParamsPaymentMethodOptionsPayco" + payco: NotRequired[ + "Literal['']|PaymentIntentCreateParamsPaymentMethodOptionsPayco" + ] + """ + If this is a `payco` PaymentMethod, this sub-hash contains details about the PAYCO payment method options. + """ + paynow: NotRequired[ + "Literal['']|PaymentIntentCreateParamsPaymentMethodOptionsPaynow" + ] + """ + If this is a `paynow` PaymentMethod, this sub-hash contains details about the PayNow payment method options. + """ + paypal: NotRequired[ + "Literal['']|PaymentIntentCreateParamsPaymentMethodOptionsPaypal" + ] + """ + If this is a `paypal` PaymentMethod, this sub-hash contains details about the PayPal payment method options. + """ + paypay: NotRequired[ + "Literal['']|PaymentIntentCreateParamsPaymentMethodOptionsPaypay" + ] + """ + If this is a `paypay` PaymentMethod, this sub-hash contains details about the PayPay payment method options. + """ + payto: NotRequired[ + "Literal['']|PaymentIntentCreateParamsPaymentMethodOptionsPayto" + ] + """ + If this is a `payto` PaymentMethod, this sub-hash contains details about the PayTo payment method options. + """ + pix: NotRequired[ + "Literal['']|PaymentIntentCreateParamsPaymentMethodOptionsPix" + ] + """ + If this is a `pix` PaymentMethod, this sub-hash contains details about the Pix payment method options. + """ + promptpay: NotRequired[ + "Literal['']|PaymentIntentCreateParamsPaymentMethodOptionsPromptpay" + ] + """ + If this is a `promptpay` PaymentMethod, this sub-hash contains details about the PromptPay payment method options. + """ + qris: NotRequired[ + "Literal['']|PaymentIntentCreateParamsPaymentMethodOptionsQris" + ] + """ + If this is a `qris` PaymentMethod, this sub-hash contains details about the QRIS payment method options. + """ + rechnung: NotRequired[ + "Literal['']|PaymentIntentCreateParamsPaymentMethodOptionsRechnung" + ] + """ + If this is a `rechnung` PaymentMethod, this sub-hash contains details about the Rechnung payment method options. + """ + revolut_pay: NotRequired[ + "Literal['']|PaymentIntentCreateParamsPaymentMethodOptionsRevolutPay" + ] + """ + If this is a `revolut_pay` PaymentMethod, this sub-hash contains details about the Revolut Pay payment method options. + """ + samsung_pay: NotRequired[ + "Literal['']|PaymentIntentCreateParamsPaymentMethodOptionsSamsungPay" + ] + """ + If this is a `samsung_pay` PaymentMethod, this sub-hash contains details about the Samsung Pay payment method options. + """ + satispay: NotRequired[ + "Literal['']|PaymentIntentCreateParamsPaymentMethodOptionsSatispay" + ] + """ + If this is a `satispay` PaymentMethod, this sub-hash contains details about the Satispay payment method options. + """ + sepa_debit: NotRequired[ + "Literal['']|PaymentIntentCreateParamsPaymentMethodOptionsSepaDebit" + ] + """ + If this is a `sepa_debit` PaymentIntent, this sub-hash contains details about the SEPA Debit payment method options. + """ + shopeepay: NotRequired[ + "Literal['']|PaymentIntentCreateParamsPaymentMethodOptionsShopeepay" + ] + """ + If this is a `shopeepay` PaymentMethod, this sub-hash contains details about the ShopeePay payment method options. + """ + sofort: NotRequired[ + "Literal['']|PaymentIntentCreateParamsPaymentMethodOptionsSofort" + ] + """ + If this is a `sofort` PaymentMethod, this sub-hash contains details about the SOFORT payment method options. + """ + stripe_balance: NotRequired[ + "Literal['']|PaymentIntentCreateParamsPaymentMethodOptionsStripeBalance" + ] + """ + If this is a `stripe_balance` PaymentMethod, this sub-hash contains details about the Stripe Balance payment method options. + """ + swish: NotRequired[ + "Literal['']|PaymentIntentCreateParamsPaymentMethodOptionsSwish" + ] + """ + If this is a `Swish` PaymentMethod, this sub-hash contains details about the Swish payment method options. + """ + twint: NotRequired[ + "Literal['']|PaymentIntentCreateParamsPaymentMethodOptionsTwint" + ] + """ + If this is a `twint` PaymentMethod, this sub-hash contains details about the TWINT payment method options. + """ + us_bank_account: NotRequired[ + "Literal['']|PaymentIntentCreateParamsPaymentMethodOptionsUsBankAccount" + ] + """ + If this is a `us_bank_account` PaymentMethod, this sub-hash contains details about the US bank account payment method options. + """ + wechat_pay: NotRequired[ + "Literal['']|PaymentIntentCreateParamsPaymentMethodOptionsWechatPay" + ] + """ + If this is a `wechat_pay` PaymentMethod, this sub-hash contains details about the WeChat Pay payment method options. + """ + zip: NotRequired[ + "Literal['']|PaymentIntentCreateParamsPaymentMethodOptionsZip" + ] + """ + If this is a `zip` PaymentMethod, this sub-hash contains details about the Zip payment method options. + """ + + +class PaymentIntentCreateParamsPaymentMethodOptionsAcssDebit(TypedDict): + mandate_options: NotRequired[ + "PaymentIntentCreateParamsPaymentMethodOptionsAcssDebitMandateOptions" + ] + """ + Additional fields for Mandate creation + """ + setup_future_usage: NotRequired[ + "Literal['']|Literal['none', 'off_session', 'on_session']" + ] + """ + Indicates that you intend to make future payments with this PaymentIntent's payment method. + + If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. + + If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. + + When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). + + If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`. + """ + target_date: NotRequired[str] + """ + Controls when Stripe will attempt to debit the funds from the customer's account. The date must be a string in YYYY-MM-DD format. The date must be in the future and between 3 and 15 calendar days from now. + """ + verification_method: NotRequired[ + Literal["automatic", "instant", "microdeposits"] + ] + """ + Bank account verification method. + """ + + +class PaymentIntentCreateParamsPaymentMethodOptionsAcssDebitMandateOptions( + TypedDict, +): + custom_mandate_url: NotRequired["Literal['']|str"] + """ + A URL for custom mandate text to render during confirmation step. + The URL will be rendered with additional GET parameters `payment_intent` and `payment_intent_client_secret` when confirming a Payment Intent, + or `setup_intent` and `setup_intent_client_secret` when confirming a Setup Intent. + """ + interval_description: NotRequired[str] + """ + Description of the mandate interval. Only required if 'payment_schedule' parameter is 'interval' or 'combined'. + """ + payment_schedule: NotRequired[Literal["combined", "interval", "sporadic"]] + """ + Payment schedule for the mandate. + """ + transaction_type: NotRequired[Literal["business", "personal"]] + """ + Transaction type of the mandate. + """ + + +class PaymentIntentCreateParamsPaymentMethodOptionsAffirm(TypedDict): + capture_method: NotRequired["Literal['']|Literal['manual']"] + """ + Controls when the funds are captured from the customer's account. + + If provided, this parameter overrides the behavior of the top-level [capture_method](https://docs.stripe.com/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type. + + If `capture_method` is already set on the PaymentIntent, providing an empty value for this parameter unsets the stored value for this payment method type. + """ + preferred_locale: NotRequired[str] + """ + Preferred language of the Affirm authorization page that the customer is redirected to. + """ + setup_future_usage: NotRequired[Literal["none"]] + """ + Indicates that you intend to make future payments with this PaymentIntent's payment method. + + If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. + + If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. + + When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). + + If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`. + """ + + +class PaymentIntentCreateParamsPaymentMethodOptionsAfterpayClearpay(TypedDict): + capture_method: NotRequired["Literal['']|Literal['manual']"] + """ + Controls when the funds are captured from the customer's account. + + If provided, this parameter overrides the behavior of the top-level [capture_method](https://docs.stripe.com/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type. + + If `capture_method` is already set on the PaymentIntent, providing an empty value for this parameter unsets the stored value for this payment method type. + """ + reference: NotRequired[str] + """ + An internal identifier or reference that this payment corresponds to. You must limit the identifier to 128 characters, and it can only contain letters, numbers, underscores, backslashes, and dashes. + This field differs from the statement descriptor and item name. + """ + setup_future_usage: NotRequired[Literal["none"]] + """ + Indicates that you intend to make future payments with this PaymentIntent's payment method. + + If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. + + If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. + + When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). + + If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`. + """ + + +class PaymentIntentCreateParamsPaymentMethodOptionsAlipay(TypedDict): + setup_future_usage: NotRequired[ + "Literal['']|Literal['none', 'off_session']" + ] + """ + Indicates that you intend to make future payments with this PaymentIntent's payment method. + + If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. + + If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. + + When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). + + If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`. + """ + + +class PaymentIntentCreateParamsPaymentMethodOptionsAlma(TypedDict): + capture_method: NotRequired["Literal['']|Literal['manual']"] + """ + Controls when the funds are captured from the customer's account. + + If provided, this parameter overrides the behavior of the top-level [capture_method](https://docs.stripe.com/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type. + + If `capture_method` is already set on the PaymentIntent, providing an empty value for this parameter unsets the stored value for this payment method type. + """ + + +class PaymentIntentCreateParamsPaymentMethodOptionsAmazonPay(TypedDict): + capture_method: NotRequired["Literal['']|Literal['manual']"] + """ + Controls when the funds are captured from the customer's account. + + If provided, this parameter overrides the behavior of the top-level [capture_method](https://docs.stripe.com/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type. + + If `capture_method` is already set on the PaymentIntent, providing an empty value for this parameter unsets the stored value for this payment method type. + """ + setup_future_usage: NotRequired[ + "Literal['']|Literal['none', 'off_session']" + ] + """ + Indicates that you intend to make future payments with this PaymentIntent's payment method. + + If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. + + If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. + + When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). + """ + + +class PaymentIntentCreateParamsPaymentMethodOptionsAuBecsDebit(TypedDict): + setup_future_usage: NotRequired[ + "Literal['']|Literal['none', 'off_session', 'on_session']" + ] + """ + Indicates that you intend to make future payments with this PaymentIntent's payment method. + + If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. + + If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. + + When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). + + If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`. + """ + target_date: NotRequired[str] + """ + Controls when Stripe will attempt to debit the funds from the customer's account. The date must be a string in YYYY-MM-DD format. The date must be in the future and between 3 and 15 calendar days from now. + """ + + +class PaymentIntentCreateParamsPaymentMethodOptionsBacsDebit(TypedDict): + mandate_options: NotRequired[ + "PaymentIntentCreateParamsPaymentMethodOptionsBacsDebitMandateOptions" + ] + """ + Additional fields for Mandate creation + """ + setup_future_usage: NotRequired[ + "Literal['']|Literal['none', 'off_session', 'on_session']" + ] + """ + Indicates that you intend to make future payments with this PaymentIntent's payment method. + + If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. + + If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. + + When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). + + If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`. + """ + target_date: NotRequired[str] + """ + Controls when Stripe will attempt to debit the funds from the customer's account. The date must be a string in YYYY-MM-DD format. The date must be in the future and between 3 and 15 calendar days from now. + """ + + +class PaymentIntentCreateParamsPaymentMethodOptionsBacsDebitMandateOptions( + TypedDict, +): + reference_prefix: NotRequired["Literal['']|str"] + """ + Prefix used to generate the Mandate reference. Must be at most 12 characters long. Must consist of only uppercase letters, numbers, spaces, or the following special characters: '/', '_', '-', '&', '.'. Cannot begin with 'DDIC' or 'STRIPE'. + """ + + +class PaymentIntentCreateParamsPaymentMethodOptionsBancontact(TypedDict): + preferred_language: NotRequired[Literal["de", "en", "fr", "nl"]] + """ + Preferred language of the Bancontact authorization page that the customer is redirected to. + """ + setup_future_usage: NotRequired[ + "Literal['']|Literal['none', 'off_session']" + ] + """ + Indicates that you intend to make future payments with this PaymentIntent's payment method. + + If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. + + If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. + + When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). + + If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`. + """ + + +class PaymentIntentCreateParamsPaymentMethodOptionsBillie(TypedDict): + capture_method: NotRequired["Literal['']|Literal['manual']"] + """ + Controls when the funds are captured from the customer's account. + + If provided, this parameter overrides the behavior of the top-level [capture_method](https://docs.stripe.com/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type. + + If `capture_method` is already set on the PaymentIntent, providing an empty value for this parameter unsets the stored value for this payment method type. + """ + + +class PaymentIntentCreateParamsPaymentMethodOptionsBlik(TypedDict): + code: NotRequired[str] + """ + The 6-digit BLIK code that a customer has generated using their banking application. Can only be set on confirmation. + """ + setup_future_usage: NotRequired["Literal['']|Literal['none']"] + """ + Indicates that you intend to make future payments with this PaymentIntent's payment method. + + If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. + + If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. + + When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). + + If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`. + """ + + +class PaymentIntentCreateParamsPaymentMethodOptionsBoleto(TypedDict): + expires_after_days: NotRequired[int] + """ + The number of calendar days before a Boleto voucher expires. For example, if you create a Boleto voucher on Monday and you set expires_after_days to 2, the Boleto invoice will expire on Wednesday at 23:59 America/Sao_Paulo time. + """ + setup_future_usage: NotRequired[ + "Literal['']|Literal['none', 'off_session', 'on_session']" + ] + """ + Indicates that you intend to make future payments with this PaymentIntent's payment method. + + If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. + + If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. + + When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). + + If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`. + """ + + +class PaymentIntentCreateParamsPaymentMethodOptionsCard(TypedDict): + capture_method: NotRequired["Literal['']|Literal['manual']"] + """ + Controls when the funds are captured from the customer's account. + + If provided, this parameter overrides the behavior of the top-level [capture_method](https://docs.stripe.com/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type. + + If `capture_method` is already set on the PaymentIntent, providing an empty value for this parameter unsets the stored value for this payment method type. + """ + cvc_token: NotRequired[str] + """ + A single-use `cvc_update` Token that represents a card CVC value. When provided, the CVC value will be verified during the card payment attempt. This parameter can only be provided during confirmation. + """ + installments: NotRequired[ + "PaymentIntentCreateParamsPaymentMethodOptionsCardInstallments" + ] + """ + Installment configuration for payments attempted on this PaymentIntent. + + For more information, see the [installments integration guide](https://stripe.com/docs/payments/installments). + """ + mandate_options: NotRequired[ + "PaymentIntentCreateParamsPaymentMethodOptionsCardMandateOptions" + ] + """ + Configuration options for setting up an eMandate for cards issued in India. + """ + moto: NotRequired[bool] + """ + When specified, this parameter indicates that a transaction will be marked + as MOTO (Mail Order Telephone Order) and thus out of scope for SCA. This + parameter can only be provided during confirmation. + """ + network: NotRequired[ + Literal[ + "amex", + "cartes_bancaires", + "diners", + "discover", + "eftpos_au", + "girocard", + "interac", + "jcb", + "link", + "mastercard", + "unionpay", + "unknown", + "visa", + ] + ] + """ + Selected network to process this PaymentIntent on. Depends on the available networks of the card attached to the PaymentIntent. Can be only set confirm-time. + """ + request_decremental_authorization: NotRequired[ + Literal["if_available", "never"] + ] + """ + Request ability to [decrement the authorization](https://stripe.com/docs/payments/decremental-authorization) for this PaymentIntent. + """ + request_extended_authorization: NotRequired[ + Literal["if_available", "never"] + ] + """ + Request ability to [capture beyond the standard authorization validity window](https://stripe.com/docs/payments/extended-authorization) for this PaymentIntent. + """ + request_incremental_authorization: NotRequired[ + Literal["if_available", "never"] + ] + """ + Request ability to [increment the authorization](https://stripe.com/docs/payments/incremental-authorization) for this PaymentIntent. + """ + request_multicapture: NotRequired[Literal["if_available", "never"]] + """ + Request ability to make [multiple captures](https://stripe.com/docs/payments/multicapture) for this PaymentIntent. + """ + request_overcapture: NotRequired[Literal["if_available", "never"]] + """ + Request ability to [overcapture](https://stripe.com/docs/payments/overcapture) for this PaymentIntent. + """ + request_partial_authorization: NotRequired[ + Literal["if_available", "never"] + ] + """ + Request partial authorization on this PaymentIntent. + """ + request_three_d_secure: NotRequired[ + Literal["any", "automatic", "challenge"] + ] + """ + We strongly recommend that you rely on our SCA Engine to automatically prompt your customers for authentication based on risk level and [other requirements](https://stripe.com/docs/strong-customer-authentication). However, if you wish to request 3D Secure based on logic from your own fraud engine, provide this option. If not provided, this value defaults to `automatic`. Read our guide on [manually requesting 3D Secure](https://stripe.com/docs/payments/3d-secure/authentication-flow#manual-three-ds) for more information on how this configuration interacts with Radar and our SCA Engine. + """ + require_cvc_recollection: NotRequired[bool] + """ + When enabled, using a card that is attached to a customer will require the CVC to be provided again (i.e. using the cvc_token parameter). + """ + setup_future_usage: NotRequired[ + "Literal['']|Literal['none', 'off_session', 'on_session']" + ] + """ + Indicates that you intend to make future payments with this PaymentIntent's payment method. + + If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. + + If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. + + When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). + + If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`. + """ + statement_descriptor_suffix_kana: NotRequired["Literal['']|str"] + """ + Provides information about a card payment that customers see on their statements. Concatenated with the Kana prefix (shortened Kana descriptor) or Kana statement descriptor that's set on the account to form the complete statement descriptor. Maximum 22 characters. On card statements, the *concatenation* of both prefix and suffix (including separators) will appear truncated to 22 characters. + """ + statement_descriptor_suffix_kanji: NotRequired["Literal['']|str"] + """ + Provides information about a card payment that customers see on their statements. Concatenated with the Kanji prefix (shortened Kanji descriptor) or Kanji statement descriptor that's set on the account to form the complete statement descriptor. Maximum 17 characters. On card statements, the *concatenation* of both prefix and suffix (including separators) will appear truncated to 17 characters. + """ + statement_details: NotRequired[ + "Literal['']|PaymentIntentCreateParamsPaymentMethodOptionsCardStatementDetails" + ] + """ + Statement details for this payment intent. You can use this to override the merchant details shown on your customers' statements. + """ + three_d_secure: NotRequired[ + "PaymentIntentCreateParamsPaymentMethodOptionsCardThreeDSecure" + ] + """ + If 3D Secure authentication was performed with a third-party provider, + the authentication details to use for this payment. + """ + + +class PaymentIntentCreateParamsPaymentMethodOptionsCardInstallments(TypedDict): + enabled: NotRequired[bool] + """ + Setting to true enables installments for this PaymentIntent. + This will cause the response to contain a list of available installment plans. + Setting to false will prevent any selected plan from applying to a charge. + """ + plan: NotRequired[ + "Literal['']|PaymentIntentCreateParamsPaymentMethodOptionsCardInstallmentsPlan" + ] + """ + The selected installment plan to use for this payment attempt. + This parameter can only be provided during confirmation. + """ + + +class PaymentIntentCreateParamsPaymentMethodOptionsCardInstallmentsPlan( + TypedDict, +): + count: NotRequired[int] + """ + For `fixed_count` installment plans, this is required. It represents the number of installment payments your customer will make to their credit card. + """ + interval: NotRequired[Literal["month"]] + """ + For `fixed_count` installment plans, this is required. It represents the interval between installment payments your customer will make to their credit card. + One of `month`. + """ + type: Literal["bonus", "fixed_count", "revolving"] + """ + Type of installment plan, one of `fixed_count`, `bonus`, or `revolving`. + """ + + +class PaymentIntentCreateParamsPaymentMethodOptionsCardMandateOptions( + TypedDict, +): + amount: int + """ + Amount to be charged for future payments. + """ + amount_type: Literal["fixed", "maximum"] + """ + One of `fixed` or `maximum`. If `fixed`, the `amount` param refers to the exact amount to be charged in future payments. If `maximum`, the amount charged can be up to the value passed for the `amount` param. + """ + description: NotRequired[str] + """ + A description of the mandate or subscription that is meant to be displayed to the customer. + """ + end_date: NotRequired[int] + """ + End date of the mandate or subscription. If not provided, the mandate will be active until canceled. If provided, end date should be after start date. + """ + interval: Literal["day", "month", "sporadic", "week", "year"] + """ + Specifies payment frequency. One of `day`, `week`, `month`, `year`, or `sporadic`. + """ + interval_count: NotRequired[int] + """ + The number of intervals between payments. For example, `interval=month` and `interval_count=3` indicates one payment every three months. Maximum of one year interval allowed (1 year, 12 months, or 52 weeks). This parameter is optional when `interval=sporadic`. + """ + reference: str + """ + Unique identifier for the mandate or subscription. + """ + start_date: int + """ + Start date of the mandate or subscription. Start date should not be lesser than yesterday. + """ + supported_types: NotRequired[List[Literal["india"]]] + """ + Specifies the type of mandates supported. Possible values are `india`. + """ + + +class PaymentIntentCreateParamsPaymentMethodOptionsCardStatementDetails( + TypedDict, +): + address: NotRequired[ + "PaymentIntentCreateParamsPaymentMethodOptionsCardStatementDetailsAddress" + ] + """ + Please pass in an address that is within your Stripe user account country + """ + phone: NotRequired[str] + """ + Phone number (e.g., a toll-free number that customers can call) + """ + + +class PaymentIntentCreateParamsPaymentMethodOptionsCardStatementDetailsAddress( + TypedDict, +): + city: NotRequired[str] + """ + City, district, suburb, town, or village. + """ + country: NotRequired[str] + """ + Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). + """ + line1: NotRequired[str] + """ + Address line 1, such as the street, PO Box, or company name. + """ + line2: NotRequired[str] + """ + Address line 2, such as the apartment, suite, unit, or building. + """ + postal_code: NotRequired[str] + """ + ZIP or postal code. + """ + state: NotRequired[str] + """ + State, county, province, or region. + """ + + +class PaymentIntentCreateParamsPaymentMethodOptionsCardThreeDSecure(TypedDict): + ares_trans_status: NotRequired[Literal["A", "C", "I", "N", "R", "U", "Y"]] + """ + The `transStatus` returned from the card Issuer's ACS in the ARes. + """ + cryptogram: str + """ + The cryptogram, also known as the "authentication value" (AAV, CAVV or + AEVV). This value is 20 bytes, base64-encoded into a 28-character string. + (Most 3D Secure providers will return the base64-encoded version, which + is what you should specify here.) + """ + electronic_commerce_indicator: NotRequired[ + Literal["01", "02", "05", "06", "07"] + ] + """ + The Electronic Commerce Indicator (ECI) is returned by your 3D Secure + provider and indicates what degree of authentication was performed. + """ + exemption_indicator: NotRequired[Literal["low_risk", "none"]] + """ + The exemption requested via 3DS and accepted by the issuer at authentication time. + """ + network_options: NotRequired[ + "PaymentIntentCreateParamsPaymentMethodOptionsCardThreeDSecureNetworkOptions" + ] + """ + Network specific 3DS fields. Network specific arguments require an + explicit card brand choice. The parameter `payment_method_options.card.network`` + must be populated accordingly + """ + requestor_challenge_indicator: NotRequired[str] + """ + The challenge indicator (`threeDSRequestorChallengeInd`) which was requested in the + AReq sent to the card Issuer's ACS. A string containing 2 digits from 01-99. + """ + transaction_id: str + """ + For 3D Secure 1, the XID. For 3D Secure 2, the Directory Server + Transaction ID (dsTransID). + """ + version: Literal["1.0.2", "2.1.0", "2.2.0"] + """ + The version of 3D Secure that was performed. + """ + + +class PaymentIntentCreateParamsPaymentMethodOptionsCardThreeDSecureNetworkOptions( + TypedDict, +): + cartes_bancaires: NotRequired[ + "PaymentIntentCreateParamsPaymentMethodOptionsCardThreeDSecureNetworkOptionsCartesBancaires" + ] + """ + Cartes Bancaires-specific 3DS fields. + """ + + +class PaymentIntentCreateParamsPaymentMethodOptionsCardThreeDSecureNetworkOptionsCartesBancaires( + TypedDict, +): + cb_avalgo: Literal["0", "1", "2", "3", "4", "A"] + """ + The cryptogram calculation algorithm used by the card Issuer's ACS + to calculate the Authentication cryptogram. Also known as `cavvAlgorithm`. + messageExtension: CB-AVALGO + """ + cb_exemption: NotRequired[str] + """ + The exemption indicator returned from Cartes Bancaires in the ARes. + message extension: CB-EXEMPTION; string (4 characters) + This is a 3 byte bitmap (low significant byte first and most significant + bit first) that has been Base64 encoded + """ + cb_score: NotRequired[int] + """ + The risk score returned from Cartes Bancaires in the ARes. + message extension: CB-SCORE; numeric value 0-99 + """ + + +class PaymentIntentCreateParamsPaymentMethodOptionsCardPresent(TypedDict): + capture_method: NotRequired[Literal["manual", "manual_preferred"]] + """ + Controls when the funds are captured from the customer's account. + + If provided, this parameter overrides the behavior of the top-level [capture_method](https://docs.stripe.com/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type. + + If `capture_method` is already set on the PaymentIntent, providing an empty value for this parameter unsets the stored value for this payment method type. + """ + request_extended_authorization: NotRequired[bool] + """ + Request ability to capture this payment beyond the standard [authorization validity window](https://stripe.com/docs/terminal/features/extended-authorizations#authorization-validity) + """ + request_incremental_authorization_support: NotRequired[bool] + """ + Request ability to [increment](https://stripe.com/docs/terminal/features/incremental-authorizations) this PaymentIntent if the combination of MCC and card brand is eligible. Check [incremental_authorization_supported](https://stripe.com/docs/api/charges/object#charge_object-payment_method_details-card_present-incremental_authorization_supported) in the [Confirm](https://stripe.com/docs/api/payment_intents/confirm) response to verify support. + """ + routing: NotRequired[ + "PaymentIntentCreateParamsPaymentMethodOptionsCardPresentRouting" + ] + """ + Network routing priority on co-branded EMV cards supporting domestic debit and international card schemes. + """ + + +class PaymentIntentCreateParamsPaymentMethodOptionsCardPresentRouting( + TypedDict, +): + requested_priority: NotRequired[Literal["domestic", "international"]] + """ + Routing requested priority + """ + + +class PaymentIntentCreateParamsPaymentMethodOptionsCashapp(TypedDict): + capture_method: NotRequired["Literal['']|Literal['manual']"] + """ + Controls when the funds are captured from the customer's account. + + If provided, this parameter overrides the behavior of the top-level [capture_method](https://docs.stripe.com/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type. + + If `capture_method` is already set on the PaymentIntent, providing an empty value for this parameter unsets the stored value for this payment method type. + """ + setup_future_usage: NotRequired[ + "Literal['']|Literal['none', 'off_session', 'on_session']" + ] + """ + Indicates that you intend to make future payments with this PaymentIntent's payment method. + + If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. + + If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. + + When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). + + If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`. + """ + + +class PaymentIntentCreateParamsPaymentMethodOptionsCrypto(TypedDict): + setup_future_usage: NotRequired[Literal["none"]] + """ + Indicates that you intend to make future payments with this PaymentIntent's payment method. + + If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. + + If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. + + When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). + + If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`. + """ + + +class PaymentIntentCreateParamsPaymentMethodOptionsCustomerBalance(TypedDict): + bank_transfer: NotRequired[ + "PaymentIntentCreateParamsPaymentMethodOptionsCustomerBalanceBankTransfer" + ] + """ + Configuration for the bank transfer funding type, if the `funding_type` is set to `bank_transfer`. + """ + funding_type: NotRequired[Literal["bank_transfer"]] + """ + The funding method type to be used when there are not enough funds in the customer balance. Permitted values include: `bank_transfer`. + """ + setup_future_usage: NotRequired[Literal["none"]] + """ + Indicates that you intend to make future payments with this PaymentIntent's payment method. + + If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. + + If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. + + When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). + + If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`. + """ + + +class PaymentIntentCreateParamsPaymentMethodOptionsCustomerBalanceBankTransfer( + TypedDict, +): + eu_bank_transfer: NotRequired[ + "PaymentIntentCreateParamsPaymentMethodOptionsCustomerBalanceBankTransferEuBankTransfer" + ] + """ + Configuration for the eu_bank_transfer funding type. + """ + requested_address_types: NotRequired[ + List[ + Literal[ + "aba", "iban", "sepa", "sort_code", "spei", "swift", "zengin" + ] + ] + ] + """ + List of address types that should be returned in the financial_addresses response. If not specified, all valid types will be returned. + + Permitted values include: `sort_code`, `zengin`, `iban`, or `spei`. + """ + type: Literal[ + "eu_bank_transfer", + "gb_bank_transfer", + "jp_bank_transfer", + "mx_bank_transfer", + "us_bank_transfer", + ] + """ + The list of bank transfer types that this PaymentIntent is allowed to use for funding Permitted values include: `eu_bank_transfer`, `gb_bank_transfer`, `jp_bank_transfer`, `mx_bank_transfer`, or `us_bank_transfer`. + """ + + +class PaymentIntentCreateParamsPaymentMethodOptionsCustomerBalanceBankTransferEuBankTransfer( + TypedDict, +): + country: str + """ + The desired country code of the bank account information. Permitted values include: `BE`, `DE`, `ES`, `FR`, `IE`, or `NL`. + """ + + +class PaymentIntentCreateParamsPaymentMethodOptionsEps(TypedDict): + setup_future_usage: NotRequired[Literal["none"]] + """ + Indicates that you intend to make future payments with this PaymentIntent's payment method. + + If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. + + If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. + + When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). + + If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`. + """ + + +class PaymentIntentCreateParamsPaymentMethodOptionsFpx(TypedDict): + setup_future_usage: NotRequired[Literal["none"]] + """ + Indicates that you intend to make future payments with this PaymentIntent's payment method. + + If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. + + If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. + + When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). + + If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`. + """ + + +class PaymentIntentCreateParamsPaymentMethodOptionsGiropay(TypedDict): + setup_future_usage: NotRequired[Literal["none"]] + """ + Indicates that you intend to make future payments with this PaymentIntent's payment method. + + If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. + + If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. + + When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). + + If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`. + """ + + +class PaymentIntentCreateParamsPaymentMethodOptionsGopay(TypedDict): + setup_future_usage: NotRequired[Literal["none", "off_session"]] + """ + Indicates that you intend to make future payments with this PaymentIntent's payment method. + + If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. + + If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. + + When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). + + If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`. + """ + + +class PaymentIntentCreateParamsPaymentMethodOptionsGrabpay(TypedDict): + setup_future_usage: NotRequired[Literal["none"]] + """ + Indicates that you intend to make future payments with this PaymentIntent's payment method. + + If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. + + If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. + + When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). + + If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`. + """ + + +class PaymentIntentCreateParamsPaymentMethodOptionsIdBankTransfer(TypedDict): + expires_after: NotRequired[int] + """ + The UNIX timestamp until which the virtual bank account is valid. Permitted range is from 5 minutes from now until 31 days from now. If unset, it defaults to 3 days from now. + """ + expires_at: NotRequired[int] + """ + The UNIX timestamp until which the virtual bank account is valid. Permitted range is from now until 30 days from now. If unset, it defaults to 1 days from now. + """ + setup_future_usage: NotRequired[Literal["none"]] + """ + Indicates that you intend to make future payments with this PaymentIntent's payment method. + + If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. + + If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. + + When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). + + If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`. + """ + + +class PaymentIntentCreateParamsPaymentMethodOptionsIdeal(TypedDict): + setup_future_usage: NotRequired[ + "Literal['']|Literal['none', 'off_session']" ] """ - If this is a `payco` PaymentMethod, this sub-hash contains details about the PAYCO payment method options. + Indicates that you intend to make future payments with this PaymentIntent's payment method. + + If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. + + If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. + + When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). + + If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`. """ - paynow: NotRequired[ - "Literal['']|PaymentIntentCreateParamsPaymentMethodOptionsPaynow" + + +class PaymentIntentCreateParamsPaymentMethodOptionsInteracPresent(TypedDict): + pass + + +class PaymentIntentCreateParamsPaymentMethodOptionsKakaoPay(TypedDict): + capture_method: NotRequired["Literal['']|Literal['manual']"] + """ + Controls when the funds are captured from the customer's account. + + If provided, this parameter overrides the behavior of the top-level [capture_method](https://docs.stripe.com/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type. + + If `capture_method` is already set on the PaymentIntent, providing an empty value for this parameter unsets the stored value for this payment method type. + """ + setup_future_usage: NotRequired[ + "Literal['']|Literal['none', 'off_session']" ] """ - If this is a `paynow` PaymentMethod, this sub-hash contains details about the PayNow payment method options. + Indicates that you intend to make future payments with this PaymentIntent's payment method. + + If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. + + If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. + + When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). """ - paypal: NotRequired[ - "Literal['']|PaymentIntentCreateParamsPaymentMethodOptionsPaypal" + + +class PaymentIntentCreateParamsPaymentMethodOptionsKlarna(TypedDict): + capture_method: NotRequired["Literal['']|Literal['manual']"] + """ + Controls when the funds are captured from the customer's account. + + If provided, this parameter overrides the behavior of the top-level [capture_method](https://docs.stripe.com/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type. + + If `capture_method` is already set on the PaymentIntent, providing an empty value for this parameter unsets the stored value for this payment method type. + """ + on_demand: NotRequired[ + "PaymentIntentCreateParamsPaymentMethodOptionsKlarnaOnDemand" + ] + """ + On-demand details if setting up or charging an on-demand payment. + """ + preferred_locale: NotRequired[ + Literal[ + "cs-CZ", + "da-DK", + "de-AT", + "de-CH", + "de-DE", + "el-GR", + "en-AT", + "en-AU", + "en-BE", + "en-CA", + "en-CH", + "en-CZ", + "en-DE", + "en-DK", + "en-ES", + "en-FI", + "en-FR", + "en-GB", + "en-GR", + "en-IE", + "en-IT", + "en-NL", + "en-NO", + "en-NZ", + "en-PL", + "en-PT", + "en-RO", + "en-SE", + "en-US", + "es-ES", + "es-US", + "fi-FI", + "fr-BE", + "fr-CA", + "fr-CH", + "fr-FR", + "it-CH", + "it-IT", + "nb-NO", + "nl-BE", + "nl-NL", + "pl-PL", + "pt-PT", + "ro-RO", + "sv-FI", + "sv-SE", + ] + ] + """ + Preferred language of the Klarna authorization page that the customer is redirected to + """ + setup_future_usage: NotRequired[ + Literal["none", "off_session", "on_session"] + ] + """ + Indicates that you intend to make future payments with this PaymentIntent's payment method. + + If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. + + If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. + + When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). + + If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`. + """ + subscriptions: NotRequired[ + "Literal['']|List[PaymentIntentCreateParamsPaymentMethodOptionsKlarnaSubscription]" + ] + """ + Subscription details if setting up or charging a subscription. + """ + supplementary_purchase_data: NotRequired[ + "Literal['']|PaymentIntentCreateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseData" + ] + """ + Supplementary Purchase Data for the corresponding Klarna payment + """ + + +class PaymentIntentCreateParamsPaymentMethodOptionsKlarnaOnDemand(TypedDict): + average_amount: NotRequired[int] + """ + Your average amount value. You can use a value across your customer base, or segment based on customer type, country, etc. + """ + maximum_amount: NotRequired[int] + """ + The maximum value you may charge a customer per purchase. You can use a value across your customer base, or segment based on customer type, country, etc. + """ + minimum_amount: NotRequired[int] + """ + The lowest or minimum value you may charge a customer per purchase. You can use a value across your customer base, or segment based on customer type, country, etc. + """ + purchase_interval: NotRequired[Literal["day", "month", "week", "year"]] + """ + Interval at which the customer is making purchases + """ + purchase_interval_count: NotRequired[int] + """ + The number of `purchase_interval` between charges + """ + + +class PaymentIntentCreateParamsPaymentMethodOptionsKlarnaSubscription( + TypedDict, +): + interval: Literal["day", "month", "week", "year"] + """ + Unit of time between subscription charges. + """ + interval_count: NotRequired[int] + """ + The number of intervals (specified in the `interval` attribute) between subscription charges. For example, `interval=month` and `interval_count=3` charges every 3 months. + """ + name: NotRequired[str] + """ + Name for subscription. + """ + next_billing: NotRequired[ + "PaymentIntentCreateParamsPaymentMethodOptionsKlarnaSubscriptionNextBilling" ] """ - If this is a `paypal` PaymentMethod, this sub-hash contains details about the PayPal payment method options. + Describes the upcoming charge for this subscription. + """ + reference: str + """ + A non-customer-facing reference to correlate subscription charges in the Klarna app. Use a value that persists across subscription charges. + """ + + +class PaymentIntentCreateParamsPaymentMethodOptionsKlarnaSubscriptionNextBilling( + TypedDict, +): + amount: int + """ + The amount of the next charge for the subscription. """ - paypay: NotRequired[ - "Literal['']|PaymentIntentCreateParamsPaymentMethodOptionsPaypay" - ] + date: str """ - If this is a `paypay` PaymentMethod, this sub-hash contains details about the PayPay payment method options. + The date of the next charge for the subscription in YYYY-MM-DD format. """ - payto: NotRequired[ - "Literal['']|PaymentIntentCreateParamsPaymentMethodOptionsPayto" + + +class PaymentIntentCreateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseData( + TypedDict, +): + bus_reservation_details: NotRequired[ + "Literal['']|List[PaymentIntentCreateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataBusReservationDetail]" ] """ - If this is a `payto` PaymentMethod, this sub-hash contains details about the PayTo payment method options. + Supplementary bus reservation details. """ - pix: NotRequired[ - "Literal['']|PaymentIntentCreateParamsPaymentMethodOptionsPix" + event_reservation_details: NotRequired[ + "Literal['']|List[PaymentIntentCreateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataEventReservationDetail]" ] """ - If this is a `pix` PaymentMethod, this sub-hash contains details about the Pix payment method options. + Supplementary event reservation details. """ - promptpay: NotRequired[ - "Literal['']|PaymentIntentCreateParamsPaymentMethodOptionsPromptpay" + ferry_reservation_details: NotRequired[ + "Literal['']|List[PaymentIntentCreateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataFerryReservationDetail]" ] """ - If this is a `promptpay` PaymentMethod, this sub-hash contains details about the PromptPay payment method options. + Supplementary ferry reservation details. """ - qris: NotRequired[ - "Literal['']|PaymentIntentCreateParamsPaymentMethodOptionsQris" + insurances: NotRequired[ + "Literal['']|List[PaymentIntentCreateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataInsurance]" ] """ - If this is a `qris` PaymentMethod, this sub-hash contains details about the QRIS payment method options. + Supplementary insurance details. """ - rechnung: NotRequired[ - "Literal['']|PaymentIntentCreateParamsPaymentMethodOptionsRechnung" + marketplace_sellers: NotRequired[ + "Literal['']|List[PaymentIntentCreateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataMarketplaceSeller]" ] """ - If this is a `rechnung` PaymentMethod, this sub-hash contains details about the Rechnung payment method options. + Supplementary marketplace seller details. """ - revolut_pay: NotRequired[ - "Literal['']|PaymentIntentCreateParamsPaymentMethodOptionsRevolutPay" + round_trip_reservation_details: NotRequired[ + "Literal['']|List[PaymentIntentCreateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataRoundTripReservationDetail]" ] """ - If this is a `revolut_pay` PaymentMethod, this sub-hash contains details about the Revolut Pay payment method options. + Supplementary round trip reservation details. """ - samsung_pay: NotRequired[ - "Literal['']|PaymentIntentCreateParamsPaymentMethodOptionsSamsungPay" + train_reservation_details: NotRequired[ + "Literal['']|List[PaymentIntentCreateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataTrainReservationDetail]" ] """ - If this is a `samsung_pay` PaymentMethod, this sub-hash contains details about the Samsung Pay payment method options. + Supplementary train reservation details. """ - satispay: NotRequired[ - "Literal['']|PaymentIntentCreateParamsPaymentMethodOptionsSatispay" + vouchers: NotRequired[ + "Literal['']|List[PaymentIntentCreateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataVoucher]" ] """ - If this is a `satispay` PaymentMethod, this sub-hash contains details about the Satispay payment method options. + Voucher details, such as a gift card or discount code. """ - sepa_debit: NotRequired[ - "Literal['']|PaymentIntentCreateParamsPaymentMethodOptionsSepaDebit" - ] + + +class PaymentIntentCreateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataBusReservationDetail( + TypedDict, +): + affiliate_name: NotRequired[str] """ - If this is a `sepa_debit` PaymentIntent, this sub-hash contains details about the SEPA Debit payment method options. + Name of associated or partner company for the service. """ - shopeepay: NotRequired[ - "Literal['']|PaymentIntentCreateParamsPaymentMethodOptionsShopeepay" + arrival: NotRequired[ + "PaymentIntentCreateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataBusReservationDetailArrival" ] """ - If this is a `shopeepay` PaymentMethod, this sub-hash contains details about the ShopeePay payment method options. + Arrival details. """ - sofort: NotRequired[ - "Literal['']|PaymentIntentCreateParamsPaymentMethodOptionsSofort" - ] + carrier_name: NotRequired[str] """ - If this is a `sofort` PaymentMethod, this sub-hash contains details about the SOFORT payment method options. + Name of transportation company. """ - stripe_balance: NotRequired[ - "Literal['']|PaymentIntentCreateParamsPaymentMethodOptionsStripeBalance" - ] + currency: NotRequired[str] """ - If this is a `stripe_balance` PaymentMethod, this sub-hash contains details about the Stripe Balance payment method options. + Currency. """ - swish: NotRequired[ - "Literal['']|PaymentIntentCreateParamsPaymentMethodOptionsSwish" + departure: NotRequired[ + "PaymentIntentCreateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataBusReservationDetailDeparture" ] """ - If this is a `Swish` PaymentMethod, this sub-hash contains details about the Swish payment method options. + Departure details. """ - twint: NotRequired[ - "Literal['']|PaymentIntentCreateParamsPaymentMethodOptionsTwint" + insurances: NotRequired[ + List[ + "PaymentIntentCreateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataBusReservationDetailInsurance" + ] ] """ - If this is a `twint` PaymentMethod, this sub-hash contains details about the TWINT payment method options. + List of insurances for this reservation. """ - us_bank_account: NotRequired[ - "Literal['']|PaymentIntentCreateParamsPaymentMethodOptionsUsBankAccount" + passengers: NotRequired[ + List[ + "PaymentIntentCreateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataBusReservationDetailPassenger" + ] ] """ - If this is a `us_bank_account` PaymentMethod, this sub-hash contains details about the US bank account payment method options. + List of passengers that this reservation applies to. """ - wechat_pay: NotRequired[ - "Literal['']|PaymentIntentCreateParamsPaymentMethodOptionsWechatPay" - ] + price: NotRequired[int] """ - If this is a `wechat_pay` PaymentMethod, this sub-hash contains details about the WeChat Pay payment method options. + Price in cents. """ - zip: NotRequired[ - "Literal['']|PaymentIntentCreateParamsPaymentMethodOptionsZip" + ticket_class: NotRequired[ + Literal["business", "economy", "first_class", "premium_economy"] ] """ - If this is a `zip` PaymentMethod, this sub-hash contains details about the Zip payment method options. + Ticket class. """ -class PaymentIntentCreateParamsPaymentMethodOptionsAcssDebit(TypedDict): - mandate_options: NotRequired[ - "PaymentIntentCreateParamsPaymentMethodOptionsAcssDebitMandateOptions" +class PaymentIntentCreateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataBusReservationDetailArrival( + TypedDict, +): + address: NotRequired[ + "PaymentIntentCreateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataBusReservationDetailArrivalAddress" ] """ - Additional fields for Mandate creation + Address of the arrival location. """ - setup_future_usage: NotRequired[ - "Literal['']|Literal['none', 'off_session', 'on_session']" - ] + arrival_location: NotRequired[str] + """ + Identifier name or reference for the arrival location. """ - Indicates that you intend to make future payments with this PaymentIntent's payment method. - - If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. - - If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. - When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). - If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`. +class PaymentIntentCreateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataBusReservationDetailArrivalAddress( + TypedDict, +): + city: NotRequired[str] """ - target_date: NotRequired[str] + The city or town. """ - Controls when Stripe will attempt to debit the funds from the customer's account. The date must be a string in YYYY-MM-DD format. The date must be in the future and between 3 and 15 calendar days from now. + country: NotRequired[str] """ - verification_method: NotRequired[ - Literal["automatic", "instant", "microdeposits"] - ] + The country in ISO 3166-1 alpha-2 format. """ - Bank account verification method. + postal_code: NotRequired[str] + """ + The postal code formatted according to country. + """ + region: NotRequired[str] + """ + The state, county, province, or region formatted according to country. + """ + street_address: NotRequired[str] + """ + Line 1 of the street address. + """ + street_address2: NotRequired[str] + """ + Line 2 of the street address. """ -class PaymentIntentCreateParamsPaymentMethodOptionsAcssDebitMandateOptions( +class PaymentIntentCreateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataBusReservationDetailDeparture( TypedDict, ): - custom_mandate_url: NotRequired["Literal['']|str"] - """ - A URL for custom mandate text to render during confirmation step. - The URL will be rendered with additional GET parameters `payment_intent` and `payment_intent_client_secret` when confirming a Payment Intent, - or `setup_intent` and `setup_intent_client_secret` when confirming a Setup Intent. - """ - interval_description: NotRequired[str] + address: NotRequired[ + "PaymentIntentCreateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataBusReservationDetailDepartureAddress" + ] """ - Description of the mandate interval. Only required if 'payment_schedule' parameter is 'interval' or 'combined'. + Address of the departure location. """ - payment_schedule: NotRequired[Literal["combined", "interval", "sporadic"]] + departs_at: NotRequired[int] """ - Payment schedule for the mandate. + Timestamp of departure. """ - transaction_type: NotRequired[Literal["business", "personal"]] + departure_location: NotRequired[str] """ - Transaction type of the mandate. + Identifier name or reference for the origin location. """ -class PaymentIntentCreateParamsPaymentMethodOptionsAffirm(TypedDict): - capture_method: NotRequired["Literal['']|Literal['manual']"] +class PaymentIntentCreateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataBusReservationDetailDepartureAddress( + TypedDict, +): + city: NotRequired[str] """ - Controls when the funds are captured from the customer's account. - - If provided, this parameter overrides the behavior of the top-level [capture_method](https://docs.stripe.com/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type. - - If `capture_method` is already set on the PaymentIntent, providing an empty value for this parameter unsets the stored value for this payment method type. + The city or town. """ - preferred_locale: NotRequired[str] + country: NotRequired[str] """ - Preferred language of the Affirm authorization page that the customer is redirected to. + The country in ISO 3166-1 alpha-2 format. """ - setup_future_usage: NotRequired[Literal["none"]] + postal_code: NotRequired[str] """ - Indicates that you intend to make future payments with this PaymentIntent's payment method. - - If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. - - If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. - - When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). - - If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`. + The postal code formatted according to country. """ - - -class PaymentIntentCreateParamsPaymentMethodOptionsAfterpayClearpay(TypedDict): - capture_method: NotRequired["Literal['']|Literal['manual']"] + region: NotRequired[str] """ - Controls when the funds are captured from the customer's account. - - If provided, this parameter overrides the behavior of the top-level [capture_method](https://docs.stripe.com/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type. - - If `capture_method` is already set on the PaymentIntent, providing an empty value for this parameter unsets the stored value for this payment method type. + The state, county, province, or region formatted according to country. """ - reference: NotRequired[str] + street_address: NotRequired[str] """ - An internal identifier or reference that this payment corresponds to. You must limit the identifier to 128 characters, and it can only contain letters, numbers, underscores, backslashes, and dashes. - This field differs from the statement descriptor and item name. + Line 1 of the street address. """ - setup_future_usage: NotRequired[Literal["none"]] + street_address2: NotRequired[str] """ - Indicates that you intend to make future payments with this PaymentIntent's payment method. - - If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. - - If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. - - When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). - - If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`. + Line 2 of the street address. """ -class PaymentIntentCreateParamsPaymentMethodOptionsAlipay(TypedDict): - setup_future_usage: NotRequired[ - "Literal['']|Literal['none', 'off_session']" +class PaymentIntentCreateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataBusReservationDetailInsurance( + TypedDict, +): + currency: NotRequired[str] + """ + Insurance currency. + """ + insurance_company_name: NotRequired[str] + """ + Name of the company providing the insurance. + """ + insurance_type: NotRequired[ + Literal["baggage", "bankruptcy", "cancelation", "emergency", "medical"] ] """ - Indicates that you intend to make future payments with this PaymentIntent's payment method. - - If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. - - If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. - - When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). - - If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`. + Type of insurance. """ - - -class PaymentIntentCreateParamsPaymentMethodOptionsAlma(TypedDict): - capture_method: NotRequired["Literal['']|Literal['manual']"] + price: NotRequired[int] """ - Controls when the funds are captured from the customer's account. - - If provided, this parameter overrides the behavior of the top-level [capture_method](https://docs.stripe.com/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type. - - If `capture_method` is already set on the PaymentIntent, providing an empty value for this parameter unsets the stored value for this payment method type. + Price of insurance in cents. """ -class PaymentIntentCreateParamsPaymentMethodOptionsAmazonPay(TypedDict): - capture_method: NotRequired["Literal['']|Literal['manual']"] +class PaymentIntentCreateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataBusReservationDetailPassenger( + TypedDict, +): + family_name: NotRequired[str] """ - Controls when the funds are captured from the customer's account. - - If provided, this parameter overrides the behavior of the top-level [capture_method](https://docs.stripe.com/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type. - - If `capture_method` is already set on the PaymentIntent, providing an empty value for this parameter unsets the stored value for this payment method type. + The family name of the person. """ - setup_future_usage: NotRequired[ - "Literal['']|Literal['none', 'off_session']" - ] + given_name: NotRequired[str] """ - Indicates that you intend to make future payments with this PaymentIntent's payment method. - - If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. - - If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. - - When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). + The given name of the person. """ -class PaymentIntentCreateParamsPaymentMethodOptionsAuBecsDebit(TypedDict): - setup_future_usage: NotRequired[ - "Literal['']|Literal['none', 'off_session', 'on_session']" +class PaymentIntentCreateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataEventReservationDetail( + TypedDict, +): + access_controlled_venue: NotRequired[bool] + """ + Indicates if the tickets are digitally checked when entering the venue. + """ + address: NotRequired[ + "PaymentIntentCreateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataEventReservationDetailAddress" ] """ - Indicates that you intend to make future payments with this PaymentIntent's payment method. - - If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. - - If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. - - When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). - - If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`. + Address of the event. """ - target_date: NotRequired[str] + affiliate_name: NotRequired[str] """ - Controls when Stripe will attempt to debit the funds from the customer's account. The date must be a string in YYYY-MM-DD format. The date must be in the future and between 3 and 15 calendar days from now. + Name of associated or partner company for the service. """ - - -class PaymentIntentCreateParamsPaymentMethodOptionsBacsDebit(TypedDict): - mandate_options: NotRequired[ - "PaymentIntentCreateParamsPaymentMethodOptionsBacsDebitMandateOptions" + ends_at: NotRequired[int] + """ + End timestamp of the event. + """ + event_company_name: NotRequired[str] + """ + Company selling the ticket. + """ + event_name: NotRequired[str] + """ + Name of the event. + """ + event_type: NotRequired[ + Literal[ + "concert", + "conference", + "digital_education", + "expo", + "festival", + "in_person_education", + "sport", + "tour", + ] ] """ - Additional fields for Mandate creation + Type of the event. """ - setup_future_usage: NotRequired[ - "Literal['']|Literal['none', 'off_session', 'on_session']" + insurances: NotRequired[ + List[ + "PaymentIntentCreateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataEventReservationDetailInsurance" + ] ] """ - Indicates that you intend to make future payments with this PaymentIntent's payment method. - - If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. - - If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. - - When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). - - If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`. + List of insurances for this event. """ - target_date: NotRequired[str] + starts_at: NotRequired[int] """ - Controls when Stripe will attempt to debit the funds from the customer's account. The date must be a string in YYYY-MM-DD format. The date must be in the future and between 3 and 15 calendar days from now. + Start timestamp of the event. + """ + venue_name: NotRequired[str] + """ + Name of the venue where the event takes place. """ -class PaymentIntentCreateParamsPaymentMethodOptionsBacsDebitMandateOptions( +class PaymentIntentCreateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataEventReservationDetailAddress( TypedDict, ): - reference_prefix: NotRequired["Literal['']|str"] + city: NotRequired[str] """ - Prefix used to generate the Mandate reference. Must be at most 12 characters long. Must consist of only uppercase letters, numbers, spaces, or the following special characters: '/', '_', '-', '&', '.'. Cannot begin with 'DDIC' or 'STRIPE'. + The city or town. """ - - -class PaymentIntentCreateParamsPaymentMethodOptionsBancontact(TypedDict): - preferred_language: NotRequired[Literal["de", "en", "fr", "nl"]] + country: NotRequired[str] """ - Preferred language of the Bancontact authorization page that the customer is redirected to. + The country in ISO 3166-1 alpha-2 format. """ - setup_future_usage: NotRequired[ - "Literal['']|Literal['none', 'off_session']" - ] + postal_code: NotRequired[str] """ - Indicates that you intend to make future payments with this PaymentIntent's payment method. - - If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. - - If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. - - When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). - - If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`. + The postal code formatted according to country. """ - - -class PaymentIntentCreateParamsPaymentMethodOptionsBillie(TypedDict): - capture_method: NotRequired["Literal['']|Literal['manual']"] + region: NotRequired[str] """ - Controls when the funds are captured from the customer's account. - - If provided, this parameter overrides the behavior of the top-level [capture_method](https://docs.stripe.com/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type. - - If `capture_method` is already set on the PaymentIntent, providing an empty value for this parameter unsets the stored value for this payment method type. + The state, county, province, or region formatted according to country. """ - - -class PaymentIntentCreateParamsPaymentMethodOptionsBlik(TypedDict): - code: NotRequired[str] + street_address: NotRequired[str] """ - The 6-digit BLIK code that a customer has generated using their banking application. Can only be set on confirmation. + Line 1 of the street address. """ - setup_future_usage: NotRequired["Literal['']|Literal['none']"] + street_address2: NotRequired[str] """ - Indicates that you intend to make future payments with this PaymentIntent's payment method. - - If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. - - If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. - - When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). - - If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`. + Line 2 of the street address. """ -class PaymentIntentCreateParamsPaymentMethodOptionsBoleto(TypedDict): - expires_after_days: NotRequired[int] - """ - The number of calendar days before a Boleto voucher expires. For example, if you create a Boleto voucher on Monday and you set expires_after_days to 2, the Boleto invoice will expire on Wednesday at 23:59 America/Sao_Paulo time. +class PaymentIntentCreateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataEventReservationDetailInsurance( + TypedDict, +): + currency: NotRequired[str] """ - setup_future_usage: NotRequired[ - "Literal['']|Literal['none', 'off_session', 'on_session']" - ] + Insurance currency. """ - Indicates that you intend to make future payments with this PaymentIntent's payment method. - - If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. - - If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. - - When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). - - If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`. + insurance_company_name: NotRequired[str] """ - - -class PaymentIntentCreateParamsPaymentMethodOptionsCard(TypedDict): - capture_method: NotRequired["Literal['']|Literal['manual']"] + Name of the company providing the insurance. """ - Controls when the funds are captured from the customer's account. - - If provided, this parameter overrides the behavior of the top-level [capture_method](https://docs.stripe.com/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type. - - If `capture_method` is already set on the PaymentIntent, providing an empty value for this parameter unsets the stored value for this payment method type. + insurance_type: NotRequired[ + Literal["bankruptcy", "cancelation", "emergency", "medical"] + ] """ - cvc_token: NotRequired[str] + Type of insurance. """ - A single-use `cvc_update` Token that represents a card CVC value. When provided, the CVC value will be verified during the card payment attempt. This parameter can only be provided during confirmation. + price: NotRequired[int] """ - installments: NotRequired[ - "PaymentIntentCreateParamsPaymentMethodOptionsCardInstallments" - ] + Price of insurance in cents. """ - Installment configuration for payments attempted on this PaymentIntent. - For more information, see the [installments integration guide](https://stripe.com/docs/payments/installments). + +class PaymentIntentCreateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataFerryReservationDetail( + TypedDict, +): + affiliate_name: NotRequired[str] """ - mandate_options: NotRequired[ - "PaymentIntentCreateParamsPaymentMethodOptionsCardMandateOptions" + Name of associated or partner company for the service. + """ + arrival: NotRequired[ + "PaymentIntentCreateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataFerryReservationDetailArrival" ] """ - Configuration options for setting up an eMandate for cards issued in India. + Arrival details. """ - moto: NotRequired[bool] + carrier_name: NotRequired[str] """ - When specified, this parameter indicates that a transaction will be marked - as MOTO (Mail Order Telephone Order) and thus out of scope for SCA. This - parameter can only be provided during confirmation. + Name of transportation company. """ - network: NotRequired[ - Literal[ - "amex", - "cartes_bancaires", - "diners", - "discover", - "eftpos_au", - "girocard", - "interac", - "jcb", - "link", - "mastercard", - "unionpay", - "unknown", - "visa", - ] - ] + currency: NotRequired[str] """ - Selected network to process this PaymentIntent on. Depends on the available networks of the card attached to the PaymentIntent. Can be only set confirm-time. + Currency. """ - request_decremental_authorization: NotRequired[ - Literal["if_available", "never"] + departure: NotRequired[ + "PaymentIntentCreateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataFerryReservationDetailDeparture" ] """ - Request ability to [decrement the authorization](https://stripe.com/docs/payments/decremental-authorization) for this PaymentIntent. + Departure details. """ - request_extended_authorization: NotRequired[ - Literal["if_available", "never"] + insurances: NotRequired[ + List[ + "PaymentIntentCreateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataFerryReservationDetailInsurance" + ] ] """ - Request ability to [capture beyond the standard authorization validity window](https://stripe.com/docs/payments/extended-authorization) for this PaymentIntent. + List of insurances for this reservation. """ - request_incremental_authorization: NotRequired[ - Literal["if_available", "never"] + passengers: NotRequired[ + List[ + "PaymentIntentCreateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataFerryReservationDetailPassenger" + ] ] """ - Request ability to [increment the authorization](https://stripe.com/docs/payments/incremental-authorization) for this PaymentIntent. - """ - request_multicapture: NotRequired[Literal["if_available", "never"]] - """ - Request ability to make [multiple captures](https://stripe.com/docs/payments/multicapture) for this PaymentIntent. + List of passengers that this reservation applies to. """ - request_overcapture: NotRequired[Literal["if_available", "never"]] + price: NotRequired[int] """ - Request ability to [overcapture](https://stripe.com/docs/payments/overcapture) for this PaymentIntent. + Price in cents. """ - request_partial_authorization: NotRequired[ - Literal["if_available", "never"] + ticket_class: NotRequired[ + Literal["business", "economy", "first_class", "premium_economy"] ] """ - Request partial authorization on this PaymentIntent. + Ticket class. """ - request_three_d_secure: NotRequired[ - Literal["any", "automatic", "challenge"] + + +class PaymentIntentCreateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataFerryReservationDetailArrival( + TypedDict, +): + address: NotRequired[ + "PaymentIntentCreateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataFerryReservationDetailArrivalAddress" ] """ - We strongly recommend that you rely on our SCA Engine to automatically prompt your customers for authentication based on risk level and [other requirements](https://stripe.com/docs/strong-customer-authentication). However, if you wish to request 3D Secure based on logic from your own fraud engine, provide this option. If not provided, this value defaults to `automatic`. Read our guide on [manually requesting 3D Secure](https://stripe.com/docs/payments/3d-secure/authentication-flow#manual-three-ds) for more information on how this configuration interacts with Radar and our SCA Engine. - """ - require_cvc_recollection: NotRequired[bool] + Address of the arrival location. """ - When enabled, using a card that is attached to a customer will require the CVC to be provided again (i.e. using the cvc_token parameter). + arrival_location: NotRequired[str] """ - setup_future_usage: NotRequired[ - "Literal['']|Literal['none', 'off_session', 'on_session']" - ] + Identifier name or reference for the arrival location. """ - Indicates that you intend to make future payments with this PaymentIntent's payment method. - - If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. - If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. - - When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). - If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`. - """ - statement_descriptor_suffix_kana: NotRequired["Literal['']|str"] +class PaymentIntentCreateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataFerryReservationDetailArrivalAddress( + TypedDict, +): + city: NotRequired[str] """ - Provides information about a card payment that customers see on their statements. Concatenated with the Kana prefix (shortened Kana descriptor) or Kana statement descriptor that's set on the account to form the complete statement descriptor. Maximum 22 characters. On card statements, the *concatenation* of both prefix and suffix (including separators) will appear truncated to 22 characters. + The city or town. """ - statement_descriptor_suffix_kanji: NotRequired["Literal['']|str"] + country: NotRequired[str] """ - Provides information about a card payment that customers see on their statements. Concatenated with the Kanji prefix (shortened Kanji descriptor) or Kanji statement descriptor that's set on the account to form the complete statement descriptor. Maximum 17 characters. On card statements, the *concatenation* of both prefix and suffix (including separators) will appear truncated to 17 characters. + The country in ISO 3166-1 alpha-2 format. """ - statement_details: NotRequired[ - "Literal['']|PaymentIntentCreateParamsPaymentMethodOptionsCardStatementDetails" - ] + postal_code: NotRequired[str] """ - Statement details for this payment intent. You can use this to override the merchant details shown on your customers' statements. + The postal code formatted according to country. """ - three_d_secure: NotRequired[ - "PaymentIntentCreateParamsPaymentMethodOptionsCardThreeDSecure" - ] + region: NotRequired[str] """ - If 3D Secure authentication was performed with a third-party provider, - the authentication details to use for this payment. + The state, county, province, or region formatted according to country. """ - - -class PaymentIntentCreateParamsPaymentMethodOptionsCardInstallments(TypedDict): - enabled: NotRequired[bool] + street_address: NotRequired[str] """ - Setting to true enables installments for this PaymentIntent. - This will cause the response to contain a list of available installment plans. - Setting to false will prevent any selected plan from applying to a charge. + Line 1 of the street address. """ - plan: NotRequired[ - "Literal['']|PaymentIntentCreateParamsPaymentMethodOptionsCardInstallmentsPlan" - ] + street_address2: NotRequired[str] """ - The selected installment plan to use for this payment attempt. - This parameter can only be provided during confirmation. + Line 2 of the street address. """ -class PaymentIntentCreateParamsPaymentMethodOptionsCardInstallmentsPlan( +class PaymentIntentCreateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataFerryReservationDetailDeparture( TypedDict, ): - count: NotRequired[int] + address: NotRequired[ + "PaymentIntentCreateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataFerryReservationDetailDepartureAddress" + ] """ - For `fixed_count` installment plans, this is required. It represents the number of installment payments your customer will make to their credit card. + Address of the departure location. """ - interval: NotRequired[Literal["month"]] + departs_at: NotRequired[int] """ - For `fixed_count` installment plans, this is required. It represents the interval between installment payments your customer will make to their credit card. - One of `month`. + Timestamp of departure. """ - type: Literal["bonus", "fixed_count", "revolving"] + departure_location: NotRequired[str] """ - Type of installment plan, one of `fixed_count`, `bonus`, or `revolving`. + Identifier name or reference for the origin location. """ -class PaymentIntentCreateParamsPaymentMethodOptionsCardMandateOptions( +class PaymentIntentCreateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataFerryReservationDetailDepartureAddress( TypedDict, ): - amount: int + city: NotRequired[str] """ - Amount to be charged for future payments. + The city or town. """ - amount_type: Literal["fixed", "maximum"] + country: NotRequired[str] """ - One of `fixed` or `maximum`. If `fixed`, the `amount` param refers to the exact amount to be charged in future payments. If `maximum`, the amount charged can be up to the value passed for the `amount` param. + The country in ISO 3166-1 alpha-2 format. """ - description: NotRequired[str] + postal_code: NotRequired[str] """ - A description of the mandate or subscription that is meant to be displayed to the customer. + The postal code formatted according to country. """ - end_date: NotRequired[int] + region: NotRequired[str] """ - End date of the mandate or subscription. If not provided, the mandate will be active until canceled. If provided, end date should be after start date. + The state, county, province, or region formatted according to country. """ - interval: Literal["day", "month", "sporadic", "week", "year"] + street_address: NotRequired[str] """ - Specifies payment frequency. One of `day`, `week`, `month`, `year`, or `sporadic`. + Line 1 of the street address. """ - interval_count: NotRequired[int] + street_address2: NotRequired[str] """ - The number of intervals between payments. For example, `interval=month` and `interval_count=3` indicates one payment every three months. Maximum of one year interval allowed (1 year, 12 months, or 52 weeks). This parameter is optional when `interval=sporadic`. + Line 2 of the street address. """ - reference: str + + +class PaymentIntentCreateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataFerryReservationDetailInsurance( + TypedDict, +): + currency: NotRequired[str] """ - Unique identifier for the mandate or subscription. + Insurance currency. """ - start_date: int + insurance_company_name: NotRequired[str] """ - Start date of the mandate or subscription. Start date should not be lesser than yesterday. + Name of the company providing the insurance. """ - supported_types: NotRequired[List[Literal["india"]]] + insurance_type: NotRequired[ + Literal["baggage", "bankruptcy", "cancelation", "emergency", "medical"] + ] """ - Specifies the type of mandates supported. Possible values are `india`. + Type of insurance. + """ + price: NotRequired[int] + """ + Price of insurance in cents. """ -class PaymentIntentCreateParamsPaymentMethodOptionsCardStatementDetails( +class PaymentIntentCreateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataFerryReservationDetailPassenger( TypedDict, ): - address: NotRequired[ - "PaymentIntentCreateParamsPaymentMethodOptionsCardStatementDetailsAddress" - ] + family_name: NotRequired[str] """ - Please pass in an address that is within your Stripe user account country + The family name of the person. """ - phone: NotRequired[str] + given_name: NotRequired[str] """ - Phone number (e.g., a toll-free number that customers can call) + The given name of the person. """ -class PaymentIntentCreateParamsPaymentMethodOptionsCardStatementDetailsAddress( +class PaymentIntentCreateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataInsurance( TypedDict, ): - city: NotRequired[str] + currency: NotRequired[str] """ - City, district, suburb, town, or village. + Insurance currency. """ - country: NotRequired[str] + insurance_company_name: NotRequired[str] """ - Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). + Name of the company providing the insurance. """ - line1: NotRequired[str] + insurance_type: NotRequired[ + Literal["bankruptcy", "cancelation", "emergency", "medical"] + ] """ - Address line 1, such as the street, PO Box, or company name. + Type of insurance """ - line2: NotRequired[str] + price: NotRequired[int] """ - Address line 2, such as the apartment, suite, unit, or building. + Price of insurance in cents. """ - postal_code: NotRequired[str] + + +class PaymentIntentCreateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataMarketplaceSeller( + TypedDict, +): + line_item_references: NotRequired[List[str]] """ - ZIP or postal code. + The references to line items for purchases with multiple associated sub-sellers. """ - state: NotRequired[str] + marketplace_seller_address: NotRequired[ + "PaymentIntentCreateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataMarketplaceSellerMarketplaceSellerAddress" + ] """ - State, county, province, or region. + The address of the selling or delivering merchant. """ - - -class PaymentIntentCreateParamsPaymentMethodOptionsCardThreeDSecure(TypedDict): - ares_trans_status: NotRequired[Literal["A", "C", "I", "N", "R", "U", "Y"]] + marketplace_seller_name: NotRequired[str] """ - The `transStatus` returned from the card Issuer's ACS in the ARes. + The name of the marketplace seller. """ - cryptogram: str + marketplace_seller_reference: NotRequired[str] """ - The cryptogram, also known as the "authentication value" (AAV, CAVV or - AEVV). This value is 20 bytes, base64-encoded into a 28-character string. - (Most 3D Secure providers will return the base64-encoded version, which - is what you should specify here.) + The unique identifier for the marketplace seller. """ - electronic_commerce_indicator: NotRequired[ - Literal["01", "02", "05", "06", "07"] + number_of_transactions: NotRequired[int] + """ + The number of transactions the sub-seller completed in the last 12 months. + """ + product_category: NotRequired[ + Literal[ + "accessories", + "appliances", + "apps_and_games", + "arts_crafts_and_sewing", + "automotive", + "baby", + "baby_clothing", + "bags_and_purses", + "beauty", + "books", + "cds_and_vinyl", + "cell_phones_and_accessories", + "collectibles_and_fine_arts", + "digital_music", + "electronics", + "grocery_and_gourmet_food", + "handmade", + "health_and_personal_care", + "home_and_kitchen", + "industrial_and_scientific", + "luggage_and_travel_gear", + "magazine_subscriptions", + "men_clothing", + "musical_instruments", + "office_products", + "patio_lawn_and_garden", + "pet_supplies", + "shoes", + "software", + "sports_and_outdoors", + "tools_and_home_improvement", + "toys_and_games", + "video_games", + "women_clothing", + ] ] """ - The Electronic Commerce Indicator (ECI) is returned by your 3D Secure - provider and indicates what degree of authentication was performed. + The category of the product. """ - exemption_indicator: NotRequired[Literal["low_risk", "none"]] + seller_last_login_at: NotRequired[int] """ - The exemption requested via 3DS and accepted by the issuer at authentication time. + The date when the seller's account with the marketplace was last logged in. """ - network_options: NotRequired[ - "PaymentIntentCreateParamsPaymentMethodOptionsCardThreeDSecureNetworkOptions" + seller_rating: NotRequired[ + Literal["high", "low", "medium", "very_high", "very_low"] ] """ - Network specific 3DS fields. Network specific arguments require an - explicit card brand choice. The parameter `payment_method_options.card.network`` - must be populated accordingly + The current rating of the marketplace seller. If the marketplace uses numeric ranking, map these to the enum values. """ - requestor_challenge_indicator: NotRequired[str] + seller_registered_at: NotRequired[int] """ - The challenge indicator (`threeDSRequestorChallengeInd`) which was requested in the - AReq sent to the card Issuer's ACS. A string containing 2 digits from 01-99. + The date when the seller's account with the marketplace was created. """ - transaction_id: str + seller_updated_at: NotRequired[int] """ - For 3D Secure 1, the XID. For 3D Secure 2, the Directory Server - Transaction ID (dsTransID). + The date when the seller's account with the marketplace was last updated. """ - version: Literal["1.0.2", "2.1.0", "2.2.0"] + shipping_references: NotRequired[List[str]] """ - The version of 3D Secure that was performed. + The references to shipping addresses for purchases with multiple associated sub-sellers. """ - - -class PaymentIntentCreateParamsPaymentMethodOptionsCardThreeDSecureNetworkOptions( - TypedDict, -): - cartes_bancaires: NotRequired[ - "PaymentIntentCreateParamsPaymentMethodOptionsCardThreeDSecureNetworkOptionsCartesBancaires" - ] + volume_of_transactions: NotRequired[int] """ - Cartes Bancaires-specific 3DS fields. + The accumulated amount of sales transactions made by the sub-merchant or sub-seller within the past 12 months in the payment currency. These transactions are in minor currency units. """ -class PaymentIntentCreateParamsPaymentMethodOptionsCardThreeDSecureNetworkOptionsCartesBancaires( +class PaymentIntentCreateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataMarketplaceSellerMarketplaceSellerAddress( TypedDict, ): - cb_avalgo: Literal["0", "1", "2", "3", "4", "A"] + city: NotRequired[str] """ - The cryptogram calculation algorithm used by the card Issuer's ACS - to calculate the Authentication cryptogram. Also known as `cavvAlgorithm`. - messageExtension: CB-AVALGO + The city or town. """ - cb_exemption: NotRequired[str] + country: NotRequired[str] """ - The exemption indicator returned from Cartes Bancaires in the ARes. - message extension: CB-EXEMPTION; string (4 characters) - This is a 3 byte bitmap (low significant byte first and most significant - bit first) that has been Base64 encoded + The country in ISO 3166-1 alpha-2 format. """ - cb_score: NotRequired[int] + postal_code: NotRequired[str] """ - The risk score returned from Cartes Bancaires in the ARes. - message extension: CB-SCORE; numeric value 0-99 + The postal code formatted according to country. """ - - -class PaymentIntentCreateParamsPaymentMethodOptionsCardPresent(TypedDict): - request_extended_authorization: NotRequired[bool] + region: NotRequired[str] """ - Request ability to capture this payment beyond the standard [authorization validity window](https://stripe.com/docs/terminal/features/extended-authorizations#authorization-validity) + The state, county, province, or region formatted according to country. """ - request_incremental_authorization_support: NotRequired[bool] + street_address: NotRequired[str] """ - Request ability to [increment](https://stripe.com/docs/terminal/features/incremental-authorizations) this PaymentIntent if the combination of MCC and card brand is eligible. Check [incremental_authorization_supported](https://stripe.com/docs/api/charges/object#charge_object-payment_method_details-card_present-incremental_authorization_supported) in the [Confirm](https://stripe.com/docs/api/payment_intents/confirm) response to verify support. + Line 1 of the street address. """ - routing: NotRequired[ - "PaymentIntentCreateParamsPaymentMethodOptionsCardPresentRouting" - ] + street_address2: NotRequired[str] """ - Network routing priority on co-branded EMV cards supporting domestic debit and international card schemes. + Line 2 of the street address. """ -class PaymentIntentCreateParamsPaymentMethodOptionsCardPresentRouting( +class PaymentIntentCreateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataRoundTripReservationDetail( TypedDict, ): - requested_priority: NotRequired[Literal["domestic", "international"]] + affiliate_name: NotRequired[str] """ - Routing requested priority + Name of associated or partner company for the service. """ - - -class PaymentIntentCreateParamsPaymentMethodOptionsCashapp(TypedDict): - capture_method: NotRequired["Literal['']|Literal['manual']"] + arrival: NotRequired[ + "PaymentIntentCreateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataRoundTripReservationDetailArrival" + ] """ - Controls when the funds are captured from the customer's account. - - If provided, this parameter overrides the behavior of the top-level [capture_method](https://docs.stripe.com/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type. - - If `capture_method` is already set on the PaymentIntent, providing an empty value for this parameter unsets the stored value for this payment method type. + Arrival details. """ - setup_future_usage: NotRequired[ - "Literal['']|Literal['none', 'off_session', 'on_session']" + carrier_name: NotRequired[str] + """ + Name of transportation company. + """ + currency: NotRequired[str] + """ + Currency. + """ + departure: NotRequired[ + "PaymentIntentCreateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataRoundTripReservationDetailDeparture" ] """ - Indicates that you intend to make future payments with this PaymentIntent's payment method. - - If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. - - If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. - - When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). - - If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`. + Departure details. """ - - -class PaymentIntentCreateParamsPaymentMethodOptionsCrypto(TypedDict): - setup_future_usage: NotRequired[Literal["none"]] + insurances: NotRequired[ + List[ + "PaymentIntentCreateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataRoundTripReservationDetailInsurance" + ] + ] """ - Indicates that you intend to make future payments with this PaymentIntent's payment method. - - If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. - - If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. - - When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). - - If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`. + List of insurances for this reservation. """ - - -class PaymentIntentCreateParamsPaymentMethodOptionsCustomerBalance(TypedDict): - bank_transfer: NotRequired[ - "PaymentIntentCreateParamsPaymentMethodOptionsCustomerBalanceBankTransfer" + passengers: NotRequired[ + List[ + "PaymentIntentCreateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataRoundTripReservationDetailPassenger" + ] ] """ - Configuration for the bank transfer funding type, if the `funding_type` is set to `bank_transfer`. + List of passengers that this reservation applies to. """ - funding_type: NotRequired[Literal["bank_transfer"]] + price: NotRequired[int] """ - The funding method type to be used when there are not enough funds in the customer balance. Permitted values include: `bank_transfer`. + Price in cents. """ - setup_future_usage: NotRequired[Literal["none"]] + ticket_class: NotRequired[ + Literal["business", "economy", "first_class", "premium_economy"] + ] """ - Indicates that you intend to make future payments with this PaymentIntent's payment method. - - If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. - - If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. - - When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). - - If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`. + Ticket class. """ -class PaymentIntentCreateParamsPaymentMethodOptionsCustomerBalanceBankTransfer( +class PaymentIntentCreateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataRoundTripReservationDetailArrival( TypedDict, ): - eu_bank_transfer: NotRequired[ - "PaymentIntentCreateParamsPaymentMethodOptionsCustomerBalanceBankTransferEuBankTransfer" - ] - """ - Configuration for the eu_bank_transfer funding type. - """ - requested_address_types: NotRequired[ - List[ - Literal[ - "aba", "iban", "sepa", "sort_code", "spei", "swift", "zengin" - ] - ] + address: NotRequired[ + "PaymentIntentCreateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataRoundTripReservationDetailArrivalAddress" ] """ - List of address types that should be returned in the financial_addresses response. If not specified, all valid types will be returned. - - Permitted values include: `sort_code`, `zengin`, `iban`, or `spei`. + Address of the arrival location. """ - type: Literal[ - "eu_bank_transfer", - "gb_bank_transfer", - "jp_bank_transfer", - "mx_bank_transfer", - "us_bank_transfer", - ] + arrival_location: NotRequired[str] """ - The list of bank transfer types that this PaymentIntent is allowed to use for funding Permitted values include: `eu_bank_transfer`, `gb_bank_transfer`, `jp_bank_transfer`, `mx_bank_transfer`, or `us_bank_transfer`. + Identifier name or reference for the arrival location. """ -class PaymentIntentCreateParamsPaymentMethodOptionsCustomerBalanceBankTransferEuBankTransfer( +class PaymentIntentCreateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataRoundTripReservationDetailArrivalAddress( TypedDict, ): - country: str + city: NotRequired[str] """ - The desired country code of the bank account information. Permitted values include: `BE`, `DE`, `ES`, `FR`, `IE`, or `NL`. + The city or town. """ - - -class PaymentIntentCreateParamsPaymentMethodOptionsEps(TypedDict): - setup_future_usage: NotRequired[Literal["none"]] + country: NotRequired[str] """ - Indicates that you intend to make future payments with this PaymentIntent's payment method. - - If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. - - If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. - - When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). - - If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`. + The country in ISO 3166-1 alpha-2 format. """ - - -class PaymentIntentCreateParamsPaymentMethodOptionsFpx(TypedDict): - setup_future_usage: NotRequired[Literal["none"]] + postal_code: NotRequired[str] """ - Indicates that you intend to make future payments with this PaymentIntent's payment method. - - If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. - - If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. - - When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). - - If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`. + The postal code formatted according to country. """ - - -class PaymentIntentCreateParamsPaymentMethodOptionsGiropay(TypedDict): - setup_future_usage: NotRequired[Literal["none"]] + region: NotRequired[str] """ - Indicates that you intend to make future payments with this PaymentIntent's payment method. - - If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. - - If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. - - When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). - - If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`. + The state, county, province, or region formatted according to country. """ - - -class PaymentIntentCreateParamsPaymentMethodOptionsGopay(TypedDict): - setup_future_usage: NotRequired[Literal["none", "off_session"]] + street_address: NotRequired[str] """ - Indicates that you intend to make future payments with this PaymentIntent's payment method. - - If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. - - If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. - - When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). - - If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`. + Line 1 of the street address. """ - - -class PaymentIntentCreateParamsPaymentMethodOptionsGrabpay(TypedDict): - setup_future_usage: NotRequired[Literal["none"]] + street_address2: NotRequired[str] + """ + Line 2 of the street address. """ - Indicates that you intend to make future payments with this PaymentIntent's payment method. - - If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. - - If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. - When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). - If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`. +class PaymentIntentCreateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataRoundTripReservationDetailDeparture( + TypedDict, +): + address: NotRequired[ + "PaymentIntentCreateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataRoundTripReservationDetailDepartureAddress" + ] + """ + Address of the departure location. + """ + departs_at: NotRequired[int] + """ + Timestamp of departure. + """ + departure_location: NotRequired[str] + """ + Identifier name or reference for the origin location. """ -class PaymentIntentCreateParamsPaymentMethodOptionsIdBankTransfer(TypedDict): - expires_after: NotRequired[int] +class PaymentIntentCreateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataRoundTripReservationDetailDepartureAddress( + TypedDict, +): + city: NotRequired[str] """ - The UNIX timestamp until which the virtual bank account is valid. Permitted range is from 5 minutes from now until 31 days from now. If unset, it defaults to 3 days from now. + The city or town. """ - expires_at: NotRequired[int] + country: NotRequired[str] """ - The UNIX timestamp until which the virtual bank account is valid. Permitted range is from now until 30 days from now. If unset, it defaults to 1 days from now. + The country in ISO 3166-1 alpha-2 format. """ - setup_future_usage: NotRequired[Literal["none"]] + postal_code: NotRequired[str] """ - Indicates that you intend to make future payments with this PaymentIntent's payment method. - - If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. - - If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. - - When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). - - If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`. + The postal code formatted according to country. + """ + region: NotRequired[str] + """ + The state, county, province, or region formatted according to country. + """ + street_address: NotRequired[str] + """ + Line 1 of the street address. + """ + street_address2: NotRequired[str] + """ + Line 2 of the street address. """ -class PaymentIntentCreateParamsPaymentMethodOptionsIdeal(TypedDict): - setup_future_usage: NotRequired[ - "Literal['']|Literal['none', 'off_session']" +class PaymentIntentCreateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataRoundTripReservationDetailInsurance( + TypedDict, +): + currency: NotRequired[str] + """ + Insurance currency. + """ + insurance_company_name: NotRequired[str] + """ + Name of the company providing the insurance. + """ + insurance_type: NotRequired[ + Literal["baggage", "bankruptcy", "cancelation", "emergency", "medical"] ] """ - Indicates that you intend to make future payments with this PaymentIntent's payment method. - - If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. - - If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. - - When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). - - If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`. + Type of insurance. + """ + price: NotRequired[int] + """ + Price of insurance in cents. """ -class PaymentIntentCreateParamsPaymentMethodOptionsInteracPresent(TypedDict): - pass - - -class PaymentIntentCreateParamsPaymentMethodOptionsKakaoPay(TypedDict): - capture_method: NotRequired["Literal['']|Literal['manual']"] +class PaymentIntentCreateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataRoundTripReservationDetailPassenger( + TypedDict, +): + family_name: NotRequired[str] + """ + The family name of the person. + """ + given_name: NotRequired[str] + """ + The given name of the person. """ - Controls when the funds are captured from the customer's account. - If provided, this parameter overrides the behavior of the top-level [capture_method](https://docs.stripe.com/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type. - If `capture_method` is already set on the PaymentIntent, providing an empty value for this parameter unsets the stored value for this payment method type. +class PaymentIntentCreateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataTrainReservationDetail( + TypedDict, +): + affiliate_name: NotRequired[str] """ - setup_future_usage: NotRequired[ - "Literal['']|Literal['none', 'off_session']" + Name of associated or partner company for the service. + """ + arrival: NotRequired[ + "PaymentIntentCreateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataTrainReservationDetailArrival" ] """ - Indicates that you intend to make future payments with this PaymentIntent's payment method. - - If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. - - If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. - - When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). + Arrival details. """ - - -class PaymentIntentCreateParamsPaymentMethodOptionsKlarna(TypedDict): - capture_method: NotRequired["Literal['']|Literal['manual']"] + carrier_name: NotRequired[str] """ - Controls when the funds are captured from the customer's account. - - If provided, this parameter overrides the behavior of the top-level [capture_method](https://docs.stripe.com/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type. - - If `capture_method` is already set on the PaymentIntent, providing an empty value for this parameter unsets the stored value for this payment method type. + Name of transportation company. """ - on_demand: NotRequired[ - "PaymentIntentCreateParamsPaymentMethodOptionsKlarnaOnDemand" + currency: NotRequired[str] + """ + Currency. + """ + departure: NotRequired[ + "PaymentIntentCreateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataTrainReservationDetailDeparture" ] """ - On-demand details if setting up or charging an on-demand payment. + Departure details. """ - preferred_locale: NotRequired[ - Literal[ - "cs-CZ", - "da-DK", - "de-AT", - "de-CH", - "de-DE", - "el-GR", - "en-AT", - "en-AU", - "en-BE", - "en-CA", - "en-CH", - "en-CZ", - "en-DE", - "en-DK", - "en-ES", - "en-FI", - "en-FR", - "en-GB", - "en-GR", - "en-IE", - "en-IT", - "en-NL", - "en-NO", - "en-NZ", - "en-PL", - "en-PT", - "en-RO", - "en-SE", - "en-US", - "es-ES", - "es-US", - "fi-FI", - "fr-BE", - "fr-CA", - "fr-CH", - "fr-FR", - "it-CH", - "it-IT", - "nb-NO", - "nl-BE", - "nl-NL", - "pl-PL", - "pt-PT", - "ro-RO", - "sv-FI", - "sv-SE", + insurances: NotRequired[ + List[ + "PaymentIntentCreateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataTrainReservationDetailInsurance" ] ] """ - Preferred language of the Klarna authorization page that the customer is redirected to + List of insurances for this reservation. """ - setup_future_usage: NotRequired[ - Literal["none", "off_session", "on_session"] + passengers: NotRequired[ + List[ + "PaymentIntentCreateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataTrainReservationDetailPassenger" + ] ] """ - Indicates that you intend to make future payments with this PaymentIntent's payment method. + List of passengers that this reservation applies to. + """ + price: NotRequired[int] + """ + Price in cents. + """ + ticket_class: NotRequired[ + Literal["business", "economy", "first_class", "premium_economy"] + ] + """ + Ticket class. + """ - If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. - If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. +class PaymentIntentCreateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataTrainReservationDetailArrival( + TypedDict, +): + address: NotRequired[ + "PaymentIntentCreateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataTrainReservationDetailArrivalAddress" + ] + """ + Address of the arrival location. + """ + arrival_location: NotRequired[str] + """ + Identifier name or reference for the arrival location. + """ - When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). - If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`. +class PaymentIntentCreateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataTrainReservationDetailArrivalAddress( + TypedDict, +): + city: NotRequired[str] """ - subscriptions: NotRequired[ - "Literal['']|List[PaymentIntentCreateParamsPaymentMethodOptionsKlarnaSubscription]" + The city or town. + """ + country: NotRequired[str] + """ + The country in ISO 3166-1 alpha-2 format. + """ + postal_code: NotRequired[str] + """ + The postal code formatted according to country. + """ + region: NotRequired[str] + """ + The state, county, province, or region formatted according to country. + """ + street_address: NotRequired[str] + """ + Line 1 of the street address. + """ + street_address2: NotRequired[str] + """ + Line 2 of the street address. + """ + + +class PaymentIntentCreateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataTrainReservationDetailDeparture( + TypedDict, +): + address: NotRequired[ + "PaymentIntentCreateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataTrainReservationDetailDepartureAddress" ] """ - Subscription details if setting up or charging a subscription. + Address of the departure location. + """ + departs_at: NotRequired[int] + """ + Timestamp of departure. + """ + departure_location: NotRequired[str] + """ + Identifier name or reference for the origin location. """ -class PaymentIntentCreateParamsPaymentMethodOptionsKlarnaOnDemand(TypedDict): - average_amount: NotRequired[int] +class PaymentIntentCreateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataTrainReservationDetailDepartureAddress( + TypedDict, +): + city: NotRequired[str] """ - Your average amount value. You can use a value across your customer base, or segment based on customer type, country, etc. + The city or town. """ - maximum_amount: NotRequired[int] + country: NotRequired[str] """ - The maximum value you may charge a customer per purchase. You can use a value across your customer base, or segment based on customer type, country, etc. + The country in ISO 3166-1 alpha-2 format. """ - minimum_amount: NotRequired[int] + postal_code: NotRequired[str] """ - The lowest or minimum value you may charge a customer per purchase. You can use a value across your customer base, or segment based on customer type, country, etc. + The postal code formatted according to country. """ - purchase_interval: NotRequired[Literal["day", "month", "week", "year"]] + region: NotRequired[str] """ - Interval at which the customer is making purchases + The state, county, province, or region formatted according to country. """ - purchase_interval_count: NotRequired[int] + street_address: NotRequired[str] """ - The number of `purchase_interval` between charges + Line 1 of the street address. + """ + street_address2: NotRequired[str] + """ + Line 2 of the street address. """ -class PaymentIntentCreateParamsPaymentMethodOptionsKlarnaSubscription( +class PaymentIntentCreateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataTrainReservationDetailInsurance( TypedDict, ): - interval: Literal["day", "month", "week", "year"] + currency: NotRequired[str] """ - Unit of time between subscription charges. + Insurance currency. """ - interval_count: NotRequired[int] + insurance_company_name: NotRequired[str] """ - The number of intervals (specified in the `interval` attribute) between subscription charges. For example, `interval=month` and `interval_count=3` charges every 3 months. + Name of the company providing the insurance. """ - name: NotRequired[str] + insurance_type: NotRequired[ + Literal["baggage", "bankruptcy", "cancelation", "emergency", "medical"] + ] """ - Name for subscription. + Type of insurance. """ - next_billing: NotRequired[ - "PaymentIntentCreateParamsPaymentMethodOptionsKlarnaSubscriptionNextBilling" - ] + price: NotRequired[int] """ - Describes the upcoming charge for this subscription. + Price of insurance in cents. """ - reference: str + + +class PaymentIntentCreateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataTrainReservationDetailPassenger( + TypedDict, +): + family_name: NotRequired[str] """ - A non-customer-facing reference to correlate subscription charges in the Klarna app. Use a value that persists across subscription charges. + The family name of the person. + """ + given_name: NotRequired[str] + """ + The given name of the person. """ -class PaymentIntentCreateParamsPaymentMethodOptionsKlarnaSubscriptionNextBilling( +class PaymentIntentCreateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataVoucher( TypedDict, ): - amount: int + affiliate_name: NotRequired[str] """ - The amount of the next charge for the subscription. + Name of associated or partner company for this voucher. """ - date: str + ends_at: NotRequired[int] """ - The date of the next charge for the subscription in YYYY-MM-DD format. + The voucher validity end time. + """ + starts_at: NotRequired[int] + """ + The voucher validity start time. + """ + voucher_company: NotRequired[str] + """ + The issuer or provider of this voucher. + """ + voucher_name: NotRequired[str] + """ + The name or reference to identify the voucher. + """ + voucher_type: NotRequired[ + Literal[ + "digital_product", + "discount", + "gift_card", + "physical_product", + "services", + ] + ] + """ + The type of this voucher. """ @@ -3994,7 +6178,7 @@ class PaymentIntentCreateParamsPaymentMethodOptionsPaytoMandateOptions( """ amount_type: NotRequired[Literal["fixed", "maximum"]] """ - The type of amount that will be collected. The amount charged must be exact or up to the value of `amount` param for `fixed` or `maximum` type respectively. + The type of amount that will be collected. The amount charged must be exact or up to the value of `amount` param for `fixed` or `maximum` type respectively. Defaults to `maximum`. """ end_date: NotRequired[str] """ @@ -4013,7 +6197,7 @@ class PaymentIntentCreateParamsPaymentMethodOptionsPaytoMandateOptions( ] ] """ - The periodicity at which payments will be collected. + The periodicity at which payments will be collected. Defaults to `adhoc`. """ payments_per_period: NotRequired[int] """ @@ -4035,7 +6219,7 @@ class PaymentIntentCreateParamsPaymentMethodOptionsPaytoMandateOptions( ] ] """ - The purpose for which payments are made. Defaults to retail. + The purpose for which payments are made. Has a default value based on your merchant category code. """ @@ -4558,10 +6742,3 @@ class PaymentIntentCreateParamsTransferData(TypedDict): to the destination account. The ID of the resulting transfer will be returned on the successful charge's `transfer` field. """ - - -class PaymentIntentCreateParamsAllocatedFunds(TypedDict): - enabled: NotRequired[bool] - """ - Whether Allocated Funds creation is enabled for this PaymentIntent. - """ diff --git a/stripe/params/_payment_intent_increment_authorization_params.py b/stripe/params/_payment_intent_increment_authorization_params.py index 65d5cc90b..b3ea5bca7 100644 --- a/stripe/params/_payment_intent_increment_authorization_params.py +++ b/stripe/params/_payment_intent_increment_authorization_params.py @@ -64,7 +64,9 @@ class PaymentIntentIncrementAuthorizationParams(RequestOptions): class PaymentIntentIncrementAuthorizationParamsAmountDetails(TypedDict): discount_amount: NotRequired["Literal['']|int"] """ - The total discount applied on the transaction. + The total discount applied on the transaction represented in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal). An integer greater than 0. + + This field is mutually exclusive with the `amount_details[line_items][#][discount_amount]` field. """ line_items: NotRequired[ "Literal['']|List[PaymentIntentIncrementAuthorizationParamsAmountDetailsLineItem]" @@ -91,7 +93,9 @@ class PaymentIntentIncrementAuthorizationParamsAmountDetailsLineItem( ): discount_amount: NotRequired[int] """ - The amount an item was discounted for. Positive integer. + The discount applied on this line item represented in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal). An integer greater than 0. + + This field is mutually exclusive with the `amount_details[discount_amount]` field. """ payment_method_options: NotRequired[ "PaymentIntentIncrementAuthorizationParamsAmountDetailsLineItemPaymentMethodOptions" @@ -101,15 +105,17 @@ class PaymentIntentIncrementAuthorizationParamsAmountDetailsLineItem( """ product_code: NotRequired[str] """ - Unique identifier of the product. At most 12 characters long. + The product code of the line item, such as an SKU. Required for L3 rates. At most 12 characters long. """ product_name: str """ - Name of the product. At most 100 characters long. + The product name of the line item. Required for L3 rates. At most 1024 characters long. + + For Cards, this field is truncated to 26 alphanumeric characters before being sent to the card networks. For Paypal, this field is truncated to 127 characters. """ quantity: int """ - Number of items of the product. Positive integer. + The quantity of items. Required for L3 rates. An integer greater than 0. """ tax: NotRequired[ "PaymentIntentIncrementAuthorizationParamsAmountDetailsLineItemTax" @@ -119,7 +125,7 @@ class PaymentIntentIncrementAuthorizationParamsAmountDetailsLineItem( """ unit_cost: int """ - Cost of the product. Non-negative integer. + The unit cost of the line item represented in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal). Required for L3 rates. An integer greater than or equal to 0. """ unit_of_measure: NotRequired[str] """ @@ -219,7 +225,9 @@ class PaymentIntentIncrementAuthorizationParamsAmountDetailsLineItemTax( ): total_tax_amount: int """ - The total tax on an item. Non-negative integer. + The total amount of tax on a single line item represented in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal). Required for L3 rates. An integer greater than or equal to 0. + + This field is mutually exclusive with the `amount_details[tax][total_tax_amount]` field. """ @@ -228,22 +236,24 @@ class PaymentIntentIncrementAuthorizationParamsAmountDetailsShipping( ): amount: NotRequired["Literal['']|int"] """ - Portion of the amount that is for shipping. + If a physical good is being shipped, the cost of shipping represented in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal). An integer greater than or equal to 0. """ from_postal_code: NotRequired["Literal['']|str"] """ - The postal code that represents the shipping source. + If a physical good is being shipped, the postal code of where it is being shipped from. At most 10 alphanumeric characters long, hyphens are allowed. """ to_postal_code: NotRequired["Literal['']|str"] """ - The postal code that represents the shipping destination. + If a physical good is being shipped, the postal code of where it is being shipped to. At most 10 alphanumeric characters long, hyphens are allowed. """ class PaymentIntentIncrementAuthorizationParamsAmountDetailsTax(TypedDict): total_tax_amount: int """ - Total portion of the amount that is for tax. + The total amount of tax on the transaction represented in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal). Required for L2 rates. An integer greater than or equal to 0. + + This field is mutually exclusive with the `amount_details[line_items][#][tax][total_tax_amount]` field. """ @@ -271,11 +281,17 @@ class PaymentIntentIncrementAuthorizationParamsHooksInputsTax(TypedDict): class PaymentIntentIncrementAuthorizationParamsPaymentDetails(TypedDict): customer_reference: NotRequired["Literal['']|str"] """ - Some customers might be required by their company or organization to provide this information. If so, provide this value. Otherwise you can ignore this field. + A unique value to identify the customer. This field is available only for card payments. + + This field is truncated to 25 alphanumeric characters, excluding spaces, before being sent to card networks. """ order_reference: NotRequired["Literal['']|str"] """ - A unique value assigned by the business to identify the transaction. + A unique value assigned by the business to identify the transaction. Required for L2 and L3 rates. + + Required when the Payment Method Types array contains `card`, including when [automatic_payment_methods.enabled](https://docs.stripe.com/api/payment_intents/create#create_payment_intent-automatic_payment_methods-enabled) is set to `true`. + + For Cards, this field is truncated to 25 alphanumeric characters, excluding spaces, before being sent to card networks. For Klarna, this field is truncated to 255 characters and is visible to customers when they view the order in the Klarna app. """ diff --git a/stripe/params/_payment_intent_modify_params.py b/stripe/params/_payment_intent_modify_params.py index 9b450c873..b140dc564 100644 --- a/stripe/params/_payment_intent_modify_params.py +++ b/stripe/params/_payment_intent_modify_params.py @@ -6,6 +6,10 @@ class PaymentIntentModifyParams(RequestOptions): + allocated_funds: NotRequired["PaymentIntentModifyParamsAllocatedFunds"] + """ + Allocated Funds configuration for this PaymentIntent. + """ amount: NotRequired[int] """ Amount intended to be collected by this PaymentIntent. A positive integer representing how much to charge in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal) (e.g., 100 cents to charge $1.00 or 100 to charge ¥100, a zero-decimal currency). The minimum amount is $0.50 US or [equivalent in charge currency](https://stripe.com/docs/currencies#minimum-and-maximum-charge-amounts). The amount value supports up to eight digits (e.g., a value of 99999999 for a USD charge of $999,999.99). @@ -145,16 +149,21 @@ class PaymentIntentModifyParams(RequestOptions): """ A string that identifies the resulting payment as part of a group. You can only provide `transfer_group` if it hasn't been set. Learn more about the [use case for connected accounts](https://stripe.com/docs/payments/connected-accounts). """ - allocated_funds: NotRequired["PaymentIntentModifyParamsAllocatedFunds"] + + +class PaymentIntentModifyParamsAllocatedFunds(TypedDict): + enabled: NotRequired[bool] """ - Allocated Funds configuration for this PaymentIntent. + Whether Allocated Funds creation is enabled for this PaymentIntent. """ class PaymentIntentModifyParamsAmountDetails(TypedDict): discount_amount: NotRequired["Literal['']|int"] """ - The total discount applied on the transaction. + The total discount applied on the transaction represented in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal). An integer greater than 0. + + This field is mutually exclusive with the `amount_details[line_items][#][discount_amount]` field. """ line_items: NotRequired[ "Literal['']|List[PaymentIntentModifyParamsAmountDetailsLineItem]" @@ -177,7 +186,9 @@ class PaymentIntentModifyParamsAmountDetails(TypedDict): class PaymentIntentModifyParamsAmountDetailsLineItem(TypedDict): discount_amount: NotRequired[int] """ - The amount an item was discounted for. Positive integer. + The discount applied on this line item represented in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal). An integer greater than 0. + + This field is mutually exclusive with the `amount_details[discount_amount]` field. """ payment_method_options: NotRequired[ "PaymentIntentModifyParamsAmountDetailsLineItemPaymentMethodOptions" @@ -187,15 +198,17 @@ class PaymentIntentModifyParamsAmountDetailsLineItem(TypedDict): """ product_code: NotRequired[str] """ - Unique identifier of the product. At most 12 characters long. + The product code of the line item, such as an SKU. Required for L3 rates. At most 12 characters long. """ product_name: str """ - Name of the product. At most 100 characters long. + The product name of the line item. Required for L3 rates. At most 1024 characters long. + + For Cards, this field is truncated to 26 alphanumeric characters before being sent to the card networks. For Paypal, this field is truncated to 127 characters. """ quantity: int """ - Number of items of the product. Positive integer. + The quantity of items. Required for L3 rates. An integer greater than 0. """ tax: NotRequired["PaymentIntentModifyParamsAmountDetailsLineItemTax"] """ @@ -203,7 +216,7 @@ class PaymentIntentModifyParamsAmountDetailsLineItem(TypedDict): """ unit_cost: int """ - Cost of the product. Non-negative integer. + The unit cost of the line item represented in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal). Required for L3 rates. An integer greater than or equal to 0. """ unit_of_measure: NotRequired[str] """ @@ -301,29 +314,33 @@ class PaymentIntentModifyParamsAmountDetailsLineItemPaymentMethodOptionsPaypal( class PaymentIntentModifyParamsAmountDetailsLineItemTax(TypedDict): total_tax_amount: int """ - The total tax on an item. Non-negative integer. + The total amount of tax on a single line item represented in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal). Required for L3 rates. An integer greater than or equal to 0. + + This field is mutually exclusive with the `amount_details[tax][total_tax_amount]` field. """ class PaymentIntentModifyParamsAmountDetailsShipping(TypedDict): amount: NotRequired["Literal['']|int"] """ - Portion of the amount that is for shipping. + If a physical good is being shipped, the cost of shipping represented in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal). An integer greater than or equal to 0. """ from_postal_code: NotRequired["Literal['']|str"] """ - The postal code that represents the shipping source. + If a physical good is being shipped, the postal code of where it is being shipped from. At most 10 alphanumeric characters long, hyphens are allowed. """ to_postal_code: NotRequired["Literal['']|str"] """ - The postal code that represents the shipping destination. + If a physical good is being shipped, the postal code of where it is being shipped to. At most 10 alphanumeric characters long, hyphens are allowed. """ class PaymentIntentModifyParamsAmountDetailsTax(TypedDict): total_tax_amount: int """ - Total portion of the amount that is for tax. + The total amount of tax on the transaction represented in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal). Required for L2 rates. An integer greater than or equal to 0. + + This field is mutually exclusive with the `amount_details[line_items][#][tax][total_tax_amount]` field. """ @@ -388,9 +405,17 @@ class PaymentIntentModifyParamsPaymentDetails(TypedDict): """ Car rental details for this PaymentIntent. """ + car_rental_data: NotRequired[ + "Literal['']|List[PaymentIntentModifyParamsPaymentDetailsCarRentalDatum]" + ] + """ + Car rental data for this PaymentIntent. + """ customer_reference: NotRequired["Literal['']|str"] """ - Some customers might be required by their company or organization to provide this information. If so, provide this value. Otherwise you can ignore this field. + A unique value to identify the customer. This field is available only for card payments. + + This field is truncated to 25 alphanumeric characters, excluding spaces, before being sent to card networks. """ event_details: NotRequired[ "PaymentIntentModifyParamsPaymentDetailsEventDetails" @@ -402,13 +427,29 @@ class PaymentIntentModifyParamsPaymentDetails(TypedDict): """ Flight reservation details for this PaymentIntent """ + flight_data: NotRequired[ + "Literal['']|List[PaymentIntentModifyParamsPaymentDetailsFlightDatum]" + ] + """ + Flight data for this PaymentIntent. + """ lodging: NotRequired["PaymentIntentModifyParamsPaymentDetailsLodging"] """ Lodging reservation details for this PaymentIntent """ + lodging_data: NotRequired[ + "Literal['']|List[PaymentIntentModifyParamsPaymentDetailsLodgingDatum]" + ] + """ + Lodging data for this PaymentIntent. + """ order_reference: NotRequired["Literal['']|str"] """ - A unique value assigned by the business to identify the transaction. + A unique value assigned by the business to identify the transaction. Required for L2 and L3 rates. + + Required when the Payment Method Types array contains `card`, including when [automatic_payment_methods.enabled](https://docs.stripe.com/api/payment_intents/create#create_payment_intent-automatic_payment_methods-enabled) is set to `true`. + + For Cards, this field is truncated to 25 alphanumeric characters, excluding spaces, before being sent to card networks. For Klarna, this field is truncated to 255 characters and is visible to customers when they view the order in the Klarna app. """ subscription: NotRequired[ "PaymentIntentModifyParamsPaymentDetailsSubscription" @@ -672,344 +713,483 @@ class PaymentIntentModifyParamsPaymentDetailsCarRentalReturnAddress(TypedDict): """ -class PaymentIntentModifyParamsPaymentDetailsEventDetails(TypedDict): - access_controlled_venue: NotRequired[bool] +class PaymentIntentModifyParamsPaymentDetailsCarRentalDatum(TypedDict): + affiliate: NotRequired[ + "PaymentIntentModifyParamsPaymentDetailsCarRentalDatumAffiliate" + ] """ - Indicates if the tickets are digitally checked when entering the venue. + Affiliate (such as travel agency) details for the rental. """ - address: NotRequired[ - "PaymentIntentModifyParamsPaymentDetailsEventDetailsAddress" - ] + booking_number: NotRequired[str] """ - The event location's address. + Booking confirmation number for the car rental. """ - affiliate: NotRequired[ - "PaymentIntentModifyParamsPaymentDetailsEventDetailsAffiliate" - ] + carrier_name: NotRequired[str] """ - Affiliate details for this purchase. + Name of the car rental company. """ - company: NotRequired[str] + customer_service_phone_number: NotRequired[str] """ - The name of the company + Customer service phone number for the car rental company. """ - delivery: NotRequired[ - "PaymentIntentModifyParamsPaymentDetailsEventDetailsDelivery" + days_rented: NotRequired[int] + """ + Number of days the car is being rented. + """ + distance: NotRequired[ + "PaymentIntentModifyParamsPaymentDetailsCarRentalDatumDistance" ] """ - Delivery details for this purchase. + Distance details for the rental. """ - ends_at: NotRequired[int] + drivers: NotRequired[ + List["PaymentIntentModifyParamsPaymentDetailsCarRentalDatumDriver"] + ] """ - Event end time. Measured in seconds since the Unix epoch. + List of drivers for the rental. """ - genre: NotRequired[str] + drop_off: "PaymentIntentModifyParamsPaymentDetailsCarRentalDatumDropOff" """ - Type of the event entertainment (concert, sports event etc) + Drop-off location details. """ - name: str + insurances: NotRequired[ + List["PaymentIntentModifyParamsPaymentDetailsCarRentalDatumInsurance"] + ] """ - The name of the event. + Insurance details for the rental. """ - starts_at: NotRequired[int] + no_show_indicator: NotRequired[bool] """ - Event start time. Measured in seconds since the Unix epoch. + Indicates if the customer was a no-show. """ - - -class PaymentIntentModifyParamsPaymentDetailsEventDetailsAddress(TypedDict): - city: NotRequired[str] + pickup: "PaymentIntentModifyParamsPaymentDetailsCarRentalDatumPickup" """ - City, district, suburb, town, or village. + Pickup location details. """ - country: NotRequired[str] + renter_name: NotRequired[str] """ - Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). + Name of the person renting the vehicle. """ - line1: NotRequired[str] + total: "PaymentIntentModifyParamsPaymentDetailsCarRentalDatumTotal" """ - Address line 1, such as the street, PO Box, or company name. + Total cost breakdown for the rental. """ - line2: NotRequired[str] + vehicle: NotRequired[ + "PaymentIntentModifyParamsPaymentDetailsCarRentalDatumVehicle" + ] """ - Address line 2, such as the apartment, suite, unit, or building. + Vehicle details for the rental. """ - postal_code: NotRequired[str] + + +class PaymentIntentModifyParamsPaymentDetailsCarRentalDatumAffiliate( + TypedDict +): + code: NotRequired[str] """ - ZIP or postal code. + Affiliate partner code. """ - state: NotRequired[str] + name: NotRequired[str] """ - State, county, province, or region. + Name of affiliate partner. """ -class PaymentIntentModifyParamsPaymentDetailsEventDetailsAffiliate(TypedDict): - name: str +class PaymentIntentModifyParamsPaymentDetailsCarRentalDatumDistance(TypedDict): + amount: int """ - The name of the affiliate that originated the purchase. + Distance traveled. + """ + unit: Literal["kilometers", "miles"] + """ + Unit of measurement for the distance traveled. One of `miles` or `kilometers`. """ -class PaymentIntentModifyParamsPaymentDetailsEventDetailsDelivery(TypedDict): - mode: NotRequired[Literal["email", "phone", "pickup", "post"]] +class PaymentIntentModifyParamsPaymentDetailsCarRentalDatumDriver(TypedDict): + date_of_birth: NotRequired[ + "PaymentIntentModifyParamsPaymentDetailsCarRentalDatumDriverDateOfBirth" + ] """ - The delivery method for the payment + Driver's date of birth. """ - recipient: NotRequired[ - "PaymentIntentModifyParamsPaymentDetailsEventDetailsDeliveryRecipient" - ] + driver_identification_number: NotRequired[str] """ - Details of the recipient. + Driver's identification number. + """ + driver_tax_number: NotRequired[str] + """ + Driver's tax number. + """ + name: str + """ + Driver's full name. """ -class PaymentIntentModifyParamsPaymentDetailsEventDetailsDeliveryRecipient( +class PaymentIntentModifyParamsPaymentDetailsCarRentalDatumDriverDateOfBirth( TypedDict, ): - email: NotRequired[str] + day: int """ - The email of the recipient the ticket is delivered to. + Day of birth (1-31). """ - name: NotRequired[str] + month: int """ - The name of the recipient the ticket is delivered to. + Month of birth (1-12). """ - phone: NotRequired[str] + year: int """ - The phone number of the recipient the ticket is delivered to. + Year of birth (must be greater than 1900). """ -class PaymentIntentModifyParamsPaymentDetailsFlight(TypedDict): - affiliate: NotRequired[ - "PaymentIntentModifyParamsPaymentDetailsFlightAffiliate" - ] +class PaymentIntentModifyParamsPaymentDetailsCarRentalDatumDropOff(TypedDict): + address: ( + "PaymentIntentModifyParamsPaymentDetailsCarRentalDatumDropOffAddress" + ) """ - Affiliate details for this purchase. + Address of the rental location. """ - agency_number: NotRequired[str] + location_name: NotRequired[str] """ - The agency number (i.e. International Air Transport Association (IATA) agency number) of the travel agency that made the booking. + Location name. """ - carrier: NotRequired[str] + time: int """ - The International Air Transport Association (IATA) carrier code of the carrier that issued the ticket. + Timestamp for the location. """ - delivery: NotRequired[ - "PaymentIntentModifyParamsPaymentDetailsFlightDelivery" - ] + + +class PaymentIntentModifyParamsPaymentDetailsCarRentalDatumDropOffAddress( + TypedDict, +): + city: str """ - Delivery details for this purchase. + City, district, suburb, town, or village. """ - passenger_name: NotRequired[str] + country: str """ - The name of the person or entity on the reservation. + Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). """ - passengers: NotRequired[ - List["PaymentIntentModifyParamsPaymentDetailsFlightPassenger"] - ] + line1: str """ - The details of the passengers in the travel reservation. + Address line 1, such as the street, PO Box, or company name. """ - segments: List["PaymentIntentModifyParamsPaymentDetailsFlightSegment"] + line2: NotRequired[str] """ - The individual flight segments associated with the trip. + Address line 2, such as the apartment, suite, unit, or building. """ - ticket_number: NotRequired[str] + postal_code: str """ - The ticket number associated with the travel reservation. + ZIP or postal code. """ - - -class PaymentIntentModifyParamsPaymentDetailsFlightAffiliate(TypedDict): - name: str + state: NotRequired[str] """ - The name of the affiliate that originated the purchase. + State, county, province, or region. """ -class PaymentIntentModifyParamsPaymentDetailsFlightDelivery(TypedDict): - mode: NotRequired[Literal["email", "phone", "pickup", "post"]] +class PaymentIntentModifyParamsPaymentDetailsCarRentalDatumInsurance( + TypedDict +): + amount: int """ - The delivery method for the payment + Amount of the insurance coverage in cents. """ - recipient: NotRequired[ - "PaymentIntentModifyParamsPaymentDetailsFlightDeliveryRecipient" + currency: NotRequired[str] + """ + Currency of the insurance amount. + """ + insurance_company_name: NotRequired[str] + """ + Name of the insurance company. + """ + insurance_type: Literal[ + "liability_supplement", + "loss_damage_waiver", + "other", + "partial_damage_waiver", + "personal_accident", + "personal_effects", ] """ - Details of the recipient. + Type of insurance coverage. """ -class PaymentIntentModifyParamsPaymentDetailsFlightDeliveryRecipient( - TypedDict -): - email: NotRequired[str] +class PaymentIntentModifyParamsPaymentDetailsCarRentalDatumPickup(TypedDict): + address: ( + "PaymentIntentModifyParamsPaymentDetailsCarRentalDatumPickupAddress" + ) """ - The email of the recipient the ticket is delivered to. + Address of the rental location. """ - name: NotRequired[str] + location_name: NotRequired[str] """ - The name of the recipient the ticket is delivered to. + Location name. """ - phone: NotRequired[str] + time: int """ - The phone number of the recipient the ticket is delivered to. + Timestamp for the location. """ -class PaymentIntentModifyParamsPaymentDetailsFlightPassenger(TypedDict): - name: str +class PaymentIntentModifyParamsPaymentDetailsCarRentalDatumPickupAddress( + TypedDict, +): + city: str """ - Full name of the person or entity on the flight reservation. + City, district, suburb, town, or village. """ - - -class PaymentIntentModifyParamsPaymentDetailsFlightSegment(TypedDict): - amount: NotRequired[int] + country: str """ - The flight segment amount. + Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). """ - arrival_airport: NotRequired[str] + line1: str """ - The International Air Transport Association (IATA) airport code for the arrival airport. + Address line 1, such as the street, PO Box, or company name. """ - arrives_at: NotRequired[int] + line2: NotRequired[str] """ - The arrival time for the flight segment. Measured in seconds since the Unix epoch. + Address line 2, such as the apartment, suite, unit, or building. """ - carrier: NotRequired[str] + postal_code: str """ - The International Air Transport Association (IATA) carrier code of the carrier operating the flight segment. + ZIP or postal code. """ - departs_at: int + state: NotRequired[str] """ - The departure time for the flight segment. Measured in seconds since the Unix epoch. + State, county, province, or region. """ - departure_airport: NotRequired[str] + + +class PaymentIntentModifyParamsPaymentDetailsCarRentalDatumTotal(TypedDict): + amount: int """ - The International Air Transport Association (IATA) airport code for the departure airport. + Total amount in cents. """ - flight_number: NotRequired[str] + currency: NotRequired[str] """ - The flight number associated with the segment + Currency of the amount. """ - service_class: NotRequired[ - Literal["business", "economy", "first", "premium_economy"] + discounts: NotRequired[ + "PaymentIntentModifyParamsPaymentDetailsCarRentalDatumTotalDiscounts" ] """ - The fare class for the segment. + Discount details for the rental. """ - - -class PaymentIntentModifyParamsPaymentDetailsLodging(TypedDict): - address: NotRequired[ - "PaymentIntentModifyParamsPaymentDetailsLodgingAddress" + extra_charges: NotRequired[ + List[ + "PaymentIntentModifyParamsPaymentDetailsCarRentalDatumTotalExtraCharge" + ] ] """ - The lodging location's address. + Additional charges for the rental. """ - adults: NotRequired[int] + rate_per_unit: NotRequired[int] """ - The number of adults on the booking + Rate per unit for the rental. """ - affiliate: NotRequired[ - "PaymentIntentModifyParamsPaymentDetailsLodgingAffiliate" + rate_unit: NotRequired[ + Literal["days", "kilometers", "miles", "months", "weeks"] ] """ - Affiliate details for this purchase. - """ - booking_number: NotRequired[str] + Unit of measurement for the rate. """ - The booking number associated with the lodging reservation. + tax: NotRequired[ + "PaymentIntentModifyParamsPaymentDetailsCarRentalDatumTotalTax" + ] """ - category: NotRequired[Literal["hotel", "vacation_rental"]] + Tax breakdown for the rental. """ - The lodging category + + +class PaymentIntentModifyParamsPaymentDetailsCarRentalDatumTotalDiscounts( + TypedDict, +): + corporate_client_code: NotRequired[str] """ - checkin_at: int + Corporate client discount code. """ - Lodging check-in time. Measured in seconds since the Unix epoch. + coupon: NotRequired[str] """ - checkout_at: int + Coupon code applied to the rental. """ - Lodging check-out time. Measured in seconds since the Unix epoch. + maximum_free_miles_or_kilometers: NotRequired[int] """ - customer_service_phone_number: NotRequired[str] + Maximum number of free miles or kilometers included. """ - The customer service phone number of the lodging company. - """ - daily_room_rate_amount: NotRequired[int] + + +class PaymentIntentModifyParamsPaymentDetailsCarRentalDatumTotalExtraCharge( + TypedDict, +): + amount: int """ - The daily lodging room rate. + Amount of the extra charge in cents. """ - delivery: NotRequired[ - "PaymentIntentModifyParamsPaymentDetailsLodgingDelivery" + type: Literal[ + "extra_mileage", + "gas", + "gps", + "late_charge", + "one_way_drop_off", + "other", + "parking", + "phone", + "regular_mileage", + "towing", ] """ - Delivery details for this purchase. + Type of extra charge. """ - extra_charges: NotRequired[ + + +class PaymentIntentModifyParamsPaymentDetailsCarRentalDatumTotalTax(TypedDict): + tax_exempt_indicator: NotRequired[bool] + """ + Indicates if the transaction is tax exempt. + """ + taxes: NotRequired[ List[ - Literal[ - "gift_shop", - "laundry", - "mini_bar", - "other", - "restaurant", - "telephone", - ] + "PaymentIntentModifyParamsPaymentDetailsCarRentalDatumTotalTaxTax" ] ] """ - List of additional charges being billed. + Array of tax details. """ - fire_safety_act_compliance: NotRequired[bool] + + +class PaymentIntentModifyParamsPaymentDetailsCarRentalDatumTotalTaxTax( + TypedDict, +): + amount: NotRequired[int] """ - Indicates whether the lodging location is compliant with the Fire Safety Act. + Tax amount. """ - name: NotRequired[str] + rate: NotRequired[int] """ - The name of the lodging location. + Tax rate applied. """ - no_show: NotRequired[bool] + type: NotRequired[str] """ - Indicates if the customer did not keep their booking while failing to cancel the reservation. + Type of tax applied. """ - number_of_rooms: NotRequired[int] + + +class PaymentIntentModifyParamsPaymentDetailsCarRentalDatumVehicle(TypedDict): + make: NotRequired[str] """ - The number of rooms on the booking + Make of the rental vehicle. """ - passengers: NotRequired[ - List["PaymentIntentModifyParamsPaymentDetailsLodgingPassenger"] + model: NotRequired[str] + """ + Model of the rental vehicle. + """ + odometer: NotRequired[int] + """ + Odometer reading at the time of rental. + """ + type: NotRequired[ + Literal[ + "cargo_van", + "compact", + "economy", + "exotic", + "exotic_suv", + "fifteen_passenger_van", + "four_wheel_drive", + "full_size", + "intermediate", + "large_suv", + "large_truck", + "luxury", + "medium_suv", + "midsize", + "mini", + "minivan", + "miscellaneous", + "moped", + "moving_van", + "premium", + "regular", + "small_medium_truck", + "small_suv", + "special", + "standard", + "stretch", + "subcompact", + "taxi", + "twelve_foot_truck", + "twelve_passenger_van", + "twenty_foot_truck", + "twenty_four_foot_truck", + "twenty_six_foot_truck", + "unique", + ] ] """ - The details of the passengers in the travel reservation + Type of the rental vehicle. """ - property_phone_number: NotRequired[str] + vehicle_class: NotRequired[ + Literal["business", "economy", "first_class", "premium_economy"] + ] """ - The phone number of the lodging location. + Class of the rental vehicle. """ - room_class: NotRequired[str] + vehicle_identification_number: NotRequired[str] """ - The room class for this purchase. + Vehicle identification number (VIN). """ - room_nights: NotRequired[int] + + +class PaymentIntentModifyParamsPaymentDetailsEventDetails(TypedDict): + access_controlled_venue: NotRequired[bool] """ - The number of room nights + Indicates if the tickets are digitally checked when entering the venue. """ - total_room_tax_amount: NotRequired[int] + address: NotRequired[ + "PaymentIntentModifyParamsPaymentDetailsEventDetailsAddress" + ] """ - The total tax amount associating with the room reservation. + The event location's address. """ - total_tax_amount: NotRequired[int] + affiliate: NotRequired[ + "PaymentIntentModifyParamsPaymentDetailsEventDetailsAffiliate" + ] """ - The total tax amount + Affiliate details for this purchase. + """ + company: NotRequired[str] + """ + The name of the company + """ + delivery: NotRequired[ + "PaymentIntentModifyParamsPaymentDetailsEventDetailsDelivery" + ] + """ + Delivery details for this purchase. + """ + ends_at: NotRequired[int] + """ + Event end time. Measured in seconds since the Unix epoch. + """ + genre: NotRequired[str] + """ + Type of the event entertainment (concert, sports event etc) + """ + name: str + """ + The name of the event. + """ + starts_at: NotRequired[int] + """ + Event start time. Measured in seconds since the Unix epoch. """ -class PaymentIntentModifyParamsPaymentDetailsLodgingAddress(TypedDict): +class PaymentIntentModifyParamsPaymentDetailsEventDetailsAddress(TypedDict): city: NotRequired[str] """ City, district, suburb, town, or village. @@ -1036,27 +1216,27 @@ class PaymentIntentModifyParamsPaymentDetailsLodgingAddress(TypedDict): """ -class PaymentIntentModifyParamsPaymentDetailsLodgingAffiliate(TypedDict): +class PaymentIntentModifyParamsPaymentDetailsEventDetailsAffiliate(TypedDict): name: str """ The name of the affiliate that originated the purchase. """ -class PaymentIntentModifyParamsPaymentDetailsLodgingDelivery(TypedDict): +class PaymentIntentModifyParamsPaymentDetailsEventDetailsDelivery(TypedDict): mode: NotRequired[Literal["email", "phone", "pickup", "post"]] """ The delivery method for the payment """ recipient: NotRequired[ - "PaymentIntentModifyParamsPaymentDetailsLodgingDeliveryRecipient" + "PaymentIntentModifyParamsPaymentDetailsEventDetailsDeliveryRecipient" ] """ Details of the recipient. """ -class PaymentIntentModifyParamsPaymentDetailsLodgingDeliveryRecipient( +class PaymentIntentModifyParamsPaymentDetailsEventDetailsDeliveryRecipient( TypedDict, ): email: NotRequired[str] @@ -1073,515 +1253,531 @@ class PaymentIntentModifyParamsPaymentDetailsLodgingDeliveryRecipient( """ -class PaymentIntentModifyParamsPaymentDetailsLodgingPassenger(TypedDict): - name: str - """ - Full name of the person or entity on the lodging reservation. - """ - - -class PaymentIntentModifyParamsPaymentDetailsSubscription(TypedDict): +class PaymentIntentModifyParamsPaymentDetailsFlight(TypedDict): affiliate: NotRequired[ - "PaymentIntentModifyParamsPaymentDetailsSubscriptionAffiliate" + "PaymentIntentModifyParamsPaymentDetailsFlightAffiliate" ] """ Affiliate details for this purchase. """ - auto_renewal: NotRequired[bool] + agency_number: NotRequired[str] """ - Info whether the subscription will be auto renewed upon expiry. + The agency number (i.e. International Air Transport Association (IATA) agency number) of the travel agency that made the booking. """ - billing_interval: NotRequired[ - "PaymentIntentModifyParamsPaymentDetailsSubscriptionBillingInterval" + carrier: NotRequired[str] + """ + The International Air Transport Association (IATA) carrier code of the carrier that issued the ticket. + """ + delivery: NotRequired[ + "PaymentIntentModifyParamsPaymentDetailsFlightDelivery" ] """ - Subscription billing details for this purchase. + Delivery details for this purchase. """ - ends_at: NotRequired[int] + passenger_name: NotRequired[str] """ - Subscription end time. Measured in seconds since the Unix epoch. + The name of the person or entity on the reservation. """ - name: str + passengers: NotRequired[ + List["PaymentIntentModifyParamsPaymentDetailsFlightPassenger"] + ] """ - Name of the product on subscription. e.g. Apple Music Subscription + The details of the passengers in the travel reservation. """ - starts_at: NotRequired[int] + segments: List["PaymentIntentModifyParamsPaymentDetailsFlightSegment"] """ - Subscription start time. Measured in seconds since the Unix epoch. + The individual flight segments associated with the trip. + """ + ticket_number: NotRequired[str] + """ + The ticket number associated with the travel reservation. """ -class PaymentIntentModifyParamsPaymentDetailsSubscriptionAffiliate(TypedDict): +class PaymentIntentModifyParamsPaymentDetailsFlightAffiliate(TypedDict): name: str """ The name of the affiliate that originated the purchase. """ -class PaymentIntentModifyParamsPaymentDetailsSubscriptionBillingInterval( - TypedDict, -): - count: int +class PaymentIntentModifyParamsPaymentDetailsFlightDelivery(TypedDict): + mode: NotRequired[Literal["email", "phone", "pickup", "post"]] """ - The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration. + The delivery method for the payment """ - interval: Literal["day", "month", "week", "year"] + recipient: NotRequired[ + "PaymentIntentModifyParamsPaymentDetailsFlightDeliveryRecipient" + ] """ - Specifies a type of interval unit. Either `day`, `week`, `month` or `year`. + Details of the recipient. """ -class PaymentIntentModifyParamsPaymentMethodData(TypedDict): - acss_debit: NotRequired[ - "PaymentIntentModifyParamsPaymentMethodDataAcssDebit" - ] +class PaymentIntentModifyParamsPaymentDetailsFlightDeliveryRecipient( + TypedDict +): + email: NotRequired[str] """ - If this is an `acss_debit` PaymentMethod, this hash contains details about the ACSS Debit payment method. + The email of the recipient the ticket is delivered to. """ - affirm: NotRequired["PaymentIntentModifyParamsPaymentMethodDataAffirm"] + name: NotRequired[str] """ - If this is an `affirm` PaymentMethod, this hash contains details about the Affirm payment method. + The name of the recipient the ticket is delivered to. """ - afterpay_clearpay: NotRequired[ - "PaymentIntentModifyParamsPaymentMethodDataAfterpayClearpay" - ] + phone: NotRequired[str] """ - If this is an `AfterpayClearpay` PaymentMethod, this hash contains details about the AfterpayClearpay payment method. + The phone number of the recipient the ticket is delivered to. """ - alipay: NotRequired["PaymentIntentModifyParamsPaymentMethodDataAlipay"] + + +class PaymentIntentModifyParamsPaymentDetailsFlightPassenger(TypedDict): + name: str """ - If this is an `Alipay` PaymentMethod, this hash contains details about the Alipay payment method. + Full name of the person or entity on the flight reservation. """ - allow_redisplay: NotRequired[Literal["always", "limited", "unspecified"]] + + +class PaymentIntentModifyParamsPaymentDetailsFlightSegment(TypedDict): + amount: NotRequired[int] """ - This field indicates whether this payment method can be shown again to its customer in a checkout flow. Stripe products such as Checkout and Elements use this field to determine whether a payment method can be shown as a saved payment method in a checkout flow. The field defaults to `unspecified`. + The flight segment amount. """ - alma: NotRequired["PaymentIntentModifyParamsPaymentMethodDataAlma"] + arrival_airport: NotRequired[str] """ - If this is a Alma PaymentMethod, this hash contains details about the Alma payment method. + The International Air Transport Association (IATA) airport code for the arrival airport. """ - amazon_pay: NotRequired[ - "PaymentIntentModifyParamsPaymentMethodDataAmazonPay" - ] + arrives_at: NotRequired[int] """ - If this is a AmazonPay PaymentMethod, this hash contains details about the AmazonPay payment method. + The arrival time for the flight segment. Measured in seconds since the Unix epoch. """ - au_becs_debit: NotRequired[ - "PaymentIntentModifyParamsPaymentMethodDataAuBecsDebit" - ] + carrier: NotRequired[str] """ - If this is an `au_becs_debit` PaymentMethod, this hash contains details about the bank account. + The International Air Transport Association (IATA) carrier code of the carrier operating the flight segment. """ - bacs_debit: NotRequired[ - "PaymentIntentModifyParamsPaymentMethodDataBacsDebit" - ] + departs_at: int """ - If this is a `bacs_debit` PaymentMethod, this hash contains details about the Bacs Direct Debit bank account. + The departure time for the flight segment. Measured in seconds since the Unix epoch. """ - bancontact: NotRequired[ - "PaymentIntentModifyParamsPaymentMethodDataBancontact" - ] + departure_airport: NotRequired[str] """ - If this is a `bancontact` PaymentMethod, this hash contains details about the Bancontact payment method. + The International Air Transport Association (IATA) airport code for the departure airport. """ - billie: NotRequired["PaymentIntentModifyParamsPaymentMethodDataBillie"] + flight_number: NotRequired[str] """ - If this is a `billie` PaymentMethod, this hash contains details about the Billie payment method. + The flight number associated with the segment """ - billing_details: NotRequired[ - "PaymentIntentModifyParamsPaymentMethodDataBillingDetails" + service_class: NotRequired[ + Literal["business", "economy", "first", "premium_economy"] ] """ - Billing information associated with the PaymentMethod that may be used or required by particular types of payment methods. + The fare class for the segment. """ - blik: NotRequired["PaymentIntentModifyParamsPaymentMethodDataBlik"] + + +class PaymentIntentModifyParamsPaymentDetailsFlightDatum(TypedDict): + affiliate: NotRequired[ + "PaymentIntentModifyParamsPaymentDetailsFlightDatumAffiliate" + ] """ - If this is a `blik` PaymentMethod, this hash contains details about the BLIK payment method. + Affiliate details if applicable. """ - boleto: NotRequired["PaymentIntentModifyParamsPaymentMethodDataBoleto"] + booking_number: NotRequired[str] """ - If this is a `boleto` PaymentMethod, this hash contains details about the Boleto payment method. + Reservation reference. """ - cashapp: NotRequired["PaymentIntentModifyParamsPaymentMethodDataCashapp"] + computerized_reservation_system: NotRequired[str] """ - If this is a `cashapp` PaymentMethod, this hash contains details about the Cash App Pay payment method. + Computerized reservation system used to make the reservation and purchase the ticket. """ - crypto: NotRequired["PaymentIntentModifyParamsPaymentMethodDataCrypto"] + endorsements_and_restrictions: NotRequired[str] """ - If this is a Crypto PaymentMethod, this hash contains details about the Crypto payment method. + Ticket restrictions. """ - customer_balance: NotRequired[ - "PaymentIntentModifyParamsPaymentMethodDataCustomerBalance" + insurances: NotRequired[ + List["PaymentIntentModifyParamsPaymentDetailsFlightDatumInsurance"] ] """ - If this is a `customer_balance` PaymentMethod, this hash contains details about the CustomerBalance payment method. - """ - eps: NotRequired["PaymentIntentModifyParamsPaymentMethodDataEps"] - """ - If this is an `eps` PaymentMethod, this hash contains details about the EPS payment method. + List of insurances. """ - fpx: NotRequired["PaymentIntentModifyParamsPaymentMethodDataFpx"] + passengers: NotRequired[ + List["PaymentIntentModifyParamsPaymentDetailsFlightDatumPassenger"] + ] """ - If this is an `fpx` PaymentMethod, this hash contains details about the FPX payment method. + List of passengers. """ - giropay: NotRequired["PaymentIntentModifyParamsPaymentMethodDataGiropay"] + segments: List["PaymentIntentModifyParamsPaymentDetailsFlightDatumSegment"] """ - If this is a `giropay` PaymentMethod, this hash contains details about the Giropay payment method. + List of flight segments. """ - gopay: NotRequired["PaymentIntentModifyParamsPaymentMethodDataGopay"] + ticket_electronically_issued_indicator: NotRequired[bool] """ - If this is a Gopay PaymentMethod, this hash contains details about the Gopay payment method. + Electronic ticket indicator. """ - grabpay: NotRequired["PaymentIntentModifyParamsPaymentMethodDataGrabpay"] + total: "PaymentIntentModifyParamsPaymentDetailsFlightDatumTotal" """ - If this is a `grabpay` PaymentMethod, this hash contains details about the GrabPay payment method. + Total cost breakdown. """ - id_bank_transfer: NotRequired[ - "PaymentIntentModifyParamsPaymentMethodDataIdBankTransfer" + transaction_type: NotRequired[ + Literal[ + "exchange_ticket", "miscellaneous", "refund", "ticket_purchase" + ] ] """ - If this is an `IdBankTransfer` PaymentMethod, this hash contains details about the IdBankTransfer payment method. + Type of flight transaction. """ - ideal: NotRequired["PaymentIntentModifyParamsPaymentMethodDataIdeal"] + + +class PaymentIntentModifyParamsPaymentDetailsFlightDatumAffiliate(TypedDict): + code: NotRequired[str] """ - If this is an `ideal` PaymentMethod, this hash contains details about the iDEAL payment method. + Affiliate partner code. """ - interac_present: NotRequired[ - "PaymentIntentModifyParamsPaymentMethodDataInteracPresent" - ] + name: NotRequired[str] """ - If this is an `interac_present` PaymentMethod, this hash contains details about the Interac Present payment method. + Name of affiliate partner. """ - kakao_pay: NotRequired[ - "PaymentIntentModifyParamsPaymentMethodDataKakaoPay" - ] + travel_authorization_code: NotRequired[str] """ - If this is a `kakao_pay` PaymentMethod, this hash contains details about the Kakao Pay payment method. + Code provided by the company to a travel agent authorizing ticket issuance. """ - klarna: NotRequired["PaymentIntentModifyParamsPaymentMethodDataKlarna"] + + +class PaymentIntentModifyParamsPaymentDetailsFlightDatumInsurance(TypedDict): + amount: int """ - If this is a `klarna` PaymentMethod, this hash contains details about the Klarna payment method. + Insurance cost. """ - konbini: NotRequired["PaymentIntentModifyParamsPaymentMethodDataKonbini"] + currency: NotRequired[str] """ - If this is a `konbini` PaymentMethod, this hash contains details about the Konbini payment method. + Insurance currency. """ - kr_card: NotRequired["PaymentIntentModifyParamsPaymentMethodDataKrCard"] + insurance_company_name: NotRequired[str] """ - If this is a `kr_card` PaymentMethod, this hash contains details about the Korean Card payment method. + Insurance company name. """ - link: NotRequired["PaymentIntentModifyParamsPaymentMethodDataLink"] + insurance_type: Literal[ + "baggage", "bankruptcy", "cancelation", "emergency", "medical" + ] """ - If this is an `Link` PaymentMethod, this hash contains details about the Link payment method. + Type of insurance. """ - mb_way: NotRequired["PaymentIntentModifyParamsPaymentMethodDataMbWay"] + + +class PaymentIntentModifyParamsPaymentDetailsFlightDatumPassenger(TypedDict): + name: str """ - If this is a MB WAY PaymentMethod, this hash contains details about the MB WAY payment method. + Passenger's full name. """ - metadata: NotRequired[Dict[str, str]] + + +class PaymentIntentModifyParamsPaymentDetailsFlightDatumSegment(TypedDict): + amount: NotRequired[int] """ - Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. + Segment fare amount. """ - mobilepay: NotRequired[ - "PaymentIntentModifyParamsPaymentMethodDataMobilepay" - ] + arrival: "PaymentIntentModifyParamsPaymentDetailsFlightDatumSegmentArrival" """ - If this is a `mobilepay` PaymentMethod, this hash contains details about the MobilePay payment method. + Arrival details. """ - multibanco: NotRequired[ - "PaymentIntentModifyParamsPaymentMethodDataMultibanco" - ] + carrier_code: str """ - If this is a `multibanco` PaymentMethod, this hash contains details about the Multibanco payment method. + Airline carrier code. """ - naver_pay: NotRequired[ - "PaymentIntentModifyParamsPaymentMethodDataNaverPay" - ] + carrier_name: NotRequired[str] """ - If this is a `naver_pay` PaymentMethod, this hash contains details about the Naver Pay payment method. + Carrier name. """ - nz_bank_account: NotRequired[ - "PaymentIntentModifyParamsPaymentMethodDataNzBankAccount" - ] + currency: NotRequired[str] """ - If this is an nz_bank_account PaymentMethod, this hash contains details about the nz_bank_account payment method. + Segment currency. """ - oxxo: NotRequired["PaymentIntentModifyParamsPaymentMethodDataOxxo"] + departure: ( + "PaymentIntentModifyParamsPaymentDetailsFlightDatumSegmentDeparture" + ) """ - If this is an `oxxo` PaymentMethod, this hash contains details about the OXXO payment method. + Departure details. """ - p24: NotRequired["PaymentIntentModifyParamsPaymentMethodDataP24"] + exchange_ticket_number: NotRequired[str] """ - If this is a `p24` PaymentMethod, this hash contains details about the P24 payment method. + Exchange ticket number. """ - pay_by_bank: NotRequired[ - "PaymentIntentModifyParamsPaymentMethodDataPayByBank" - ] + fare_basis_code: NotRequired[str] """ - If this is a `pay_by_bank` PaymentMethod, this hash contains details about the PayByBank payment method. + Fare basis code. """ - payco: NotRequired["PaymentIntentModifyParamsPaymentMethodDataPayco"] + fees: NotRequired[int] """ - If this is a `payco` PaymentMethod, this hash contains details about the PAYCO payment method. + Additional fees. """ - paynow: NotRequired["PaymentIntentModifyParamsPaymentMethodDataPaynow"] + flight_number: NotRequired[str] """ - If this is a `paynow` PaymentMethod, this hash contains details about the PayNow payment method. + Flight number. """ - paypal: NotRequired["PaymentIntentModifyParamsPaymentMethodDataPaypal"] + is_stop_over_indicator: NotRequired[bool] """ - If this is a `paypal` PaymentMethod, this hash contains details about the PayPal payment method. + Stopover indicator. """ - paypay: NotRequired["PaymentIntentModifyParamsPaymentMethodDataPaypay"] + refundable: NotRequired[bool] """ - If this is a `paypay` PaymentMethod, this hash contains details about the PayPay payment method. + Refundable ticket indicator. """ - payto: NotRequired["PaymentIntentModifyParamsPaymentMethodDataPayto"] + service_class: Literal[ + "business", "economy", "first_class", "premium_economy" + ] """ - If this is a `payto` PaymentMethod, this hash contains details about the PayTo payment method. + Class of service. """ - pix: NotRequired["PaymentIntentModifyParamsPaymentMethodDataPix"] + tax_amount: NotRequired[int] """ - If this is a `pix` PaymentMethod, this hash contains details about the Pix payment method. + Tax amount for segment. """ - promptpay: NotRequired[ - "PaymentIntentModifyParamsPaymentMethodDataPromptpay" - ] + ticket_number: NotRequired[str] """ - If this is a `promptpay` PaymentMethod, this hash contains details about the PromptPay payment method. + Ticket number. """ - qris: NotRequired["PaymentIntentModifyParamsPaymentMethodDataQris"] + + +class PaymentIntentModifyParamsPaymentDetailsFlightDatumSegmentArrival( + TypedDict, +): + airport: str """ - If this is a `qris` PaymentMethod, this hash contains details about the QRIS payment method. + Arrival airport IATA code. """ - radar_options: NotRequired[ - "PaymentIntentModifyParamsPaymentMethodDataRadarOptions" - ] + arrives_at: NotRequired[int] """ - Options to configure Radar. See [Radar Session](https://stripe.com/docs/radar/radar-session) for more information. + Arrival date/time. """ - rechnung: NotRequired["PaymentIntentModifyParamsPaymentMethodDataRechnung"] + city: NotRequired[str] """ - If this is a `rechnung` PaymentMethod, this hash contains details about the Rechnung payment method. + Arrival city. """ - revolut_pay: NotRequired[ - "PaymentIntentModifyParamsPaymentMethodDataRevolutPay" - ] + country: NotRequired[str] """ - If this is a `revolut_pay` PaymentMethod, this hash contains details about the Revolut Pay payment method. + Arrival country. """ - samsung_pay: NotRequired[ - "PaymentIntentModifyParamsPaymentMethodDataSamsungPay" - ] + + +class PaymentIntentModifyParamsPaymentDetailsFlightDatumSegmentDeparture( + TypedDict, +): + airport: str """ - If this is a `samsung_pay` PaymentMethod, this hash contains details about the SamsungPay payment method. + Departure airport IATA code. """ - satispay: NotRequired["PaymentIntentModifyParamsPaymentMethodDataSatispay"] + city: NotRequired[str] """ - If this is a `satispay` PaymentMethod, this hash contains details about the Satispay payment method. + Departure city. """ - sepa_debit: NotRequired[ - "PaymentIntentModifyParamsPaymentMethodDataSepaDebit" - ] + country: NotRequired[str] """ - If this is a `sepa_debit` PaymentMethod, this hash contains details about the SEPA debit bank account. + Departure country. """ - shopeepay: NotRequired[ - "PaymentIntentModifyParamsPaymentMethodDataShopeepay" - ] + departs_at: int """ - If this is a Shopeepay PaymentMethod, this hash contains details about the Shopeepay payment method. + Departure date/time. """ - sofort: NotRequired["PaymentIntentModifyParamsPaymentMethodDataSofort"] + + +class PaymentIntentModifyParamsPaymentDetailsFlightDatumTotal(TypedDict): + amount: int """ - If this is a `sofort` PaymentMethod, this hash contains details about the SOFORT payment method. + Total flight amount. """ - stripe_balance: NotRequired[ - "PaymentIntentModifyParamsPaymentMethodDataStripeBalance" + credit_reason: NotRequired[ + Literal[ + "other", + "partial_ticket_refund", + "passenger_transport_ancillary_cancellation", + "ticket_and_ancillary_cancellation", + "ticket_cancellation", + ] ] """ - This hash contains details about the Stripe balance payment method. + Reason for credit. """ - swish: NotRequired["PaymentIntentModifyParamsPaymentMethodDataSwish"] + currency: NotRequired[str] """ - If this is a `swish` PaymentMethod, this hash contains details about the Swish payment method. + Total currency. """ - twint: NotRequired["PaymentIntentModifyParamsPaymentMethodDataTwint"] + discounts: NotRequired[ + "PaymentIntentModifyParamsPaymentDetailsFlightDatumTotalDiscounts" + ] """ - If this is a TWINT PaymentMethod, this hash contains details about the TWINT payment method. + Discount details. """ - type: Literal[ - "acss_debit", - "affirm", - "afterpay_clearpay", - "alipay", - "alma", - "amazon_pay", - "au_becs_debit", - "bacs_debit", - "bancontact", - "billie", - "blik", - "boleto", - "cashapp", - "crypto", - "customer_balance", - "eps", - "fpx", - "giropay", - "gopay", - "grabpay", - "id_bank_transfer", - "ideal", - "kakao_pay", - "klarna", - "konbini", - "kr_card", - "link", - "mb_way", - "mobilepay", - "multibanco", - "naver_pay", - "nz_bank_account", - "oxxo", - "p24", - "pay_by_bank", - "payco", - "paynow", - "paypal", - "paypay", - "payto", - "pix", - "promptpay", - "qris", - "rechnung", - "revolut_pay", - "samsung_pay", - "satispay", - "sepa_debit", - "shopeepay", - "sofort", - "stripe_balance", - "swish", - "twint", - "us_bank_account", - "wechat_pay", - "zip", + extra_charges: NotRequired[ + List[ + "PaymentIntentModifyParamsPaymentDetailsFlightDatumTotalExtraCharge" + ] ] """ - The type of the PaymentMethod. An additional hash is included on the PaymentMethod with a name matching this value. It contains additional information specific to the PaymentMethod type. + Additional charges. """ - us_bank_account: NotRequired[ - "PaymentIntentModifyParamsPaymentMethodDataUsBankAccount" + tax: NotRequired[ + "PaymentIntentModifyParamsPaymentDetailsFlightDatumTotalTax" ] """ - If this is an `us_bank_account` PaymentMethod, this hash contains details about the US bank account payment method. + Tax breakdown. """ - wechat_pay: NotRequired[ - "PaymentIntentModifyParamsPaymentMethodDataWechatPay" + + +class PaymentIntentModifyParamsPaymentDetailsFlightDatumTotalDiscounts( + TypedDict, +): + corporate_client_code: NotRequired[str] + """ + Corporate client discount code. + """ + + +class PaymentIntentModifyParamsPaymentDetailsFlightDatumTotalExtraCharge( + TypedDict, +): + amount: NotRequired[int] + """ + Amount of additional charges. + """ + type: NotRequired[ + Literal["additional_fees", "ancillary_service_charges", "exchange_fee"] ] """ - If this is an `wechat_pay` PaymentMethod, this hash contains details about the wechat_pay payment method. + Type of additional charges. """ - zip: NotRequired["PaymentIntentModifyParamsPaymentMethodDataZip"] + + +class PaymentIntentModifyParamsPaymentDetailsFlightDatumTotalTax(TypedDict): + taxes: NotRequired[ + List["PaymentIntentModifyParamsPaymentDetailsFlightDatumTotalTaxTax"] + ] """ - If this is a `zip` PaymentMethod, this hash contains details about the Zip payment method. + Array of tax details. """ -class PaymentIntentModifyParamsPaymentMethodDataAcssDebit(TypedDict): - account_number: str +class PaymentIntentModifyParamsPaymentDetailsFlightDatumTotalTaxTax(TypedDict): + amount: NotRequired[int] """ - Customer's bank account number. + Tax amount. """ - institution_number: str + rate: NotRequired[int] """ - Institution number of the customer's bank. + Tax rate. """ - transit_number: str + type: NotRequired[str] """ - Transit number of the customer's bank. + Type of tax. """ -class PaymentIntentModifyParamsPaymentMethodDataAffirm(TypedDict): - pass - - -class PaymentIntentModifyParamsPaymentMethodDataAfterpayClearpay(TypedDict): - pass - - -class PaymentIntentModifyParamsPaymentMethodDataAlipay(TypedDict): - pass - - -class PaymentIntentModifyParamsPaymentMethodDataAlma(TypedDict): - pass - - -class PaymentIntentModifyParamsPaymentMethodDataAmazonPay(TypedDict): - pass - - -class PaymentIntentModifyParamsPaymentMethodDataAuBecsDebit(TypedDict): - account_number: str +class PaymentIntentModifyParamsPaymentDetailsLodging(TypedDict): + address: NotRequired[ + "PaymentIntentModifyParamsPaymentDetailsLodgingAddress" + ] """ - The account number for the bank account. + The lodging location's address. """ - bsb_number: str + adults: NotRequired[int] """ - Bank-State-Branch number of the bank account. + The number of adults on the booking """ - - -class PaymentIntentModifyParamsPaymentMethodDataBacsDebit(TypedDict): - account_number: NotRequired[str] + affiliate: NotRequired[ + "PaymentIntentModifyParamsPaymentDetailsLodgingAffiliate" + ] """ - Account number of the bank account that the funds will be debited from. + Affiliate details for this purchase. """ - sort_code: NotRequired[str] + booking_number: NotRequired[str] """ - Sort code of the bank account. (e.g., `10-20-30`) + The booking number associated with the lodging reservation. """ - - -class PaymentIntentModifyParamsPaymentMethodDataBancontact(TypedDict): - pass - - -class PaymentIntentModifyParamsPaymentMethodDataBillie(TypedDict): - pass - - -class PaymentIntentModifyParamsPaymentMethodDataBillingDetails(TypedDict): - address: NotRequired[ - "Literal['']|PaymentIntentModifyParamsPaymentMethodDataBillingDetailsAddress" + category: NotRequired[Literal["hotel", "vacation_rental"]] + """ + The lodging category + """ + checkin_at: int + """ + Lodging check-in time. Measured in seconds since the Unix epoch. + """ + checkout_at: int + """ + Lodging check-out time. Measured in seconds since the Unix epoch. + """ + customer_service_phone_number: NotRequired[str] + """ + The customer service phone number of the lodging company. + """ + daily_room_rate_amount: NotRequired[int] + """ + The daily lodging room rate. + """ + delivery: NotRequired[ + "PaymentIntentModifyParamsPaymentDetailsLodgingDelivery" ] """ - Billing address. + Delivery details for this purchase. """ - email: NotRequired["Literal['']|str"] + extra_charges: NotRequired[ + List[ + Literal[ + "gift_shop", + "laundry", + "mini_bar", + "other", + "restaurant", + "telephone", + ] + ] + ] """ - Email address. + List of additional charges being billed. """ - name: NotRequired["Literal['']|str"] + fire_safety_act_compliance: NotRequired[bool] """ - Full name. + Indicates whether the lodging location is compliant with the Fire Safety Act. """ - phone: NotRequired["Literal['']|str"] + name: NotRequired[str] """ - Billing phone number (including extension). + The name of the lodging location. """ - tax_id: NotRequired[str] + no_show: NotRequired[bool] """ - Taxpayer identification number. Used only for transactions between LATAM buyers and non-LATAM sellers. + Indicates if the customer did not keep their booking while failing to cancel the reservation. + """ + number_of_rooms: NotRequired[int] + """ + The number of rooms on the booking + """ + passengers: NotRequired[ + List["PaymentIntentModifyParamsPaymentDetailsLodgingPassenger"] + ] + """ + The details of the passengers in the travel reservation + """ + property_phone_number: NotRequired[str] + """ + The phone number of the lodging location. + """ + room_class: NotRequired[str] + """ + The room class for this purchase. + """ + room_nights: NotRequired[int] + """ + The number of room nights + """ + total_room_tax_amount: NotRequired[int] + """ + The total tax amount associating with the room reservation. + """ + total_tax_amount: NotRequired[int] + """ + The total tax amount """ -class PaymentIntentModifyParamsPaymentMethodDataBillingDetailsAddress( - TypedDict, -): +class PaymentIntentModifyParamsPaymentDetailsLodgingAddress(TypedDict): city: NotRequired[str] """ City, district, suburb, town, or village. @@ -1608,1833 +1804,3821 @@ class PaymentIntentModifyParamsPaymentMethodDataBillingDetailsAddress( """ -class PaymentIntentModifyParamsPaymentMethodDataBlik(TypedDict): - pass - - -class PaymentIntentModifyParamsPaymentMethodDataBoleto(TypedDict): - tax_id: str +class PaymentIntentModifyParamsPaymentDetailsLodgingAffiliate(TypedDict): + name: str """ - The tax ID of the customer (CPF for individual consumers or CNPJ for businesses consumers) + The name of the affiliate that originated the purchase. """ -class PaymentIntentModifyParamsPaymentMethodDataCashapp(TypedDict): - pass - - -class PaymentIntentModifyParamsPaymentMethodDataCrypto(TypedDict): - pass - - -class PaymentIntentModifyParamsPaymentMethodDataCustomerBalance(TypedDict): - pass - - -class PaymentIntentModifyParamsPaymentMethodDataEps(TypedDict): - bank: NotRequired[ - Literal[ - "arzte_und_apotheker_bank", - "austrian_anadi_bank_ag", - "bank_austria", - "bankhaus_carl_spangler", - "bankhaus_schelhammer_und_schattera_ag", - "bawag_psk_ag", - "bks_bank_ag", - "brull_kallmus_bank_ag", - "btv_vier_lander_bank", - "capital_bank_grawe_gruppe_ag", - "deutsche_bank_ag", - "dolomitenbank", - "easybank_ag", - "erste_bank_und_sparkassen", - "hypo_alpeadriabank_international_ag", - "hypo_bank_burgenland_aktiengesellschaft", - "hypo_noe_lb_fur_niederosterreich_u_wien", - "hypo_oberosterreich_salzburg_steiermark", - "hypo_tirol_bank_ag", - "hypo_vorarlberg_bank_ag", - "marchfelder_bank", - "oberbank_ag", - "raiffeisen_bankengruppe_osterreich", - "schoellerbank_ag", - "sparda_bank_wien", - "volksbank_gruppe", - "volkskreditbank_ag", - "vr_bank_braunau", - ] +class PaymentIntentModifyParamsPaymentDetailsLodgingDelivery(TypedDict): + mode: NotRequired[Literal["email", "phone", "pickup", "post"]] + """ + The delivery method for the payment + """ + recipient: NotRequired[ + "PaymentIntentModifyParamsPaymentDetailsLodgingDeliveryRecipient" ] """ - The customer's bank. + Details of the recipient. """ -class PaymentIntentModifyParamsPaymentMethodDataFpx(TypedDict): - account_holder_type: NotRequired[Literal["company", "individual"]] +class PaymentIntentModifyParamsPaymentDetailsLodgingDeliveryRecipient( + TypedDict, +): + email: NotRequired[str] """ - Account holder type for FPX transaction + The email of the recipient the ticket is delivered to. """ - bank: Literal[ - "affin_bank", - "agrobank", - "alliance_bank", - "ambank", - "bank_islam", - "bank_muamalat", - "bank_of_china", - "bank_rakyat", - "bsn", - "cimb", - "deutsche_bank", - "hong_leong_bank", - "hsbc", - "kfh", - "maybank2e", - "maybank2u", - "ocbc", - "pb_enterprise", - "public_bank", - "rhb", - "standard_chartered", - "uob", - ] + name: NotRequired[str] """ - The customer's bank. + The name of the recipient the ticket is delivered to. + """ + phone: NotRequired[str] + """ + The phone number of the recipient the ticket is delivered to. """ -class PaymentIntentModifyParamsPaymentMethodDataGiropay(TypedDict): - pass - - -class PaymentIntentModifyParamsPaymentMethodDataGopay(TypedDict): - pass +class PaymentIntentModifyParamsPaymentDetailsLodgingPassenger(TypedDict): + name: str + """ + Full name of the person or entity on the lodging reservation. + """ -class PaymentIntentModifyParamsPaymentMethodDataGrabpay(TypedDict): - pass - - -class PaymentIntentModifyParamsPaymentMethodDataIdBankTransfer(TypedDict): - bank: NotRequired[Literal["bca", "bni", "bri", "cimb", "permata"]] +class PaymentIntentModifyParamsPaymentDetailsLodgingDatum(TypedDict): + accommodation: NotRequired[ + "PaymentIntentModifyParamsPaymentDetailsLodgingDatumAccommodation" + ] """ - Bank where the account is held. + Accommodation details for the lodging. """ - - -class PaymentIntentModifyParamsPaymentMethodDataIdeal(TypedDict): - bank: NotRequired[ - Literal[ - "abn_amro", - "asn_bank", - "bunq", - "buut", - "handelsbanken", - "ing", - "knab", - "moneyou", - "n26", - "nn", - "rabobank", - "regiobank", - "revolut", - "sns_bank", - "triodos_bank", - "van_lanschot", - "yoursafe", - ] + affiliate: NotRequired[ + "PaymentIntentModifyParamsPaymentDetailsLodgingDatumAffiliate" ] """ - The customer's bank. Only use this parameter for existing customers. Don't use it for new customers. + Affiliate details if applicable. """ - - -class PaymentIntentModifyParamsPaymentMethodDataInteracPresent(TypedDict): - pass - - -class PaymentIntentModifyParamsPaymentMethodDataKakaoPay(TypedDict): - pass - - -class PaymentIntentModifyParamsPaymentMethodDataKlarna(TypedDict): - dob: NotRequired["PaymentIntentModifyParamsPaymentMethodDataKlarnaDob"] + booking_number: NotRequired[str] """ - Customer's date of birth + Booking confirmation number for the lodging. """ - - -class PaymentIntentModifyParamsPaymentMethodDataKlarnaDob(TypedDict): - day: int + checkin_at: int """ - The day of birth, between 1 and 31. + Check-in date. """ - month: int + checkout_at: int """ - The month of birth, between 1 and 12. + Check-out date. """ - year: int + customer_service_phone_number: NotRequired[str] """ - The four-digit year of birth. + Customer service phone number for the lodging company. """ - - -class PaymentIntentModifyParamsPaymentMethodDataKonbini(TypedDict): - pass - - -class PaymentIntentModifyParamsPaymentMethodDataKrCard(TypedDict): - pass - - -class PaymentIntentModifyParamsPaymentMethodDataLink(TypedDict): - pass - - -class PaymentIntentModifyParamsPaymentMethodDataMbWay(TypedDict): - pass - - -class PaymentIntentModifyParamsPaymentMethodDataMobilepay(TypedDict): - pass - - -class PaymentIntentModifyParamsPaymentMethodDataMultibanco(TypedDict): - pass - - -class PaymentIntentModifyParamsPaymentMethodDataNaverPay(TypedDict): - funding: NotRequired[Literal["card", "points"]] + fire_safety_act_compliance_indicator: NotRequired[bool] """ - Whether to use Naver Pay points or a card to fund this transaction. If not provided, this defaults to `card`. + Whether the lodging is compliant with any hotel fire safety regulations. """ - - -class PaymentIntentModifyParamsPaymentMethodDataNzBankAccount(TypedDict): - account_holder_name: NotRequired[str] + guests: NotRequired[ + List["PaymentIntentModifyParamsPaymentDetailsLodgingDatumGuest"] + ] """ - The name on the bank account. Only required if the account holder name is different from the name of the authorized signatory collected in the PaymentMethod's billing details. + List of guests for the lodging. """ - account_number: str + host: NotRequired[ + "PaymentIntentModifyParamsPaymentDetailsLodgingDatumHost" + ] """ - The account number for the bank account. + Host details for the lodging. """ - bank_code: str + insurances: NotRequired[ + List["PaymentIntentModifyParamsPaymentDetailsLodgingDatumInsurance"] + ] """ - The numeric code for the bank account's bank. + List of insurances for the lodging. """ - branch_code: str + no_show_indicator: NotRequired[bool] """ - The numeric code for the bank account's bank branch. + Whether the renter is a no-show. """ - reference: NotRequired[str] - suffix: str + renter_id_number: NotRequired[str] """ - The suffix of the bank account number. + Renter ID number for the lodging. + """ + renter_name: NotRequired[str] + """ + Renter name for the lodging. + """ + total: "PaymentIntentModifyParamsPaymentDetailsLodgingDatumTotal" + """ + Total details for the lodging. """ -class PaymentIntentModifyParamsPaymentMethodDataOxxo(TypedDict): - pass - - -class PaymentIntentModifyParamsPaymentMethodDataP24(TypedDict): - bank: NotRequired[ +class PaymentIntentModifyParamsPaymentDetailsLodgingDatumAccommodation( + TypedDict, +): + accommodation_type: NotRequired[ Literal[ - "alior_bank", - "bank_millennium", - "bank_nowy_bfg_sa", - "bank_pekao_sa", - "banki_spbdzielcze", - "blik", - "bnp_paribas", - "boz", - "citi_handlowy", - "credit_agricole", - "envelobank", - "etransfer_pocztowy24", - "getin_bank", - "ideabank", - "ing", - "inteligo", - "mbank_mtransfer", - "nest_przelew", - "noble_pay", - "pbac_z_ipko", - "plus_bank", - "santander_przelew24", - "tmobile_usbugi_bankowe", - "toyota_bank", - "velobank", - "volkswagen_bank", + "apartment", + "cabana", + "house", + "penthouse", + "room", + "standard", + "suite", + "villa", ] ] """ - The customer's bank. + Type of accommodation. """ - - -class PaymentIntentModifyParamsPaymentMethodDataPayByBank(TypedDict): - pass - - -class PaymentIntentModifyParamsPaymentMethodDataPayco(TypedDict): - pass - - -class PaymentIntentModifyParamsPaymentMethodDataPaynow(TypedDict): - pass - - -class PaymentIntentModifyParamsPaymentMethodDataPaypal(TypedDict): - pass - - -class PaymentIntentModifyParamsPaymentMethodDataPaypay(TypedDict): - pass - - -class PaymentIntentModifyParamsPaymentMethodDataPayto(TypedDict): - account_number: NotRequired[str] + bed_type: NotRequired[str] """ - The account number for the bank account. + Bed type. """ - bsb_number: NotRequired[str] + daily_rate_amount: NotRequired[int] """ - Bank-State-Branch number of the bank account. + Daily accommodation rate in cents. """ - pay_id: NotRequired[str] + nights: NotRequired[int] """ - The PayID alias for the bank account. + Number of nights. + """ + number_of_rooms: NotRequired[int] + """ + Number of rooms, cabanas, apartments, and so on. + """ + rate_type: NotRequired[str] + """ + Rate type. + """ + smoking_indicator: NotRequired[bool] + """ + Whether smoking is allowed. """ -class PaymentIntentModifyParamsPaymentMethodDataPix(TypedDict): - pass - - -class PaymentIntentModifyParamsPaymentMethodDataPromptpay(TypedDict): - pass - - -class PaymentIntentModifyParamsPaymentMethodDataQris(TypedDict): - pass - - -class PaymentIntentModifyParamsPaymentMethodDataRadarOptions(TypedDict): - session: NotRequired[str] +class PaymentIntentModifyParamsPaymentDetailsLodgingDatumAffiliate(TypedDict): + code: NotRequired[str] """ - A [Radar Session](https://stripe.com/docs/radar/radar-session) is a snapshot of the browser metadata and device details that help Radar make more accurate predictions on your payments. + Affiliate partner code. + """ + name: NotRequired[str] + """ + Affiliate partner name. """ -class PaymentIntentModifyParamsPaymentMethodDataRechnung(TypedDict): - dob: "PaymentIntentModifyParamsPaymentMethodDataRechnungDob" +class PaymentIntentModifyParamsPaymentDetailsLodgingDatumGuest(TypedDict): + name: str """ - Customer's date of birth + Guest's full name. """ -class PaymentIntentModifyParamsPaymentMethodDataRechnungDob(TypedDict): - day: int +class PaymentIntentModifyParamsPaymentDetailsLodgingDatumHost(TypedDict): + address: NotRequired[ + "PaymentIntentModifyParamsPaymentDetailsLodgingDatumHostAddress" + ] """ - The day of birth, between 1 and 31. + Address of the host. """ - month: int + country_of_domicile: NotRequired[str] """ - The month of birth, between 1 and 12. + Host's country of domicile. """ - year: int + host_reference: NotRequired[str] """ - The four-digit year of birth. + Reference number for the host. """ - - -class PaymentIntentModifyParamsPaymentMethodDataRevolutPay(TypedDict): - pass - - -class PaymentIntentModifyParamsPaymentMethodDataSamsungPay(TypedDict): - pass - - -class PaymentIntentModifyParamsPaymentMethodDataSatispay(TypedDict): - pass - - -class PaymentIntentModifyParamsPaymentMethodDataSepaDebit(TypedDict): - iban: str + host_type: NotRequired[ + Literal["hostel", "hotel", "owner", "rental_agency"] + ] """ - IBAN of the bank account. + Type of host. """ - - -class PaymentIntentModifyParamsPaymentMethodDataShopeepay(TypedDict): - pass - - -class PaymentIntentModifyParamsPaymentMethodDataSofort(TypedDict): - country: Literal["AT", "BE", "DE", "ES", "IT", "NL"] + name: NotRequired[str] """ - Two-letter ISO code representing the country the bank account is located in. + Name of the lodging property or host. """ - - -class PaymentIntentModifyParamsPaymentMethodDataStripeBalance(TypedDict): - account: NotRequired[str] + number_of_reservations: NotRequired[int] """ - The connected account ID whose Stripe balance to use as the source of payment + Total number of reservations for the host. """ - source_type: NotRequired[Literal["bank_account", "card", "fpx"]] + property_phone_number: NotRequired[str] """ - The [source_type](https://docs.stripe.com/api/balance/balance_object#balance_object-available-source_types) of the balance + Property phone number. + """ + registered_at: NotRequired[int] + """ + Host's registration date. """ -class PaymentIntentModifyParamsPaymentMethodDataSwish(TypedDict): - pass - - -class PaymentIntentModifyParamsPaymentMethodDataTwint(TypedDict): - pass - - -class PaymentIntentModifyParamsPaymentMethodDataUsBankAccount(TypedDict): - account_holder_type: NotRequired[Literal["company", "individual"]] +class PaymentIntentModifyParamsPaymentDetailsLodgingDatumHostAddress( + TypedDict +): + city: str """ - Account holder type: individual or company. + City, district, suburb, town, or village. """ - account_number: NotRequired[str] + country: str """ - Account number of the bank account. + Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). """ - account_type: NotRequired[Literal["checking", "savings"]] + line1: str """ - Account type: checkings or savings. Defaults to checking if omitted. + Address line 1, such as the street, PO Box, or company name. """ - financial_connections_account: NotRequired[str] + line2: NotRequired[str] """ - The ID of a Financial Connections Account to use as a payment method. + Address line 2, such as the apartment, suite, unit, or building. """ - routing_number: NotRequired[str] + postal_code: str """ - Routing number of the bank account. + ZIP or postal code. + """ + state: NotRequired[str] + """ + State, county, province, or region. """ -class PaymentIntentModifyParamsPaymentMethodDataWechatPay(TypedDict): - pass - - -class PaymentIntentModifyParamsPaymentMethodDataZip(TypedDict): - pass - - -class PaymentIntentModifyParamsPaymentMethodOptions(TypedDict): - acss_debit: NotRequired[ - "Literal['']|PaymentIntentModifyParamsPaymentMethodOptionsAcssDebit" - ] +class PaymentIntentModifyParamsPaymentDetailsLodgingDatumInsurance(TypedDict): + amount: int """ - If this is a `acss_debit` PaymentMethod, this sub-hash contains details about the ACSS Debit payment method options. + Price of the insurance coverage in cents. """ - affirm: NotRequired[ - "Literal['']|PaymentIntentModifyParamsPaymentMethodOptionsAffirm" - ] + currency: NotRequired[str] """ - If this is an `affirm` PaymentMethod, this sub-hash contains details about the Affirm payment method options. + Currency of the insurance amount. """ - afterpay_clearpay: NotRequired[ - "Literal['']|PaymentIntentModifyParamsPaymentMethodOptionsAfterpayClearpay" - ] + insurance_company_name: NotRequired[str] """ - If this is a `afterpay_clearpay` PaymentMethod, this sub-hash contains details about the Afterpay Clearpay payment method options. + Name of the insurance company. """ - alipay: NotRequired[ - "Literal['']|PaymentIntentModifyParamsPaymentMethodOptionsAlipay" + insurance_type: Literal[ + "bankruptcy", "cancelation", "emergency", "medical" ] """ - If this is a `alipay` PaymentMethod, this sub-hash contains details about the Alipay payment method options. + Type of insurance coverage. """ - alma: NotRequired[ - "Literal['']|PaymentIntentModifyParamsPaymentMethodOptionsAlma" - ] + + +class PaymentIntentModifyParamsPaymentDetailsLodgingDatumTotal(TypedDict): + amount: int """ - If this is a `alma` PaymentMethod, this sub-hash contains details about the Alma payment method options. + Total price of the lodging reservation in cents. """ - amazon_pay: NotRequired[ - "Literal['']|PaymentIntentModifyParamsPaymentMethodOptionsAmazonPay" - ] + cash_advances: NotRequired[int] """ - If this is a `amazon_pay` PaymentMethod, this sub-hash contains details about the Amazon Pay payment method options. + Cash advances in cents. """ - au_becs_debit: NotRequired[ - "Literal['']|PaymentIntentModifyParamsPaymentMethodOptionsAuBecsDebit" - ] + currency: NotRequired[str] """ - If this is a `au_becs_debit` PaymentMethod, this sub-hash contains details about the AU BECS Direct Debit payment method options. + Currency of the total amount. """ - bacs_debit: NotRequired[ - "Literal['']|PaymentIntentModifyParamsPaymentMethodOptionsBacsDebit" + discounts: NotRequired[ + "PaymentIntentModifyParamsPaymentDetailsLodgingDatumTotalDiscounts" ] """ - If this is a `bacs_debit` PaymentMethod, this sub-hash contains details about the BACS Debit payment method options. + Discount details for the lodging. """ - bancontact: NotRequired[ - "Literal['']|PaymentIntentModifyParamsPaymentMethodOptionsBancontact" + extra_charges: NotRequired[ + List[ + "PaymentIntentModifyParamsPaymentDetailsLodgingDatumTotalExtraCharge" + ] ] """ - If this is a `bancontact` PaymentMethod, this sub-hash contains details about the Bancontact payment method options. + Additional charges for the lodging. """ - billie: NotRequired[ - "Literal['']|PaymentIntentModifyParamsPaymentMethodOptionsBillie" - ] + prepaid_amount: NotRequired[int] """ - If this is a `billie` PaymentMethod, this sub-hash contains details about the Billie payment method options. + Prepaid amount in cents. """ - blik: NotRequired[ - "Literal['']|PaymentIntentModifyParamsPaymentMethodOptionsBlik" + tax: NotRequired[ + "PaymentIntentModifyParamsPaymentDetailsLodgingDatumTotalTax" ] """ - If this is a `blik` PaymentMethod, this sub-hash contains details about the BLIK payment method options. + Tax breakdown for the lodging reservation. """ - boleto: NotRequired[ - "Literal['']|PaymentIntentModifyParamsPaymentMethodOptionsBoleto" - ] + + +class PaymentIntentModifyParamsPaymentDetailsLodgingDatumTotalDiscounts( + TypedDict, +): + corporate_client_code: NotRequired[str] """ - If this is a `boleto` PaymentMethod, this sub-hash contains details about the Boleto payment method options. + Corporate client discount code. """ - card: NotRequired[ - "Literal['']|PaymentIntentModifyParamsPaymentMethodOptionsCard" - ] + coupon: NotRequired[str] """ - Configuration for any card payments attempted on this PaymentIntent. + Coupon code. """ - card_present: NotRequired[ - "Literal['']|PaymentIntentModifyParamsPaymentMethodOptionsCardPresent" - ] + + +class PaymentIntentModifyParamsPaymentDetailsLodgingDatumTotalExtraCharge( + TypedDict, +): + amount: NotRequired[int] """ - If this is a `card_present` PaymentMethod, this sub-hash contains details about the Card Present payment method options. + Amount of the extra charge in cents. """ - cashapp: NotRequired[ - "Literal['']|PaymentIntentModifyParamsPaymentMethodOptionsCashapp" + type: NotRequired[ + Literal[ + "gift_shop", "laundry", "mini_bar", "other", "phone", "restaurant" + ] ] """ - If this is a `cashapp` PaymentMethod, this sub-hash contains details about the Cash App Pay payment method options. + Type of extra charge. """ - crypto: NotRequired[ - "Literal['']|PaymentIntentModifyParamsPaymentMethodOptionsCrypto" - ] + + +class PaymentIntentModifyParamsPaymentDetailsLodgingDatumTotalTax(TypedDict): + tax_exempt_indicator: NotRequired[bool] """ - If this is a `crypto` PaymentMethod, this sub-hash contains details about the Crypto payment method options. + Indicates whether the transaction is tax exempt. """ - customer_balance: NotRequired[ - "Literal['']|PaymentIntentModifyParamsPaymentMethodOptionsCustomerBalance" + taxes: NotRequired[ + List["PaymentIntentModifyParamsPaymentDetailsLodgingDatumTotalTaxTax"] ] """ - If this is a `customer balance` PaymentMethod, this sub-hash contains details about the customer balance payment method options. + Tax details. """ - eps: NotRequired[ - "Literal['']|PaymentIntentModifyParamsPaymentMethodOptionsEps" - ] + + +class PaymentIntentModifyParamsPaymentDetailsLodgingDatumTotalTaxTax( + TypedDict +): + amount: NotRequired[int] """ - If this is a `eps` PaymentMethod, this sub-hash contains details about the EPS payment method options. + Tax amount in cents. """ - fpx: NotRequired[ - "Literal['']|PaymentIntentModifyParamsPaymentMethodOptionsFpx" - ] + rate: NotRequired[int] """ - If this is a `fpx` PaymentMethod, this sub-hash contains details about the FPX payment method options. + Tax rate. """ - giropay: NotRequired[ - "Literal['']|PaymentIntentModifyParamsPaymentMethodOptionsGiropay" - ] + type: NotRequired[str] """ - If this is a `giropay` PaymentMethod, this sub-hash contains details about the Giropay payment method options. + Type of tax applied. """ - gopay: NotRequired[ - "Literal['']|PaymentIntentModifyParamsPaymentMethodOptionsGopay" + + +class PaymentIntentModifyParamsPaymentDetailsSubscription(TypedDict): + affiliate: NotRequired[ + "PaymentIntentModifyParamsPaymentDetailsSubscriptionAffiliate" ] """ - If this is a `gopay` PaymentMethod, this sub-hash contains details about the Gopay payment method options. + Affiliate details for this purchase. """ - grabpay: NotRequired[ - "Literal['']|PaymentIntentModifyParamsPaymentMethodOptionsGrabpay" - ] + auto_renewal: NotRequired[bool] """ - If this is a `grabpay` PaymentMethod, this sub-hash contains details about the Grabpay payment method options. + Info whether the subscription will be auto renewed upon expiry. """ - id_bank_transfer: NotRequired[ - "Literal['']|PaymentIntentModifyParamsPaymentMethodOptionsIdBankTransfer" + billing_interval: NotRequired[ + "PaymentIntentModifyParamsPaymentDetailsSubscriptionBillingInterval" ] """ - If this is a `id_bank_transfer` PaymentMethod, this sub-hash contains details about the Indonesia Bank Transfer payment method options. + Subscription billing details for this purchase. """ - ideal: NotRequired[ - "Literal['']|PaymentIntentModifyParamsPaymentMethodOptionsIdeal" - ] + ends_at: NotRequired[int] """ - If this is a `ideal` PaymentMethod, this sub-hash contains details about the Ideal payment method options. + Subscription end time. Measured in seconds since the Unix epoch. """ - interac_present: NotRequired[ - "Literal['']|PaymentIntentModifyParamsPaymentMethodOptionsInteracPresent" - ] + name: str """ - If this is a `interac_present` PaymentMethod, this sub-hash contains details about the Card Present payment method options. + Name of the product on subscription. e.g. Apple Music Subscription """ - kakao_pay: NotRequired[ - "Literal['']|PaymentIntentModifyParamsPaymentMethodOptionsKakaoPay" - ] + starts_at: NotRequired[int] """ - If this is a `kakao_pay` PaymentMethod, this sub-hash contains details about the Kakao Pay payment method options. + Subscription start time. Measured in seconds since the Unix epoch. """ - klarna: NotRequired[ - "Literal['']|PaymentIntentModifyParamsPaymentMethodOptionsKlarna" - ] + + +class PaymentIntentModifyParamsPaymentDetailsSubscriptionAffiliate(TypedDict): + name: str """ - If this is a `klarna` PaymentMethod, this sub-hash contains details about the Klarna payment method options. + The name of the affiliate that originated the purchase. """ - konbini: NotRequired[ - "Literal['']|PaymentIntentModifyParamsPaymentMethodOptionsKonbini" - ] + + +class PaymentIntentModifyParamsPaymentDetailsSubscriptionBillingInterval( + TypedDict, +): + count: int """ - If this is a `konbini` PaymentMethod, this sub-hash contains details about the Konbini payment method options. + The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration. """ - kr_card: NotRequired[ - "Literal['']|PaymentIntentModifyParamsPaymentMethodOptionsKrCard" - ] + interval: Literal["day", "month", "week", "year"] """ - If this is a `kr_card` PaymentMethod, this sub-hash contains details about the KR Card payment method options. + Specifies a type of interval unit. Either `day`, `week`, `month` or `year`. """ - link: NotRequired[ - "Literal['']|PaymentIntentModifyParamsPaymentMethodOptionsLink" + + +class PaymentIntentModifyParamsPaymentMethodData(TypedDict): + acss_debit: NotRequired[ + "PaymentIntentModifyParamsPaymentMethodDataAcssDebit" ] """ - If this is a `link` PaymentMethod, this sub-hash contains details about the Link payment method options. + If this is an `acss_debit` PaymentMethod, this hash contains details about the ACSS Debit payment method. """ - mb_way: NotRequired[ - "Literal['']|PaymentIntentModifyParamsPaymentMethodOptionsMbWay" - ] + affirm: NotRequired["PaymentIntentModifyParamsPaymentMethodDataAffirm"] """ - If this is a `mb_way` PaymentMethod, this sub-hash contains details about the MB WAY payment method options. + If this is an `affirm` PaymentMethod, this hash contains details about the Affirm payment method. """ - mobilepay: NotRequired[ - "Literal['']|PaymentIntentModifyParamsPaymentMethodOptionsMobilepay" + afterpay_clearpay: NotRequired[ + "PaymentIntentModifyParamsPaymentMethodDataAfterpayClearpay" ] """ - If this is a `MobilePay` PaymentMethod, this sub-hash contains details about the MobilePay payment method options. + If this is an `AfterpayClearpay` PaymentMethod, this hash contains details about the AfterpayClearpay payment method. """ - multibanco: NotRequired[ - "Literal['']|PaymentIntentModifyParamsPaymentMethodOptionsMultibanco" - ] + alipay: NotRequired["PaymentIntentModifyParamsPaymentMethodDataAlipay"] """ - If this is a `multibanco` PaymentMethod, this sub-hash contains details about the Multibanco payment method options. + If this is an `Alipay` PaymentMethod, this hash contains details about the Alipay payment method. """ - naver_pay: NotRequired[ - "Literal['']|PaymentIntentModifyParamsPaymentMethodOptionsNaverPay" - ] + allow_redisplay: NotRequired[Literal["always", "limited", "unspecified"]] """ - If this is a `naver_pay` PaymentMethod, this sub-hash contains details about the Naver Pay payment method options. + This field indicates whether this payment method can be shown again to its customer in a checkout flow. Stripe products such as Checkout and Elements use this field to determine whether a payment method can be shown as a saved payment method in a checkout flow. The field defaults to `unspecified`. """ - nz_bank_account: NotRequired[ - "Literal['']|PaymentIntentModifyParamsPaymentMethodOptionsNzBankAccount" - ] + alma: NotRequired["PaymentIntentModifyParamsPaymentMethodDataAlma"] """ - If this is a `nz_bank_account` PaymentMethod, this sub-hash contains details about the NZ BECS Direct Debit payment method options. + If this is a Alma PaymentMethod, this hash contains details about the Alma payment method. """ - oxxo: NotRequired[ - "Literal['']|PaymentIntentModifyParamsPaymentMethodOptionsOxxo" + amazon_pay: NotRequired[ + "PaymentIntentModifyParamsPaymentMethodDataAmazonPay" ] """ - If this is a `oxxo` PaymentMethod, this sub-hash contains details about the OXXO payment method options. + If this is a AmazonPay PaymentMethod, this hash contains details about the AmazonPay payment method. """ - p24: NotRequired[ - "Literal['']|PaymentIntentModifyParamsPaymentMethodOptionsP24" + au_becs_debit: NotRequired[ + "PaymentIntentModifyParamsPaymentMethodDataAuBecsDebit" ] """ - If this is a `p24` PaymentMethod, this sub-hash contains details about the Przelewy24 payment method options. + If this is an `au_becs_debit` PaymentMethod, this hash contains details about the bank account. """ - pay_by_bank: NotRequired[ - "Literal['']|PaymentIntentModifyParamsPaymentMethodOptionsPayByBank" + bacs_debit: NotRequired[ + "PaymentIntentModifyParamsPaymentMethodDataBacsDebit" + ] + """ + If this is a `bacs_debit` PaymentMethod, this hash contains details about the Bacs Direct Debit bank account. + """ + bancontact: NotRequired[ + "PaymentIntentModifyParamsPaymentMethodDataBancontact" + ] + """ + If this is a `bancontact` PaymentMethod, this hash contains details about the Bancontact payment method. + """ + billie: NotRequired["PaymentIntentModifyParamsPaymentMethodDataBillie"] + """ + If this is a `billie` PaymentMethod, this hash contains details about the Billie payment method. + """ + billing_details: NotRequired[ + "PaymentIntentModifyParamsPaymentMethodDataBillingDetails" + ] + """ + Billing information associated with the PaymentMethod that may be used or required by particular types of payment methods. + """ + blik: NotRequired["PaymentIntentModifyParamsPaymentMethodDataBlik"] + """ + If this is a `blik` PaymentMethod, this hash contains details about the BLIK payment method. + """ + boleto: NotRequired["PaymentIntentModifyParamsPaymentMethodDataBoleto"] + """ + If this is a `boleto` PaymentMethod, this hash contains details about the Boleto payment method. + """ + cashapp: NotRequired["PaymentIntentModifyParamsPaymentMethodDataCashapp"] + """ + If this is a `cashapp` PaymentMethod, this hash contains details about the Cash App Pay payment method. + """ + crypto: NotRequired["PaymentIntentModifyParamsPaymentMethodDataCrypto"] + """ + If this is a Crypto PaymentMethod, this hash contains details about the Crypto payment method. + """ + customer_balance: NotRequired[ + "PaymentIntentModifyParamsPaymentMethodDataCustomerBalance" + ] + """ + If this is a `customer_balance` PaymentMethod, this hash contains details about the CustomerBalance payment method. + """ + eps: NotRequired["PaymentIntentModifyParamsPaymentMethodDataEps"] + """ + If this is an `eps` PaymentMethod, this hash contains details about the EPS payment method. + """ + fpx: NotRequired["PaymentIntentModifyParamsPaymentMethodDataFpx"] + """ + If this is an `fpx` PaymentMethod, this hash contains details about the FPX payment method. + """ + giropay: NotRequired["PaymentIntentModifyParamsPaymentMethodDataGiropay"] + """ + If this is a `giropay` PaymentMethod, this hash contains details about the Giropay payment method. + """ + gopay: NotRequired["PaymentIntentModifyParamsPaymentMethodDataGopay"] + """ + If this is a Gopay PaymentMethod, this hash contains details about the Gopay payment method. + """ + grabpay: NotRequired["PaymentIntentModifyParamsPaymentMethodDataGrabpay"] + """ + If this is a `grabpay` PaymentMethod, this hash contains details about the GrabPay payment method. + """ + id_bank_transfer: NotRequired[ + "PaymentIntentModifyParamsPaymentMethodDataIdBankTransfer" + ] + """ + If this is an `IdBankTransfer` PaymentMethod, this hash contains details about the IdBankTransfer payment method. + """ + ideal: NotRequired["PaymentIntentModifyParamsPaymentMethodDataIdeal"] + """ + If this is an `ideal` PaymentMethod, this hash contains details about the iDEAL payment method. + """ + interac_present: NotRequired[ + "PaymentIntentModifyParamsPaymentMethodDataInteracPresent" + ] + """ + If this is an `interac_present` PaymentMethod, this hash contains details about the Interac Present payment method. + """ + kakao_pay: NotRequired[ + "PaymentIntentModifyParamsPaymentMethodDataKakaoPay" + ] + """ + If this is a `kakao_pay` PaymentMethod, this hash contains details about the Kakao Pay payment method. + """ + klarna: NotRequired["PaymentIntentModifyParamsPaymentMethodDataKlarna"] + """ + If this is a `klarna` PaymentMethod, this hash contains details about the Klarna payment method. + """ + konbini: NotRequired["PaymentIntentModifyParamsPaymentMethodDataKonbini"] + """ + If this is a `konbini` PaymentMethod, this hash contains details about the Konbini payment method. + """ + kr_card: NotRequired["PaymentIntentModifyParamsPaymentMethodDataKrCard"] + """ + If this is a `kr_card` PaymentMethod, this hash contains details about the Korean Card payment method. + """ + link: NotRequired["PaymentIntentModifyParamsPaymentMethodDataLink"] + """ + If this is an `Link` PaymentMethod, this hash contains details about the Link payment method. + """ + mb_way: NotRequired["PaymentIntentModifyParamsPaymentMethodDataMbWay"] + """ + If this is a MB WAY PaymentMethod, this hash contains details about the MB WAY payment method. + """ + metadata: NotRequired[Dict[str, str]] + """ + Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. + """ + mobilepay: NotRequired[ + "PaymentIntentModifyParamsPaymentMethodDataMobilepay" + ] + """ + If this is a `mobilepay` PaymentMethod, this hash contains details about the MobilePay payment method. + """ + multibanco: NotRequired[ + "PaymentIntentModifyParamsPaymentMethodDataMultibanco" + ] + """ + If this is a `multibanco` PaymentMethod, this hash contains details about the Multibanco payment method. + """ + naver_pay: NotRequired[ + "PaymentIntentModifyParamsPaymentMethodDataNaverPay" + ] + """ + If this is a `naver_pay` PaymentMethod, this hash contains details about the Naver Pay payment method. + """ + nz_bank_account: NotRequired[ + "PaymentIntentModifyParamsPaymentMethodDataNzBankAccount" + ] + """ + If this is an nz_bank_account PaymentMethod, this hash contains details about the nz_bank_account payment method. + """ + oxxo: NotRequired["PaymentIntentModifyParamsPaymentMethodDataOxxo"] + """ + If this is an `oxxo` PaymentMethod, this hash contains details about the OXXO payment method. + """ + p24: NotRequired["PaymentIntentModifyParamsPaymentMethodDataP24"] + """ + If this is a `p24` PaymentMethod, this hash contains details about the P24 payment method. + """ + pay_by_bank: NotRequired[ + "PaymentIntentModifyParamsPaymentMethodDataPayByBank" + ] + """ + If this is a `pay_by_bank` PaymentMethod, this hash contains details about the PayByBank payment method. + """ + payco: NotRequired["PaymentIntentModifyParamsPaymentMethodDataPayco"] + """ + If this is a `payco` PaymentMethod, this hash contains details about the PAYCO payment method. + """ + paynow: NotRequired["PaymentIntentModifyParamsPaymentMethodDataPaynow"] + """ + If this is a `paynow` PaymentMethod, this hash contains details about the PayNow payment method. + """ + paypal: NotRequired["PaymentIntentModifyParamsPaymentMethodDataPaypal"] + """ + If this is a `paypal` PaymentMethod, this hash contains details about the PayPal payment method. + """ + paypay: NotRequired["PaymentIntentModifyParamsPaymentMethodDataPaypay"] + """ + If this is a `paypay` PaymentMethod, this hash contains details about the PayPay payment method. + """ + payto: NotRequired["PaymentIntentModifyParamsPaymentMethodDataPayto"] + """ + If this is a `payto` PaymentMethod, this hash contains details about the PayTo payment method. + """ + pix: NotRequired["PaymentIntentModifyParamsPaymentMethodDataPix"] + """ + If this is a `pix` PaymentMethod, this hash contains details about the Pix payment method. + """ + promptpay: NotRequired[ + "PaymentIntentModifyParamsPaymentMethodDataPromptpay" + ] + """ + If this is a `promptpay` PaymentMethod, this hash contains details about the PromptPay payment method. + """ + qris: NotRequired["PaymentIntentModifyParamsPaymentMethodDataQris"] + """ + If this is a `qris` PaymentMethod, this hash contains details about the QRIS payment method. + """ + radar_options: NotRequired[ + "PaymentIntentModifyParamsPaymentMethodDataRadarOptions" + ] + """ + Options to configure Radar. See [Radar Session](https://stripe.com/docs/radar/radar-session) for more information. + """ + rechnung: NotRequired["PaymentIntentModifyParamsPaymentMethodDataRechnung"] + """ + If this is a `rechnung` PaymentMethod, this hash contains details about the Rechnung payment method. + """ + revolut_pay: NotRequired[ + "PaymentIntentModifyParamsPaymentMethodDataRevolutPay" + ] + """ + If this is a `revolut_pay` PaymentMethod, this hash contains details about the Revolut Pay payment method. + """ + samsung_pay: NotRequired[ + "PaymentIntentModifyParamsPaymentMethodDataSamsungPay" + ] + """ + If this is a `samsung_pay` PaymentMethod, this hash contains details about the SamsungPay payment method. + """ + satispay: NotRequired["PaymentIntentModifyParamsPaymentMethodDataSatispay"] + """ + If this is a `satispay` PaymentMethod, this hash contains details about the Satispay payment method. + """ + sepa_debit: NotRequired[ + "PaymentIntentModifyParamsPaymentMethodDataSepaDebit" + ] + """ + If this is a `sepa_debit` PaymentMethod, this hash contains details about the SEPA debit bank account. + """ + shopeepay: NotRequired[ + "PaymentIntentModifyParamsPaymentMethodDataShopeepay" + ] + """ + If this is a Shopeepay PaymentMethod, this hash contains details about the Shopeepay payment method. + """ + sofort: NotRequired["PaymentIntentModifyParamsPaymentMethodDataSofort"] + """ + If this is a `sofort` PaymentMethod, this hash contains details about the SOFORT payment method. + """ + stripe_balance: NotRequired[ + "PaymentIntentModifyParamsPaymentMethodDataStripeBalance" + ] + """ + This hash contains details about the Stripe balance payment method. + """ + swish: NotRequired["PaymentIntentModifyParamsPaymentMethodDataSwish"] + """ + If this is a `swish` PaymentMethod, this hash contains details about the Swish payment method. + """ + twint: NotRequired["PaymentIntentModifyParamsPaymentMethodDataTwint"] + """ + If this is a TWINT PaymentMethod, this hash contains details about the TWINT payment method. + """ + type: Literal[ + "acss_debit", + "affirm", + "afterpay_clearpay", + "alipay", + "alma", + "amazon_pay", + "au_becs_debit", + "bacs_debit", + "bancontact", + "billie", + "blik", + "boleto", + "cashapp", + "crypto", + "customer_balance", + "eps", + "fpx", + "giropay", + "gopay", + "grabpay", + "id_bank_transfer", + "ideal", + "kakao_pay", + "klarna", + "konbini", + "kr_card", + "link", + "mb_way", + "mobilepay", + "multibanco", + "naver_pay", + "nz_bank_account", + "oxxo", + "p24", + "pay_by_bank", + "payco", + "paynow", + "paypal", + "paypay", + "payto", + "pix", + "promptpay", + "qris", + "rechnung", + "revolut_pay", + "samsung_pay", + "satispay", + "sepa_debit", + "shopeepay", + "sofort", + "stripe_balance", + "swish", + "twint", + "us_bank_account", + "wechat_pay", + "zip", + ] + """ + The type of the PaymentMethod. An additional hash is included on the PaymentMethod with a name matching this value. It contains additional information specific to the PaymentMethod type. + """ + us_bank_account: NotRequired[ + "PaymentIntentModifyParamsPaymentMethodDataUsBankAccount" + ] + """ + If this is an `us_bank_account` PaymentMethod, this hash contains details about the US bank account payment method. + """ + wechat_pay: NotRequired[ + "PaymentIntentModifyParamsPaymentMethodDataWechatPay" + ] + """ + If this is an `wechat_pay` PaymentMethod, this hash contains details about the wechat_pay payment method. + """ + zip: NotRequired["PaymentIntentModifyParamsPaymentMethodDataZip"] + """ + If this is a `zip` PaymentMethod, this hash contains details about the Zip payment method. + """ + + +class PaymentIntentModifyParamsPaymentMethodDataAcssDebit(TypedDict): + account_number: str + """ + Customer's bank account number. + """ + institution_number: str + """ + Institution number of the customer's bank. + """ + transit_number: str + """ + Transit number of the customer's bank. + """ + + +class PaymentIntentModifyParamsPaymentMethodDataAffirm(TypedDict): + pass + + +class PaymentIntentModifyParamsPaymentMethodDataAfterpayClearpay(TypedDict): + pass + + +class PaymentIntentModifyParamsPaymentMethodDataAlipay(TypedDict): + pass + + +class PaymentIntentModifyParamsPaymentMethodDataAlma(TypedDict): + pass + + +class PaymentIntentModifyParamsPaymentMethodDataAmazonPay(TypedDict): + pass + + +class PaymentIntentModifyParamsPaymentMethodDataAuBecsDebit(TypedDict): + account_number: str + """ + The account number for the bank account. + """ + bsb_number: str + """ + Bank-State-Branch number of the bank account. + """ + + +class PaymentIntentModifyParamsPaymentMethodDataBacsDebit(TypedDict): + account_number: NotRequired[str] + """ + Account number of the bank account that the funds will be debited from. + """ + sort_code: NotRequired[str] + """ + Sort code of the bank account. (e.g., `10-20-30`) + """ + + +class PaymentIntentModifyParamsPaymentMethodDataBancontact(TypedDict): + pass + + +class PaymentIntentModifyParamsPaymentMethodDataBillie(TypedDict): + pass + + +class PaymentIntentModifyParamsPaymentMethodDataBillingDetails(TypedDict): + address: NotRequired[ + "Literal['']|PaymentIntentModifyParamsPaymentMethodDataBillingDetailsAddress" + ] + """ + Billing address. + """ + email: NotRequired["Literal['']|str"] + """ + Email address. + """ + name: NotRequired["Literal['']|str"] + """ + Full name. + """ + phone: NotRequired["Literal['']|str"] + """ + Billing phone number (including extension). + """ + tax_id: NotRequired[str] + """ + Taxpayer identification number. Used only for transactions between LATAM buyers and non-LATAM sellers. + """ + + +class PaymentIntentModifyParamsPaymentMethodDataBillingDetailsAddress( + TypedDict, +): + city: NotRequired[str] + """ + City, district, suburb, town, or village. + """ + country: NotRequired[str] + """ + Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). + """ + line1: NotRequired[str] + """ + Address line 1, such as the street, PO Box, or company name. + """ + line2: NotRequired[str] + """ + Address line 2, such as the apartment, suite, unit, or building. + """ + postal_code: NotRequired[str] + """ + ZIP or postal code. + """ + state: NotRequired[str] + """ + State, county, province, or region. + """ + + +class PaymentIntentModifyParamsPaymentMethodDataBlik(TypedDict): + pass + + +class PaymentIntentModifyParamsPaymentMethodDataBoleto(TypedDict): + tax_id: str + """ + The tax ID of the customer (CPF for individual consumers or CNPJ for businesses consumers) + """ + + +class PaymentIntentModifyParamsPaymentMethodDataCashapp(TypedDict): + pass + + +class PaymentIntentModifyParamsPaymentMethodDataCrypto(TypedDict): + pass + + +class PaymentIntentModifyParamsPaymentMethodDataCustomerBalance(TypedDict): + pass + + +class PaymentIntentModifyParamsPaymentMethodDataEps(TypedDict): + bank: NotRequired[ + Literal[ + "arzte_und_apotheker_bank", + "austrian_anadi_bank_ag", + "bank_austria", + "bankhaus_carl_spangler", + "bankhaus_schelhammer_und_schattera_ag", + "bawag_psk_ag", + "bks_bank_ag", + "brull_kallmus_bank_ag", + "btv_vier_lander_bank", + "capital_bank_grawe_gruppe_ag", + "deutsche_bank_ag", + "dolomitenbank", + "easybank_ag", + "erste_bank_und_sparkassen", + "hypo_alpeadriabank_international_ag", + "hypo_bank_burgenland_aktiengesellschaft", + "hypo_noe_lb_fur_niederosterreich_u_wien", + "hypo_oberosterreich_salzburg_steiermark", + "hypo_tirol_bank_ag", + "hypo_vorarlberg_bank_ag", + "marchfelder_bank", + "oberbank_ag", + "raiffeisen_bankengruppe_osterreich", + "schoellerbank_ag", + "sparda_bank_wien", + "volksbank_gruppe", + "volkskreditbank_ag", + "vr_bank_braunau", + ] + ] + """ + The customer's bank. + """ + + +class PaymentIntentModifyParamsPaymentMethodDataFpx(TypedDict): + account_holder_type: NotRequired[Literal["company", "individual"]] + """ + Account holder type for FPX transaction + """ + bank: Literal[ + "affin_bank", + "agrobank", + "alliance_bank", + "ambank", + "bank_islam", + "bank_muamalat", + "bank_of_china", + "bank_rakyat", + "bsn", + "cimb", + "deutsche_bank", + "hong_leong_bank", + "hsbc", + "kfh", + "maybank2e", + "maybank2u", + "ocbc", + "pb_enterprise", + "public_bank", + "rhb", + "standard_chartered", + "uob", + ] + """ + The customer's bank. + """ + + +class PaymentIntentModifyParamsPaymentMethodDataGiropay(TypedDict): + pass + + +class PaymentIntentModifyParamsPaymentMethodDataGopay(TypedDict): + pass + + +class PaymentIntentModifyParamsPaymentMethodDataGrabpay(TypedDict): + pass + + +class PaymentIntentModifyParamsPaymentMethodDataIdBankTransfer(TypedDict): + bank: NotRequired[Literal["bca", "bni", "bri", "cimb", "permata"]] + """ + Bank where the account is held. + """ + + +class PaymentIntentModifyParamsPaymentMethodDataIdeal(TypedDict): + bank: NotRequired[ + Literal[ + "abn_amro", + "asn_bank", + "bunq", + "buut", + "finom", + "handelsbanken", + "ing", + "knab", + "moneyou", + "n26", + "nn", + "rabobank", + "regiobank", + "revolut", + "sns_bank", + "triodos_bank", + "van_lanschot", + "yoursafe", + ] + ] + """ + The customer's bank. Only use this parameter for existing customers. Don't use it for new customers. + """ + + +class PaymentIntentModifyParamsPaymentMethodDataInteracPresent(TypedDict): + pass + + +class PaymentIntentModifyParamsPaymentMethodDataKakaoPay(TypedDict): + pass + + +class PaymentIntentModifyParamsPaymentMethodDataKlarna(TypedDict): + dob: NotRequired["PaymentIntentModifyParamsPaymentMethodDataKlarnaDob"] + """ + Customer's date of birth + """ + + +class PaymentIntentModifyParamsPaymentMethodDataKlarnaDob(TypedDict): + day: int + """ + The day of birth, between 1 and 31. + """ + month: int + """ + The month of birth, between 1 and 12. + """ + year: int + """ + The four-digit year of birth. + """ + + +class PaymentIntentModifyParamsPaymentMethodDataKonbini(TypedDict): + pass + + +class PaymentIntentModifyParamsPaymentMethodDataKrCard(TypedDict): + pass + + +class PaymentIntentModifyParamsPaymentMethodDataLink(TypedDict): + pass + + +class PaymentIntentModifyParamsPaymentMethodDataMbWay(TypedDict): + pass + + +class PaymentIntentModifyParamsPaymentMethodDataMobilepay(TypedDict): + pass + + +class PaymentIntentModifyParamsPaymentMethodDataMultibanco(TypedDict): + pass + + +class PaymentIntentModifyParamsPaymentMethodDataNaverPay(TypedDict): + funding: NotRequired[Literal["card", "points"]] + """ + Whether to use Naver Pay points or a card to fund this transaction. If not provided, this defaults to `card`. + """ + + +class PaymentIntentModifyParamsPaymentMethodDataNzBankAccount(TypedDict): + account_holder_name: NotRequired[str] + """ + The name on the bank account. Only required if the account holder name is different from the name of the authorized signatory collected in the PaymentMethod's billing details. + """ + account_number: str + """ + The account number for the bank account. + """ + bank_code: str + """ + The numeric code for the bank account's bank. + """ + branch_code: str + """ + The numeric code for the bank account's bank branch. + """ + reference: NotRequired[str] + suffix: str + """ + The suffix of the bank account number. + """ + + +class PaymentIntentModifyParamsPaymentMethodDataOxxo(TypedDict): + pass + + +class PaymentIntentModifyParamsPaymentMethodDataP24(TypedDict): + bank: NotRequired[ + Literal[ + "alior_bank", + "bank_millennium", + "bank_nowy_bfg_sa", + "bank_pekao_sa", + "banki_spbdzielcze", + "blik", + "bnp_paribas", + "boz", + "citi_handlowy", + "credit_agricole", + "envelobank", + "etransfer_pocztowy24", + "getin_bank", + "ideabank", + "ing", + "inteligo", + "mbank_mtransfer", + "nest_przelew", + "noble_pay", + "pbac_z_ipko", + "plus_bank", + "santander_przelew24", + "tmobile_usbugi_bankowe", + "toyota_bank", + "velobank", + "volkswagen_bank", + ] + ] + """ + The customer's bank. + """ + + +class PaymentIntentModifyParamsPaymentMethodDataPayByBank(TypedDict): + pass + + +class PaymentIntentModifyParamsPaymentMethodDataPayco(TypedDict): + pass + + +class PaymentIntentModifyParamsPaymentMethodDataPaynow(TypedDict): + pass + + +class PaymentIntentModifyParamsPaymentMethodDataPaypal(TypedDict): + pass + + +class PaymentIntentModifyParamsPaymentMethodDataPaypay(TypedDict): + pass + + +class PaymentIntentModifyParamsPaymentMethodDataPayto(TypedDict): + account_number: NotRequired[str] + """ + The account number for the bank account. + """ + bsb_number: NotRequired[str] + """ + Bank-State-Branch number of the bank account. + """ + pay_id: NotRequired[str] + """ + The PayID alias for the bank account. + """ + + +class PaymentIntentModifyParamsPaymentMethodDataPix(TypedDict): + pass + + +class PaymentIntentModifyParamsPaymentMethodDataPromptpay(TypedDict): + pass + + +class PaymentIntentModifyParamsPaymentMethodDataQris(TypedDict): + pass + + +class PaymentIntentModifyParamsPaymentMethodDataRadarOptions(TypedDict): + session: NotRequired[str] + """ + A [Radar Session](https://stripe.com/docs/radar/radar-session) is a snapshot of the browser metadata and device details that help Radar make more accurate predictions on your payments. + """ + + +class PaymentIntentModifyParamsPaymentMethodDataRechnung(TypedDict): + dob: "PaymentIntentModifyParamsPaymentMethodDataRechnungDob" + """ + Customer's date of birth + """ + + +class PaymentIntentModifyParamsPaymentMethodDataRechnungDob(TypedDict): + day: int + """ + The day of birth, between 1 and 31. + """ + month: int + """ + The month of birth, between 1 and 12. + """ + year: int + """ + The four-digit year of birth. + """ + + +class PaymentIntentModifyParamsPaymentMethodDataRevolutPay(TypedDict): + pass + + +class PaymentIntentModifyParamsPaymentMethodDataSamsungPay(TypedDict): + pass + + +class PaymentIntentModifyParamsPaymentMethodDataSatispay(TypedDict): + pass + + +class PaymentIntentModifyParamsPaymentMethodDataSepaDebit(TypedDict): + iban: str + """ + IBAN of the bank account. + """ + + +class PaymentIntentModifyParamsPaymentMethodDataShopeepay(TypedDict): + pass + + +class PaymentIntentModifyParamsPaymentMethodDataSofort(TypedDict): + country: Literal["AT", "BE", "DE", "ES", "IT", "NL"] + """ + Two-letter ISO code representing the country the bank account is located in. + """ + + +class PaymentIntentModifyParamsPaymentMethodDataStripeBalance(TypedDict): + account: NotRequired[str] + """ + The connected account ID whose Stripe balance to use as the source of payment + """ + source_type: NotRequired[Literal["bank_account", "card", "fpx"]] + """ + The [source_type](https://docs.stripe.com/api/balance/balance_object#balance_object-available-source_types) of the balance + """ + + +class PaymentIntentModifyParamsPaymentMethodDataSwish(TypedDict): + pass + + +class PaymentIntentModifyParamsPaymentMethodDataTwint(TypedDict): + pass + + +class PaymentIntentModifyParamsPaymentMethodDataUsBankAccount(TypedDict): + account_holder_type: NotRequired[Literal["company", "individual"]] + """ + Account holder type: individual or company. + """ + account_number: NotRequired[str] + """ + Account number of the bank account. + """ + account_type: NotRequired[Literal["checking", "savings"]] + """ + Account type: checkings or savings. Defaults to checking if omitted. + """ + financial_connections_account: NotRequired[str] + """ + The ID of a Financial Connections Account to use as a payment method. + """ + routing_number: NotRequired[str] + """ + Routing number of the bank account. + """ + + +class PaymentIntentModifyParamsPaymentMethodDataWechatPay(TypedDict): + pass + + +class PaymentIntentModifyParamsPaymentMethodDataZip(TypedDict): + pass + + +class PaymentIntentModifyParamsPaymentMethodOptions(TypedDict): + acss_debit: NotRequired[ + "Literal['']|PaymentIntentModifyParamsPaymentMethodOptionsAcssDebit" + ] + """ + If this is a `acss_debit` PaymentMethod, this sub-hash contains details about the ACSS Debit payment method options. + """ + affirm: NotRequired[ + "Literal['']|PaymentIntentModifyParamsPaymentMethodOptionsAffirm" + ] + """ + If this is an `affirm` PaymentMethod, this sub-hash contains details about the Affirm payment method options. + """ + afterpay_clearpay: NotRequired[ + "Literal['']|PaymentIntentModifyParamsPaymentMethodOptionsAfterpayClearpay" + ] + """ + If this is a `afterpay_clearpay` PaymentMethod, this sub-hash contains details about the Afterpay Clearpay payment method options. + """ + alipay: NotRequired[ + "Literal['']|PaymentIntentModifyParamsPaymentMethodOptionsAlipay" + ] + """ + If this is a `alipay` PaymentMethod, this sub-hash contains details about the Alipay payment method options. + """ + alma: NotRequired[ + "Literal['']|PaymentIntentModifyParamsPaymentMethodOptionsAlma" + ] + """ + If this is a `alma` PaymentMethod, this sub-hash contains details about the Alma payment method options. + """ + amazon_pay: NotRequired[ + "Literal['']|PaymentIntentModifyParamsPaymentMethodOptionsAmazonPay" + ] + """ + If this is a `amazon_pay` PaymentMethod, this sub-hash contains details about the Amazon Pay payment method options. + """ + au_becs_debit: NotRequired[ + "Literal['']|PaymentIntentModifyParamsPaymentMethodOptionsAuBecsDebit" + ] + """ + If this is a `au_becs_debit` PaymentMethod, this sub-hash contains details about the AU BECS Direct Debit payment method options. + """ + bacs_debit: NotRequired[ + "Literal['']|PaymentIntentModifyParamsPaymentMethodOptionsBacsDebit" + ] + """ + If this is a `bacs_debit` PaymentMethod, this sub-hash contains details about the BACS Debit payment method options. + """ + bancontact: NotRequired[ + "Literal['']|PaymentIntentModifyParamsPaymentMethodOptionsBancontact" + ] + """ + If this is a `bancontact` PaymentMethod, this sub-hash contains details about the Bancontact payment method options. + """ + billie: NotRequired[ + "Literal['']|PaymentIntentModifyParamsPaymentMethodOptionsBillie" + ] + """ + If this is a `billie` PaymentMethod, this sub-hash contains details about the Billie payment method options. + """ + blik: NotRequired[ + "Literal['']|PaymentIntentModifyParamsPaymentMethodOptionsBlik" + ] + """ + If this is a `blik` PaymentMethod, this sub-hash contains details about the BLIK payment method options. + """ + boleto: NotRequired[ + "Literal['']|PaymentIntentModifyParamsPaymentMethodOptionsBoleto" + ] + """ + If this is a `boleto` PaymentMethod, this sub-hash contains details about the Boleto payment method options. + """ + card: NotRequired[ + "Literal['']|PaymentIntentModifyParamsPaymentMethodOptionsCard" + ] + """ + Configuration for any card payments attempted on this PaymentIntent. + """ + card_present: NotRequired[ + "Literal['']|PaymentIntentModifyParamsPaymentMethodOptionsCardPresent" + ] + """ + If this is a `card_present` PaymentMethod, this sub-hash contains details about the Card Present payment method options. + """ + cashapp: NotRequired[ + "Literal['']|PaymentIntentModifyParamsPaymentMethodOptionsCashapp" + ] + """ + If this is a `cashapp` PaymentMethod, this sub-hash contains details about the Cash App Pay payment method options. + """ + crypto: NotRequired[ + "Literal['']|PaymentIntentModifyParamsPaymentMethodOptionsCrypto" + ] + """ + If this is a `crypto` PaymentMethod, this sub-hash contains details about the Crypto payment method options. + """ + customer_balance: NotRequired[ + "Literal['']|PaymentIntentModifyParamsPaymentMethodOptionsCustomerBalance" + ] + """ + If this is a `customer balance` PaymentMethod, this sub-hash contains details about the customer balance payment method options. + """ + eps: NotRequired[ + "Literal['']|PaymentIntentModifyParamsPaymentMethodOptionsEps" + ] + """ + If this is a `eps` PaymentMethod, this sub-hash contains details about the EPS payment method options. + """ + fpx: NotRequired[ + "Literal['']|PaymentIntentModifyParamsPaymentMethodOptionsFpx" + ] + """ + If this is a `fpx` PaymentMethod, this sub-hash contains details about the FPX payment method options. + """ + giropay: NotRequired[ + "Literal['']|PaymentIntentModifyParamsPaymentMethodOptionsGiropay" + ] + """ + If this is a `giropay` PaymentMethod, this sub-hash contains details about the Giropay payment method options. + """ + gopay: NotRequired[ + "Literal['']|PaymentIntentModifyParamsPaymentMethodOptionsGopay" + ] + """ + If this is a `gopay` PaymentMethod, this sub-hash contains details about the Gopay payment method options. + """ + grabpay: NotRequired[ + "Literal['']|PaymentIntentModifyParamsPaymentMethodOptionsGrabpay" + ] + """ + If this is a `grabpay` PaymentMethod, this sub-hash contains details about the Grabpay payment method options. + """ + id_bank_transfer: NotRequired[ + "Literal['']|PaymentIntentModifyParamsPaymentMethodOptionsIdBankTransfer" + ] + """ + If this is a `id_bank_transfer` PaymentMethod, this sub-hash contains details about the Indonesia Bank Transfer payment method options. + """ + ideal: NotRequired[ + "Literal['']|PaymentIntentModifyParamsPaymentMethodOptionsIdeal" + ] + """ + If this is a `ideal` PaymentMethod, this sub-hash contains details about the Ideal payment method options. + """ + interac_present: NotRequired[ + "Literal['']|PaymentIntentModifyParamsPaymentMethodOptionsInteracPresent" + ] + """ + If this is a `interac_present` PaymentMethod, this sub-hash contains details about the Card Present payment method options. + """ + kakao_pay: NotRequired[ + "Literal['']|PaymentIntentModifyParamsPaymentMethodOptionsKakaoPay" + ] + """ + If this is a `kakao_pay` PaymentMethod, this sub-hash contains details about the Kakao Pay payment method options. + """ + klarna: NotRequired[ + "Literal['']|PaymentIntentModifyParamsPaymentMethodOptionsKlarna" + ] + """ + If this is a `klarna` PaymentMethod, this sub-hash contains details about the Klarna payment method options. + """ + konbini: NotRequired[ + "Literal['']|PaymentIntentModifyParamsPaymentMethodOptionsKonbini" + ] + """ + If this is a `konbini` PaymentMethod, this sub-hash contains details about the Konbini payment method options. + """ + kr_card: NotRequired[ + "Literal['']|PaymentIntentModifyParamsPaymentMethodOptionsKrCard" + ] + """ + If this is a `kr_card` PaymentMethod, this sub-hash contains details about the KR Card payment method options. + """ + link: NotRequired[ + "Literal['']|PaymentIntentModifyParamsPaymentMethodOptionsLink" + ] + """ + If this is a `link` PaymentMethod, this sub-hash contains details about the Link payment method options. + """ + mb_way: NotRequired[ + "Literal['']|PaymentIntentModifyParamsPaymentMethodOptionsMbWay" + ] + """ + If this is a `mb_way` PaymentMethod, this sub-hash contains details about the MB WAY payment method options. + """ + mobilepay: NotRequired[ + "Literal['']|PaymentIntentModifyParamsPaymentMethodOptionsMobilepay" + ] + """ + If this is a `MobilePay` PaymentMethod, this sub-hash contains details about the MobilePay payment method options. + """ + multibanco: NotRequired[ + "Literal['']|PaymentIntentModifyParamsPaymentMethodOptionsMultibanco" + ] + """ + If this is a `multibanco` PaymentMethod, this sub-hash contains details about the Multibanco payment method options. + """ + naver_pay: NotRequired[ + "Literal['']|PaymentIntentModifyParamsPaymentMethodOptionsNaverPay" + ] + """ + If this is a `naver_pay` PaymentMethod, this sub-hash contains details about the Naver Pay payment method options. + """ + nz_bank_account: NotRequired[ + "Literal['']|PaymentIntentModifyParamsPaymentMethodOptionsNzBankAccount" + ] + """ + If this is a `nz_bank_account` PaymentMethod, this sub-hash contains details about the NZ BECS Direct Debit payment method options. + """ + oxxo: NotRequired[ + "Literal['']|PaymentIntentModifyParamsPaymentMethodOptionsOxxo" + ] + """ + If this is a `oxxo` PaymentMethod, this sub-hash contains details about the OXXO payment method options. + """ + p24: NotRequired[ + "Literal['']|PaymentIntentModifyParamsPaymentMethodOptionsP24" + ] + """ + If this is a `p24` PaymentMethod, this sub-hash contains details about the Przelewy24 payment method options. + """ + pay_by_bank: NotRequired[ + "Literal['']|PaymentIntentModifyParamsPaymentMethodOptionsPayByBank" ] """ If this is a `pay_by_bank` PaymentMethod, this sub-hash contains details about the PayByBank payment method options. """ - payco: NotRequired[ - "Literal['']|PaymentIntentModifyParamsPaymentMethodOptionsPayco" + payco: NotRequired[ + "Literal['']|PaymentIntentModifyParamsPaymentMethodOptionsPayco" + ] + """ + If this is a `payco` PaymentMethod, this sub-hash contains details about the PAYCO payment method options. + """ + paynow: NotRequired[ + "Literal['']|PaymentIntentModifyParamsPaymentMethodOptionsPaynow" + ] + """ + If this is a `paynow` PaymentMethod, this sub-hash contains details about the PayNow payment method options. + """ + paypal: NotRequired[ + "Literal['']|PaymentIntentModifyParamsPaymentMethodOptionsPaypal" + ] + """ + If this is a `paypal` PaymentMethod, this sub-hash contains details about the PayPal payment method options. + """ + paypay: NotRequired[ + "Literal['']|PaymentIntentModifyParamsPaymentMethodOptionsPaypay" + ] + """ + If this is a `paypay` PaymentMethod, this sub-hash contains details about the PayPay payment method options. + """ + payto: NotRequired[ + "Literal['']|PaymentIntentModifyParamsPaymentMethodOptionsPayto" + ] + """ + If this is a `payto` PaymentMethod, this sub-hash contains details about the PayTo payment method options. + """ + pix: NotRequired[ + "Literal['']|PaymentIntentModifyParamsPaymentMethodOptionsPix" + ] + """ + If this is a `pix` PaymentMethod, this sub-hash contains details about the Pix payment method options. + """ + promptpay: NotRequired[ + "Literal['']|PaymentIntentModifyParamsPaymentMethodOptionsPromptpay" + ] + """ + If this is a `promptpay` PaymentMethod, this sub-hash contains details about the PromptPay payment method options. + """ + qris: NotRequired[ + "Literal['']|PaymentIntentModifyParamsPaymentMethodOptionsQris" + ] + """ + If this is a `qris` PaymentMethod, this sub-hash contains details about the QRIS payment method options. + """ + rechnung: NotRequired[ + "Literal['']|PaymentIntentModifyParamsPaymentMethodOptionsRechnung" + ] + """ + If this is a `rechnung` PaymentMethod, this sub-hash contains details about the Rechnung payment method options. + """ + revolut_pay: NotRequired[ + "Literal['']|PaymentIntentModifyParamsPaymentMethodOptionsRevolutPay" + ] + """ + If this is a `revolut_pay` PaymentMethod, this sub-hash contains details about the Revolut Pay payment method options. + """ + samsung_pay: NotRequired[ + "Literal['']|PaymentIntentModifyParamsPaymentMethodOptionsSamsungPay" + ] + """ + If this is a `samsung_pay` PaymentMethod, this sub-hash contains details about the Samsung Pay payment method options. + """ + satispay: NotRequired[ + "Literal['']|PaymentIntentModifyParamsPaymentMethodOptionsSatispay" + ] + """ + If this is a `satispay` PaymentMethod, this sub-hash contains details about the Satispay payment method options. + """ + sepa_debit: NotRequired[ + "Literal['']|PaymentIntentModifyParamsPaymentMethodOptionsSepaDebit" + ] + """ + If this is a `sepa_debit` PaymentIntent, this sub-hash contains details about the SEPA Debit payment method options. + """ + shopeepay: NotRequired[ + "Literal['']|PaymentIntentModifyParamsPaymentMethodOptionsShopeepay" + ] + """ + If this is a `shopeepay` PaymentMethod, this sub-hash contains details about the ShopeePay payment method options. + """ + sofort: NotRequired[ + "Literal['']|PaymentIntentModifyParamsPaymentMethodOptionsSofort" + ] + """ + If this is a `sofort` PaymentMethod, this sub-hash contains details about the SOFORT payment method options. + """ + stripe_balance: NotRequired[ + "Literal['']|PaymentIntentModifyParamsPaymentMethodOptionsStripeBalance" + ] + """ + If this is a `stripe_balance` PaymentMethod, this sub-hash contains details about the Stripe Balance payment method options. + """ + swish: NotRequired[ + "Literal['']|PaymentIntentModifyParamsPaymentMethodOptionsSwish" + ] + """ + If this is a `Swish` PaymentMethod, this sub-hash contains details about the Swish payment method options. + """ + twint: NotRequired[ + "Literal['']|PaymentIntentModifyParamsPaymentMethodOptionsTwint" + ] + """ + If this is a `twint` PaymentMethod, this sub-hash contains details about the TWINT payment method options. + """ + us_bank_account: NotRequired[ + "Literal['']|PaymentIntentModifyParamsPaymentMethodOptionsUsBankAccount" + ] + """ + If this is a `us_bank_account` PaymentMethod, this sub-hash contains details about the US bank account payment method options. + """ + wechat_pay: NotRequired[ + "Literal['']|PaymentIntentModifyParamsPaymentMethodOptionsWechatPay" + ] + """ + If this is a `wechat_pay` PaymentMethod, this sub-hash contains details about the WeChat Pay payment method options. + """ + zip: NotRequired[ + "Literal['']|PaymentIntentModifyParamsPaymentMethodOptionsZip" + ] + """ + If this is a `zip` PaymentMethod, this sub-hash contains details about the Zip payment method options. + """ + + +class PaymentIntentModifyParamsPaymentMethodOptionsAcssDebit(TypedDict): + mandate_options: NotRequired[ + "PaymentIntentModifyParamsPaymentMethodOptionsAcssDebitMandateOptions" + ] + """ + Additional fields for Mandate creation + """ + setup_future_usage: NotRequired[ + "Literal['']|Literal['none', 'off_session', 'on_session']" + ] + """ + Indicates that you intend to make future payments with this PaymentIntent's payment method. + + If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. + + If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. + + When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). + + If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`. + """ + target_date: NotRequired[str] + """ + Controls when Stripe will attempt to debit the funds from the customer's account. The date must be a string in YYYY-MM-DD format. The date must be in the future and between 3 and 15 calendar days from now. + """ + verification_method: NotRequired[ + Literal["automatic", "instant", "microdeposits"] + ] + """ + Bank account verification method. + """ + + +class PaymentIntentModifyParamsPaymentMethodOptionsAcssDebitMandateOptions( + TypedDict, +): + custom_mandate_url: NotRequired["Literal['']|str"] + """ + A URL for custom mandate text to render during confirmation step. + The URL will be rendered with additional GET parameters `payment_intent` and `payment_intent_client_secret` when confirming a Payment Intent, + or `setup_intent` and `setup_intent_client_secret` when confirming a Setup Intent. + """ + interval_description: NotRequired[str] + """ + Description of the mandate interval. Only required if 'payment_schedule' parameter is 'interval' or 'combined'. + """ + payment_schedule: NotRequired[Literal["combined", "interval", "sporadic"]] + """ + Payment schedule for the mandate. + """ + transaction_type: NotRequired[Literal["business", "personal"]] + """ + Transaction type of the mandate. + """ + + +class PaymentIntentModifyParamsPaymentMethodOptionsAffirm(TypedDict): + capture_method: NotRequired["Literal['']|Literal['manual']"] + """ + Controls when the funds are captured from the customer's account. + + If provided, this parameter overrides the behavior of the top-level [capture_method](https://docs.stripe.com/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type. + + If `capture_method` is already set on the PaymentIntent, providing an empty value for this parameter unsets the stored value for this payment method type. + """ + preferred_locale: NotRequired[str] + """ + Preferred language of the Affirm authorization page that the customer is redirected to. + """ + setup_future_usage: NotRequired[Literal["none"]] + """ + Indicates that you intend to make future payments with this PaymentIntent's payment method. + + If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. + + If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. + + When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). + + If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`. + """ + + +class PaymentIntentModifyParamsPaymentMethodOptionsAfterpayClearpay(TypedDict): + capture_method: NotRequired["Literal['']|Literal['manual']"] + """ + Controls when the funds are captured from the customer's account. + + If provided, this parameter overrides the behavior of the top-level [capture_method](https://docs.stripe.com/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type. + + If `capture_method` is already set on the PaymentIntent, providing an empty value for this parameter unsets the stored value for this payment method type. + """ + reference: NotRequired[str] + """ + An internal identifier or reference that this payment corresponds to. You must limit the identifier to 128 characters, and it can only contain letters, numbers, underscores, backslashes, and dashes. + This field differs from the statement descriptor and item name. + """ + setup_future_usage: NotRequired[Literal["none"]] + """ + Indicates that you intend to make future payments with this PaymentIntent's payment method. + + If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. + + If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. + + When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). + + If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`. + """ + + +class PaymentIntentModifyParamsPaymentMethodOptionsAlipay(TypedDict): + setup_future_usage: NotRequired[ + "Literal['']|Literal['none', 'off_session']" + ] + """ + Indicates that you intend to make future payments with this PaymentIntent's payment method. + + If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. + + If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. + + When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). + + If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`. + """ + + +class PaymentIntentModifyParamsPaymentMethodOptionsAlma(TypedDict): + capture_method: NotRequired["Literal['']|Literal['manual']"] + """ + Controls when the funds are captured from the customer's account. + + If provided, this parameter overrides the behavior of the top-level [capture_method](https://docs.stripe.com/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type. + + If `capture_method` is already set on the PaymentIntent, providing an empty value for this parameter unsets the stored value for this payment method type. + """ + + +class PaymentIntentModifyParamsPaymentMethodOptionsAmazonPay(TypedDict): + capture_method: NotRequired["Literal['']|Literal['manual']"] + """ + Controls when the funds are captured from the customer's account. + + If provided, this parameter overrides the behavior of the top-level [capture_method](https://docs.stripe.com/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type. + + If `capture_method` is already set on the PaymentIntent, providing an empty value for this parameter unsets the stored value for this payment method type. + """ + setup_future_usage: NotRequired[ + "Literal['']|Literal['none', 'off_session']" + ] + """ + Indicates that you intend to make future payments with this PaymentIntent's payment method. + + If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. + + If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. + + When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). + """ + + +class PaymentIntentModifyParamsPaymentMethodOptionsAuBecsDebit(TypedDict): + setup_future_usage: NotRequired[ + "Literal['']|Literal['none', 'off_session', 'on_session']" + ] + """ + Indicates that you intend to make future payments with this PaymentIntent's payment method. + + If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. + + If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. + + When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). + + If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`. + """ + target_date: NotRequired[str] + """ + Controls when Stripe will attempt to debit the funds from the customer's account. The date must be a string in YYYY-MM-DD format. The date must be in the future and between 3 and 15 calendar days from now. + """ + + +class PaymentIntentModifyParamsPaymentMethodOptionsBacsDebit(TypedDict): + mandate_options: NotRequired[ + "PaymentIntentModifyParamsPaymentMethodOptionsBacsDebitMandateOptions" + ] + """ + Additional fields for Mandate creation + """ + setup_future_usage: NotRequired[ + "Literal['']|Literal['none', 'off_session', 'on_session']" + ] + """ + Indicates that you intend to make future payments with this PaymentIntent's payment method. + + If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. + + If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. + + When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). + + If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`. + """ + target_date: NotRequired[str] + """ + Controls when Stripe will attempt to debit the funds from the customer's account. The date must be a string in YYYY-MM-DD format. The date must be in the future and between 3 and 15 calendar days from now. + """ + + +class PaymentIntentModifyParamsPaymentMethodOptionsBacsDebitMandateOptions( + TypedDict, +): + reference_prefix: NotRequired["Literal['']|str"] + """ + Prefix used to generate the Mandate reference. Must be at most 12 characters long. Must consist of only uppercase letters, numbers, spaces, or the following special characters: '/', '_', '-', '&', '.'. Cannot begin with 'DDIC' or 'STRIPE'. + """ + + +class PaymentIntentModifyParamsPaymentMethodOptionsBancontact(TypedDict): + preferred_language: NotRequired[Literal["de", "en", "fr", "nl"]] + """ + Preferred language of the Bancontact authorization page that the customer is redirected to. + """ + setup_future_usage: NotRequired[ + "Literal['']|Literal['none', 'off_session']" + ] + """ + Indicates that you intend to make future payments with this PaymentIntent's payment method. + + If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. + + If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. + + When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). + + If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`. + """ + + +class PaymentIntentModifyParamsPaymentMethodOptionsBillie(TypedDict): + capture_method: NotRequired["Literal['']|Literal['manual']"] + """ + Controls when the funds are captured from the customer's account. + + If provided, this parameter overrides the behavior of the top-level [capture_method](https://docs.stripe.com/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type. + + If `capture_method` is already set on the PaymentIntent, providing an empty value for this parameter unsets the stored value for this payment method type. + """ + + +class PaymentIntentModifyParamsPaymentMethodOptionsBlik(TypedDict): + code: NotRequired[str] + """ + The 6-digit BLIK code that a customer has generated using their banking application. Can only be set on confirmation. + """ + setup_future_usage: NotRequired["Literal['']|Literal['none']"] + """ + Indicates that you intend to make future payments with this PaymentIntent's payment method. + + If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. + + If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. + + When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). + + If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`. + """ + + +class PaymentIntentModifyParamsPaymentMethodOptionsBoleto(TypedDict): + expires_after_days: NotRequired[int] + """ + The number of calendar days before a Boleto voucher expires. For example, if you create a Boleto voucher on Monday and you set expires_after_days to 2, the Boleto invoice will expire on Wednesday at 23:59 America/Sao_Paulo time. + """ + setup_future_usage: NotRequired[ + "Literal['']|Literal['none', 'off_session', 'on_session']" + ] + """ + Indicates that you intend to make future payments with this PaymentIntent's payment method. + + If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. + + If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. + + When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). + + If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`. + """ + + +class PaymentIntentModifyParamsPaymentMethodOptionsCard(TypedDict): + capture_method: NotRequired["Literal['']|Literal['manual']"] + """ + Controls when the funds are captured from the customer's account. + + If provided, this parameter overrides the behavior of the top-level [capture_method](https://docs.stripe.com/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type. + + If `capture_method` is already set on the PaymentIntent, providing an empty value for this parameter unsets the stored value for this payment method type. + """ + cvc_token: NotRequired[str] + """ + A single-use `cvc_update` Token that represents a card CVC value. When provided, the CVC value will be verified during the card payment attempt. This parameter can only be provided during confirmation. + """ + installments: NotRequired[ + "PaymentIntentModifyParamsPaymentMethodOptionsCardInstallments" + ] + """ + Installment configuration for payments attempted on this PaymentIntent. + + For more information, see the [installments integration guide](https://stripe.com/docs/payments/installments). + """ + mandate_options: NotRequired[ + "PaymentIntentModifyParamsPaymentMethodOptionsCardMandateOptions" + ] + """ + Configuration options for setting up an eMandate for cards issued in India. + """ + moto: NotRequired[bool] + """ + When specified, this parameter indicates that a transaction will be marked + as MOTO (Mail Order Telephone Order) and thus out of scope for SCA. This + parameter can only be provided during confirmation. + """ + network: NotRequired[ + Literal[ + "amex", + "cartes_bancaires", + "diners", + "discover", + "eftpos_au", + "girocard", + "interac", + "jcb", + "link", + "mastercard", + "unionpay", + "unknown", + "visa", + ] + ] + """ + Selected network to process this PaymentIntent on. Depends on the available networks of the card attached to the PaymentIntent. Can be only set confirm-time. + """ + request_decremental_authorization: NotRequired[ + Literal["if_available", "never"] + ] + """ + Request ability to [decrement the authorization](https://stripe.com/docs/payments/decremental-authorization) for this PaymentIntent. + """ + request_extended_authorization: NotRequired[ + Literal["if_available", "never"] + ] + """ + Request ability to [capture beyond the standard authorization validity window](https://stripe.com/docs/payments/extended-authorization) for this PaymentIntent. + """ + request_incremental_authorization: NotRequired[ + Literal["if_available", "never"] + ] + """ + Request ability to [increment the authorization](https://stripe.com/docs/payments/incremental-authorization) for this PaymentIntent. + """ + request_multicapture: NotRequired[Literal["if_available", "never"]] + """ + Request ability to make [multiple captures](https://stripe.com/docs/payments/multicapture) for this PaymentIntent. + """ + request_overcapture: NotRequired[Literal["if_available", "never"]] + """ + Request ability to [overcapture](https://stripe.com/docs/payments/overcapture) for this PaymentIntent. + """ + request_partial_authorization: NotRequired[ + Literal["if_available", "never"] + ] + """ + Request partial authorization on this PaymentIntent. + """ + request_three_d_secure: NotRequired[ + Literal["any", "automatic", "challenge"] + ] + """ + We strongly recommend that you rely on our SCA Engine to automatically prompt your customers for authentication based on risk level and [other requirements](https://stripe.com/docs/strong-customer-authentication). However, if you wish to request 3D Secure based on logic from your own fraud engine, provide this option. If not provided, this value defaults to `automatic`. Read our guide on [manually requesting 3D Secure](https://stripe.com/docs/payments/3d-secure/authentication-flow#manual-three-ds) for more information on how this configuration interacts with Radar and our SCA Engine. + """ + require_cvc_recollection: NotRequired[bool] + """ + When enabled, using a card that is attached to a customer will require the CVC to be provided again (i.e. using the cvc_token parameter). + """ + setup_future_usage: NotRequired[ + "Literal['']|Literal['none', 'off_session', 'on_session']" + ] + """ + Indicates that you intend to make future payments with this PaymentIntent's payment method. + + If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. + + If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. + + When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). + + If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`. + """ + statement_descriptor_suffix_kana: NotRequired["Literal['']|str"] + """ + Provides information about a card payment that customers see on their statements. Concatenated with the Kana prefix (shortened Kana descriptor) or Kana statement descriptor that's set on the account to form the complete statement descriptor. Maximum 22 characters. On card statements, the *concatenation* of both prefix and suffix (including separators) will appear truncated to 22 characters. + """ + statement_descriptor_suffix_kanji: NotRequired["Literal['']|str"] + """ + Provides information about a card payment that customers see on their statements. Concatenated with the Kanji prefix (shortened Kanji descriptor) or Kanji statement descriptor that's set on the account to form the complete statement descriptor. Maximum 17 characters. On card statements, the *concatenation* of both prefix and suffix (including separators) will appear truncated to 17 characters. + """ + statement_details: NotRequired[ + "Literal['']|PaymentIntentModifyParamsPaymentMethodOptionsCardStatementDetails" + ] + """ + Statement details for this payment intent. You can use this to override the merchant details shown on your customers' statements. + """ + three_d_secure: NotRequired[ + "PaymentIntentModifyParamsPaymentMethodOptionsCardThreeDSecure" + ] + """ + If 3D Secure authentication was performed with a third-party provider, + the authentication details to use for this payment. + """ + + +class PaymentIntentModifyParamsPaymentMethodOptionsCardInstallments(TypedDict): + enabled: NotRequired[bool] + """ + Setting to true enables installments for this PaymentIntent. + This will cause the response to contain a list of available installment plans. + Setting to false will prevent any selected plan from applying to a charge. + """ + plan: NotRequired[ + "Literal['']|PaymentIntentModifyParamsPaymentMethodOptionsCardInstallmentsPlan" + ] + """ + The selected installment plan to use for this payment attempt. + This parameter can only be provided during confirmation. + """ + + +class PaymentIntentModifyParamsPaymentMethodOptionsCardInstallmentsPlan( + TypedDict, +): + count: NotRequired[int] + """ + For `fixed_count` installment plans, this is required. It represents the number of installment payments your customer will make to their credit card. + """ + interval: NotRequired[Literal["month"]] + """ + For `fixed_count` installment plans, this is required. It represents the interval between installment payments your customer will make to their credit card. + One of `month`. + """ + type: Literal["bonus", "fixed_count", "revolving"] + """ + Type of installment plan, one of `fixed_count`, `bonus`, or `revolving`. + """ + + +class PaymentIntentModifyParamsPaymentMethodOptionsCardMandateOptions( + TypedDict, +): + amount: int + """ + Amount to be charged for future payments. + """ + amount_type: Literal["fixed", "maximum"] + """ + One of `fixed` or `maximum`. If `fixed`, the `amount` param refers to the exact amount to be charged in future payments. If `maximum`, the amount charged can be up to the value passed for the `amount` param. + """ + description: NotRequired[str] + """ + A description of the mandate or subscription that is meant to be displayed to the customer. + """ + end_date: NotRequired[int] + """ + End date of the mandate or subscription. If not provided, the mandate will be active until canceled. If provided, end date should be after start date. + """ + interval: Literal["day", "month", "sporadic", "week", "year"] + """ + Specifies payment frequency. One of `day`, `week`, `month`, `year`, or `sporadic`. + """ + interval_count: NotRequired[int] + """ + The number of intervals between payments. For example, `interval=month` and `interval_count=3` indicates one payment every three months. Maximum of one year interval allowed (1 year, 12 months, or 52 weeks). This parameter is optional when `interval=sporadic`. + """ + reference: str + """ + Unique identifier for the mandate or subscription. + """ + start_date: int + """ + Start date of the mandate or subscription. Start date should not be lesser than yesterday. + """ + supported_types: NotRequired[List[Literal["india"]]] + """ + Specifies the type of mandates supported. Possible values are `india`. + """ + + +class PaymentIntentModifyParamsPaymentMethodOptionsCardStatementDetails( + TypedDict, +): + address: NotRequired[ + "PaymentIntentModifyParamsPaymentMethodOptionsCardStatementDetailsAddress" + ] + """ + Please pass in an address that is within your Stripe user account country + """ + phone: NotRequired[str] + """ + Phone number (e.g., a toll-free number that customers can call) + """ + + +class PaymentIntentModifyParamsPaymentMethodOptionsCardStatementDetailsAddress( + TypedDict, +): + city: NotRequired[str] + """ + City, district, suburb, town, or village. + """ + country: NotRequired[str] + """ + Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). + """ + line1: NotRequired[str] + """ + Address line 1, such as the street, PO Box, or company name. + """ + line2: NotRequired[str] + """ + Address line 2, such as the apartment, suite, unit, or building. + """ + postal_code: NotRequired[str] + """ + ZIP or postal code. + """ + state: NotRequired[str] + """ + State, county, province, or region. + """ + + +class PaymentIntentModifyParamsPaymentMethodOptionsCardThreeDSecure(TypedDict): + ares_trans_status: NotRequired[Literal["A", "C", "I", "N", "R", "U", "Y"]] + """ + The `transStatus` returned from the card Issuer's ACS in the ARes. + """ + cryptogram: str + """ + The cryptogram, also known as the "authentication value" (AAV, CAVV or + AEVV). This value is 20 bytes, base64-encoded into a 28-character string. + (Most 3D Secure providers will return the base64-encoded version, which + is what you should specify here.) + """ + electronic_commerce_indicator: NotRequired[ + Literal["01", "02", "05", "06", "07"] + ] + """ + The Electronic Commerce Indicator (ECI) is returned by your 3D Secure + provider and indicates what degree of authentication was performed. + """ + exemption_indicator: NotRequired[Literal["low_risk", "none"]] + """ + The exemption requested via 3DS and accepted by the issuer at authentication time. + """ + network_options: NotRequired[ + "PaymentIntentModifyParamsPaymentMethodOptionsCardThreeDSecureNetworkOptions" + ] + """ + Network specific 3DS fields. Network specific arguments require an + explicit card brand choice. The parameter `payment_method_options.card.network`` + must be populated accordingly + """ + requestor_challenge_indicator: NotRequired[str] + """ + The challenge indicator (`threeDSRequestorChallengeInd`) which was requested in the + AReq sent to the card Issuer's ACS. A string containing 2 digits from 01-99. + """ + transaction_id: str + """ + For 3D Secure 1, the XID. For 3D Secure 2, the Directory Server + Transaction ID (dsTransID). + """ + version: Literal["1.0.2", "2.1.0", "2.2.0"] + """ + The version of 3D Secure that was performed. + """ + + +class PaymentIntentModifyParamsPaymentMethodOptionsCardThreeDSecureNetworkOptions( + TypedDict, +): + cartes_bancaires: NotRequired[ + "PaymentIntentModifyParamsPaymentMethodOptionsCardThreeDSecureNetworkOptionsCartesBancaires" + ] + """ + Cartes Bancaires-specific 3DS fields. + """ + + +class PaymentIntentModifyParamsPaymentMethodOptionsCardThreeDSecureNetworkOptionsCartesBancaires( + TypedDict, +): + cb_avalgo: Literal["0", "1", "2", "3", "4", "A"] + """ + The cryptogram calculation algorithm used by the card Issuer's ACS + to calculate the Authentication cryptogram. Also known as `cavvAlgorithm`. + messageExtension: CB-AVALGO + """ + cb_exemption: NotRequired[str] + """ + The exemption indicator returned from Cartes Bancaires in the ARes. + message extension: CB-EXEMPTION; string (4 characters) + This is a 3 byte bitmap (low significant byte first and most significant + bit first) that has been Base64 encoded + """ + cb_score: NotRequired[int] + """ + The risk score returned from Cartes Bancaires in the ARes. + message extension: CB-SCORE; numeric value 0-99 + """ + + +class PaymentIntentModifyParamsPaymentMethodOptionsCardPresent(TypedDict): + capture_method: NotRequired[Literal["manual", "manual_preferred"]] + """ + Controls when the funds are captured from the customer's account. + + If provided, this parameter overrides the behavior of the top-level [capture_method](https://docs.stripe.com/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type. + + If `capture_method` is already set on the PaymentIntent, providing an empty value for this parameter unsets the stored value for this payment method type. + """ + request_extended_authorization: NotRequired[bool] + """ + Request ability to capture this payment beyond the standard [authorization validity window](https://stripe.com/docs/terminal/features/extended-authorizations#authorization-validity) + """ + request_incremental_authorization_support: NotRequired[bool] + """ + Request ability to [increment](https://stripe.com/docs/terminal/features/incremental-authorizations) this PaymentIntent if the combination of MCC and card brand is eligible. Check [incremental_authorization_supported](https://stripe.com/docs/api/charges/object#charge_object-payment_method_details-card_present-incremental_authorization_supported) in the [Confirm](https://stripe.com/docs/api/payment_intents/confirm) response to verify support. + """ + routing: NotRequired[ + "PaymentIntentModifyParamsPaymentMethodOptionsCardPresentRouting" + ] + """ + Network routing priority on co-branded EMV cards supporting domestic debit and international card schemes. + """ + + +class PaymentIntentModifyParamsPaymentMethodOptionsCardPresentRouting( + TypedDict, +): + requested_priority: NotRequired[Literal["domestic", "international"]] + """ + Routing requested priority + """ + + +class PaymentIntentModifyParamsPaymentMethodOptionsCashapp(TypedDict): + capture_method: NotRequired["Literal['']|Literal['manual']"] + """ + Controls when the funds are captured from the customer's account. + + If provided, this parameter overrides the behavior of the top-level [capture_method](https://docs.stripe.com/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type. + + If `capture_method` is already set on the PaymentIntent, providing an empty value for this parameter unsets the stored value for this payment method type. + """ + setup_future_usage: NotRequired[ + "Literal['']|Literal['none', 'off_session', 'on_session']" + ] + """ + Indicates that you intend to make future payments with this PaymentIntent's payment method. + + If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. + + If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. + + When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). + + If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`. + """ + + +class PaymentIntentModifyParamsPaymentMethodOptionsCrypto(TypedDict): + setup_future_usage: NotRequired[Literal["none"]] + """ + Indicates that you intend to make future payments with this PaymentIntent's payment method. + + If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. + + If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. + + When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). + + If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`. + """ + + +class PaymentIntentModifyParamsPaymentMethodOptionsCustomerBalance(TypedDict): + bank_transfer: NotRequired[ + "PaymentIntentModifyParamsPaymentMethodOptionsCustomerBalanceBankTransfer" + ] + """ + Configuration for the bank transfer funding type, if the `funding_type` is set to `bank_transfer`. + """ + funding_type: NotRequired[Literal["bank_transfer"]] + """ + The funding method type to be used when there are not enough funds in the customer balance. Permitted values include: `bank_transfer`. + """ + setup_future_usage: NotRequired[Literal["none"]] + """ + Indicates that you intend to make future payments with this PaymentIntent's payment method. + + If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. + + If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. + + When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). + + If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`. + """ + + +class PaymentIntentModifyParamsPaymentMethodOptionsCustomerBalanceBankTransfer( + TypedDict, +): + eu_bank_transfer: NotRequired[ + "PaymentIntentModifyParamsPaymentMethodOptionsCustomerBalanceBankTransferEuBankTransfer" + ] + """ + Configuration for the eu_bank_transfer funding type. + """ + requested_address_types: NotRequired[ + List[ + Literal[ + "aba", "iban", "sepa", "sort_code", "spei", "swift", "zengin" + ] + ] + ] + """ + List of address types that should be returned in the financial_addresses response. If not specified, all valid types will be returned. + + Permitted values include: `sort_code`, `zengin`, `iban`, or `spei`. + """ + type: Literal[ + "eu_bank_transfer", + "gb_bank_transfer", + "jp_bank_transfer", + "mx_bank_transfer", + "us_bank_transfer", + ] + """ + The list of bank transfer types that this PaymentIntent is allowed to use for funding Permitted values include: `eu_bank_transfer`, `gb_bank_transfer`, `jp_bank_transfer`, `mx_bank_transfer`, or `us_bank_transfer`. + """ + + +class PaymentIntentModifyParamsPaymentMethodOptionsCustomerBalanceBankTransferEuBankTransfer( + TypedDict, +): + country: str + """ + The desired country code of the bank account information. Permitted values include: `BE`, `DE`, `ES`, `FR`, `IE`, or `NL`. + """ + + +class PaymentIntentModifyParamsPaymentMethodOptionsEps(TypedDict): + setup_future_usage: NotRequired[Literal["none"]] + """ + Indicates that you intend to make future payments with this PaymentIntent's payment method. + + If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. + + If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. + + When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). + + If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`. + """ + + +class PaymentIntentModifyParamsPaymentMethodOptionsFpx(TypedDict): + setup_future_usage: NotRequired[Literal["none"]] + """ + Indicates that you intend to make future payments with this PaymentIntent's payment method. + + If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. + + If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. + + When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). + + If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`. + """ + + +class PaymentIntentModifyParamsPaymentMethodOptionsGiropay(TypedDict): + setup_future_usage: NotRequired[Literal["none"]] + """ + Indicates that you intend to make future payments with this PaymentIntent's payment method. + + If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. + + If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. + + When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). + + If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`. + """ + + +class PaymentIntentModifyParamsPaymentMethodOptionsGopay(TypedDict): + setup_future_usage: NotRequired[Literal["none", "off_session"]] + """ + Indicates that you intend to make future payments with this PaymentIntent's payment method. + + If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. + + If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. + + When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). + + If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`. + """ + + +class PaymentIntentModifyParamsPaymentMethodOptionsGrabpay(TypedDict): + setup_future_usage: NotRequired[Literal["none"]] + """ + Indicates that you intend to make future payments with this PaymentIntent's payment method. + + If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. + + If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. + + When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). + + If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`. + """ + + +class PaymentIntentModifyParamsPaymentMethodOptionsIdBankTransfer(TypedDict): + expires_after: NotRequired[int] + """ + The UNIX timestamp until which the virtual bank account is valid. Permitted range is from 5 minutes from now until 31 days from now. If unset, it defaults to 3 days from now. + """ + expires_at: NotRequired[int] + """ + The UNIX timestamp until which the virtual bank account is valid. Permitted range is from now until 30 days from now. If unset, it defaults to 1 days from now. + """ + setup_future_usage: NotRequired[Literal["none"]] + """ + Indicates that you intend to make future payments with this PaymentIntent's payment method. + + If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. + + If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. + + When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). + + If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`. + """ + + +class PaymentIntentModifyParamsPaymentMethodOptionsIdeal(TypedDict): + setup_future_usage: NotRequired[ + "Literal['']|Literal['none', 'off_session']" ] """ - If this is a `payco` PaymentMethod, this sub-hash contains details about the PAYCO payment method options. + Indicates that you intend to make future payments with this PaymentIntent's payment method. + + If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. + + If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. + + When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). + + If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`. """ - paynow: NotRequired[ - "Literal['']|PaymentIntentModifyParamsPaymentMethodOptionsPaynow" + + +class PaymentIntentModifyParamsPaymentMethodOptionsInteracPresent(TypedDict): + pass + + +class PaymentIntentModifyParamsPaymentMethodOptionsKakaoPay(TypedDict): + capture_method: NotRequired["Literal['']|Literal['manual']"] + """ + Controls when the funds are captured from the customer's account. + + If provided, this parameter overrides the behavior of the top-level [capture_method](https://docs.stripe.com/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type. + + If `capture_method` is already set on the PaymentIntent, providing an empty value for this parameter unsets the stored value for this payment method type. + """ + setup_future_usage: NotRequired[ + "Literal['']|Literal['none', 'off_session']" ] """ - If this is a `paynow` PaymentMethod, this sub-hash contains details about the PayNow payment method options. + Indicates that you intend to make future payments with this PaymentIntent's payment method. + + If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. + + If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. + + When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). """ - paypal: NotRequired[ - "Literal['']|PaymentIntentModifyParamsPaymentMethodOptionsPaypal" + + +class PaymentIntentModifyParamsPaymentMethodOptionsKlarna(TypedDict): + capture_method: NotRequired["Literal['']|Literal['manual']"] + """ + Controls when the funds are captured from the customer's account. + + If provided, this parameter overrides the behavior of the top-level [capture_method](https://docs.stripe.com/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type. + + If `capture_method` is already set on the PaymentIntent, providing an empty value for this parameter unsets the stored value for this payment method type. + """ + on_demand: NotRequired[ + "PaymentIntentModifyParamsPaymentMethodOptionsKlarnaOnDemand" + ] + """ + On-demand details if setting up or charging an on-demand payment. + """ + preferred_locale: NotRequired[ + Literal[ + "cs-CZ", + "da-DK", + "de-AT", + "de-CH", + "de-DE", + "el-GR", + "en-AT", + "en-AU", + "en-BE", + "en-CA", + "en-CH", + "en-CZ", + "en-DE", + "en-DK", + "en-ES", + "en-FI", + "en-FR", + "en-GB", + "en-GR", + "en-IE", + "en-IT", + "en-NL", + "en-NO", + "en-NZ", + "en-PL", + "en-PT", + "en-RO", + "en-SE", + "en-US", + "es-ES", + "es-US", + "fi-FI", + "fr-BE", + "fr-CA", + "fr-CH", + "fr-FR", + "it-CH", + "it-IT", + "nb-NO", + "nl-BE", + "nl-NL", + "pl-PL", + "pt-PT", + "ro-RO", + "sv-FI", + "sv-SE", + ] + ] + """ + Preferred language of the Klarna authorization page that the customer is redirected to + """ + setup_future_usage: NotRequired[ + Literal["none", "off_session", "on_session"] + ] + """ + Indicates that you intend to make future payments with this PaymentIntent's payment method. + + If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. + + If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. + + When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). + + If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`. + """ + subscriptions: NotRequired[ + "Literal['']|List[PaymentIntentModifyParamsPaymentMethodOptionsKlarnaSubscription]" + ] + """ + Subscription details if setting up or charging a subscription. + """ + supplementary_purchase_data: NotRequired[ + "Literal['']|PaymentIntentModifyParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseData" + ] + """ + Supplementary Purchase Data for the corresponding Klarna payment + """ + + +class PaymentIntentModifyParamsPaymentMethodOptionsKlarnaOnDemand(TypedDict): + average_amount: NotRequired[int] + """ + Your average amount value. You can use a value across your customer base, or segment based on customer type, country, etc. + """ + maximum_amount: NotRequired[int] + """ + The maximum value you may charge a customer per purchase. You can use a value across your customer base, or segment based on customer type, country, etc. + """ + minimum_amount: NotRequired[int] + """ + The lowest or minimum value you may charge a customer per purchase. You can use a value across your customer base, or segment based on customer type, country, etc. + """ + purchase_interval: NotRequired[Literal["day", "month", "week", "year"]] + """ + Interval at which the customer is making purchases + """ + purchase_interval_count: NotRequired[int] + """ + The number of `purchase_interval` between charges + """ + + +class PaymentIntentModifyParamsPaymentMethodOptionsKlarnaSubscription( + TypedDict, +): + interval: Literal["day", "month", "week", "year"] + """ + Unit of time between subscription charges. + """ + interval_count: NotRequired[int] + """ + The number of intervals (specified in the `interval` attribute) between subscription charges. For example, `interval=month` and `interval_count=3` charges every 3 months. + """ + name: NotRequired[str] + """ + Name for subscription. + """ + next_billing: NotRequired[ + "PaymentIntentModifyParamsPaymentMethodOptionsKlarnaSubscriptionNextBilling" ] """ - If this is a `paypal` PaymentMethod, this sub-hash contains details about the PayPal payment method options. + Describes the upcoming charge for this subscription. + """ + reference: str + """ + A non-customer-facing reference to correlate subscription charges in the Klarna app. Use a value that persists across subscription charges. + """ + + +class PaymentIntentModifyParamsPaymentMethodOptionsKlarnaSubscriptionNextBilling( + TypedDict, +): + amount: int + """ + The amount of the next charge for the subscription. """ - paypay: NotRequired[ - "Literal['']|PaymentIntentModifyParamsPaymentMethodOptionsPaypay" - ] + date: str """ - If this is a `paypay` PaymentMethod, this sub-hash contains details about the PayPay payment method options. + The date of the next charge for the subscription in YYYY-MM-DD format. """ - payto: NotRequired[ - "Literal['']|PaymentIntentModifyParamsPaymentMethodOptionsPayto" + + +class PaymentIntentModifyParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseData( + TypedDict, +): + bus_reservation_details: NotRequired[ + "Literal['']|List[PaymentIntentModifyParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataBusReservationDetail]" ] """ - If this is a `payto` PaymentMethod, this sub-hash contains details about the PayTo payment method options. + Supplementary bus reservation details. """ - pix: NotRequired[ - "Literal['']|PaymentIntentModifyParamsPaymentMethodOptionsPix" + event_reservation_details: NotRequired[ + "Literal['']|List[PaymentIntentModifyParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataEventReservationDetail]" ] """ - If this is a `pix` PaymentMethod, this sub-hash contains details about the Pix payment method options. + Supplementary event reservation details. """ - promptpay: NotRequired[ - "Literal['']|PaymentIntentModifyParamsPaymentMethodOptionsPromptpay" + ferry_reservation_details: NotRequired[ + "Literal['']|List[PaymentIntentModifyParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataFerryReservationDetail]" ] """ - If this is a `promptpay` PaymentMethod, this sub-hash contains details about the PromptPay payment method options. + Supplementary ferry reservation details. """ - qris: NotRequired[ - "Literal['']|PaymentIntentModifyParamsPaymentMethodOptionsQris" + insurances: NotRequired[ + "Literal['']|List[PaymentIntentModifyParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataInsurance]" ] """ - If this is a `qris` PaymentMethod, this sub-hash contains details about the QRIS payment method options. + Supplementary insurance details. """ - rechnung: NotRequired[ - "Literal['']|PaymentIntentModifyParamsPaymentMethodOptionsRechnung" + marketplace_sellers: NotRequired[ + "Literal['']|List[PaymentIntentModifyParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataMarketplaceSeller]" ] """ - If this is a `rechnung` PaymentMethod, this sub-hash contains details about the Rechnung payment method options. + Supplementary marketplace seller details. """ - revolut_pay: NotRequired[ - "Literal['']|PaymentIntentModifyParamsPaymentMethodOptionsRevolutPay" + round_trip_reservation_details: NotRequired[ + "Literal['']|List[PaymentIntentModifyParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataRoundTripReservationDetail]" ] """ - If this is a `revolut_pay` PaymentMethod, this sub-hash contains details about the Revolut Pay payment method options. + Supplementary round trip reservation details. """ - samsung_pay: NotRequired[ - "Literal['']|PaymentIntentModifyParamsPaymentMethodOptionsSamsungPay" + train_reservation_details: NotRequired[ + "Literal['']|List[PaymentIntentModifyParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataTrainReservationDetail]" ] """ - If this is a `samsung_pay` PaymentMethod, this sub-hash contains details about the Samsung Pay payment method options. + Supplementary train reservation details. """ - satispay: NotRequired[ - "Literal['']|PaymentIntentModifyParamsPaymentMethodOptionsSatispay" + vouchers: NotRequired[ + "Literal['']|List[PaymentIntentModifyParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataVoucher]" ] """ - If this is a `satispay` PaymentMethod, this sub-hash contains details about the Satispay payment method options. + Voucher details, such as a gift card or discount code. """ - sepa_debit: NotRequired[ - "Literal['']|PaymentIntentModifyParamsPaymentMethodOptionsSepaDebit" - ] + + +class PaymentIntentModifyParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataBusReservationDetail( + TypedDict, +): + affiliate_name: NotRequired[str] """ - If this is a `sepa_debit` PaymentIntent, this sub-hash contains details about the SEPA Debit payment method options. + Name of associated or partner company for the service. """ - shopeepay: NotRequired[ - "Literal['']|PaymentIntentModifyParamsPaymentMethodOptionsShopeepay" + arrival: NotRequired[ + "PaymentIntentModifyParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataBusReservationDetailArrival" ] """ - If this is a `shopeepay` PaymentMethod, this sub-hash contains details about the ShopeePay payment method options. + Arrival details. """ - sofort: NotRequired[ - "Literal['']|PaymentIntentModifyParamsPaymentMethodOptionsSofort" - ] + carrier_name: NotRequired[str] """ - If this is a `sofort` PaymentMethod, this sub-hash contains details about the SOFORT payment method options. + Name of transportation company. """ - stripe_balance: NotRequired[ - "Literal['']|PaymentIntentModifyParamsPaymentMethodOptionsStripeBalance" - ] + currency: NotRequired[str] """ - If this is a `stripe_balance` PaymentMethod, this sub-hash contains details about the Stripe Balance payment method options. + Currency. """ - swish: NotRequired[ - "Literal['']|PaymentIntentModifyParamsPaymentMethodOptionsSwish" + departure: NotRequired[ + "PaymentIntentModifyParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataBusReservationDetailDeparture" ] """ - If this is a `Swish` PaymentMethod, this sub-hash contains details about the Swish payment method options. + Departure details. """ - twint: NotRequired[ - "Literal['']|PaymentIntentModifyParamsPaymentMethodOptionsTwint" + insurances: NotRequired[ + List[ + "PaymentIntentModifyParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataBusReservationDetailInsurance" + ] ] """ - If this is a `twint` PaymentMethod, this sub-hash contains details about the TWINT payment method options. + List of insurances for this reservation. """ - us_bank_account: NotRequired[ - "Literal['']|PaymentIntentModifyParamsPaymentMethodOptionsUsBankAccount" + passengers: NotRequired[ + List[ + "PaymentIntentModifyParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataBusReservationDetailPassenger" + ] ] """ - If this is a `us_bank_account` PaymentMethod, this sub-hash contains details about the US bank account payment method options. + List of passengers that this reservation applies to. """ - wechat_pay: NotRequired[ - "Literal['']|PaymentIntentModifyParamsPaymentMethodOptionsWechatPay" - ] + price: NotRequired[int] """ - If this is a `wechat_pay` PaymentMethod, this sub-hash contains details about the WeChat Pay payment method options. + Price in cents. """ - zip: NotRequired[ - "Literal['']|PaymentIntentModifyParamsPaymentMethodOptionsZip" + ticket_class: NotRequired[ + Literal["business", "economy", "first_class", "premium_economy"] ] """ - If this is a `zip` PaymentMethod, this sub-hash contains details about the Zip payment method options. + Ticket class. """ -class PaymentIntentModifyParamsPaymentMethodOptionsAcssDebit(TypedDict): - mandate_options: NotRequired[ - "PaymentIntentModifyParamsPaymentMethodOptionsAcssDebitMandateOptions" +class PaymentIntentModifyParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataBusReservationDetailArrival( + TypedDict, +): + address: NotRequired[ + "PaymentIntentModifyParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataBusReservationDetailArrivalAddress" ] """ - Additional fields for Mandate creation + Address of the arrival location. """ - setup_future_usage: NotRequired[ - "Literal['']|Literal['none', 'off_session', 'on_session']" - ] + arrival_location: NotRequired[str] + """ + Identifier name or reference for the arrival location. """ - Indicates that you intend to make future payments with this PaymentIntent's payment method. - - If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. - - If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. - When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). - If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`. +class PaymentIntentModifyParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataBusReservationDetailArrivalAddress( + TypedDict, +): + city: NotRequired[str] """ - target_date: NotRequired[str] + The city or town. """ - Controls when Stripe will attempt to debit the funds from the customer's account. The date must be a string in YYYY-MM-DD format. The date must be in the future and between 3 and 15 calendar days from now. + country: NotRequired[str] """ - verification_method: NotRequired[ - Literal["automatic", "instant", "microdeposits"] - ] + The country in ISO 3166-1 alpha-2 format. """ - Bank account verification method. + postal_code: NotRequired[str] + """ + The postal code formatted according to country. + """ + region: NotRequired[str] + """ + The state, county, province, or region formatted according to country. + """ + street_address: NotRequired[str] + """ + Line 1 of the street address. + """ + street_address2: NotRequired[str] + """ + Line 2 of the street address. """ -class PaymentIntentModifyParamsPaymentMethodOptionsAcssDebitMandateOptions( +class PaymentIntentModifyParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataBusReservationDetailDeparture( TypedDict, ): - custom_mandate_url: NotRequired["Literal['']|str"] - """ - A URL for custom mandate text to render during confirmation step. - The URL will be rendered with additional GET parameters `payment_intent` and `payment_intent_client_secret` when confirming a Payment Intent, - or `setup_intent` and `setup_intent_client_secret` when confirming a Setup Intent. - """ - interval_description: NotRequired[str] + address: NotRequired[ + "PaymentIntentModifyParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataBusReservationDetailDepartureAddress" + ] """ - Description of the mandate interval. Only required if 'payment_schedule' parameter is 'interval' or 'combined'. + Address of the departure location. """ - payment_schedule: NotRequired[Literal["combined", "interval", "sporadic"]] + departs_at: NotRequired[int] """ - Payment schedule for the mandate. + Timestamp of departure. """ - transaction_type: NotRequired[Literal["business", "personal"]] + departure_location: NotRequired[str] """ - Transaction type of the mandate. + Identifier name or reference for the origin location. """ -class PaymentIntentModifyParamsPaymentMethodOptionsAffirm(TypedDict): - capture_method: NotRequired["Literal['']|Literal['manual']"] +class PaymentIntentModifyParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataBusReservationDetailDepartureAddress( + TypedDict, +): + city: NotRequired[str] """ - Controls when the funds are captured from the customer's account. - - If provided, this parameter overrides the behavior of the top-level [capture_method](https://docs.stripe.com/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type. - - If `capture_method` is already set on the PaymentIntent, providing an empty value for this parameter unsets the stored value for this payment method type. + The city or town. """ - preferred_locale: NotRequired[str] + country: NotRequired[str] """ - Preferred language of the Affirm authorization page that the customer is redirected to. + The country in ISO 3166-1 alpha-2 format. """ - setup_future_usage: NotRequired[Literal["none"]] + postal_code: NotRequired[str] """ - Indicates that you intend to make future payments with this PaymentIntent's payment method. - - If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. - - If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. - - When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). - - If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`. + The postal code formatted according to country. """ - - -class PaymentIntentModifyParamsPaymentMethodOptionsAfterpayClearpay(TypedDict): - capture_method: NotRequired["Literal['']|Literal['manual']"] + region: NotRequired[str] """ - Controls when the funds are captured from the customer's account. - - If provided, this parameter overrides the behavior of the top-level [capture_method](https://docs.stripe.com/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type. - - If `capture_method` is already set on the PaymentIntent, providing an empty value for this parameter unsets the stored value for this payment method type. + The state, county, province, or region formatted according to country. """ - reference: NotRequired[str] + street_address: NotRequired[str] """ - An internal identifier or reference that this payment corresponds to. You must limit the identifier to 128 characters, and it can only contain letters, numbers, underscores, backslashes, and dashes. - This field differs from the statement descriptor and item name. + Line 1 of the street address. """ - setup_future_usage: NotRequired[Literal["none"]] + street_address2: NotRequired[str] """ - Indicates that you intend to make future payments with this PaymentIntent's payment method. - - If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. - - If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. - - When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). - - If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`. + Line 2 of the street address. """ -class PaymentIntentModifyParamsPaymentMethodOptionsAlipay(TypedDict): - setup_future_usage: NotRequired[ - "Literal['']|Literal['none', 'off_session']" +class PaymentIntentModifyParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataBusReservationDetailInsurance( + TypedDict, +): + currency: NotRequired[str] + """ + Insurance currency. + """ + insurance_company_name: NotRequired[str] + """ + Name of the company providing the insurance. + """ + insurance_type: NotRequired[ + Literal["baggage", "bankruptcy", "cancelation", "emergency", "medical"] ] """ - Indicates that you intend to make future payments with this PaymentIntent's payment method. - - If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. - - If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. - - When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). - - If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`. + Type of insurance. """ - - -class PaymentIntentModifyParamsPaymentMethodOptionsAlma(TypedDict): - capture_method: NotRequired["Literal['']|Literal['manual']"] + price: NotRequired[int] """ - Controls when the funds are captured from the customer's account. - - If provided, this parameter overrides the behavior of the top-level [capture_method](https://docs.stripe.com/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type. - - If `capture_method` is already set on the PaymentIntent, providing an empty value for this parameter unsets the stored value for this payment method type. + Price of insurance in cents. """ -class PaymentIntentModifyParamsPaymentMethodOptionsAmazonPay(TypedDict): - capture_method: NotRequired["Literal['']|Literal['manual']"] +class PaymentIntentModifyParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataBusReservationDetailPassenger( + TypedDict, +): + family_name: NotRequired[str] """ - Controls when the funds are captured from the customer's account. - - If provided, this parameter overrides the behavior of the top-level [capture_method](https://docs.stripe.com/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type. - - If `capture_method` is already set on the PaymentIntent, providing an empty value for this parameter unsets the stored value for this payment method type. + The family name of the person. """ - setup_future_usage: NotRequired[ - "Literal['']|Literal['none', 'off_session']" - ] + given_name: NotRequired[str] """ - Indicates that you intend to make future payments with this PaymentIntent's payment method. - - If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. - - If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. - - When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). + The given name of the person. """ -class PaymentIntentModifyParamsPaymentMethodOptionsAuBecsDebit(TypedDict): - setup_future_usage: NotRequired[ - "Literal['']|Literal['none', 'off_session', 'on_session']" +class PaymentIntentModifyParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataEventReservationDetail( + TypedDict, +): + access_controlled_venue: NotRequired[bool] + """ + Indicates if the tickets are digitally checked when entering the venue. + """ + address: NotRequired[ + "PaymentIntentModifyParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataEventReservationDetailAddress" ] """ - Indicates that you intend to make future payments with this PaymentIntent's payment method. - - If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. - - If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. - - When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). - - If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`. + Address of the event. """ - target_date: NotRequired[str] + affiliate_name: NotRequired[str] """ - Controls when Stripe will attempt to debit the funds from the customer's account. The date must be a string in YYYY-MM-DD format. The date must be in the future and between 3 and 15 calendar days from now. + Name of associated or partner company for the service. """ - - -class PaymentIntentModifyParamsPaymentMethodOptionsBacsDebit(TypedDict): - mandate_options: NotRequired[ - "PaymentIntentModifyParamsPaymentMethodOptionsBacsDebitMandateOptions" + ends_at: NotRequired[int] + """ + End timestamp of the event. + """ + event_company_name: NotRequired[str] + """ + Company selling the ticket. + """ + event_name: NotRequired[str] + """ + Name of the event. + """ + event_type: NotRequired[ + Literal[ + "concert", + "conference", + "digital_education", + "expo", + "festival", + "in_person_education", + "sport", + "tour", + ] ] """ - Additional fields for Mandate creation + Type of the event. """ - setup_future_usage: NotRequired[ - "Literal['']|Literal['none', 'off_session', 'on_session']" + insurances: NotRequired[ + List[ + "PaymentIntentModifyParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataEventReservationDetailInsurance" + ] ] """ - Indicates that you intend to make future payments with this PaymentIntent's payment method. - - If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. - - If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. - - When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). - - If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`. + List of insurances for this event. """ - target_date: NotRequired[str] + starts_at: NotRequired[int] """ - Controls when Stripe will attempt to debit the funds from the customer's account. The date must be a string in YYYY-MM-DD format. The date must be in the future and between 3 and 15 calendar days from now. + Start timestamp of the event. + """ + venue_name: NotRequired[str] + """ + Name of the venue where the event takes place. """ -class PaymentIntentModifyParamsPaymentMethodOptionsBacsDebitMandateOptions( +class PaymentIntentModifyParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataEventReservationDetailAddress( TypedDict, ): - reference_prefix: NotRequired["Literal['']|str"] + city: NotRequired[str] """ - Prefix used to generate the Mandate reference. Must be at most 12 characters long. Must consist of only uppercase letters, numbers, spaces, or the following special characters: '/', '_', '-', '&', '.'. Cannot begin with 'DDIC' or 'STRIPE'. + The city or town. """ - - -class PaymentIntentModifyParamsPaymentMethodOptionsBancontact(TypedDict): - preferred_language: NotRequired[Literal["de", "en", "fr", "nl"]] + country: NotRequired[str] """ - Preferred language of the Bancontact authorization page that the customer is redirected to. + The country in ISO 3166-1 alpha-2 format. """ - setup_future_usage: NotRequired[ - "Literal['']|Literal['none', 'off_session']" - ] + postal_code: NotRequired[str] """ - Indicates that you intend to make future payments with this PaymentIntent's payment method. - - If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. - - If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. - - When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). - - If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`. + The postal code formatted according to country. """ - - -class PaymentIntentModifyParamsPaymentMethodOptionsBillie(TypedDict): - capture_method: NotRequired["Literal['']|Literal['manual']"] + region: NotRequired[str] """ - Controls when the funds are captured from the customer's account. - - If provided, this parameter overrides the behavior of the top-level [capture_method](https://docs.stripe.com/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type. - - If `capture_method` is already set on the PaymentIntent, providing an empty value for this parameter unsets the stored value for this payment method type. + The state, county, province, or region formatted according to country. """ - - -class PaymentIntentModifyParamsPaymentMethodOptionsBlik(TypedDict): - code: NotRequired[str] + street_address: NotRequired[str] """ - The 6-digit BLIK code that a customer has generated using their banking application. Can only be set on confirmation. + Line 1 of the street address. """ - setup_future_usage: NotRequired["Literal['']|Literal['none']"] + street_address2: NotRequired[str] """ - Indicates that you intend to make future payments with this PaymentIntent's payment method. - - If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. - - If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. - - When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). - - If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`. + Line 2 of the street address. """ -class PaymentIntentModifyParamsPaymentMethodOptionsBoleto(TypedDict): - expires_after_days: NotRequired[int] - """ - The number of calendar days before a Boleto voucher expires. For example, if you create a Boleto voucher on Monday and you set expires_after_days to 2, the Boleto invoice will expire on Wednesday at 23:59 America/Sao_Paulo time. +class PaymentIntentModifyParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataEventReservationDetailInsurance( + TypedDict, +): + currency: NotRequired[str] """ - setup_future_usage: NotRequired[ - "Literal['']|Literal['none', 'off_session', 'on_session']" - ] + Insurance currency. """ - Indicates that you intend to make future payments with this PaymentIntent's payment method. - - If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. - - If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. - - When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). - - If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`. + insurance_company_name: NotRequired[str] """ - - -class PaymentIntentModifyParamsPaymentMethodOptionsCard(TypedDict): - capture_method: NotRequired["Literal['']|Literal['manual']"] + Name of the company providing the insurance. """ - Controls when the funds are captured from the customer's account. - - If provided, this parameter overrides the behavior of the top-level [capture_method](https://docs.stripe.com/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type. - - If `capture_method` is already set on the PaymentIntent, providing an empty value for this parameter unsets the stored value for this payment method type. + insurance_type: NotRequired[ + Literal["bankruptcy", "cancelation", "emergency", "medical"] + ] """ - cvc_token: NotRequired[str] + Type of insurance. """ - A single-use `cvc_update` Token that represents a card CVC value. When provided, the CVC value will be verified during the card payment attempt. This parameter can only be provided during confirmation. + price: NotRequired[int] """ - installments: NotRequired[ - "PaymentIntentModifyParamsPaymentMethodOptionsCardInstallments" - ] + Price of insurance in cents. """ - Installment configuration for payments attempted on this PaymentIntent. - For more information, see the [installments integration guide](https://stripe.com/docs/payments/installments). + +class PaymentIntentModifyParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataFerryReservationDetail( + TypedDict, +): + affiliate_name: NotRequired[str] """ - mandate_options: NotRequired[ - "PaymentIntentModifyParamsPaymentMethodOptionsCardMandateOptions" + Name of associated or partner company for the service. + """ + arrival: NotRequired[ + "PaymentIntentModifyParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataFerryReservationDetailArrival" ] """ - Configuration options for setting up an eMandate for cards issued in India. + Arrival details. """ - moto: NotRequired[bool] + carrier_name: NotRequired[str] """ - When specified, this parameter indicates that a transaction will be marked - as MOTO (Mail Order Telephone Order) and thus out of scope for SCA. This - parameter can only be provided during confirmation. + Name of transportation company. """ - network: NotRequired[ - Literal[ - "amex", - "cartes_bancaires", - "diners", - "discover", - "eftpos_au", - "girocard", - "interac", - "jcb", - "link", - "mastercard", - "unionpay", - "unknown", - "visa", - ] - ] + currency: NotRequired[str] """ - Selected network to process this PaymentIntent on. Depends on the available networks of the card attached to the PaymentIntent. Can be only set confirm-time. + Currency. """ - request_decremental_authorization: NotRequired[ - Literal["if_available", "never"] + departure: NotRequired[ + "PaymentIntentModifyParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataFerryReservationDetailDeparture" ] """ - Request ability to [decrement the authorization](https://stripe.com/docs/payments/decremental-authorization) for this PaymentIntent. + Departure details. """ - request_extended_authorization: NotRequired[ - Literal["if_available", "never"] + insurances: NotRequired[ + List[ + "PaymentIntentModifyParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataFerryReservationDetailInsurance" + ] ] """ - Request ability to [capture beyond the standard authorization validity window](https://stripe.com/docs/payments/extended-authorization) for this PaymentIntent. + List of insurances for this reservation. """ - request_incremental_authorization: NotRequired[ - Literal["if_available", "never"] + passengers: NotRequired[ + List[ + "PaymentIntentModifyParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataFerryReservationDetailPassenger" + ] ] """ - Request ability to [increment the authorization](https://stripe.com/docs/payments/incremental-authorization) for this PaymentIntent. - """ - request_multicapture: NotRequired[Literal["if_available", "never"]] - """ - Request ability to make [multiple captures](https://stripe.com/docs/payments/multicapture) for this PaymentIntent. + List of passengers that this reservation applies to. """ - request_overcapture: NotRequired[Literal["if_available", "never"]] + price: NotRequired[int] """ - Request ability to [overcapture](https://stripe.com/docs/payments/overcapture) for this PaymentIntent. + Price in cents. """ - request_partial_authorization: NotRequired[ - Literal["if_available", "never"] + ticket_class: NotRequired[ + Literal["business", "economy", "first_class", "premium_economy"] ] """ - Request partial authorization on this PaymentIntent. + Ticket class. """ - request_three_d_secure: NotRequired[ - Literal["any", "automatic", "challenge"] + + +class PaymentIntentModifyParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataFerryReservationDetailArrival( + TypedDict, +): + address: NotRequired[ + "PaymentIntentModifyParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataFerryReservationDetailArrivalAddress" ] """ - We strongly recommend that you rely on our SCA Engine to automatically prompt your customers for authentication based on risk level and [other requirements](https://stripe.com/docs/strong-customer-authentication). However, if you wish to request 3D Secure based on logic from your own fraud engine, provide this option. If not provided, this value defaults to `automatic`. Read our guide on [manually requesting 3D Secure](https://stripe.com/docs/payments/3d-secure/authentication-flow#manual-three-ds) for more information on how this configuration interacts with Radar and our SCA Engine. - """ - require_cvc_recollection: NotRequired[bool] + Address of the arrival location. """ - When enabled, using a card that is attached to a customer will require the CVC to be provided again (i.e. using the cvc_token parameter). + arrival_location: NotRequired[str] """ - setup_future_usage: NotRequired[ - "Literal['']|Literal['none', 'off_session', 'on_session']" - ] + Identifier name or reference for the arrival location. """ - Indicates that you intend to make future payments with this PaymentIntent's payment method. - - If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. - If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. - - When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). - If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`. - """ - statement_descriptor_suffix_kana: NotRequired["Literal['']|str"] +class PaymentIntentModifyParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataFerryReservationDetailArrivalAddress( + TypedDict, +): + city: NotRequired[str] """ - Provides information about a card payment that customers see on their statements. Concatenated with the Kana prefix (shortened Kana descriptor) or Kana statement descriptor that's set on the account to form the complete statement descriptor. Maximum 22 characters. On card statements, the *concatenation* of both prefix and suffix (including separators) will appear truncated to 22 characters. + The city or town. """ - statement_descriptor_suffix_kanji: NotRequired["Literal['']|str"] + country: NotRequired[str] """ - Provides information about a card payment that customers see on their statements. Concatenated with the Kanji prefix (shortened Kanji descriptor) or Kanji statement descriptor that's set on the account to form the complete statement descriptor. Maximum 17 characters. On card statements, the *concatenation* of both prefix and suffix (including separators) will appear truncated to 17 characters. + The country in ISO 3166-1 alpha-2 format. """ - statement_details: NotRequired[ - "Literal['']|PaymentIntentModifyParamsPaymentMethodOptionsCardStatementDetails" - ] + postal_code: NotRequired[str] """ - Statement details for this payment intent. You can use this to override the merchant details shown on your customers' statements. + The postal code formatted according to country. """ - three_d_secure: NotRequired[ - "PaymentIntentModifyParamsPaymentMethodOptionsCardThreeDSecure" - ] + region: NotRequired[str] """ - If 3D Secure authentication was performed with a third-party provider, - the authentication details to use for this payment. + The state, county, province, or region formatted according to country. """ - - -class PaymentIntentModifyParamsPaymentMethodOptionsCardInstallments(TypedDict): - enabled: NotRequired[bool] + street_address: NotRequired[str] """ - Setting to true enables installments for this PaymentIntent. - This will cause the response to contain a list of available installment plans. - Setting to false will prevent any selected plan from applying to a charge. + Line 1 of the street address. """ - plan: NotRequired[ - "Literal['']|PaymentIntentModifyParamsPaymentMethodOptionsCardInstallmentsPlan" - ] + street_address2: NotRequired[str] """ - The selected installment plan to use for this payment attempt. - This parameter can only be provided during confirmation. + Line 2 of the street address. """ -class PaymentIntentModifyParamsPaymentMethodOptionsCardInstallmentsPlan( +class PaymentIntentModifyParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataFerryReservationDetailDeparture( TypedDict, ): - count: NotRequired[int] + address: NotRequired[ + "PaymentIntentModifyParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataFerryReservationDetailDepartureAddress" + ] """ - For `fixed_count` installment plans, this is required. It represents the number of installment payments your customer will make to their credit card. + Address of the departure location. """ - interval: NotRequired[Literal["month"]] + departs_at: NotRequired[int] """ - For `fixed_count` installment plans, this is required. It represents the interval between installment payments your customer will make to their credit card. - One of `month`. + Timestamp of departure. """ - type: Literal["bonus", "fixed_count", "revolving"] + departure_location: NotRequired[str] """ - Type of installment plan, one of `fixed_count`, `bonus`, or `revolving`. + Identifier name or reference for the origin location. """ -class PaymentIntentModifyParamsPaymentMethodOptionsCardMandateOptions( +class PaymentIntentModifyParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataFerryReservationDetailDepartureAddress( TypedDict, ): - amount: int + city: NotRequired[str] """ - Amount to be charged for future payments. + The city or town. """ - amount_type: Literal["fixed", "maximum"] + country: NotRequired[str] """ - One of `fixed` or `maximum`. If `fixed`, the `amount` param refers to the exact amount to be charged in future payments. If `maximum`, the amount charged can be up to the value passed for the `amount` param. + The country in ISO 3166-1 alpha-2 format. """ - description: NotRequired[str] + postal_code: NotRequired[str] """ - A description of the mandate or subscription that is meant to be displayed to the customer. + The postal code formatted according to country. """ - end_date: NotRequired[int] + region: NotRequired[str] """ - End date of the mandate or subscription. If not provided, the mandate will be active until canceled. If provided, end date should be after start date. + The state, county, province, or region formatted according to country. """ - interval: Literal["day", "month", "sporadic", "week", "year"] + street_address: NotRequired[str] """ - Specifies payment frequency. One of `day`, `week`, `month`, `year`, or `sporadic`. + Line 1 of the street address. """ - interval_count: NotRequired[int] + street_address2: NotRequired[str] """ - The number of intervals between payments. For example, `interval=month` and `interval_count=3` indicates one payment every three months. Maximum of one year interval allowed (1 year, 12 months, or 52 weeks). This parameter is optional when `interval=sporadic`. + Line 2 of the street address. """ - reference: str + + +class PaymentIntentModifyParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataFerryReservationDetailInsurance( + TypedDict, +): + currency: NotRequired[str] """ - Unique identifier for the mandate or subscription. + Insurance currency. """ - start_date: int + insurance_company_name: NotRequired[str] """ - Start date of the mandate or subscription. Start date should not be lesser than yesterday. + Name of the company providing the insurance. """ - supported_types: NotRequired[List[Literal["india"]]] + insurance_type: NotRequired[ + Literal["baggage", "bankruptcy", "cancelation", "emergency", "medical"] + ] """ - Specifies the type of mandates supported. Possible values are `india`. + Type of insurance. + """ + price: NotRequired[int] + """ + Price of insurance in cents. """ -class PaymentIntentModifyParamsPaymentMethodOptionsCardStatementDetails( +class PaymentIntentModifyParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataFerryReservationDetailPassenger( TypedDict, ): - address: NotRequired[ - "PaymentIntentModifyParamsPaymentMethodOptionsCardStatementDetailsAddress" - ] + family_name: NotRequired[str] """ - Please pass in an address that is within your Stripe user account country + The family name of the person. """ - phone: NotRequired[str] + given_name: NotRequired[str] """ - Phone number (e.g., a toll-free number that customers can call) + The given name of the person. """ -class PaymentIntentModifyParamsPaymentMethodOptionsCardStatementDetailsAddress( +class PaymentIntentModifyParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataInsurance( TypedDict, ): - city: NotRequired[str] + currency: NotRequired[str] """ - City, district, suburb, town, or village. + Insurance currency. """ - country: NotRequired[str] + insurance_company_name: NotRequired[str] """ - Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). + Name of the company providing the insurance. """ - line1: NotRequired[str] + insurance_type: NotRequired[ + Literal["bankruptcy", "cancelation", "emergency", "medical"] + ] """ - Address line 1, such as the street, PO Box, or company name. + Type of insurance """ - line2: NotRequired[str] + price: NotRequired[int] """ - Address line 2, such as the apartment, suite, unit, or building. + Price of insurance in cents. """ - postal_code: NotRequired[str] + + +class PaymentIntentModifyParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataMarketplaceSeller( + TypedDict, +): + line_item_references: NotRequired[List[str]] """ - ZIP or postal code. + The references to line items for purchases with multiple associated sub-sellers. """ - state: NotRequired[str] + marketplace_seller_address: NotRequired[ + "PaymentIntentModifyParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataMarketplaceSellerMarketplaceSellerAddress" + ] """ - State, county, province, or region. + The address of the selling or delivering merchant. """ - - -class PaymentIntentModifyParamsPaymentMethodOptionsCardThreeDSecure(TypedDict): - ares_trans_status: NotRequired[Literal["A", "C", "I", "N", "R", "U", "Y"]] + marketplace_seller_name: NotRequired[str] """ - The `transStatus` returned from the card Issuer's ACS in the ARes. + The name of the marketplace seller. """ - cryptogram: str + marketplace_seller_reference: NotRequired[str] """ - The cryptogram, also known as the "authentication value" (AAV, CAVV or - AEVV). This value is 20 bytes, base64-encoded into a 28-character string. - (Most 3D Secure providers will return the base64-encoded version, which - is what you should specify here.) + The unique identifier for the marketplace seller. """ - electronic_commerce_indicator: NotRequired[ - Literal["01", "02", "05", "06", "07"] + number_of_transactions: NotRequired[int] + """ + The number of transactions the sub-seller completed in the last 12 months. + """ + product_category: NotRequired[ + Literal[ + "accessories", + "appliances", + "apps_and_games", + "arts_crafts_and_sewing", + "automotive", + "baby", + "baby_clothing", + "bags_and_purses", + "beauty", + "books", + "cds_and_vinyl", + "cell_phones_and_accessories", + "collectibles_and_fine_arts", + "digital_music", + "electronics", + "grocery_and_gourmet_food", + "handmade", + "health_and_personal_care", + "home_and_kitchen", + "industrial_and_scientific", + "luggage_and_travel_gear", + "magazine_subscriptions", + "men_clothing", + "musical_instruments", + "office_products", + "patio_lawn_and_garden", + "pet_supplies", + "shoes", + "software", + "sports_and_outdoors", + "tools_and_home_improvement", + "toys_and_games", + "video_games", + "women_clothing", + ] ] """ - The Electronic Commerce Indicator (ECI) is returned by your 3D Secure - provider and indicates what degree of authentication was performed. + The category of the product. """ - exemption_indicator: NotRequired[Literal["low_risk", "none"]] + seller_last_login_at: NotRequired[int] """ - The exemption requested via 3DS and accepted by the issuer at authentication time. + The date when the seller's account with the marketplace was last logged in. """ - network_options: NotRequired[ - "PaymentIntentModifyParamsPaymentMethodOptionsCardThreeDSecureNetworkOptions" + seller_rating: NotRequired[ + Literal["high", "low", "medium", "very_high", "very_low"] ] """ - Network specific 3DS fields. Network specific arguments require an - explicit card brand choice. The parameter `payment_method_options.card.network`` - must be populated accordingly + The current rating of the marketplace seller. If the marketplace uses numeric ranking, map these to the enum values. """ - requestor_challenge_indicator: NotRequired[str] + seller_registered_at: NotRequired[int] """ - The challenge indicator (`threeDSRequestorChallengeInd`) which was requested in the - AReq sent to the card Issuer's ACS. A string containing 2 digits from 01-99. + The date when the seller's account with the marketplace was created. """ - transaction_id: str + seller_updated_at: NotRequired[int] """ - For 3D Secure 1, the XID. For 3D Secure 2, the Directory Server - Transaction ID (dsTransID). + The date when the seller's account with the marketplace was last updated. """ - version: Literal["1.0.2", "2.1.0", "2.2.0"] + shipping_references: NotRequired[List[str]] """ - The version of 3D Secure that was performed. + The references to shipping addresses for purchases with multiple associated sub-sellers. """ - - -class PaymentIntentModifyParamsPaymentMethodOptionsCardThreeDSecureNetworkOptions( - TypedDict, -): - cartes_bancaires: NotRequired[ - "PaymentIntentModifyParamsPaymentMethodOptionsCardThreeDSecureNetworkOptionsCartesBancaires" - ] + volume_of_transactions: NotRequired[int] """ - Cartes Bancaires-specific 3DS fields. + The accumulated amount of sales transactions made by the sub-merchant or sub-seller within the past 12 months in the payment currency. These transactions are in minor currency units. """ -class PaymentIntentModifyParamsPaymentMethodOptionsCardThreeDSecureNetworkOptionsCartesBancaires( +class PaymentIntentModifyParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataMarketplaceSellerMarketplaceSellerAddress( TypedDict, ): - cb_avalgo: Literal["0", "1", "2", "3", "4", "A"] + city: NotRequired[str] """ - The cryptogram calculation algorithm used by the card Issuer's ACS - to calculate the Authentication cryptogram. Also known as `cavvAlgorithm`. - messageExtension: CB-AVALGO + The city or town. """ - cb_exemption: NotRequired[str] + country: NotRequired[str] """ - The exemption indicator returned from Cartes Bancaires in the ARes. - message extension: CB-EXEMPTION; string (4 characters) - This is a 3 byte bitmap (low significant byte first and most significant - bit first) that has been Base64 encoded + The country in ISO 3166-1 alpha-2 format. """ - cb_score: NotRequired[int] + postal_code: NotRequired[str] """ - The risk score returned from Cartes Bancaires in the ARes. - message extension: CB-SCORE; numeric value 0-99 + The postal code formatted according to country. """ - - -class PaymentIntentModifyParamsPaymentMethodOptionsCardPresent(TypedDict): - request_extended_authorization: NotRequired[bool] + region: NotRequired[str] """ - Request ability to capture this payment beyond the standard [authorization validity window](https://stripe.com/docs/terminal/features/extended-authorizations#authorization-validity) + The state, county, province, or region formatted according to country. """ - request_incremental_authorization_support: NotRequired[bool] + street_address: NotRequired[str] """ - Request ability to [increment](https://stripe.com/docs/terminal/features/incremental-authorizations) this PaymentIntent if the combination of MCC and card brand is eligible. Check [incremental_authorization_supported](https://stripe.com/docs/api/charges/object#charge_object-payment_method_details-card_present-incremental_authorization_supported) in the [Confirm](https://stripe.com/docs/api/payment_intents/confirm) response to verify support. + Line 1 of the street address. """ - routing: NotRequired[ - "PaymentIntentModifyParamsPaymentMethodOptionsCardPresentRouting" - ] + street_address2: NotRequired[str] """ - Network routing priority on co-branded EMV cards supporting domestic debit and international card schemes. + Line 2 of the street address. """ -class PaymentIntentModifyParamsPaymentMethodOptionsCardPresentRouting( +class PaymentIntentModifyParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataRoundTripReservationDetail( TypedDict, ): - requested_priority: NotRequired[Literal["domestic", "international"]] + affiliate_name: NotRequired[str] """ - Routing requested priority + Name of associated or partner company for the service. """ - - -class PaymentIntentModifyParamsPaymentMethodOptionsCashapp(TypedDict): - capture_method: NotRequired["Literal['']|Literal['manual']"] + arrival: NotRequired[ + "PaymentIntentModifyParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataRoundTripReservationDetailArrival" + ] """ - Controls when the funds are captured from the customer's account. - - If provided, this parameter overrides the behavior of the top-level [capture_method](https://docs.stripe.com/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type. - - If `capture_method` is already set on the PaymentIntent, providing an empty value for this parameter unsets the stored value for this payment method type. + Arrival details. """ - setup_future_usage: NotRequired[ - "Literal['']|Literal['none', 'off_session', 'on_session']" + carrier_name: NotRequired[str] + """ + Name of transportation company. + """ + currency: NotRequired[str] + """ + Currency. + """ + departure: NotRequired[ + "PaymentIntentModifyParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataRoundTripReservationDetailDeparture" ] """ - Indicates that you intend to make future payments with this PaymentIntent's payment method. - - If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. - - If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. - - When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). - - If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`. + Departure details. """ - - -class PaymentIntentModifyParamsPaymentMethodOptionsCrypto(TypedDict): - setup_future_usage: NotRequired[Literal["none"]] + insurances: NotRequired[ + List[ + "PaymentIntentModifyParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataRoundTripReservationDetailInsurance" + ] + ] """ - Indicates that you intend to make future payments with this PaymentIntent's payment method. - - If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. - - If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. - - When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). - - If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`. + List of insurances for this reservation. """ - - -class PaymentIntentModifyParamsPaymentMethodOptionsCustomerBalance(TypedDict): - bank_transfer: NotRequired[ - "PaymentIntentModifyParamsPaymentMethodOptionsCustomerBalanceBankTransfer" + passengers: NotRequired[ + List[ + "PaymentIntentModifyParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataRoundTripReservationDetailPassenger" + ] ] """ - Configuration for the bank transfer funding type, if the `funding_type` is set to `bank_transfer`. + List of passengers that this reservation applies to. """ - funding_type: NotRequired[Literal["bank_transfer"]] + price: NotRequired[int] """ - The funding method type to be used when there are not enough funds in the customer balance. Permitted values include: `bank_transfer`. + Price in cents. """ - setup_future_usage: NotRequired[Literal["none"]] + ticket_class: NotRequired[ + Literal["business", "economy", "first_class", "premium_economy"] + ] """ - Indicates that you intend to make future payments with this PaymentIntent's payment method. - - If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. - - If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. - - When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). - - If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`. + Ticket class. """ -class PaymentIntentModifyParamsPaymentMethodOptionsCustomerBalanceBankTransfer( +class PaymentIntentModifyParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataRoundTripReservationDetailArrival( TypedDict, ): - eu_bank_transfer: NotRequired[ - "PaymentIntentModifyParamsPaymentMethodOptionsCustomerBalanceBankTransferEuBankTransfer" - ] - """ - Configuration for the eu_bank_transfer funding type. - """ - requested_address_types: NotRequired[ - List[ - Literal[ - "aba", "iban", "sepa", "sort_code", "spei", "swift", "zengin" - ] - ] + address: NotRequired[ + "PaymentIntentModifyParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataRoundTripReservationDetailArrivalAddress" ] """ - List of address types that should be returned in the financial_addresses response. If not specified, all valid types will be returned. - - Permitted values include: `sort_code`, `zengin`, `iban`, or `spei`. + Address of the arrival location. """ - type: Literal[ - "eu_bank_transfer", - "gb_bank_transfer", - "jp_bank_transfer", - "mx_bank_transfer", - "us_bank_transfer", - ] + arrival_location: NotRequired[str] """ - The list of bank transfer types that this PaymentIntent is allowed to use for funding Permitted values include: `eu_bank_transfer`, `gb_bank_transfer`, `jp_bank_transfer`, `mx_bank_transfer`, or `us_bank_transfer`. + Identifier name or reference for the arrival location. """ -class PaymentIntentModifyParamsPaymentMethodOptionsCustomerBalanceBankTransferEuBankTransfer( +class PaymentIntentModifyParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataRoundTripReservationDetailArrivalAddress( TypedDict, ): - country: str + city: NotRequired[str] """ - The desired country code of the bank account information. Permitted values include: `BE`, `DE`, `ES`, `FR`, `IE`, or `NL`. + The city or town. """ - - -class PaymentIntentModifyParamsPaymentMethodOptionsEps(TypedDict): - setup_future_usage: NotRequired[Literal["none"]] + country: NotRequired[str] """ - Indicates that you intend to make future payments with this PaymentIntent's payment method. - - If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. - - If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. - - When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). - - If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`. + The country in ISO 3166-1 alpha-2 format. """ - - -class PaymentIntentModifyParamsPaymentMethodOptionsFpx(TypedDict): - setup_future_usage: NotRequired[Literal["none"]] + postal_code: NotRequired[str] """ - Indicates that you intend to make future payments with this PaymentIntent's payment method. - - If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. - - If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. - - When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). - - If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`. + The postal code formatted according to country. """ - - -class PaymentIntentModifyParamsPaymentMethodOptionsGiropay(TypedDict): - setup_future_usage: NotRequired[Literal["none"]] + region: NotRequired[str] """ - Indicates that you intend to make future payments with this PaymentIntent's payment method. - - If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. - - If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. - - When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). - - If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`. + The state, county, province, or region formatted according to country. """ - - -class PaymentIntentModifyParamsPaymentMethodOptionsGopay(TypedDict): - setup_future_usage: NotRequired[Literal["none", "off_session"]] + street_address: NotRequired[str] """ - Indicates that you intend to make future payments with this PaymentIntent's payment method. - - If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. - - If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. - - When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). - - If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`. + Line 1 of the street address. """ - - -class PaymentIntentModifyParamsPaymentMethodOptionsGrabpay(TypedDict): - setup_future_usage: NotRequired[Literal["none"]] + street_address2: NotRequired[str] + """ + Line 2 of the street address. """ - Indicates that you intend to make future payments with this PaymentIntent's payment method. - - If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. - - If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. - When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). - If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`. +class PaymentIntentModifyParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataRoundTripReservationDetailDeparture( + TypedDict, +): + address: NotRequired[ + "PaymentIntentModifyParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataRoundTripReservationDetailDepartureAddress" + ] + """ + Address of the departure location. + """ + departs_at: NotRequired[int] + """ + Timestamp of departure. + """ + departure_location: NotRequired[str] + """ + Identifier name or reference for the origin location. """ -class PaymentIntentModifyParamsPaymentMethodOptionsIdBankTransfer(TypedDict): - expires_after: NotRequired[int] +class PaymentIntentModifyParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataRoundTripReservationDetailDepartureAddress( + TypedDict, +): + city: NotRequired[str] """ - The UNIX timestamp until which the virtual bank account is valid. Permitted range is from 5 minutes from now until 31 days from now. If unset, it defaults to 3 days from now. + The city or town. """ - expires_at: NotRequired[int] + country: NotRequired[str] """ - The UNIX timestamp until which the virtual bank account is valid. Permitted range is from now until 30 days from now. If unset, it defaults to 1 days from now. + The country in ISO 3166-1 alpha-2 format. """ - setup_future_usage: NotRequired[Literal["none"]] + postal_code: NotRequired[str] """ - Indicates that you intend to make future payments with this PaymentIntent's payment method. - - If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. - - If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. - - When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). - - If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`. + The postal code formatted according to country. + """ + region: NotRequired[str] + """ + The state, county, province, or region formatted according to country. + """ + street_address: NotRequired[str] + """ + Line 1 of the street address. + """ + street_address2: NotRequired[str] + """ + Line 2 of the street address. """ -class PaymentIntentModifyParamsPaymentMethodOptionsIdeal(TypedDict): - setup_future_usage: NotRequired[ - "Literal['']|Literal['none', 'off_session']" +class PaymentIntentModifyParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataRoundTripReservationDetailInsurance( + TypedDict, +): + currency: NotRequired[str] + """ + Insurance currency. + """ + insurance_company_name: NotRequired[str] + """ + Name of the company providing the insurance. + """ + insurance_type: NotRequired[ + Literal["baggage", "bankruptcy", "cancelation", "emergency", "medical"] ] """ - Indicates that you intend to make future payments with this PaymentIntent's payment method. - - If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. - - If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. - - When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). - - If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`. + Type of insurance. + """ + price: NotRequired[int] + """ + Price of insurance in cents. """ -class PaymentIntentModifyParamsPaymentMethodOptionsInteracPresent(TypedDict): - pass - - -class PaymentIntentModifyParamsPaymentMethodOptionsKakaoPay(TypedDict): - capture_method: NotRequired["Literal['']|Literal['manual']"] +class PaymentIntentModifyParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataRoundTripReservationDetailPassenger( + TypedDict, +): + family_name: NotRequired[str] + """ + The family name of the person. + """ + given_name: NotRequired[str] + """ + The given name of the person. """ - Controls when the funds are captured from the customer's account. - If provided, this parameter overrides the behavior of the top-level [capture_method](https://docs.stripe.com/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type. - If `capture_method` is already set on the PaymentIntent, providing an empty value for this parameter unsets the stored value for this payment method type. +class PaymentIntentModifyParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataTrainReservationDetail( + TypedDict, +): + affiliate_name: NotRequired[str] """ - setup_future_usage: NotRequired[ - "Literal['']|Literal['none', 'off_session']" + Name of associated or partner company for the service. + """ + arrival: NotRequired[ + "PaymentIntentModifyParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataTrainReservationDetailArrival" ] """ - Indicates that you intend to make future payments with this PaymentIntent's payment method. - - If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. - - If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. - - When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). + Arrival details. """ - - -class PaymentIntentModifyParamsPaymentMethodOptionsKlarna(TypedDict): - capture_method: NotRequired["Literal['']|Literal['manual']"] + carrier_name: NotRequired[str] """ - Controls when the funds are captured from the customer's account. - - If provided, this parameter overrides the behavior of the top-level [capture_method](https://docs.stripe.com/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type. - - If `capture_method` is already set on the PaymentIntent, providing an empty value for this parameter unsets the stored value for this payment method type. + Name of transportation company. """ - on_demand: NotRequired[ - "PaymentIntentModifyParamsPaymentMethodOptionsKlarnaOnDemand" + currency: NotRequired[str] + """ + Currency. + """ + departure: NotRequired[ + "PaymentIntentModifyParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataTrainReservationDetailDeparture" ] """ - On-demand details if setting up or charging an on-demand payment. + Departure details. """ - preferred_locale: NotRequired[ - Literal[ - "cs-CZ", - "da-DK", - "de-AT", - "de-CH", - "de-DE", - "el-GR", - "en-AT", - "en-AU", - "en-BE", - "en-CA", - "en-CH", - "en-CZ", - "en-DE", - "en-DK", - "en-ES", - "en-FI", - "en-FR", - "en-GB", - "en-GR", - "en-IE", - "en-IT", - "en-NL", - "en-NO", - "en-NZ", - "en-PL", - "en-PT", - "en-RO", - "en-SE", - "en-US", - "es-ES", - "es-US", - "fi-FI", - "fr-BE", - "fr-CA", - "fr-CH", - "fr-FR", - "it-CH", - "it-IT", - "nb-NO", - "nl-BE", - "nl-NL", - "pl-PL", - "pt-PT", - "ro-RO", - "sv-FI", - "sv-SE", + insurances: NotRequired[ + List[ + "PaymentIntentModifyParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataTrainReservationDetailInsurance" ] ] """ - Preferred language of the Klarna authorization page that the customer is redirected to + List of insurances for this reservation. """ - setup_future_usage: NotRequired[ - Literal["none", "off_session", "on_session"] + passengers: NotRequired[ + List[ + "PaymentIntentModifyParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataTrainReservationDetailPassenger" + ] ] """ - Indicates that you intend to make future payments with this PaymentIntent's payment method. + List of passengers that this reservation applies to. + """ + price: NotRequired[int] + """ + Price in cents. + """ + ticket_class: NotRequired[ + Literal["business", "economy", "first_class", "premium_economy"] + ] + """ + Ticket class. + """ - If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. - If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. +class PaymentIntentModifyParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataTrainReservationDetailArrival( + TypedDict, +): + address: NotRequired[ + "PaymentIntentModifyParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataTrainReservationDetailArrivalAddress" + ] + """ + Address of the arrival location. + """ + arrival_location: NotRequired[str] + """ + Identifier name or reference for the arrival location. + """ - When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). - If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`. +class PaymentIntentModifyParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataTrainReservationDetailArrivalAddress( + TypedDict, +): + city: NotRequired[str] """ - subscriptions: NotRequired[ - "Literal['']|List[PaymentIntentModifyParamsPaymentMethodOptionsKlarnaSubscription]" + The city or town. + """ + country: NotRequired[str] + """ + The country in ISO 3166-1 alpha-2 format. + """ + postal_code: NotRequired[str] + """ + The postal code formatted according to country. + """ + region: NotRequired[str] + """ + The state, county, province, or region formatted according to country. + """ + street_address: NotRequired[str] + """ + Line 1 of the street address. + """ + street_address2: NotRequired[str] + """ + Line 2 of the street address. + """ + + +class PaymentIntentModifyParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataTrainReservationDetailDeparture( + TypedDict, +): + address: NotRequired[ + "PaymentIntentModifyParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataTrainReservationDetailDepartureAddress" ] """ - Subscription details if setting up or charging a subscription. + Address of the departure location. + """ + departs_at: NotRequired[int] + """ + Timestamp of departure. + """ + departure_location: NotRequired[str] + """ + Identifier name or reference for the origin location. """ -class PaymentIntentModifyParamsPaymentMethodOptionsKlarnaOnDemand(TypedDict): - average_amount: NotRequired[int] +class PaymentIntentModifyParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataTrainReservationDetailDepartureAddress( + TypedDict, +): + city: NotRequired[str] """ - Your average amount value. You can use a value across your customer base, or segment based on customer type, country, etc. + The city or town. """ - maximum_amount: NotRequired[int] + country: NotRequired[str] """ - The maximum value you may charge a customer per purchase. You can use a value across your customer base, or segment based on customer type, country, etc. + The country in ISO 3166-1 alpha-2 format. """ - minimum_amount: NotRequired[int] + postal_code: NotRequired[str] """ - The lowest or minimum value you may charge a customer per purchase. You can use a value across your customer base, or segment based on customer type, country, etc. + The postal code formatted according to country. """ - purchase_interval: NotRequired[Literal["day", "month", "week", "year"]] + region: NotRequired[str] """ - Interval at which the customer is making purchases + The state, county, province, or region formatted according to country. """ - purchase_interval_count: NotRequired[int] + street_address: NotRequired[str] """ - The number of `purchase_interval` between charges + Line 1 of the street address. + """ + street_address2: NotRequired[str] + """ + Line 2 of the street address. """ -class PaymentIntentModifyParamsPaymentMethodOptionsKlarnaSubscription( +class PaymentIntentModifyParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataTrainReservationDetailInsurance( TypedDict, ): - interval: Literal["day", "month", "week", "year"] + currency: NotRequired[str] """ - Unit of time between subscription charges. + Insurance currency. """ - interval_count: NotRequired[int] + insurance_company_name: NotRequired[str] """ - The number of intervals (specified in the `interval` attribute) between subscription charges. For example, `interval=month` and `interval_count=3` charges every 3 months. + Name of the company providing the insurance. """ - name: NotRequired[str] + insurance_type: NotRequired[ + Literal["baggage", "bankruptcy", "cancelation", "emergency", "medical"] + ] """ - Name for subscription. + Type of insurance. """ - next_billing: NotRequired[ - "PaymentIntentModifyParamsPaymentMethodOptionsKlarnaSubscriptionNextBilling" - ] + price: NotRequired[int] """ - Describes the upcoming charge for this subscription. + Price of insurance in cents. """ - reference: str + + +class PaymentIntentModifyParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataTrainReservationDetailPassenger( + TypedDict, +): + family_name: NotRequired[str] """ - A non-customer-facing reference to correlate subscription charges in the Klarna app. Use a value that persists across subscription charges. + The family name of the person. + """ + given_name: NotRequired[str] + """ + The given name of the person. """ -class PaymentIntentModifyParamsPaymentMethodOptionsKlarnaSubscriptionNextBilling( +class PaymentIntentModifyParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataVoucher( TypedDict, ): - amount: int + affiliate_name: NotRequired[str] """ - The amount of the next charge for the subscription. + Name of associated or partner company for this voucher. """ - date: str + ends_at: NotRequired[int] """ - The date of the next charge for the subscription in YYYY-MM-DD format. + The voucher validity end time. + """ + starts_at: NotRequired[int] + """ + The voucher validity start time. + """ + voucher_company: NotRequired[str] + """ + The issuer or provider of this voucher. + """ + voucher_name: NotRequired[str] + """ + The name or reference to identify the voucher. + """ + voucher_type: NotRequired[ + Literal[ + "digital_product", + "discount", + "gift_card", + "physical_product", + "services", + ] + ] + """ + The type of this voucher. """ @@ -3852,7 +6036,7 @@ class PaymentIntentModifyParamsPaymentMethodOptionsPaytoMandateOptions( """ amount_type: NotRequired[Literal["fixed", "maximum"]] """ - The type of amount that will be collected. The amount charged must be exact or up to the value of `amount` param for `fixed` or `maximum` type respectively. + The type of amount that will be collected. The amount charged must be exact or up to the value of `amount` param for `fixed` or `maximum` type respectively. Defaults to `maximum`. """ end_date: NotRequired[str] """ @@ -3871,7 +6055,7 @@ class PaymentIntentModifyParamsPaymentMethodOptionsPaytoMandateOptions( ] ] """ - The periodicity at which payments will be collected. + The periodicity at which payments will be collected. Defaults to `adhoc`. """ payments_per_period: NotRequired[int] """ @@ -3893,7 +6077,7 @@ class PaymentIntentModifyParamsPaymentMethodOptionsPaytoMandateOptions( ] ] """ - The purpose for which payments are made. Defaults to retail. + The purpose for which payments are made. Has a default value based on your merchant category code. """ @@ -4396,10 +6580,3 @@ class PaymentIntentModifyParamsTransferData(TypedDict): """ The amount that will be transferred automatically when a charge succeeds. """ - - -class PaymentIntentModifyParamsAllocatedFunds(TypedDict): - enabled: NotRequired[bool] - """ - Whether Allocated Funds creation is enabled for this PaymentIntent. - """ diff --git a/stripe/params/_payment_intent_update_params.py b/stripe/params/_payment_intent_update_params.py index 2baedffe6..cc24e5b63 100644 --- a/stripe/params/_payment_intent_update_params.py +++ b/stripe/params/_payment_intent_update_params.py @@ -5,6 +5,10 @@ class PaymentIntentUpdateParams(TypedDict): + allocated_funds: NotRequired["PaymentIntentUpdateParamsAllocatedFunds"] + """ + Allocated Funds configuration for this PaymentIntent. + """ amount: NotRequired[int] """ Amount intended to be collected by this PaymentIntent. A positive integer representing how much to charge in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal) (e.g., 100 cents to charge $1.00 or 100 to charge ¥100, a zero-decimal currency). The minimum amount is $0.50 US or [equivalent in charge currency](https://stripe.com/docs/currencies#minimum-and-maximum-charge-amounts). The amount value supports up to eight digits (e.g., a value of 99999999 for a USD charge of $999,999.99). @@ -144,16 +148,21 @@ class PaymentIntentUpdateParams(TypedDict): """ A string that identifies the resulting payment as part of a group. You can only provide `transfer_group` if it hasn't been set. Learn more about the [use case for connected accounts](https://stripe.com/docs/payments/connected-accounts). """ - allocated_funds: NotRequired["PaymentIntentUpdateParamsAllocatedFunds"] + + +class PaymentIntentUpdateParamsAllocatedFunds(TypedDict): + enabled: NotRequired[bool] """ - Allocated Funds configuration for this PaymentIntent. + Whether Allocated Funds creation is enabled for this PaymentIntent. """ class PaymentIntentUpdateParamsAmountDetails(TypedDict): discount_amount: NotRequired["Literal['']|int"] """ - The total discount applied on the transaction. + The total discount applied on the transaction represented in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal). An integer greater than 0. + + This field is mutually exclusive with the `amount_details[line_items][#][discount_amount]` field. """ line_items: NotRequired[ "Literal['']|List[PaymentIntentUpdateParamsAmountDetailsLineItem]" @@ -176,7 +185,9 @@ class PaymentIntentUpdateParamsAmountDetails(TypedDict): class PaymentIntentUpdateParamsAmountDetailsLineItem(TypedDict): discount_amount: NotRequired[int] """ - The amount an item was discounted for. Positive integer. + The discount applied on this line item represented in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal). An integer greater than 0. + + This field is mutually exclusive with the `amount_details[discount_amount]` field. """ payment_method_options: NotRequired[ "PaymentIntentUpdateParamsAmountDetailsLineItemPaymentMethodOptions" @@ -186,15 +197,17 @@ class PaymentIntentUpdateParamsAmountDetailsLineItem(TypedDict): """ product_code: NotRequired[str] """ - Unique identifier of the product. At most 12 characters long. + The product code of the line item, such as an SKU. Required for L3 rates. At most 12 characters long. """ product_name: str """ - Name of the product. At most 100 characters long. + The product name of the line item. Required for L3 rates. At most 1024 characters long. + + For Cards, this field is truncated to 26 alphanumeric characters before being sent to the card networks. For Paypal, this field is truncated to 127 characters. """ quantity: int """ - Number of items of the product. Positive integer. + The quantity of items. Required for L3 rates. An integer greater than 0. """ tax: NotRequired["PaymentIntentUpdateParamsAmountDetailsLineItemTax"] """ @@ -202,7 +215,7 @@ class PaymentIntentUpdateParamsAmountDetailsLineItem(TypedDict): """ unit_cost: int """ - Cost of the product. Non-negative integer. + The unit cost of the line item represented in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal). Required for L3 rates. An integer greater than or equal to 0. """ unit_of_measure: NotRequired[str] """ @@ -300,29 +313,33 @@ class PaymentIntentUpdateParamsAmountDetailsLineItemPaymentMethodOptionsPaypal( class PaymentIntentUpdateParamsAmountDetailsLineItemTax(TypedDict): total_tax_amount: int """ - The total tax on an item. Non-negative integer. + The total amount of tax on a single line item represented in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal). Required for L3 rates. An integer greater than or equal to 0. + + This field is mutually exclusive with the `amount_details[tax][total_tax_amount]` field. """ class PaymentIntentUpdateParamsAmountDetailsShipping(TypedDict): amount: NotRequired["Literal['']|int"] """ - Portion of the amount that is for shipping. + If a physical good is being shipped, the cost of shipping represented in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal). An integer greater than or equal to 0. """ from_postal_code: NotRequired["Literal['']|str"] """ - The postal code that represents the shipping source. + If a physical good is being shipped, the postal code of where it is being shipped from. At most 10 alphanumeric characters long, hyphens are allowed. """ to_postal_code: NotRequired["Literal['']|str"] """ - The postal code that represents the shipping destination. + If a physical good is being shipped, the postal code of where it is being shipped to. At most 10 alphanumeric characters long, hyphens are allowed. """ class PaymentIntentUpdateParamsAmountDetailsTax(TypedDict): total_tax_amount: int """ - Total portion of the amount that is for tax. + The total amount of tax on the transaction represented in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal). Required for L2 rates. An integer greater than or equal to 0. + + This field is mutually exclusive with the `amount_details[line_items][#][tax][total_tax_amount]` field. """ @@ -387,9 +404,17 @@ class PaymentIntentUpdateParamsPaymentDetails(TypedDict): """ Car rental details for this PaymentIntent. """ + car_rental_data: NotRequired[ + "Literal['']|List[PaymentIntentUpdateParamsPaymentDetailsCarRentalDatum]" + ] + """ + Car rental data for this PaymentIntent. + """ customer_reference: NotRequired["Literal['']|str"] """ - Some customers might be required by their company or organization to provide this information. If so, provide this value. Otherwise you can ignore this field. + A unique value to identify the customer. This field is available only for card payments. + + This field is truncated to 25 alphanumeric characters, excluding spaces, before being sent to card networks. """ event_details: NotRequired[ "PaymentIntentUpdateParamsPaymentDetailsEventDetails" @@ -401,13 +426,29 @@ class PaymentIntentUpdateParamsPaymentDetails(TypedDict): """ Flight reservation details for this PaymentIntent """ + flight_data: NotRequired[ + "Literal['']|List[PaymentIntentUpdateParamsPaymentDetailsFlightDatum]" + ] + """ + Flight data for this PaymentIntent. + """ lodging: NotRequired["PaymentIntentUpdateParamsPaymentDetailsLodging"] """ Lodging reservation details for this PaymentIntent """ + lodging_data: NotRequired[ + "Literal['']|List[PaymentIntentUpdateParamsPaymentDetailsLodgingDatum]" + ] + """ + Lodging data for this PaymentIntent. + """ order_reference: NotRequired["Literal['']|str"] """ - A unique value assigned by the business to identify the transaction. + A unique value assigned by the business to identify the transaction. Required for L2 and L3 rates. + + Required when the Payment Method Types array contains `card`, including when [automatic_payment_methods.enabled](https://docs.stripe.com/api/payment_intents/create#create_payment_intent-automatic_payment_methods-enabled) is set to `true`. + + For Cards, this field is truncated to 25 alphanumeric characters, excluding spaces, before being sent to card networks. For Klarna, this field is truncated to 255 characters and is visible to customers when they view the order in the Klarna app. """ subscription: NotRequired[ "PaymentIntentUpdateParamsPaymentDetailsSubscription" @@ -671,344 +712,483 @@ class PaymentIntentUpdateParamsPaymentDetailsCarRentalReturnAddress(TypedDict): """ -class PaymentIntentUpdateParamsPaymentDetailsEventDetails(TypedDict): - access_controlled_venue: NotRequired[bool] +class PaymentIntentUpdateParamsPaymentDetailsCarRentalDatum(TypedDict): + affiliate: NotRequired[ + "PaymentIntentUpdateParamsPaymentDetailsCarRentalDatumAffiliate" + ] """ - Indicates if the tickets are digitally checked when entering the venue. + Affiliate (such as travel agency) details for the rental. """ - address: NotRequired[ - "PaymentIntentUpdateParamsPaymentDetailsEventDetailsAddress" - ] + booking_number: NotRequired[str] """ - The event location's address. + Booking confirmation number for the car rental. """ - affiliate: NotRequired[ - "PaymentIntentUpdateParamsPaymentDetailsEventDetailsAffiliate" - ] + carrier_name: NotRequired[str] """ - Affiliate details for this purchase. + Name of the car rental company. """ - company: NotRequired[str] + customer_service_phone_number: NotRequired[str] """ - The name of the company + Customer service phone number for the car rental company. """ - delivery: NotRequired[ - "PaymentIntentUpdateParamsPaymentDetailsEventDetailsDelivery" + days_rented: NotRequired[int] + """ + Number of days the car is being rented. + """ + distance: NotRequired[ + "PaymentIntentUpdateParamsPaymentDetailsCarRentalDatumDistance" ] """ - Delivery details for this purchase. + Distance details for the rental. """ - ends_at: NotRequired[int] + drivers: NotRequired[ + List["PaymentIntentUpdateParamsPaymentDetailsCarRentalDatumDriver"] + ] """ - Event end time. Measured in seconds since the Unix epoch. + List of drivers for the rental. """ - genre: NotRequired[str] + drop_off: "PaymentIntentUpdateParamsPaymentDetailsCarRentalDatumDropOff" """ - Type of the event entertainment (concert, sports event etc) + Drop-off location details. """ - name: str + insurances: NotRequired[ + List["PaymentIntentUpdateParamsPaymentDetailsCarRentalDatumInsurance"] + ] """ - The name of the event. + Insurance details for the rental. """ - starts_at: NotRequired[int] + no_show_indicator: NotRequired[bool] """ - Event start time. Measured in seconds since the Unix epoch. + Indicates if the customer was a no-show. """ - - -class PaymentIntentUpdateParamsPaymentDetailsEventDetailsAddress(TypedDict): - city: NotRequired[str] + pickup: "PaymentIntentUpdateParamsPaymentDetailsCarRentalDatumPickup" """ - City, district, suburb, town, or village. + Pickup location details. """ - country: NotRequired[str] + renter_name: NotRequired[str] """ - Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). + Name of the person renting the vehicle. """ - line1: NotRequired[str] + total: "PaymentIntentUpdateParamsPaymentDetailsCarRentalDatumTotal" """ - Address line 1, such as the street, PO Box, or company name. + Total cost breakdown for the rental. """ - line2: NotRequired[str] + vehicle: NotRequired[ + "PaymentIntentUpdateParamsPaymentDetailsCarRentalDatumVehicle" + ] """ - Address line 2, such as the apartment, suite, unit, or building. + Vehicle details for the rental. """ - postal_code: NotRequired[str] + + +class PaymentIntentUpdateParamsPaymentDetailsCarRentalDatumAffiliate( + TypedDict +): + code: NotRequired[str] """ - ZIP or postal code. + Affiliate partner code. """ - state: NotRequired[str] + name: NotRequired[str] """ - State, county, province, or region. + Name of affiliate partner. """ -class PaymentIntentUpdateParamsPaymentDetailsEventDetailsAffiliate(TypedDict): - name: str +class PaymentIntentUpdateParamsPaymentDetailsCarRentalDatumDistance(TypedDict): + amount: int """ - The name of the affiliate that originated the purchase. + Distance traveled. + """ + unit: Literal["kilometers", "miles"] + """ + Unit of measurement for the distance traveled. One of `miles` or `kilometers`. """ -class PaymentIntentUpdateParamsPaymentDetailsEventDetailsDelivery(TypedDict): - mode: NotRequired[Literal["email", "phone", "pickup", "post"]] +class PaymentIntentUpdateParamsPaymentDetailsCarRentalDatumDriver(TypedDict): + date_of_birth: NotRequired[ + "PaymentIntentUpdateParamsPaymentDetailsCarRentalDatumDriverDateOfBirth" + ] """ - The delivery method for the payment + Driver's date of birth. """ - recipient: NotRequired[ - "PaymentIntentUpdateParamsPaymentDetailsEventDetailsDeliveryRecipient" - ] + driver_identification_number: NotRequired[str] """ - Details of the recipient. + Driver's identification number. + """ + driver_tax_number: NotRequired[str] + """ + Driver's tax number. + """ + name: str + """ + Driver's full name. """ -class PaymentIntentUpdateParamsPaymentDetailsEventDetailsDeliveryRecipient( +class PaymentIntentUpdateParamsPaymentDetailsCarRentalDatumDriverDateOfBirth( TypedDict, ): - email: NotRequired[str] + day: int """ - The email of the recipient the ticket is delivered to. + Day of birth (1-31). """ - name: NotRequired[str] + month: int """ - The name of the recipient the ticket is delivered to. + Month of birth (1-12). """ - phone: NotRequired[str] + year: int """ - The phone number of the recipient the ticket is delivered to. + Year of birth (must be greater than 1900). """ -class PaymentIntentUpdateParamsPaymentDetailsFlight(TypedDict): - affiliate: NotRequired[ - "PaymentIntentUpdateParamsPaymentDetailsFlightAffiliate" - ] +class PaymentIntentUpdateParamsPaymentDetailsCarRentalDatumDropOff(TypedDict): + address: ( + "PaymentIntentUpdateParamsPaymentDetailsCarRentalDatumDropOffAddress" + ) """ - Affiliate details for this purchase. + Address of the rental location. """ - agency_number: NotRequired[str] + location_name: NotRequired[str] """ - The agency number (i.e. International Air Transport Association (IATA) agency number) of the travel agency that made the booking. + Location name. """ - carrier: NotRequired[str] + time: int """ - The International Air Transport Association (IATA) carrier code of the carrier that issued the ticket. + Timestamp for the location. """ - delivery: NotRequired[ - "PaymentIntentUpdateParamsPaymentDetailsFlightDelivery" - ] + + +class PaymentIntentUpdateParamsPaymentDetailsCarRentalDatumDropOffAddress( + TypedDict, +): + city: str """ - Delivery details for this purchase. + City, district, suburb, town, or village. """ - passenger_name: NotRequired[str] + country: str """ - The name of the person or entity on the reservation. + Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). """ - passengers: NotRequired[ - List["PaymentIntentUpdateParamsPaymentDetailsFlightPassenger"] - ] + line1: str """ - The details of the passengers in the travel reservation. + Address line 1, such as the street, PO Box, or company name. """ - segments: List["PaymentIntentUpdateParamsPaymentDetailsFlightSegment"] + line2: NotRequired[str] """ - The individual flight segments associated with the trip. + Address line 2, such as the apartment, suite, unit, or building. """ - ticket_number: NotRequired[str] + postal_code: str """ - The ticket number associated with the travel reservation. + ZIP or postal code. """ - - -class PaymentIntentUpdateParamsPaymentDetailsFlightAffiliate(TypedDict): - name: str + state: NotRequired[str] """ - The name of the affiliate that originated the purchase. + State, county, province, or region. """ -class PaymentIntentUpdateParamsPaymentDetailsFlightDelivery(TypedDict): - mode: NotRequired[Literal["email", "phone", "pickup", "post"]] +class PaymentIntentUpdateParamsPaymentDetailsCarRentalDatumInsurance( + TypedDict +): + amount: int """ - The delivery method for the payment + Amount of the insurance coverage in cents. """ - recipient: NotRequired[ - "PaymentIntentUpdateParamsPaymentDetailsFlightDeliveryRecipient" + currency: NotRequired[str] + """ + Currency of the insurance amount. + """ + insurance_company_name: NotRequired[str] + """ + Name of the insurance company. + """ + insurance_type: Literal[ + "liability_supplement", + "loss_damage_waiver", + "other", + "partial_damage_waiver", + "personal_accident", + "personal_effects", ] """ - Details of the recipient. + Type of insurance coverage. """ -class PaymentIntentUpdateParamsPaymentDetailsFlightDeliveryRecipient( - TypedDict -): - email: NotRequired[str] +class PaymentIntentUpdateParamsPaymentDetailsCarRentalDatumPickup(TypedDict): + address: ( + "PaymentIntentUpdateParamsPaymentDetailsCarRentalDatumPickupAddress" + ) """ - The email of the recipient the ticket is delivered to. + Address of the rental location. """ - name: NotRequired[str] + location_name: NotRequired[str] """ - The name of the recipient the ticket is delivered to. + Location name. """ - phone: NotRequired[str] + time: int """ - The phone number of the recipient the ticket is delivered to. + Timestamp for the location. """ -class PaymentIntentUpdateParamsPaymentDetailsFlightPassenger(TypedDict): - name: str +class PaymentIntentUpdateParamsPaymentDetailsCarRentalDatumPickupAddress( + TypedDict, +): + city: str """ - Full name of the person or entity on the flight reservation. + City, district, suburb, town, or village. """ - - -class PaymentIntentUpdateParamsPaymentDetailsFlightSegment(TypedDict): - amount: NotRequired[int] + country: str """ - The flight segment amount. + Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). """ - arrival_airport: NotRequired[str] + line1: str """ - The International Air Transport Association (IATA) airport code for the arrival airport. + Address line 1, such as the street, PO Box, or company name. """ - arrives_at: NotRequired[int] + line2: NotRequired[str] """ - The arrival time for the flight segment. Measured in seconds since the Unix epoch. + Address line 2, such as the apartment, suite, unit, or building. """ - carrier: NotRequired[str] + postal_code: str """ - The International Air Transport Association (IATA) carrier code of the carrier operating the flight segment. + ZIP or postal code. """ - departs_at: int + state: NotRequired[str] """ - The departure time for the flight segment. Measured in seconds since the Unix epoch. + State, county, province, or region. """ - departure_airport: NotRequired[str] + + +class PaymentIntentUpdateParamsPaymentDetailsCarRentalDatumTotal(TypedDict): + amount: int """ - The International Air Transport Association (IATA) airport code for the departure airport. + Total amount in cents. """ - flight_number: NotRequired[str] + currency: NotRequired[str] """ - The flight number associated with the segment + Currency of the amount. """ - service_class: NotRequired[ - Literal["business", "economy", "first", "premium_economy"] + discounts: NotRequired[ + "PaymentIntentUpdateParamsPaymentDetailsCarRentalDatumTotalDiscounts" ] """ - The fare class for the segment. + Discount details for the rental. """ - - -class PaymentIntentUpdateParamsPaymentDetailsLodging(TypedDict): - address: NotRequired[ - "PaymentIntentUpdateParamsPaymentDetailsLodgingAddress" + extra_charges: NotRequired[ + List[ + "PaymentIntentUpdateParamsPaymentDetailsCarRentalDatumTotalExtraCharge" + ] ] """ - The lodging location's address. + Additional charges for the rental. """ - adults: NotRequired[int] + rate_per_unit: NotRequired[int] """ - The number of adults on the booking + Rate per unit for the rental. """ - affiliate: NotRequired[ - "PaymentIntentUpdateParamsPaymentDetailsLodgingAffiliate" + rate_unit: NotRequired[ + Literal["days", "kilometers", "miles", "months", "weeks"] ] """ - Affiliate details for this purchase. - """ - booking_number: NotRequired[str] + Unit of measurement for the rate. """ - The booking number associated with the lodging reservation. + tax: NotRequired[ + "PaymentIntentUpdateParamsPaymentDetailsCarRentalDatumTotalTax" + ] """ - category: NotRequired[Literal["hotel", "vacation_rental"]] + Tax breakdown for the rental. """ - The lodging category + + +class PaymentIntentUpdateParamsPaymentDetailsCarRentalDatumTotalDiscounts( + TypedDict, +): + corporate_client_code: NotRequired[str] """ - checkin_at: int + Corporate client discount code. """ - Lodging check-in time. Measured in seconds since the Unix epoch. + coupon: NotRequired[str] """ - checkout_at: int + Coupon code applied to the rental. """ - Lodging check-out time. Measured in seconds since the Unix epoch. + maximum_free_miles_or_kilometers: NotRequired[int] """ - customer_service_phone_number: NotRequired[str] + Maximum number of free miles or kilometers included. """ - The customer service phone number of the lodging company. - """ - daily_room_rate_amount: NotRequired[int] + + +class PaymentIntentUpdateParamsPaymentDetailsCarRentalDatumTotalExtraCharge( + TypedDict, +): + amount: int """ - The daily lodging room rate. + Amount of the extra charge in cents. """ - delivery: NotRequired[ - "PaymentIntentUpdateParamsPaymentDetailsLodgingDelivery" + type: Literal[ + "extra_mileage", + "gas", + "gps", + "late_charge", + "one_way_drop_off", + "other", + "parking", + "phone", + "regular_mileage", + "towing", ] """ - Delivery details for this purchase. + Type of extra charge. """ - extra_charges: NotRequired[ + + +class PaymentIntentUpdateParamsPaymentDetailsCarRentalDatumTotalTax(TypedDict): + tax_exempt_indicator: NotRequired[bool] + """ + Indicates if the transaction is tax exempt. + """ + taxes: NotRequired[ List[ - Literal[ - "gift_shop", - "laundry", - "mini_bar", - "other", - "restaurant", - "telephone", - ] + "PaymentIntentUpdateParamsPaymentDetailsCarRentalDatumTotalTaxTax" ] ] """ - List of additional charges being billed. + Array of tax details. """ - fire_safety_act_compliance: NotRequired[bool] + + +class PaymentIntentUpdateParamsPaymentDetailsCarRentalDatumTotalTaxTax( + TypedDict, +): + amount: NotRequired[int] """ - Indicates whether the lodging location is compliant with the Fire Safety Act. + Tax amount. """ - name: NotRequired[str] + rate: NotRequired[int] """ - The name of the lodging location. + Tax rate applied. """ - no_show: NotRequired[bool] + type: NotRequired[str] """ - Indicates if the customer did not keep their booking while failing to cancel the reservation. + Type of tax applied. """ - number_of_rooms: NotRequired[int] + + +class PaymentIntentUpdateParamsPaymentDetailsCarRentalDatumVehicle(TypedDict): + make: NotRequired[str] """ - The number of rooms on the booking + Make of the rental vehicle. """ - passengers: NotRequired[ - List["PaymentIntentUpdateParamsPaymentDetailsLodgingPassenger"] + model: NotRequired[str] + """ + Model of the rental vehicle. + """ + odometer: NotRequired[int] + """ + Odometer reading at the time of rental. + """ + type: NotRequired[ + Literal[ + "cargo_van", + "compact", + "economy", + "exotic", + "exotic_suv", + "fifteen_passenger_van", + "four_wheel_drive", + "full_size", + "intermediate", + "large_suv", + "large_truck", + "luxury", + "medium_suv", + "midsize", + "mini", + "minivan", + "miscellaneous", + "moped", + "moving_van", + "premium", + "regular", + "small_medium_truck", + "small_suv", + "special", + "standard", + "stretch", + "subcompact", + "taxi", + "twelve_foot_truck", + "twelve_passenger_van", + "twenty_foot_truck", + "twenty_four_foot_truck", + "twenty_six_foot_truck", + "unique", + ] ] """ - The details of the passengers in the travel reservation + Type of the rental vehicle. """ - property_phone_number: NotRequired[str] + vehicle_class: NotRequired[ + Literal["business", "economy", "first_class", "premium_economy"] + ] """ - The phone number of the lodging location. + Class of the rental vehicle. """ - room_class: NotRequired[str] + vehicle_identification_number: NotRequired[str] """ - The room class for this purchase. + Vehicle identification number (VIN). """ - room_nights: NotRequired[int] + + +class PaymentIntentUpdateParamsPaymentDetailsEventDetails(TypedDict): + access_controlled_venue: NotRequired[bool] """ - The number of room nights + Indicates if the tickets are digitally checked when entering the venue. """ - total_room_tax_amount: NotRequired[int] + address: NotRequired[ + "PaymentIntentUpdateParamsPaymentDetailsEventDetailsAddress" + ] """ - The total tax amount associating with the room reservation. + The event location's address. """ - total_tax_amount: NotRequired[int] + affiliate: NotRequired[ + "PaymentIntentUpdateParamsPaymentDetailsEventDetailsAffiliate" + ] """ - The total tax amount + Affiliate details for this purchase. + """ + company: NotRequired[str] + """ + The name of the company + """ + delivery: NotRequired[ + "PaymentIntentUpdateParamsPaymentDetailsEventDetailsDelivery" + ] + """ + Delivery details for this purchase. + """ + ends_at: NotRequired[int] + """ + Event end time. Measured in seconds since the Unix epoch. + """ + genre: NotRequired[str] + """ + Type of the event entertainment (concert, sports event etc) + """ + name: str + """ + The name of the event. + """ + starts_at: NotRequired[int] + """ + Event start time. Measured in seconds since the Unix epoch. """ -class PaymentIntentUpdateParamsPaymentDetailsLodgingAddress(TypedDict): +class PaymentIntentUpdateParamsPaymentDetailsEventDetailsAddress(TypedDict): city: NotRequired[str] """ City, district, suburb, town, or village. @@ -1035,27 +1215,27 @@ class PaymentIntentUpdateParamsPaymentDetailsLodgingAddress(TypedDict): """ -class PaymentIntentUpdateParamsPaymentDetailsLodgingAffiliate(TypedDict): +class PaymentIntentUpdateParamsPaymentDetailsEventDetailsAffiliate(TypedDict): name: str """ The name of the affiliate that originated the purchase. """ -class PaymentIntentUpdateParamsPaymentDetailsLodgingDelivery(TypedDict): +class PaymentIntentUpdateParamsPaymentDetailsEventDetailsDelivery(TypedDict): mode: NotRequired[Literal["email", "phone", "pickup", "post"]] """ The delivery method for the payment """ recipient: NotRequired[ - "PaymentIntentUpdateParamsPaymentDetailsLodgingDeliveryRecipient" + "PaymentIntentUpdateParamsPaymentDetailsEventDetailsDeliveryRecipient" ] """ Details of the recipient. """ -class PaymentIntentUpdateParamsPaymentDetailsLodgingDeliveryRecipient( +class PaymentIntentUpdateParamsPaymentDetailsEventDetailsDeliveryRecipient( TypedDict, ): email: NotRequired[str] @@ -1072,515 +1252,531 @@ class PaymentIntentUpdateParamsPaymentDetailsLodgingDeliveryRecipient( """ -class PaymentIntentUpdateParamsPaymentDetailsLodgingPassenger(TypedDict): - name: str - """ - Full name of the person or entity on the lodging reservation. - """ - - -class PaymentIntentUpdateParamsPaymentDetailsSubscription(TypedDict): +class PaymentIntentUpdateParamsPaymentDetailsFlight(TypedDict): affiliate: NotRequired[ - "PaymentIntentUpdateParamsPaymentDetailsSubscriptionAffiliate" + "PaymentIntentUpdateParamsPaymentDetailsFlightAffiliate" ] """ Affiliate details for this purchase. """ - auto_renewal: NotRequired[bool] + agency_number: NotRequired[str] """ - Info whether the subscription will be auto renewed upon expiry. + The agency number (i.e. International Air Transport Association (IATA) agency number) of the travel agency that made the booking. """ - billing_interval: NotRequired[ - "PaymentIntentUpdateParamsPaymentDetailsSubscriptionBillingInterval" + carrier: NotRequired[str] + """ + The International Air Transport Association (IATA) carrier code of the carrier that issued the ticket. + """ + delivery: NotRequired[ + "PaymentIntentUpdateParamsPaymentDetailsFlightDelivery" ] """ - Subscription billing details for this purchase. + Delivery details for this purchase. """ - ends_at: NotRequired[int] + passenger_name: NotRequired[str] """ - Subscription end time. Measured in seconds since the Unix epoch. + The name of the person or entity on the reservation. """ - name: str + passengers: NotRequired[ + List["PaymentIntentUpdateParamsPaymentDetailsFlightPassenger"] + ] """ - Name of the product on subscription. e.g. Apple Music Subscription + The details of the passengers in the travel reservation. """ - starts_at: NotRequired[int] + segments: List["PaymentIntentUpdateParamsPaymentDetailsFlightSegment"] """ - Subscription start time. Measured in seconds since the Unix epoch. + The individual flight segments associated with the trip. + """ + ticket_number: NotRequired[str] + """ + The ticket number associated with the travel reservation. """ -class PaymentIntentUpdateParamsPaymentDetailsSubscriptionAffiliate(TypedDict): +class PaymentIntentUpdateParamsPaymentDetailsFlightAffiliate(TypedDict): name: str """ The name of the affiliate that originated the purchase. """ -class PaymentIntentUpdateParamsPaymentDetailsSubscriptionBillingInterval( - TypedDict, -): - count: int +class PaymentIntentUpdateParamsPaymentDetailsFlightDelivery(TypedDict): + mode: NotRequired[Literal["email", "phone", "pickup", "post"]] """ - The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration. + The delivery method for the payment """ - interval: Literal["day", "month", "week", "year"] + recipient: NotRequired[ + "PaymentIntentUpdateParamsPaymentDetailsFlightDeliveryRecipient" + ] """ - Specifies a type of interval unit. Either `day`, `week`, `month` or `year`. + Details of the recipient. """ -class PaymentIntentUpdateParamsPaymentMethodData(TypedDict): - acss_debit: NotRequired[ - "PaymentIntentUpdateParamsPaymentMethodDataAcssDebit" - ] +class PaymentIntentUpdateParamsPaymentDetailsFlightDeliveryRecipient( + TypedDict +): + email: NotRequired[str] """ - If this is an `acss_debit` PaymentMethod, this hash contains details about the ACSS Debit payment method. + The email of the recipient the ticket is delivered to. """ - affirm: NotRequired["PaymentIntentUpdateParamsPaymentMethodDataAffirm"] + name: NotRequired[str] """ - If this is an `affirm` PaymentMethod, this hash contains details about the Affirm payment method. + The name of the recipient the ticket is delivered to. """ - afterpay_clearpay: NotRequired[ - "PaymentIntentUpdateParamsPaymentMethodDataAfterpayClearpay" - ] + phone: NotRequired[str] """ - If this is an `AfterpayClearpay` PaymentMethod, this hash contains details about the AfterpayClearpay payment method. + The phone number of the recipient the ticket is delivered to. """ - alipay: NotRequired["PaymentIntentUpdateParamsPaymentMethodDataAlipay"] + + +class PaymentIntentUpdateParamsPaymentDetailsFlightPassenger(TypedDict): + name: str """ - If this is an `Alipay` PaymentMethod, this hash contains details about the Alipay payment method. + Full name of the person or entity on the flight reservation. """ - allow_redisplay: NotRequired[Literal["always", "limited", "unspecified"]] + + +class PaymentIntentUpdateParamsPaymentDetailsFlightSegment(TypedDict): + amount: NotRequired[int] """ - This field indicates whether this payment method can be shown again to its customer in a checkout flow. Stripe products such as Checkout and Elements use this field to determine whether a payment method can be shown as a saved payment method in a checkout flow. The field defaults to `unspecified`. + The flight segment amount. """ - alma: NotRequired["PaymentIntentUpdateParamsPaymentMethodDataAlma"] + arrival_airport: NotRequired[str] """ - If this is a Alma PaymentMethod, this hash contains details about the Alma payment method. + The International Air Transport Association (IATA) airport code for the arrival airport. """ - amazon_pay: NotRequired[ - "PaymentIntentUpdateParamsPaymentMethodDataAmazonPay" - ] + arrives_at: NotRequired[int] """ - If this is a AmazonPay PaymentMethod, this hash contains details about the AmazonPay payment method. + The arrival time for the flight segment. Measured in seconds since the Unix epoch. """ - au_becs_debit: NotRequired[ - "PaymentIntentUpdateParamsPaymentMethodDataAuBecsDebit" - ] + carrier: NotRequired[str] """ - If this is an `au_becs_debit` PaymentMethod, this hash contains details about the bank account. + The International Air Transport Association (IATA) carrier code of the carrier operating the flight segment. """ - bacs_debit: NotRequired[ - "PaymentIntentUpdateParamsPaymentMethodDataBacsDebit" - ] + departs_at: int """ - If this is a `bacs_debit` PaymentMethod, this hash contains details about the Bacs Direct Debit bank account. + The departure time for the flight segment. Measured in seconds since the Unix epoch. """ - bancontact: NotRequired[ - "PaymentIntentUpdateParamsPaymentMethodDataBancontact" - ] + departure_airport: NotRequired[str] """ - If this is a `bancontact` PaymentMethod, this hash contains details about the Bancontact payment method. + The International Air Transport Association (IATA) airport code for the departure airport. """ - billie: NotRequired["PaymentIntentUpdateParamsPaymentMethodDataBillie"] + flight_number: NotRequired[str] """ - If this is a `billie` PaymentMethod, this hash contains details about the Billie payment method. + The flight number associated with the segment """ - billing_details: NotRequired[ - "PaymentIntentUpdateParamsPaymentMethodDataBillingDetails" + service_class: NotRequired[ + Literal["business", "economy", "first", "premium_economy"] ] """ - Billing information associated with the PaymentMethod that may be used or required by particular types of payment methods. + The fare class for the segment. """ - blik: NotRequired["PaymentIntentUpdateParamsPaymentMethodDataBlik"] + + +class PaymentIntentUpdateParamsPaymentDetailsFlightDatum(TypedDict): + affiliate: NotRequired[ + "PaymentIntentUpdateParamsPaymentDetailsFlightDatumAffiliate" + ] """ - If this is a `blik` PaymentMethod, this hash contains details about the BLIK payment method. + Affiliate details if applicable. """ - boleto: NotRequired["PaymentIntentUpdateParamsPaymentMethodDataBoleto"] + booking_number: NotRequired[str] """ - If this is a `boleto` PaymentMethod, this hash contains details about the Boleto payment method. + Reservation reference. """ - cashapp: NotRequired["PaymentIntentUpdateParamsPaymentMethodDataCashapp"] + computerized_reservation_system: NotRequired[str] """ - If this is a `cashapp` PaymentMethod, this hash contains details about the Cash App Pay payment method. + Computerized reservation system used to make the reservation and purchase the ticket. """ - crypto: NotRequired["PaymentIntentUpdateParamsPaymentMethodDataCrypto"] + endorsements_and_restrictions: NotRequired[str] """ - If this is a Crypto PaymentMethod, this hash contains details about the Crypto payment method. + Ticket restrictions. """ - customer_balance: NotRequired[ - "PaymentIntentUpdateParamsPaymentMethodDataCustomerBalance" + insurances: NotRequired[ + List["PaymentIntentUpdateParamsPaymentDetailsFlightDatumInsurance"] ] """ - If this is a `customer_balance` PaymentMethod, this hash contains details about the CustomerBalance payment method. - """ - eps: NotRequired["PaymentIntentUpdateParamsPaymentMethodDataEps"] - """ - If this is an `eps` PaymentMethod, this hash contains details about the EPS payment method. + List of insurances. """ - fpx: NotRequired["PaymentIntentUpdateParamsPaymentMethodDataFpx"] + passengers: NotRequired[ + List["PaymentIntentUpdateParamsPaymentDetailsFlightDatumPassenger"] + ] """ - If this is an `fpx` PaymentMethod, this hash contains details about the FPX payment method. + List of passengers. """ - giropay: NotRequired["PaymentIntentUpdateParamsPaymentMethodDataGiropay"] + segments: List["PaymentIntentUpdateParamsPaymentDetailsFlightDatumSegment"] """ - If this is a `giropay` PaymentMethod, this hash contains details about the Giropay payment method. + List of flight segments. """ - gopay: NotRequired["PaymentIntentUpdateParamsPaymentMethodDataGopay"] + ticket_electronically_issued_indicator: NotRequired[bool] """ - If this is a Gopay PaymentMethod, this hash contains details about the Gopay payment method. + Electronic ticket indicator. """ - grabpay: NotRequired["PaymentIntentUpdateParamsPaymentMethodDataGrabpay"] + total: "PaymentIntentUpdateParamsPaymentDetailsFlightDatumTotal" """ - If this is a `grabpay` PaymentMethod, this hash contains details about the GrabPay payment method. + Total cost breakdown. """ - id_bank_transfer: NotRequired[ - "PaymentIntentUpdateParamsPaymentMethodDataIdBankTransfer" + transaction_type: NotRequired[ + Literal[ + "exchange_ticket", "miscellaneous", "refund", "ticket_purchase" + ] ] """ - If this is an `IdBankTransfer` PaymentMethod, this hash contains details about the IdBankTransfer payment method. + Type of flight transaction. """ - ideal: NotRequired["PaymentIntentUpdateParamsPaymentMethodDataIdeal"] + + +class PaymentIntentUpdateParamsPaymentDetailsFlightDatumAffiliate(TypedDict): + code: NotRequired[str] """ - If this is an `ideal` PaymentMethod, this hash contains details about the iDEAL payment method. + Affiliate partner code. """ - interac_present: NotRequired[ - "PaymentIntentUpdateParamsPaymentMethodDataInteracPresent" - ] + name: NotRequired[str] """ - If this is an `interac_present` PaymentMethod, this hash contains details about the Interac Present payment method. + Name of affiliate partner. """ - kakao_pay: NotRequired[ - "PaymentIntentUpdateParamsPaymentMethodDataKakaoPay" - ] + travel_authorization_code: NotRequired[str] """ - If this is a `kakao_pay` PaymentMethod, this hash contains details about the Kakao Pay payment method. + Code provided by the company to a travel agent authorizing ticket issuance. """ - klarna: NotRequired["PaymentIntentUpdateParamsPaymentMethodDataKlarna"] + + +class PaymentIntentUpdateParamsPaymentDetailsFlightDatumInsurance(TypedDict): + amount: int """ - If this is a `klarna` PaymentMethod, this hash contains details about the Klarna payment method. + Insurance cost. """ - konbini: NotRequired["PaymentIntentUpdateParamsPaymentMethodDataKonbini"] + currency: NotRequired[str] """ - If this is a `konbini` PaymentMethod, this hash contains details about the Konbini payment method. + Insurance currency. """ - kr_card: NotRequired["PaymentIntentUpdateParamsPaymentMethodDataKrCard"] + insurance_company_name: NotRequired[str] """ - If this is a `kr_card` PaymentMethod, this hash contains details about the Korean Card payment method. + Insurance company name. """ - link: NotRequired["PaymentIntentUpdateParamsPaymentMethodDataLink"] + insurance_type: Literal[ + "baggage", "bankruptcy", "cancelation", "emergency", "medical" + ] """ - If this is an `Link` PaymentMethod, this hash contains details about the Link payment method. + Type of insurance. """ - mb_way: NotRequired["PaymentIntentUpdateParamsPaymentMethodDataMbWay"] + + +class PaymentIntentUpdateParamsPaymentDetailsFlightDatumPassenger(TypedDict): + name: str """ - If this is a MB WAY PaymentMethod, this hash contains details about the MB WAY payment method. + Passenger's full name. """ - metadata: NotRequired[Dict[str, str]] + + +class PaymentIntentUpdateParamsPaymentDetailsFlightDatumSegment(TypedDict): + amount: NotRequired[int] """ - Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. + Segment fare amount. """ - mobilepay: NotRequired[ - "PaymentIntentUpdateParamsPaymentMethodDataMobilepay" - ] + arrival: "PaymentIntentUpdateParamsPaymentDetailsFlightDatumSegmentArrival" """ - If this is a `mobilepay` PaymentMethod, this hash contains details about the MobilePay payment method. + Arrival details. """ - multibanco: NotRequired[ - "PaymentIntentUpdateParamsPaymentMethodDataMultibanco" - ] + carrier_code: str """ - If this is a `multibanco` PaymentMethod, this hash contains details about the Multibanco payment method. + Airline carrier code. """ - naver_pay: NotRequired[ - "PaymentIntentUpdateParamsPaymentMethodDataNaverPay" - ] + carrier_name: NotRequired[str] """ - If this is a `naver_pay` PaymentMethod, this hash contains details about the Naver Pay payment method. + Carrier name. """ - nz_bank_account: NotRequired[ - "PaymentIntentUpdateParamsPaymentMethodDataNzBankAccount" - ] + currency: NotRequired[str] """ - If this is an nz_bank_account PaymentMethod, this hash contains details about the nz_bank_account payment method. + Segment currency. """ - oxxo: NotRequired["PaymentIntentUpdateParamsPaymentMethodDataOxxo"] + departure: ( + "PaymentIntentUpdateParamsPaymentDetailsFlightDatumSegmentDeparture" + ) """ - If this is an `oxxo` PaymentMethod, this hash contains details about the OXXO payment method. + Departure details. """ - p24: NotRequired["PaymentIntentUpdateParamsPaymentMethodDataP24"] + exchange_ticket_number: NotRequired[str] """ - If this is a `p24` PaymentMethod, this hash contains details about the P24 payment method. + Exchange ticket number. """ - pay_by_bank: NotRequired[ - "PaymentIntentUpdateParamsPaymentMethodDataPayByBank" - ] + fare_basis_code: NotRequired[str] """ - If this is a `pay_by_bank` PaymentMethod, this hash contains details about the PayByBank payment method. + Fare basis code. """ - payco: NotRequired["PaymentIntentUpdateParamsPaymentMethodDataPayco"] + fees: NotRequired[int] """ - If this is a `payco` PaymentMethod, this hash contains details about the PAYCO payment method. + Additional fees. """ - paynow: NotRequired["PaymentIntentUpdateParamsPaymentMethodDataPaynow"] + flight_number: NotRequired[str] """ - If this is a `paynow` PaymentMethod, this hash contains details about the PayNow payment method. + Flight number. """ - paypal: NotRequired["PaymentIntentUpdateParamsPaymentMethodDataPaypal"] + is_stop_over_indicator: NotRequired[bool] """ - If this is a `paypal` PaymentMethod, this hash contains details about the PayPal payment method. + Stopover indicator. """ - paypay: NotRequired["PaymentIntentUpdateParamsPaymentMethodDataPaypay"] + refundable: NotRequired[bool] """ - If this is a `paypay` PaymentMethod, this hash contains details about the PayPay payment method. + Refundable ticket indicator. """ - payto: NotRequired["PaymentIntentUpdateParamsPaymentMethodDataPayto"] + service_class: Literal[ + "business", "economy", "first_class", "premium_economy" + ] """ - If this is a `payto` PaymentMethod, this hash contains details about the PayTo payment method. + Class of service. """ - pix: NotRequired["PaymentIntentUpdateParamsPaymentMethodDataPix"] + tax_amount: NotRequired[int] """ - If this is a `pix` PaymentMethod, this hash contains details about the Pix payment method. + Tax amount for segment. """ - promptpay: NotRequired[ - "PaymentIntentUpdateParamsPaymentMethodDataPromptpay" - ] + ticket_number: NotRequired[str] """ - If this is a `promptpay` PaymentMethod, this hash contains details about the PromptPay payment method. + Ticket number. """ - qris: NotRequired["PaymentIntentUpdateParamsPaymentMethodDataQris"] + + +class PaymentIntentUpdateParamsPaymentDetailsFlightDatumSegmentArrival( + TypedDict, +): + airport: str """ - If this is a `qris` PaymentMethod, this hash contains details about the QRIS payment method. + Arrival airport IATA code. """ - radar_options: NotRequired[ - "PaymentIntentUpdateParamsPaymentMethodDataRadarOptions" - ] + arrives_at: NotRequired[int] """ - Options to configure Radar. See [Radar Session](https://stripe.com/docs/radar/radar-session) for more information. + Arrival date/time. """ - rechnung: NotRequired["PaymentIntentUpdateParamsPaymentMethodDataRechnung"] + city: NotRequired[str] """ - If this is a `rechnung` PaymentMethod, this hash contains details about the Rechnung payment method. + Arrival city. """ - revolut_pay: NotRequired[ - "PaymentIntentUpdateParamsPaymentMethodDataRevolutPay" - ] + country: NotRequired[str] """ - If this is a `revolut_pay` PaymentMethod, this hash contains details about the Revolut Pay payment method. + Arrival country. """ - samsung_pay: NotRequired[ - "PaymentIntentUpdateParamsPaymentMethodDataSamsungPay" - ] + + +class PaymentIntentUpdateParamsPaymentDetailsFlightDatumSegmentDeparture( + TypedDict, +): + airport: str """ - If this is a `samsung_pay` PaymentMethod, this hash contains details about the SamsungPay payment method. + Departure airport IATA code. """ - satispay: NotRequired["PaymentIntentUpdateParamsPaymentMethodDataSatispay"] + city: NotRequired[str] """ - If this is a `satispay` PaymentMethod, this hash contains details about the Satispay payment method. + Departure city. """ - sepa_debit: NotRequired[ - "PaymentIntentUpdateParamsPaymentMethodDataSepaDebit" - ] + country: NotRequired[str] """ - If this is a `sepa_debit` PaymentMethod, this hash contains details about the SEPA debit bank account. + Departure country. """ - shopeepay: NotRequired[ - "PaymentIntentUpdateParamsPaymentMethodDataShopeepay" - ] + departs_at: int """ - If this is a Shopeepay PaymentMethod, this hash contains details about the Shopeepay payment method. + Departure date/time. """ - sofort: NotRequired["PaymentIntentUpdateParamsPaymentMethodDataSofort"] + + +class PaymentIntentUpdateParamsPaymentDetailsFlightDatumTotal(TypedDict): + amount: int """ - If this is a `sofort` PaymentMethod, this hash contains details about the SOFORT payment method. + Total flight amount. """ - stripe_balance: NotRequired[ - "PaymentIntentUpdateParamsPaymentMethodDataStripeBalance" + credit_reason: NotRequired[ + Literal[ + "other", + "partial_ticket_refund", + "passenger_transport_ancillary_cancellation", + "ticket_and_ancillary_cancellation", + "ticket_cancellation", + ] ] """ - This hash contains details about the Stripe balance payment method. + Reason for credit. """ - swish: NotRequired["PaymentIntentUpdateParamsPaymentMethodDataSwish"] + currency: NotRequired[str] """ - If this is a `swish` PaymentMethod, this hash contains details about the Swish payment method. + Total currency. """ - twint: NotRequired["PaymentIntentUpdateParamsPaymentMethodDataTwint"] + discounts: NotRequired[ + "PaymentIntentUpdateParamsPaymentDetailsFlightDatumTotalDiscounts" + ] """ - If this is a TWINT PaymentMethod, this hash contains details about the TWINT payment method. + Discount details. """ - type: Literal[ - "acss_debit", - "affirm", - "afterpay_clearpay", - "alipay", - "alma", - "amazon_pay", - "au_becs_debit", - "bacs_debit", - "bancontact", - "billie", - "blik", - "boleto", - "cashapp", - "crypto", - "customer_balance", - "eps", - "fpx", - "giropay", - "gopay", - "grabpay", - "id_bank_transfer", - "ideal", - "kakao_pay", - "klarna", - "konbini", - "kr_card", - "link", - "mb_way", - "mobilepay", - "multibanco", - "naver_pay", - "nz_bank_account", - "oxxo", - "p24", - "pay_by_bank", - "payco", - "paynow", - "paypal", - "paypay", - "payto", - "pix", - "promptpay", - "qris", - "rechnung", - "revolut_pay", - "samsung_pay", - "satispay", - "sepa_debit", - "shopeepay", - "sofort", - "stripe_balance", - "swish", - "twint", - "us_bank_account", - "wechat_pay", - "zip", + extra_charges: NotRequired[ + List[ + "PaymentIntentUpdateParamsPaymentDetailsFlightDatumTotalExtraCharge" + ] ] """ - The type of the PaymentMethod. An additional hash is included on the PaymentMethod with a name matching this value. It contains additional information specific to the PaymentMethod type. + Additional charges. """ - us_bank_account: NotRequired[ - "PaymentIntentUpdateParamsPaymentMethodDataUsBankAccount" + tax: NotRequired[ + "PaymentIntentUpdateParamsPaymentDetailsFlightDatumTotalTax" ] """ - If this is an `us_bank_account` PaymentMethod, this hash contains details about the US bank account payment method. + Tax breakdown. """ - wechat_pay: NotRequired[ - "PaymentIntentUpdateParamsPaymentMethodDataWechatPay" + + +class PaymentIntentUpdateParamsPaymentDetailsFlightDatumTotalDiscounts( + TypedDict, +): + corporate_client_code: NotRequired[str] + """ + Corporate client discount code. + """ + + +class PaymentIntentUpdateParamsPaymentDetailsFlightDatumTotalExtraCharge( + TypedDict, +): + amount: NotRequired[int] + """ + Amount of additional charges. + """ + type: NotRequired[ + Literal["additional_fees", "ancillary_service_charges", "exchange_fee"] ] """ - If this is an `wechat_pay` PaymentMethod, this hash contains details about the wechat_pay payment method. + Type of additional charges. """ - zip: NotRequired["PaymentIntentUpdateParamsPaymentMethodDataZip"] + + +class PaymentIntentUpdateParamsPaymentDetailsFlightDatumTotalTax(TypedDict): + taxes: NotRequired[ + List["PaymentIntentUpdateParamsPaymentDetailsFlightDatumTotalTaxTax"] + ] """ - If this is a `zip` PaymentMethod, this hash contains details about the Zip payment method. + Array of tax details. """ -class PaymentIntentUpdateParamsPaymentMethodDataAcssDebit(TypedDict): - account_number: str +class PaymentIntentUpdateParamsPaymentDetailsFlightDatumTotalTaxTax(TypedDict): + amount: NotRequired[int] """ - Customer's bank account number. + Tax amount. """ - institution_number: str + rate: NotRequired[int] """ - Institution number of the customer's bank. + Tax rate. """ - transit_number: str + type: NotRequired[str] """ - Transit number of the customer's bank. + Type of tax. """ -class PaymentIntentUpdateParamsPaymentMethodDataAffirm(TypedDict): - pass - - -class PaymentIntentUpdateParamsPaymentMethodDataAfterpayClearpay(TypedDict): - pass - - -class PaymentIntentUpdateParamsPaymentMethodDataAlipay(TypedDict): - pass - - -class PaymentIntentUpdateParamsPaymentMethodDataAlma(TypedDict): - pass - - -class PaymentIntentUpdateParamsPaymentMethodDataAmazonPay(TypedDict): - pass - - -class PaymentIntentUpdateParamsPaymentMethodDataAuBecsDebit(TypedDict): - account_number: str +class PaymentIntentUpdateParamsPaymentDetailsLodging(TypedDict): + address: NotRequired[ + "PaymentIntentUpdateParamsPaymentDetailsLodgingAddress" + ] """ - The account number for the bank account. + The lodging location's address. """ - bsb_number: str + adults: NotRequired[int] """ - Bank-State-Branch number of the bank account. + The number of adults on the booking """ - - -class PaymentIntentUpdateParamsPaymentMethodDataBacsDebit(TypedDict): - account_number: NotRequired[str] + affiliate: NotRequired[ + "PaymentIntentUpdateParamsPaymentDetailsLodgingAffiliate" + ] """ - Account number of the bank account that the funds will be debited from. + Affiliate details for this purchase. """ - sort_code: NotRequired[str] + booking_number: NotRequired[str] """ - Sort code of the bank account. (e.g., `10-20-30`) + The booking number associated with the lodging reservation. """ - - -class PaymentIntentUpdateParamsPaymentMethodDataBancontact(TypedDict): - pass - - -class PaymentIntentUpdateParamsPaymentMethodDataBillie(TypedDict): - pass - - -class PaymentIntentUpdateParamsPaymentMethodDataBillingDetails(TypedDict): - address: NotRequired[ - "Literal['']|PaymentIntentUpdateParamsPaymentMethodDataBillingDetailsAddress" + category: NotRequired[Literal["hotel", "vacation_rental"]] + """ + The lodging category + """ + checkin_at: int + """ + Lodging check-in time. Measured in seconds since the Unix epoch. + """ + checkout_at: int + """ + Lodging check-out time. Measured in seconds since the Unix epoch. + """ + customer_service_phone_number: NotRequired[str] + """ + The customer service phone number of the lodging company. + """ + daily_room_rate_amount: NotRequired[int] + """ + The daily lodging room rate. + """ + delivery: NotRequired[ + "PaymentIntentUpdateParamsPaymentDetailsLodgingDelivery" ] """ - Billing address. + Delivery details for this purchase. """ - email: NotRequired["Literal['']|str"] + extra_charges: NotRequired[ + List[ + Literal[ + "gift_shop", + "laundry", + "mini_bar", + "other", + "restaurant", + "telephone", + ] + ] + ] """ - Email address. + List of additional charges being billed. """ - name: NotRequired["Literal['']|str"] + fire_safety_act_compliance: NotRequired[bool] """ - Full name. + Indicates whether the lodging location is compliant with the Fire Safety Act. """ - phone: NotRequired["Literal['']|str"] + name: NotRequired[str] """ - Billing phone number (including extension). + The name of the lodging location. """ - tax_id: NotRequired[str] + no_show: NotRequired[bool] """ - Taxpayer identification number. Used only for transactions between LATAM buyers and non-LATAM sellers. + Indicates if the customer did not keep their booking while failing to cancel the reservation. + """ + number_of_rooms: NotRequired[int] + """ + The number of rooms on the booking + """ + passengers: NotRequired[ + List["PaymentIntentUpdateParamsPaymentDetailsLodgingPassenger"] + ] + """ + The details of the passengers in the travel reservation + """ + property_phone_number: NotRequired[str] + """ + The phone number of the lodging location. + """ + room_class: NotRequired[str] + """ + The room class for this purchase. + """ + room_nights: NotRequired[int] + """ + The number of room nights + """ + total_room_tax_amount: NotRequired[int] + """ + The total tax amount associating with the room reservation. + """ + total_tax_amount: NotRequired[int] + """ + The total tax amount """ -class PaymentIntentUpdateParamsPaymentMethodDataBillingDetailsAddress( - TypedDict, -): +class PaymentIntentUpdateParamsPaymentDetailsLodgingAddress(TypedDict): city: NotRequired[str] """ City, district, suburb, town, or village. @@ -1607,1833 +1803,3821 @@ class PaymentIntentUpdateParamsPaymentMethodDataBillingDetailsAddress( """ -class PaymentIntentUpdateParamsPaymentMethodDataBlik(TypedDict): - pass - - -class PaymentIntentUpdateParamsPaymentMethodDataBoleto(TypedDict): - tax_id: str +class PaymentIntentUpdateParamsPaymentDetailsLodgingAffiliate(TypedDict): + name: str """ - The tax ID of the customer (CPF for individual consumers or CNPJ for businesses consumers) + The name of the affiliate that originated the purchase. """ -class PaymentIntentUpdateParamsPaymentMethodDataCashapp(TypedDict): - pass - - -class PaymentIntentUpdateParamsPaymentMethodDataCrypto(TypedDict): - pass - - -class PaymentIntentUpdateParamsPaymentMethodDataCustomerBalance(TypedDict): - pass - - -class PaymentIntentUpdateParamsPaymentMethodDataEps(TypedDict): - bank: NotRequired[ - Literal[ - "arzte_und_apotheker_bank", - "austrian_anadi_bank_ag", - "bank_austria", - "bankhaus_carl_spangler", - "bankhaus_schelhammer_und_schattera_ag", - "bawag_psk_ag", - "bks_bank_ag", - "brull_kallmus_bank_ag", - "btv_vier_lander_bank", - "capital_bank_grawe_gruppe_ag", - "deutsche_bank_ag", - "dolomitenbank", - "easybank_ag", - "erste_bank_und_sparkassen", - "hypo_alpeadriabank_international_ag", - "hypo_bank_burgenland_aktiengesellschaft", - "hypo_noe_lb_fur_niederosterreich_u_wien", - "hypo_oberosterreich_salzburg_steiermark", - "hypo_tirol_bank_ag", - "hypo_vorarlberg_bank_ag", - "marchfelder_bank", - "oberbank_ag", - "raiffeisen_bankengruppe_osterreich", - "schoellerbank_ag", - "sparda_bank_wien", - "volksbank_gruppe", - "volkskreditbank_ag", - "vr_bank_braunau", - ] +class PaymentIntentUpdateParamsPaymentDetailsLodgingDelivery(TypedDict): + mode: NotRequired[Literal["email", "phone", "pickup", "post"]] + """ + The delivery method for the payment + """ + recipient: NotRequired[ + "PaymentIntentUpdateParamsPaymentDetailsLodgingDeliveryRecipient" ] """ - The customer's bank. + Details of the recipient. """ -class PaymentIntentUpdateParamsPaymentMethodDataFpx(TypedDict): - account_holder_type: NotRequired[Literal["company", "individual"]] +class PaymentIntentUpdateParamsPaymentDetailsLodgingDeliveryRecipient( + TypedDict, +): + email: NotRequired[str] """ - Account holder type for FPX transaction + The email of the recipient the ticket is delivered to. """ - bank: Literal[ - "affin_bank", - "agrobank", - "alliance_bank", - "ambank", - "bank_islam", - "bank_muamalat", - "bank_of_china", - "bank_rakyat", - "bsn", - "cimb", - "deutsche_bank", - "hong_leong_bank", - "hsbc", - "kfh", - "maybank2e", - "maybank2u", - "ocbc", - "pb_enterprise", - "public_bank", - "rhb", - "standard_chartered", - "uob", - ] + name: NotRequired[str] """ - The customer's bank. + The name of the recipient the ticket is delivered to. + """ + phone: NotRequired[str] + """ + The phone number of the recipient the ticket is delivered to. """ -class PaymentIntentUpdateParamsPaymentMethodDataGiropay(TypedDict): - pass - - -class PaymentIntentUpdateParamsPaymentMethodDataGopay(TypedDict): - pass +class PaymentIntentUpdateParamsPaymentDetailsLodgingPassenger(TypedDict): + name: str + """ + Full name of the person or entity on the lodging reservation. + """ -class PaymentIntentUpdateParamsPaymentMethodDataGrabpay(TypedDict): - pass - - -class PaymentIntentUpdateParamsPaymentMethodDataIdBankTransfer(TypedDict): - bank: NotRequired[Literal["bca", "bni", "bri", "cimb", "permata"]] +class PaymentIntentUpdateParamsPaymentDetailsLodgingDatum(TypedDict): + accommodation: NotRequired[ + "PaymentIntentUpdateParamsPaymentDetailsLodgingDatumAccommodation" + ] """ - Bank where the account is held. + Accommodation details for the lodging. """ - - -class PaymentIntentUpdateParamsPaymentMethodDataIdeal(TypedDict): - bank: NotRequired[ - Literal[ - "abn_amro", - "asn_bank", - "bunq", - "buut", - "handelsbanken", - "ing", - "knab", - "moneyou", - "n26", - "nn", - "rabobank", - "regiobank", - "revolut", - "sns_bank", - "triodos_bank", - "van_lanschot", - "yoursafe", - ] + affiliate: NotRequired[ + "PaymentIntentUpdateParamsPaymentDetailsLodgingDatumAffiliate" ] """ - The customer's bank. Only use this parameter for existing customers. Don't use it for new customers. + Affiliate details if applicable. """ - - -class PaymentIntentUpdateParamsPaymentMethodDataInteracPresent(TypedDict): - pass - - -class PaymentIntentUpdateParamsPaymentMethodDataKakaoPay(TypedDict): - pass - - -class PaymentIntentUpdateParamsPaymentMethodDataKlarna(TypedDict): - dob: NotRequired["PaymentIntentUpdateParamsPaymentMethodDataKlarnaDob"] + booking_number: NotRequired[str] """ - Customer's date of birth + Booking confirmation number for the lodging. """ - - -class PaymentIntentUpdateParamsPaymentMethodDataKlarnaDob(TypedDict): - day: int + checkin_at: int """ - The day of birth, between 1 and 31. + Check-in date. """ - month: int + checkout_at: int """ - The month of birth, between 1 and 12. + Check-out date. """ - year: int + customer_service_phone_number: NotRequired[str] """ - The four-digit year of birth. + Customer service phone number for the lodging company. """ - - -class PaymentIntentUpdateParamsPaymentMethodDataKonbini(TypedDict): - pass - - -class PaymentIntentUpdateParamsPaymentMethodDataKrCard(TypedDict): - pass - - -class PaymentIntentUpdateParamsPaymentMethodDataLink(TypedDict): - pass - - -class PaymentIntentUpdateParamsPaymentMethodDataMbWay(TypedDict): - pass - - -class PaymentIntentUpdateParamsPaymentMethodDataMobilepay(TypedDict): - pass - - -class PaymentIntentUpdateParamsPaymentMethodDataMultibanco(TypedDict): - pass - - -class PaymentIntentUpdateParamsPaymentMethodDataNaverPay(TypedDict): - funding: NotRequired[Literal["card", "points"]] + fire_safety_act_compliance_indicator: NotRequired[bool] """ - Whether to use Naver Pay points or a card to fund this transaction. If not provided, this defaults to `card`. + Whether the lodging is compliant with any hotel fire safety regulations. """ - - -class PaymentIntentUpdateParamsPaymentMethodDataNzBankAccount(TypedDict): - account_holder_name: NotRequired[str] + guests: NotRequired[ + List["PaymentIntentUpdateParamsPaymentDetailsLodgingDatumGuest"] + ] """ - The name on the bank account. Only required if the account holder name is different from the name of the authorized signatory collected in the PaymentMethod's billing details. + List of guests for the lodging. """ - account_number: str + host: NotRequired[ + "PaymentIntentUpdateParamsPaymentDetailsLodgingDatumHost" + ] """ - The account number for the bank account. + Host details for the lodging. """ - bank_code: str + insurances: NotRequired[ + List["PaymentIntentUpdateParamsPaymentDetailsLodgingDatumInsurance"] + ] """ - The numeric code for the bank account's bank. + List of insurances for the lodging. """ - branch_code: str + no_show_indicator: NotRequired[bool] """ - The numeric code for the bank account's bank branch. + Whether the renter is a no-show. """ - reference: NotRequired[str] - suffix: str + renter_id_number: NotRequired[str] """ - The suffix of the bank account number. + Renter ID number for the lodging. + """ + renter_name: NotRequired[str] + """ + Renter name for the lodging. + """ + total: "PaymentIntentUpdateParamsPaymentDetailsLodgingDatumTotal" + """ + Total details for the lodging. """ -class PaymentIntentUpdateParamsPaymentMethodDataOxxo(TypedDict): - pass - - -class PaymentIntentUpdateParamsPaymentMethodDataP24(TypedDict): - bank: NotRequired[ +class PaymentIntentUpdateParamsPaymentDetailsLodgingDatumAccommodation( + TypedDict, +): + accommodation_type: NotRequired[ Literal[ - "alior_bank", - "bank_millennium", - "bank_nowy_bfg_sa", - "bank_pekao_sa", - "banki_spbdzielcze", - "blik", - "bnp_paribas", - "boz", - "citi_handlowy", - "credit_agricole", - "envelobank", - "etransfer_pocztowy24", - "getin_bank", - "ideabank", - "ing", - "inteligo", - "mbank_mtransfer", - "nest_przelew", - "noble_pay", - "pbac_z_ipko", - "plus_bank", - "santander_przelew24", - "tmobile_usbugi_bankowe", - "toyota_bank", - "velobank", - "volkswagen_bank", + "apartment", + "cabana", + "house", + "penthouse", + "room", + "standard", + "suite", + "villa", ] ] """ - The customer's bank. + Type of accommodation. """ - - -class PaymentIntentUpdateParamsPaymentMethodDataPayByBank(TypedDict): - pass - - -class PaymentIntentUpdateParamsPaymentMethodDataPayco(TypedDict): - pass - - -class PaymentIntentUpdateParamsPaymentMethodDataPaynow(TypedDict): - pass - - -class PaymentIntentUpdateParamsPaymentMethodDataPaypal(TypedDict): - pass - - -class PaymentIntentUpdateParamsPaymentMethodDataPaypay(TypedDict): - pass - - -class PaymentIntentUpdateParamsPaymentMethodDataPayto(TypedDict): - account_number: NotRequired[str] + bed_type: NotRequired[str] """ - The account number for the bank account. + Bed type. """ - bsb_number: NotRequired[str] + daily_rate_amount: NotRequired[int] """ - Bank-State-Branch number of the bank account. + Daily accommodation rate in cents. """ - pay_id: NotRequired[str] + nights: NotRequired[int] """ - The PayID alias for the bank account. + Number of nights. + """ + number_of_rooms: NotRequired[int] + """ + Number of rooms, cabanas, apartments, and so on. + """ + rate_type: NotRequired[str] + """ + Rate type. + """ + smoking_indicator: NotRequired[bool] + """ + Whether smoking is allowed. """ -class PaymentIntentUpdateParamsPaymentMethodDataPix(TypedDict): - pass - - -class PaymentIntentUpdateParamsPaymentMethodDataPromptpay(TypedDict): - pass - - -class PaymentIntentUpdateParamsPaymentMethodDataQris(TypedDict): - pass - - -class PaymentIntentUpdateParamsPaymentMethodDataRadarOptions(TypedDict): - session: NotRequired[str] +class PaymentIntentUpdateParamsPaymentDetailsLodgingDatumAffiliate(TypedDict): + code: NotRequired[str] """ - A [Radar Session](https://stripe.com/docs/radar/radar-session) is a snapshot of the browser metadata and device details that help Radar make more accurate predictions on your payments. + Affiliate partner code. + """ + name: NotRequired[str] + """ + Affiliate partner name. """ -class PaymentIntentUpdateParamsPaymentMethodDataRechnung(TypedDict): - dob: "PaymentIntentUpdateParamsPaymentMethodDataRechnungDob" +class PaymentIntentUpdateParamsPaymentDetailsLodgingDatumGuest(TypedDict): + name: str """ - Customer's date of birth + Guest's full name. """ -class PaymentIntentUpdateParamsPaymentMethodDataRechnungDob(TypedDict): - day: int +class PaymentIntentUpdateParamsPaymentDetailsLodgingDatumHost(TypedDict): + address: NotRequired[ + "PaymentIntentUpdateParamsPaymentDetailsLodgingDatumHostAddress" + ] """ - The day of birth, between 1 and 31. + Address of the host. """ - month: int + country_of_domicile: NotRequired[str] """ - The month of birth, between 1 and 12. + Host's country of domicile. """ - year: int + host_reference: NotRequired[str] """ - The four-digit year of birth. + Reference number for the host. """ - - -class PaymentIntentUpdateParamsPaymentMethodDataRevolutPay(TypedDict): - pass - - -class PaymentIntentUpdateParamsPaymentMethodDataSamsungPay(TypedDict): - pass - - -class PaymentIntentUpdateParamsPaymentMethodDataSatispay(TypedDict): - pass - - -class PaymentIntentUpdateParamsPaymentMethodDataSepaDebit(TypedDict): - iban: str + host_type: NotRequired[ + Literal["hostel", "hotel", "owner", "rental_agency"] + ] """ - IBAN of the bank account. + Type of host. """ - - -class PaymentIntentUpdateParamsPaymentMethodDataShopeepay(TypedDict): - pass - - -class PaymentIntentUpdateParamsPaymentMethodDataSofort(TypedDict): - country: Literal["AT", "BE", "DE", "ES", "IT", "NL"] + name: NotRequired[str] """ - Two-letter ISO code representing the country the bank account is located in. + Name of the lodging property or host. """ - - -class PaymentIntentUpdateParamsPaymentMethodDataStripeBalance(TypedDict): - account: NotRequired[str] + number_of_reservations: NotRequired[int] """ - The connected account ID whose Stripe balance to use as the source of payment + Total number of reservations for the host. """ - source_type: NotRequired[Literal["bank_account", "card", "fpx"]] + property_phone_number: NotRequired[str] """ - The [source_type](https://docs.stripe.com/api/balance/balance_object#balance_object-available-source_types) of the balance + Property phone number. + """ + registered_at: NotRequired[int] + """ + Host's registration date. """ -class PaymentIntentUpdateParamsPaymentMethodDataSwish(TypedDict): - pass - - -class PaymentIntentUpdateParamsPaymentMethodDataTwint(TypedDict): - pass - - -class PaymentIntentUpdateParamsPaymentMethodDataUsBankAccount(TypedDict): - account_holder_type: NotRequired[Literal["company", "individual"]] +class PaymentIntentUpdateParamsPaymentDetailsLodgingDatumHostAddress( + TypedDict +): + city: str """ - Account holder type: individual or company. + City, district, suburb, town, or village. """ - account_number: NotRequired[str] + country: str """ - Account number of the bank account. + Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). """ - account_type: NotRequired[Literal["checking", "savings"]] + line1: str """ - Account type: checkings or savings. Defaults to checking if omitted. + Address line 1, such as the street, PO Box, or company name. """ - financial_connections_account: NotRequired[str] + line2: NotRequired[str] """ - The ID of a Financial Connections Account to use as a payment method. + Address line 2, such as the apartment, suite, unit, or building. """ - routing_number: NotRequired[str] + postal_code: str """ - Routing number of the bank account. + ZIP or postal code. + """ + state: NotRequired[str] + """ + State, county, province, or region. """ -class PaymentIntentUpdateParamsPaymentMethodDataWechatPay(TypedDict): - pass - - -class PaymentIntentUpdateParamsPaymentMethodDataZip(TypedDict): - pass - - -class PaymentIntentUpdateParamsPaymentMethodOptions(TypedDict): - acss_debit: NotRequired[ - "Literal['']|PaymentIntentUpdateParamsPaymentMethodOptionsAcssDebit" - ] +class PaymentIntentUpdateParamsPaymentDetailsLodgingDatumInsurance(TypedDict): + amount: int """ - If this is a `acss_debit` PaymentMethod, this sub-hash contains details about the ACSS Debit payment method options. + Price of the insurance coverage in cents. """ - affirm: NotRequired[ - "Literal['']|PaymentIntentUpdateParamsPaymentMethodOptionsAffirm" - ] + currency: NotRequired[str] """ - If this is an `affirm` PaymentMethod, this sub-hash contains details about the Affirm payment method options. + Currency of the insurance amount. """ - afterpay_clearpay: NotRequired[ - "Literal['']|PaymentIntentUpdateParamsPaymentMethodOptionsAfterpayClearpay" - ] + insurance_company_name: NotRequired[str] """ - If this is a `afterpay_clearpay` PaymentMethod, this sub-hash contains details about the Afterpay Clearpay payment method options. + Name of the insurance company. """ - alipay: NotRequired[ - "Literal['']|PaymentIntentUpdateParamsPaymentMethodOptionsAlipay" + insurance_type: Literal[ + "bankruptcy", "cancelation", "emergency", "medical" ] """ - If this is a `alipay` PaymentMethod, this sub-hash contains details about the Alipay payment method options. + Type of insurance coverage. """ - alma: NotRequired[ - "Literal['']|PaymentIntentUpdateParamsPaymentMethodOptionsAlma" - ] + + +class PaymentIntentUpdateParamsPaymentDetailsLodgingDatumTotal(TypedDict): + amount: int """ - If this is a `alma` PaymentMethod, this sub-hash contains details about the Alma payment method options. + Total price of the lodging reservation in cents. """ - amazon_pay: NotRequired[ - "Literal['']|PaymentIntentUpdateParamsPaymentMethodOptionsAmazonPay" - ] + cash_advances: NotRequired[int] """ - If this is a `amazon_pay` PaymentMethod, this sub-hash contains details about the Amazon Pay payment method options. + Cash advances in cents. """ - au_becs_debit: NotRequired[ - "Literal['']|PaymentIntentUpdateParamsPaymentMethodOptionsAuBecsDebit" - ] + currency: NotRequired[str] """ - If this is a `au_becs_debit` PaymentMethod, this sub-hash contains details about the AU BECS Direct Debit payment method options. + Currency of the total amount. """ - bacs_debit: NotRequired[ - "Literal['']|PaymentIntentUpdateParamsPaymentMethodOptionsBacsDebit" + discounts: NotRequired[ + "PaymentIntentUpdateParamsPaymentDetailsLodgingDatumTotalDiscounts" ] """ - If this is a `bacs_debit` PaymentMethod, this sub-hash contains details about the BACS Debit payment method options. + Discount details for the lodging. """ - bancontact: NotRequired[ - "Literal['']|PaymentIntentUpdateParamsPaymentMethodOptionsBancontact" + extra_charges: NotRequired[ + List[ + "PaymentIntentUpdateParamsPaymentDetailsLodgingDatumTotalExtraCharge" + ] ] """ - If this is a `bancontact` PaymentMethod, this sub-hash contains details about the Bancontact payment method options. + Additional charges for the lodging. """ - billie: NotRequired[ - "Literal['']|PaymentIntentUpdateParamsPaymentMethodOptionsBillie" - ] + prepaid_amount: NotRequired[int] """ - If this is a `billie` PaymentMethod, this sub-hash contains details about the Billie payment method options. + Prepaid amount in cents. """ - blik: NotRequired[ - "Literal['']|PaymentIntentUpdateParamsPaymentMethodOptionsBlik" + tax: NotRequired[ + "PaymentIntentUpdateParamsPaymentDetailsLodgingDatumTotalTax" ] """ - If this is a `blik` PaymentMethod, this sub-hash contains details about the BLIK payment method options. + Tax breakdown for the lodging reservation. """ - boleto: NotRequired[ - "Literal['']|PaymentIntentUpdateParamsPaymentMethodOptionsBoleto" - ] + + +class PaymentIntentUpdateParamsPaymentDetailsLodgingDatumTotalDiscounts( + TypedDict, +): + corporate_client_code: NotRequired[str] """ - If this is a `boleto` PaymentMethod, this sub-hash contains details about the Boleto payment method options. + Corporate client discount code. """ - card: NotRequired[ - "Literal['']|PaymentIntentUpdateParamsPaymentMethodOptionsCard" - ] + coupon: NotRequired[str] """ - Configuration for any card payments attempted on this PaymentIntent. + Coupon code. """ - card_present: NotRequired[ - "Literal['']|PaymentIntentUpdateParamsPaymentMethodOptionsCardPresent" - ] + + +class PaymentIntentUpdateParamsPaymentDetailsLodgingDatumTotalExtraCharge( + TypedDict, +): + amount: NotRequired[int] """ - If this is a `card_present` PaymentMethod, this sub-hash contains details about the Card Present payment method options. + Amount of the extra charge in cents. """ - cashapp: NotRequired[ - "Literal['']|PaymentIntentUpdateParamsPaymentMethodOptionsCashapp" + type: NotRequired[ + Literal[ + "gift_shop", "laundry", "mini_bar", "other", "phone", "restaurant" + ] ] """ - If this is a `cashapp` PaymentMethod, this sub-hash contains details about the Cash App Pay payment method options. + Type of extra charge. """ - crypto: NotRequired[ - "Literal['']|PaymentIntentUpdateParamsPaymentMethodOptionsCrypto" - ] + + +class PaymentIntentUpdateParamsPaymentDetailsLodgingDatumTotalTax(TypedDict): + tax_exempt_indicator: NotRequired[bool] """ - If this is a `crypto` PaymentMethod, this sub-hash contains details about the Crypto payment method options. + Indicates whether the transaction is tax exempt. """ - customer_balance: NotRequired[ - "Literal['']|PaymentIntentUpdateParamsPaymentMethodOptionsCustomerBalance" + taxes: NotRequired[ + List["PaymentIntentUpdateParamsPaymentDetailsLodgingDatumTotalTaxTax"] ] """ - If this is a `customer balance` PaymentMethod, this sub-hash contains details about the customer balance payment method options. + Tax details. """ - eps: NotRequired[ - "Literal['']|PaymentIntentUpdateParamsPaymentMethodOptionsEps" - ] + + +class PaymentIntentUpdateParamsPaymentDetailsLodgingDatumTotalTaxTax( + TypedDict +): + amount: NotRequired[int] """ - If this is a `eps` PaymentMethod, this sub-hash contains details about the EPS payment method options. + Tax amount in cents. """ - fpx: NotRequired[ - "Literal['']|PaymentIntentUpdateParamsPaymentMethodOptionsFpx" - ] + rate: NotRequired[int] """ - If this is a `fpx` PaymentMethod, this sub-hash contains details about the FPX payment method options. + Tax rate. """ - giropay: NotRequired[ - "Literal['']|PaymentIntentUpdateParamsPaymentMethodOptionsGiropay" - ] + type: NotRequired[str] """ - If this is a `giropay` PaymentMethod, this sub-hash contains details about the Giropay payment method options. + Type of tax applied. """ - gopay: NotRequired[ - "Literal['']|PaymentIntentUpdateParamsPaymentMethodOptionsGopay" + + +class PaymentIntentUpdateParamsPaymentDetailsSubscription(TypedDict): + affiliate: NotRequired[ + "PaymentIntentUpdateParamsPaymentDetailsSubscriptionAffiliate" ] """ - If this is a `gopay` PaymentMethod, this sub-hash contains details about the Gopay payment method options. + Affiliate details for this purchase. """ - grabpay: NotRequired[ - "Literal['']|PaymentIntentUpdateParamsPaymentMethodOptionsGrabpay" - ] + auto_renewal: NotRequired[bool] """ - If this is a `grabpay` PaymentMethod, this sub-hash contains details about the Grabpay payment method options. + Info whether the subscription will be auto renewed upon expiry. """ - id_bank_transfer: NotRequired[ - "Literal['']|PaymentIntentUpdateParamsPaymentMethodOptionsIdBankTransfer" + billing_interval: NotRequired[ + "PaymentIntentUpdateParamsPaymentDetailsSubscriptionBillingInterval" ] """ - If this is a `id_bank_transfer` PaymentMethod, this sub-hash contains details about the Indonesia Bank Transfer payment method options. + Subscription billing details for this purchase. """ - ideal: NotRequired[ - "Literal['']|PaymentIntentUpdateParamsPaymentMethodOptionsIdeal" - ] + ends_at: NotRequired[int] """ - If this is a `ideal` PaymentMethod, this sub-hash contains details about the Ideal payment method options. + Subscription end time. Measured in seconds since the Unix epoch. """ - interac_present: NotRequired[ - "Literal['']|PaymentIntentUpdateParamsPaymentMethodOptionsInteracPresent" - ] + name: str """ - If this is a `interac_present` PaymentMethod, this sub-hash contains details about the Card Present payment method options. + Name of the product on subscription. e.g. Apple Music Subscription """ - kakao_pay: NotRequired[ - "Literal['']|PaymentIntentUpdateParamsPaymentMethodOptionsKakaoPay" - ] + starts_at: NotRequired[int] """ - If this is a `kakao_pay` PaymentMethod, this sub-hash contains details about the Kakao Pay payment method options. + Subscription start time. Measured in seconds since the Unix epoch. """ - klarna: NotRequired[ - "Literal['']|PaymentIntentUpdateParamsPaymentMethodOptionsKlarna" - ] + + +class PaymentIntentUpdateParamsPaymentDetailsSubscriptionAffiliate(TypedDict): + name: str """ - If this is a `klarna` PaymentMethod, this sub-hash contains details about the Klarna payment method options. + The name of the affiliate that originated the purchase. """ - konbini: NotRequired[ - "Literal['']|PaymentIntentUpdateParamsPaymentMethodOptionsKonbini" - ] + + +class PaymentIntentUpdateParamsPaymentDetailsSubscriptionBillingInterval( + TypedDict, +): + count: int """ - If this is a `konbini` PaymentMethod, this sub-hash contains details about the Konbini payment method options. + The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration. """ - kr_card: NotRequired[ - "Literal['']|PaymentIntentUpdateParamsPaymentMethodOptionsKrCard" - ] + interval: Literal["day", "month", "week", "year"] """ - If this is a `kr_card` PaymentMethod, this sub-hash contains details about the KR Card payment method options. + Specifies a type of interval unit. Either `day`, `week`, `month` or `year`. """ - link: NotRequired[ - "Literal['']|PaymentIntentUpdateParamsPaymentMethodOptionsLink" + + +class PaymentIntentUpdateParamsPaymentMethodData(TypedDict): + acss_debit: NotRequired[ + "PaymentIntentUpdateParamsPaymentMethodDataAcssDebit" ] """ - If this is a `link` PaymentMethod, this sub-hash contains details about the Link payment method options. + If this is an `acss_debit` PaymentMethod, this hash contains details about the ACSS Debit payment method. """ - mb_way: NotRequired[ - "Literal['']|PaymentIntentUpdateParamsPaymentMethodOptionsMbWay" - ] + affirm: NotRequired["PaymentIntentUpdateParamsPaymentMethodDataAffirm"] """ - If this is a `mb_way` PaymentMethod, this sub-hash contains details about the MB WAY payment method options. + If this is an `affirm` PaymentMethod, this hash contains details about the Affirm payment method. """ - mobilepay: NotRequired[ - "Literal['']|PaymentIntentUpdateParamsPaymentMethodOptionsMobilepay" + afterpay_clearpay: NotRequired[ + "PaymentIntentUpdateParamsPaymentMethodDataAfterpayClearpay" ] """ - If this is a `MobilePay` PaymentMethod, this sub-hash contains details about the MobilePay payment method options. + If this is an `AfterpayClearpay` PaymentMethod, this hash contains details about the AfterpayClearpay payment method. """ - multibanco: NotRequired[ - "Literal['']|PaymentIntentUpdateParamsPaymentMethodOptionsMultibanco" - ] + alipay: NotRequired["PaymentIntentUpdateParamsPaymentMethodDataAlipay"] """ - If this is a `multibanco` PaymentMethod, this sub-hash contains details about the Multibanco payment method options. + If this is an `Alipay` PaymentMethod, this hash contains details about the Alipay payment method. """ - naver_pay: NotRequired[ - "Literal['']|PaymentIntentUpdateParamsPaymentMethodOptionsNaverPay" - ] + allow_redisplay: NotRequired[Literal["always", "limited", "unspecified"]] """ - If this is a `naver_pay` PaymentMethod, this sub-hash contains details about the Naver Pay payment method options. + This field indicates whether this payment method can be shown again to its customer in a checkout flow. Stripe products such as Checkout and Elements use this field to determine whether a payment method can be shown as a saved payment method in a checkout flow. The field defaults to `unspecified`. """ - nz_bank_account: NotRequired[ - "Literal['']|PaymentIntentUpdateParamsPaymentMethodOptionsNzBankAccount" - ] + alma: NotRequired["PaymentIntentUpdateParamsPaymentMethodDataAlma"] """ - If this is a `nz_bank_account` PaymentMethod, this sub-hash contains details about the NZ BECS Direct Debit payment method options. + If this is a Alma PaymentMethod, this hash contains details about the Alma payment method. """ - oxxo: NotRequired[ - "Literal['']|PaymentIntentUpdateParamsPaymentMethodOptionsOxxo" + amazon_pay: NotRequired[ + "PaymentIntentUpdateParamsPaymentMethodDataAmazonPay" ] """ - If this is a `oxxo` PaymentMethod, this sub-hash contains details about the OXXO payment method options. + If this is a AmazonPay PaymentMethod, this hash contains details about the AmazonPay payment method. """ - p24: NotRequired[ - "Literal['']|PaymentIntentUpdateParamsPaymentMethodOptionsP24" + au_becs_debit: NotRequired[ + "PaymentIntentUpdateParamsPaymentMethodDataAuBecsDebit" ] """ - If this is a `p24` PaymentMethod, this sub-hash contains details about the Przelewy24 payment method options. + If this is an `au_becs_debit` PaymentMethod, this hash contains details about the bank account. """ - pay_by_bank: NotRequired[ - "Literal['']|PaymentIntentUpdateParamsPaymentMethodOptionsPayByBank" + bacs_debit: NotRequired[ + "PaymentIntentUpdateParamsPaymentMethodDataBacsDebit" + ] + """ + If this is a `bacs_debit` PaymentMethod, this hash contains details about the Bacs Direct Debit bank account. + """ + bancontact: NotRequired[ + "PaymentIntentUpdateParamsPaymentMethodDataBancontact" + ] + """ + If this is a `bancontact` PaymentMethod, this hash contains details about the Bancontact payment method. + """ + billie: NotRequired["PaymentIntentUpdateParamsPaymentMethodDataBillie"] + """ + If this is a `billie` PaymentMethod, this hash contains details about the Billie payment method. + """ + billing_details: NotRequired[ + "PaymentIntentUpdateParamsPaymentMethodDataBillingDetails" + ] + """ + Billing information associated with the PaymentMethod that may be used or required by particular types of payment methods. + """ + blik: NotRequired["PaymentIntentUpdateParamsPaymentMethodDataBlik"] + """ + If this is a `blik` PaymentMethod, this hash contains details about the BLIK payment method. + """ + boleto: NotRequired["PaymentIntentUpdateParamsPaymentMethodDataBoleto"] + """ + If this is a `boleto` PaymentMethod, this hash contains details about the Boleto payment method. + """ + cashapp: NotRequired["PaymentIntentUpdateParamsPaymentMethodDataCashapp"] + """ + If this is a `cashapp` PaymentMethod, this hash contains details about the Cash App Pay payment method. + """ + crypto: NotRequired["PaymentIntentUpdateParamsPaymentMethodDataCrypto"] + """ + If this is a Crypto PaymentMethod, this hash contains details about the Crypto payment method. + """ + customer_balance: NotRequired[ + "PaymentIntentUpdateParamsPaymentMethodDataCustomerBalance" + ] + """ + If this is a `customer_balance` PaymentMethod, this hash contains details about the CustomerBalance payment method. + """ + eps: NotRequired["PaymentIntentUpdateParamsPaymentMethodDataEps"] + """ + If this is an `eps` PaymentMethod, this hash contains details about the EPS payment method. + """ + fpx: NotRequired["PaymentIntentUpdateParamsPaymentMethodDataFpx"] + """ + If this is an `fpx` PaymentMethod, this hash contains details about the FPX payment method. + """ + giropay: NotRequired["PaymentIntentUpdateParamsPaymentMethodDataGiropay"] + """ + If this is a `giropay` PaymentMethod, this hash contains details about the Giropay payment method. + """ + gopay: NotRequired["PaymentIntentUpdateParamsPaymentMethodDataGopay"] + """ + If this is a Gopay PaymentMethod, this hash contains details about the Gopay payment method. + """ + grabpay: NotRequired["PaymentIntentUpdateParamsPaymentMethodDataGrabpay"] + """ + If this is a `grabpay` PaymentMethod, this hash contains details about the GrabPay payment method. + """ + id_bank_transfer: NotRequired[ + "PaymentIntentUpdateParamsPaymentMethodDataIdBankTransfer" + ] + """ + If this is an `IdBankTransfer` PaymentMethod, this hash contains details about the IdBankTransfer payment method. + """ + ideal: NotRequired["PaymentIntentUpdateParamsPaymentMethodDataIdeal"] + """ + If this is an `ideal` PaymentMethod, this hash contains details about the iDEAL payment method. + """ + interac_present: NotRequired[ + "PaymentIntentUpdateParamsPaymentMethodDataInteracPresent" + ] + """ + If this is an `interac_present` PaymentMethod, this hash contains details about the Interac Present payment method. + """ + kakao_pay: NotRequired[ + "PaymentIntentUpdateParamsPaymentMethodDataKakaoPay" + ] + """ + If this is a `kakao_pay` PaymentMethod, this hash contains details about the Kakao Pay payment method. + """ + klarna: NotRequired["PaymentIntentUpdateParamsPaymentMethodDataKlarna"] + """ + If this is a `klarna` PaymentMethod, this hash contains details about the Klarna payment method. + """ + konbini: NotRequired["PaymentIntentUpdateParamsPaymentMethodDataKonbini"] + """ + If this is a `konbini` PaymentMethod, this hash contains details about the Konbini payment method. + """ + kr_card: NotRequired["PaymentIntentUpdateParamsPaymentMethodDataKrCard"] + """ + If this is a `kr_card` PaymentMethod, this hash contains details about the Korean Card payment method. + """ + link: NotRequired["PaymentIntentUpdateParamsPaymentMethodDataLink"] + """ + If this is an `Link` PaymentMethod, this hash contains details about the Link payment method. + """ + mb_way: NotRequired["PaymentIntentUpdateParamsPaymentMethodDataMbWay"] + """ + If this is a MB WAY PaymentMethod, this hash contains details about the MB WAY payment method. + """ + metadata: NotRequired[Dict[str, str]] + """ + Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. + """ + mobilepay: NotRequired[ + "PaymentIntentUpdateParamsPaymentMethodDataMobilepay" + ] + """ + If this is a `mobilepay` PaymentMethod, this hash contains details about the MobilePay payment method. + """ + multibanco: NotRequired[ + "PaymentIntentUpdateParamsPaymentMethodDataMultibanco" + ] + """ + If this is a `multibanco` PaymentMethod, this hash contains details about the Multibanco payment method. + """ + naver_pay: NotRequired[ + "PaymentIntentUpdateParamsPaymentMethodDataNaverPay" + ] + """ + If this is a `naver_pay` PaymentMethod, this hash contains details about the Naver Pay payment method. + """ + nz_bank_account: NotRequired[ + "PaymentIntentUpdateParamsPaymentMethodDataNzBankAccount" + ] + """ + If this is an nz_bank_account PaymentMethod, this hash contains details about the nz_bank_account payment method. + """ + oxxo: NotRequired["PaymentIntentUpdateParamsPaymentMethodDataOxxo"] + """ + If this is an `oxxo` PaymentMethod, this hash contains details about the OXXO payment method. + """ + p24: NotRequired["PaymentIntentUpdateParamsPaymentMethodDataP24"] + """ + If this is a `p24` PaymentMethod, this hash contains details about the P24 payment method. + """ + pay_by_bank: NotRequired[ + "PaymentIntentUpdateParamsPaymentMethodDataPayByBank" + ] + """ + If this is a `pay_by_bank` PaymentMethod, this hash contains details about the PayByBank payment method. + """ + payco: NotRequired["PaymentIntentUpdateParamsPaymentMethodDataPayco"] + """ + If this is a `payco` PaymentMethod, this hash contains details about the PAYCO payment method. + """ + paynow: NotRequired["PaymentIntentUpdateParamsPaymentMethodDataPaynow"] + """ + If this is a `paynow` PaymentMethod, this hash contains details about the PayNow payment method. + """ + paypal: NotRequired["PaymentIntentUpdateParamsPaymentMethodDataPaypal"] + """ + If this is a `paypal` PaymentMethod, this hash contains details about the PayPal payment method. + """ + paypay: NotRequired["PaymentIntentUpdateParamsPaymentMethodDataPaypay"] + """ + If this is a `paypay` PaymentMethod, this hash contains details about the PayPay payment method. + """ + payto: NotRequired["PaymentIntentUpdateParamsPaymentMethodDataPayto"] + """ + If this is a `payto` PaymentMethod, this hash contains details about the PayTo payment method. + """ + pix: NotRequired["PaymentIntentUpdateParamsPaymentMethodDataPix"] + """ + If this is a `pix` PaymentMethod, this hash contains details about the Pix payment method. + """ + promptpay: NotRequired[ + "PaymentIntentUpdateParamsPaymentMethodDataPromptpay" + ] + """ + If this is a `promptpay` PaymentMethod, this hash contains details about the PromptPay payment method. + """ + qris: NotRequired["PaymentIntentUpdateParamsPaymentMethodDataQris"] + """ + If this is a `qris` PaymentMethod, this hash contains details about the QRIS payment method. + """ + radar_options: NotRequired[ + "PaymentIntentUpdateParamsPaymentMethodDataRadarOptions" + ] + """ + Options to configure Radar. See [Radar Session](https://stripe.com/docs/radar/radar-session) for more information. + """ + rechnung: NotRequired["PaymentIntentUpdateParamsPaymentMethodDataRechnung"] + """ + If this is a `rechnung` PaymentMethod, this hash contains details about the Rechnung payment method. + """ + revolut_pay: NotRequired[ + "PaymentIntentUpdateParamsPaymentMethodDataRevolutPay" + ] + """ + If this is a `revolut_pay` PaymentMethod, this hash contains details about the Revolut Pay payment method. + """ + samsung_pay: NotRequired[ + "PaymentIntentUpdateParamsPaymentMethodDataSamsungPay" + ] + """ + If this is a `samsung_pay` PaymentMethod, this hash contains details about the SamsungPay payment method. + """ + satispay: NotRequired["PaymentIntentUpdateParamsPaymentMethodDataSatispay"] + """ + If this is a `satispay` PaymentMethod, this hash contains details about the Satispay payment method. + """ + sepa_debit: NotRequired[ + "PaymentIntentUpdateParamsPaymentMethodDataSepaDebit" + ] + """ + If this is a `sepa_debit` PaymentMethod, this hash contains details about the SEPA debit bank account. + """ + shopeepay: NotRequired[ + "PaymentIntentUpdateParamsPaymentMethodDataShopeepay" + ] + """ + If this is a Shopeepay PaymentMethod, this hash contains details about the Shopeepay payment method. + """ + sofort: NotRequired["PaymentIntentUpdateParamsPaymentMethodDataSofort"] + """ + If this is a `sofort` PaymentMethod, this hash contains details about the SOFORT payment method. + """ + stripe_balance: NotRequired[ + "PaymentIntentUpdateParamsPaymentMethodDataStripeBalance" + ] + """ + This hash contains details about the Stripe balance payment method. + """ + swish: NotRequired["PaymentIntentUpdateParamsPaymentMethodDataSwish"] + """ + If this is a `swish` PaymentMethod, this hash contains details about the Swish payment method. + """ + twint: NotRequired["PaymentIntentUpdateParamsPaymentMethodDataTwint"] + """ + If this is a TWINT PaymentMethod, this hash contains details about the TWINT payment method. + """ + type: Literal[ + "acss_debit", + "affirm", + "afterpay_clearpay", + "alipay", + "alma", + "amazon_pay", + "au_becs_debit", + "bacs_debit", + "bancontact", + "billie", + "blik", + "boleto", + "cashapp", + "crypto", + "customer_balance", + "eps", + "fpx", + "giropay", + "gopay", + "grabpay", + "id_bank_transfer", + "ideal", + "kakao_pay", + "klarna", + "konbini", + "kr_card", + "link", + "mb_way", + "mobilepay", + "multibanco", + "naver_pay", + "nz_bank_account", + "oxxo", + "p24", + "pay_by_bank", + "payco", + "paynow", + "paypal", + "paypay", + "payto", + "pix", + "promptpay", + "qris", + "rechnung", + "revolut_pay", + "samsung_pay", + "satispay", + "sepa_debit", + "shopeepay", + "sofort", + "stripe_balance", + "swish", + "twint", + "us_bank_account", + "wechat_pay", + "zip", + ] + """ + The type of the PaymentMethod. An additional hash is included on the PaymentMethod with a name matching this value. It contains additional information specific to the PaymentMethod type. + """ + us_bank_account: NotRequired[ + "PaymentIntentUpdateParamsPaymentMethodDataUsBankAccount" + ] + """ + If this is an `us_bank_account` PaymentMethod, this hash contains details about the US bank account payment method. + """ + wechat_pay: NotRequired[ + "PaymentIntentUpdateParamsPaymentMethodDataWechatPay" + ] + """ + If this is an `wechat_pay` PaymentMethod, this hash contains details about the wechat_pay payment method. + """ + zip: NotRequired["PaymentIntentUpdateParamsPaymentMethodDataZip"] + """ + If this is a `zip` PaymentMethod, this hash contains details about the Zip payment method. + """ + + +class PaymentIntentUpdateParamsPaymentMethodDataAcssDebit(TypedDict): + account_number: str + """ + Customer's bank account number. + """ + institution_number: str + """ + Institution number of the customer's bank. + """ + transit_number: str + """ + Transit number of the customer's bank. + """ + + +class PaymentIntentUpdateParamsPaymentMethodDataAffirm(TypedDict): + pass + + +class PaymentIntentUpdateParamsPaymentMethodDataAfterpayClearpay(TypedDict): + pass + + +class PaymentIntentUpdateParamsPaymentMethodDataAlipay(TypedDict): + pass + + +class PaymentIntentUpdateParamsPaymentMethodDataAlma(TypedDict): + pass + + +class PaymentIntentUpdateParamsPaymentMethodDataAmazonPay(TypedDict): + pass + + +class PaymentIntentUpdateParamsPaymentMethodDataAuBecsDebit(TypedDict): + account_number: str + """ + The account number for the bank account. + """ + bsb_number: str + """ + Bank-State-Branch number of the bank account. + """ + + +class PaymentIntentUpdateParamsPaymentMethodDataBacsDebit(TypedDict): + account_number: NotRequired[str] + """ + Account number of the bank account that the funds will be debited from. + """ + sort_code: NotRequired[str] + """ + Sort code of the bank account. (e.g., `10-20-30`) + """ + + +class PaymentIntentUpdateParamsPaymentMethodDataBancontact(TypedDict): + pass + + +class PaymentIntentUpdateParamsPaymentMethodDataBillie(TypedDict): + pass + + +class PaymentIntentUpdateParamsPaymentMethodDataBillingDetails(TypedDict): + address: NotRequired[ + "Literal['']|PaymentIntentUpdateParamsPaymentMethodDataBillingDetailsAddress" + ] + """ + Billing address. + """ + email: NotRequired["Literal['']|str"] + """ + Email address. + """ + name: NotRequired["Literal['']|str"] + """ + Full name. + """ + phone: NotRequired["Literal['']|str"] + """ + Billing phone number (including extension). + """ + tax_id: NotRequired[str] + """ + Taxpayer identification number. Used only for transactions between LATAM buyers and non-LATAM sellers. + """ + + +class PaymentIntentUpdateParamsPaymentMethodDataBillingDetailsAddress( + TypedDict, +): + city: NotRequired[str] + """ + City, district, suburb, town, or village. + """ + country: NotRequired[str] + """ + Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). + """ + line1: NotRequired[str] + """ + Address line 1, such as the street, PO Box, or company name. + """ + line2: NotRequired[str] + """ + Address line 2, such as the apartment, suite, unit, or building. + """ + postal_code: NotRequired[str] + """ + ZIP or postal code. + """ + state: NotRequired[str] + """ + State, county, province, or region. + """ + + +class PaymentIntentUpdateParamsPaymentMethodDataBlik(TypedDict): + pass + + +class PaymentIntentUpdateParamsPaymentMethodDataBoleto(TypedDict): + tax_id: str + """ + The tax ID of the customer (CPF for individual consumers or CNPJ for businesses consumers) + """ + + +class PaymentIntentUpdateParamsPaymentMethodDataCashapp(TypedDict): + pass + + +class PaymentIntentUpdateParamsPaymentMethodDataCrypto(TypedDict): + pass + + +class PaymentIntentUpdateParamsPaymentMethodDataCustomerBalance(TypedDict): + pass + + +class PaymentIntentUpdateParamsPaymentMethodDataEps(TypedDict): + bank: NotRequired[ + Literal[ + "arzte_und_apotheker_bank", + "austrian_anadi_bank_ag", + "bank_austria", + "bankhaus_carl_spangler", + "bankhaus_schelhammer_und_schattera_ag", + "bawag_psk_ag", + "bks_bank_ag", + "brull_kallmus_bank_ag", + "btv_vier_lander_bank", + "capital_bank_grawe_gruppe_ag", + "deutsche_bank_ag", + "dolomitenbank", + "easybank_ag", + "erste_bank_und_sparkassen", + "hypo_alpeadriabank_international_ag", + "hypo_bank_burgenland_aktiengesellschaft", + "hypo_noe_lb_fur_niederosterreich_u_wien", + "hypo_oberosterreich_salzburg_steiermark", + "hypo_tirol_bank_ag", + "hypo_vorarlberg_bank_ag", + "marchfelder_bank", + "oberbank_ag", + "raiffeisen_bankengruppe_osterreich", + "schoellerbank_ag", + "sparda_bank_wien", + "volksbank_gruppe", + "volkskreditbank_ag", + "vr_bank_braunau", + ] + ] + """ + The customer's bank. + """ + + +class PaymentIntentUpdateParamsPaymentMethodDataFpx(TypedDict): + account_holder_type: NotRequired[Literal["company", "individual"]] + """ + Account holder type for FPX transaction + """ + bank: Literal[ + "affin_bank", + "agrobank", + "alliance_bank", + "ambank", + "bank_islam", + "bank_muamalat", + "bank_of_china", + "bank_rakyat", + "bsn", + "cimb", + "deutsche_bank", + "hong_leong_bank", + "hsbc", + "kfh", + "maybank2e", + "maybank2u", + "ocbc", + "pb_enterprise", + "public_bank", + "rhb", + "standard_chartered", + "uob", + ] + """ + The customer's bank. + """ + + +class PaymentIntentUpdateParamsPaymentMethodDataGiropay(TypedDict): + pass + + +class PaymentIntentUpdateParamsPaymentMethodDataGopay(TypedDict): + pass + + +class PaymentIntentUpdateParamsPaymentMethodDataGrabpay(TypedDict): + pass + + +class PaymentIntentUpdateParamsPaymentMethodDataIdBankTransfer(TypedDict): + bank: NotRequired[Literal["bca", "bni", "bri", "cimb", "permata"]] + """ + Bank where the account is held. + """ + + +class PaymentIntentUpdateParamsPaymentMethodDataIdeal(TypedDict): + bank: NotRequired[ + Literal[ + "abn_amro", + "asn_bank", + "bunq", + "buut", + "finom", + "handelsbanken", + "ing", + "knab", + "moneyou", + "n26", + "nn", + "rabobank", + "regiobank", + "revolut", + "sns_bank", + "triodos_bank", + "van_lanschot", + "yoursafe", + ] + ] + """ + The customer's bank. Only use this parameter for existing customers. Don't use it for new customers. + """ + + +class PaymentIntentUpdateParamsPaymentMethodDataInteracPresent(TypedDict): + pass + + +class PaymentIntentUpdateParamsPaymentMethodDataKakaoPay(TypedDict): + pass + + +class PaymentIntentUpdateParamsPaymentMethodDataKlarna(TypedDict): + dob: NotRequired["PaymentIntentUpdateParamsPaymentMethodDataKlarnaDob"] + """ + Customer's date of birth + """ + + +class PaymentIntentUpdateParamsPaymentMethodDataKlarnaDob(TypedDict): + day: int + """ + The day of birth, between 1 and 31. + """ + month: int + """ + The month of birth, between 1 and 12. + """ + year: int + """ + The four-digit year of birth. + """ + + +class PaymentIntentUpdateParamsPaymentMethodDataKonbini(TypedDict): + pass + + +class PaymentIntentUpdateParamsPaymentMethodDataKrCard(TypedDict): + pass + + +class PaymentIntentUpdateParamsPaymentMethodDataLink(TypedDict): + pass + + +class PaymentIntentUpdateParamsPaymentMethodDataMbWay(TypedDict): + pass + + +class PaymentIntentUpdateParamsPaymentMethodDataMobilepay(TypedDict): + pass + + +class PaymentIntentUpdateParamsPaymentMethodDataMultibanco(TypedDict): + pass + + +class PaymentIntentUpdateParamsPaymentMethodDataNaverPay(TypedDict): + funding: NotRequired[Literal["card", "points"]] + """ + Whether to use Naver Pay points or a card to fund this transaction. If not provided, this defaults to `card`. + """ + + +class PaymentIntentUpdateParamsPaymentMethodDataNzBankAccount(TypedDict): + account_holder_name: NotRequired[str] + """ + The name on the bank account. Only required if the account holder name is different from the name of the authorized signatory collected in the PaymentMethod's billing details. + """ + account_number: str + """ + The account number for the bank account. + """ + bank_code: str + """ + The numeric code for the bank account's bank. + """ + branch_code: str + """ + The numeric code for the bank account's bank branch. + """ + reference: NotRequired[str] + suffix: str + """ + The suffix of the bank account number. + """ + + +class PaymentIntentUpdateParamsPaymentMethodDataOxxo(TypedDict): + pass + + +class PaymentIntentUpdateParamsPaymentMethodDataP24(TypedDict): + bank: NotRequired[ + Literal[ + "alior_bank", + "bank_millennium", + "bank_nowy_bfg_sa", + "bank_pekao_sa", + "banki_spbdzielcze", + "blik", + "bnp_paribas", + "boz", + "citi_handlowy", + "credit_agricole", + "envelobank", + "etransfer_pocztowy24", + "getin_bank", + "ideabank", + "ing", + "inteligo", + "mbank_mtransfer", + "nest_przelew", + "noble_pay", + "pbac_z_ipko", + "plus_bank", + "santander_przelew24", + "tmobile_usbugi_bankowe", + "toyota_bank", + "velobank", + "volkswagen_bank", + ] + ] + """ + The customer's bank. + """ + + +class PaymentIntentUpdateParamsPaymentMethodDataPayByBank(TypedDict): + pass + + +class PaymentIntentUpdateParamsPaymentMethodDataPayco(TypedDict): + pass + + +class PaymentIntentUpdateParamsPaymentMethodDataPaynow(TypedDict): + pass + + +class PaymentIntentUpdateParamsPaymentMethodDataPaypal(TypedDict): + pass + + +class PaymentIntentUpdateParamsPaymentMethodDataPaypay(TypedDict): + pass + + +class PaymentIntentUpdateParamsPaymentMethodDataPayto(TypedDict): + account_number: NotRequired[str] + """ + The account number for the bank account. + """ + bsb_number: NotRequired[str] + """ + Bank-State-Branch number of the bank account. + """ + pay_id: NotRequired[str] + """ + The PayID alias for the bank account. + """ + + +class PaymentIntentUpdateParamsPaymentMethodDataPix(TypedDict): + pass + + +class PaymentIntentUpdateParamsPaymentMethodDataPromptpay(TypedDict): + pass + + +class PaymentIntentUpdateParamsPaymentMethodDataQris(TypedDict): + pass + + +class PaymentIntentUpdateParamsPaymentMethodDataRadarOptions(TypedDict): + session: NotRequired[str] + """ + A [Radar Session](https://stripe.com/docs/radar/radar-session) is a snapshot of the browser metadata and device details that help Radar make more accurate predictions on your payments. + """ + + +class PaymentIntentUpdateParamsPaymentMethodDataRechnung(TypedDict): + dob: "PaymentIntentUpdateParamsPaymentMethodDataRechnungDob" + """ + Customer's date of birth + """ + + +class PaymentIntentUpdateParamsPaymentMethodDataRechnungDob(TypedDict): + day: int + """ + The day of birth, between 1 and 31. + """ + month: int + """ + The month of birth, between 1 and 12. + """ + year: int + """ + The four-digit year of birth. + """ + + +class PaymentIntentUpdateParamsPaymentMethodDataRevolutPay(TypedDict): + pass + + +class PaymentIntentUpdateParamsPaymentMethodDataSamsungPay(TypedDict): + pass + + +class PaymentIntentUpdateParamsPaymentMethodDataSatispay(TypedDict): + pass + + +class PaymentIntentUpdateParamsPaymentMethodDataSepaDebit(TypedDict): + iban: str + """ + IBAN of the bank account. + """ + + +class PaymentIntentUpdateParamsPaymentMethodDataShopeepay(TypedDict): + pass + + +class PaymentIntentUpdateParamsPaymentMethodDataSofort(TypedDict): + country: Literal["AT", "BE", "DE", "ES", "IT", "NL"] + """ + Two-letter ISO code representing the country the bank account is located in. + """ + + +class PaymentIntentUpdateParamsPaymentMethodDataStripeBalance(TypedDict): + account: NotRequired[str] + """ + The connected account ID whose Stripe balance to use as the source of payment + """ + source_type: NotRequired[Literal["bank_account", "card", "fpx"]] + """ + The [source_type](https://docs.stripe.com/api/balance/balance_object#balance_object-available-source_types) of the balance + """ + + +class PaymentIntentUpdateParamsPaymentMethodDataSwish(TypedDict): + pass + + +class PaymentIntentUpdateParamsPaymentMethodDataTwint(TypedDict): + pass + + +class PaymentIntentUpdateParamsPaymentMethodDataUsBankAccount(TypedDict): + account_holder_type: NotRequired[Literal["company", "individual"]] + """ + Account holder type: individual or company. + """ + account_number: NotRequired[str] + """ + Account number of the bank account. + """ + account_type: NotRequired[Literal["checking", "savings"]] + """ + Account type: checkings or savings. Defaults to checking if omitted. + """ + financial_connections_account: NotRequired[str] + """ + The ID of a Financial Connections Account to use as a payment method. + """ + routing_number: NotRequired[str] + """ + Routing number of the bank account. + """ + + +class PaymentIntentUpdateParamsPaymentMethodDataWechatPay(TypedDict): + pass + + +class PaymentIntentUpdateParamsPaymentMethodDataZip(TypedDict): + pass + + +class PaymentIntentUpdateParamsPaymentMethodOptions(TypedDict): + acss_debit: NotRequired[ + "Literal['']|PaymentIntentUpdateParamsPaymentMethodOptionsAcssDebit" + ] + """ + If this is a `acss_debit` PaymentMethod, this sub-hash contains details about the ACSS Debit payment method options. + """ + affirm: NotRequired[ + "Literal['']|PaymentIntentUpdateParamsPaymentMethodOptionsAffirm" + ] + """ + If this is an `affirm` PaymentMethod, this sub-hash contains details about the Affirm payment method options. + """ + afterpay_clearpay: NotRequired[ + "Literal['']|PaymentIntentUpdateParamsPaymentMethodOptionsAfterpayClearpay" + ] + """ + If this is a `afterpay_clearpay` PaymentMethod, this sub-hash contains details about the Afterpay Clearpay payment method options. + """ + alipay: NotRequired[ + "Literal['']|PaymentIntentUpdateParamsPaymentMethodOptionsAlipay" + ] + """ + If this is a `alipay` PaymentMethod, this sub-hash contains details about the Alipay payment method options. + """ + alma: NotRequired[ + "Literal['']|PaymentIntentUpdateParamsPaymentMethodOptionsAlma" + ] + """ + If this is a `alma` PaymentMethod, this sub-hash contains details about the Alma payment method options. + """ + amazon_pay: NotRequired[ + "Literal['']|PaymentIntentUpdateParamsPaymentMethodOptionsAmazonPay" + ] + """ + If this is a `amazon_pay` PaymentMethod, this sub-hash contains details about the Amazon Pay payment method options. + """ + au_becs_debit: NotRequired[ + "Literal['']|PaymentIntentUpdateParamsPaymentMethodOptionsAuBecsDebit" + ] + """ + If this is a `au_becs_debit` PaymentMethod, this sub-hash contains details about the AU BECS Direct Debit payment method options. + """ + bacs_debit: NotRequired[ + "Literal['']|PaymentIntentUpdateParamsPaymentMethodOptionsBacsDebit" + ] + """ + If this is a `bacs_debit` PaymentMethod, this sub-hash contains details about the BACS Debit payment method options. + """ + bancontact: NotRequired[ + "Literal['']|PaymentIntentUpdateParamsPaymentMethodOptionsBancontact" + ] + """ + If this is a `bancontact` PaymentMethod, this sub-hash contains details about the Bancontact payment method options. + """ + billie: NotRequired[ + "Literal['']|PaymentIntentUpdateParamsPaymentMethodOptionsBillie" + ] + """ + If this is a `billie` PaymentMethod, this sub-hash contains details about the Billie payment method options. + """ + blik: NotRequired[ + "Literal['']|PaymentIntentUpdateParamsPaymentMethodOptionsBlik" + ] + """ + If this is a `blik` PaymentMethod, this sub-hash contains details about the BLIK payment method options. + """ + boleto: NotRequired[ + "Literal['']|PaymentIntentUpdateParamsPaymentMethodOptionsBoleto" + ] + """ + If this is a `boleto` PaymentMethod, this sub-hash contains details about the Boleto payment method options. + """ + card: NotRequired[ + "Literal['']|PaymentIntentUpdateParamsPaymentMethodOptionsCard" + ] + """ + Configuration for any card payments attempted on this PaymentIntent. + """ + card_present: NotRequired[ + "Literal['']|PaymentIntentUpdateParamsPaymentMethodOptionsCardPresent" + ] + """ + If this is a `card_present` PaymentMethod, this sub-hash contains details about the Card Present payment method options. + """ + cashapp: NotRequired[ + "Literal['']|PaymentIntentUpdateParamsPaymentMethodOptionsCashapp" + ] + """ + If this is a `cashapp` PaymentMethod, this sub-hash contains details about the Cash App Pay payment method options. + """ + crypto: NotRequired[ + "Literal['']|PaymentIntentUpdateParamsPaymentMethodOptionsCrypto" + ] + """ + If this is a `crypto` PaymentMethod, this sub-hash contains details about the Crypto payment method options. + """ + customer_balance: NotRequired[ + "Literal['']|PaymentIntentUpdateParamsPaymentMethodOptionsCustomerBalance" + ] + """ + If this is a `customer balance` PaymentMethod, this sub-hash contains details about the customer balance payment method options. + """ + eps: NotRequired[ + "Literal['']|PaymentIntentUpdateParamsPaymentMethodOptionsEps" + ] + """ + If this is a `eps` PaymentMethod, this sub-hash contains details about the EPS payment method options. + """ + fpx: NotRequired[ + "Literal['']|PaymentIntentUpdateParamsPaymentMethodOptionsFpx" + ] + """ + If this is a `fpx` PaymentMethod, this sub-hash contains details about the FPX payment method options. + """ + giropay: NotRequired[ + "Literal['']|PaymentIntentUpdateParamsPaymentMethodOptionsGiropay" + ] + """ + If this is a `giropay` PaymentMethod, this sub-hash contains details about the Giropay payment method options. + """ + gopay: NotRequired[ + "Literal['']|PaymentIntentUpdateParamsPaymentMethodOptionsGopay" + ] + """ + If this is a `gopay` PaymentMethod, this sub-hash contains details about the Gopay payment method options. + """ + grabpay: NotRequired[ + "Literal['']|PaymentIntentUpdateParamsPaymentMethodOptionsGrabpay" + ] + """ + If this is a `grabpay` PaymentMethod, this sub-hash contains details about the Grabpay payment method options. + """ + id_bank_transfer: NotRequired[ + "Literal['']|PaymentIntentUpdateParamsPaymentMethodOptionsIdBankTransfer" + ] + """ + If this is a `id_bank_transfer` PaymentMethod, this sub-hash contains details about the Indonesia Bank Transfer payment method options. + """ + ideal: NotRequired[ + "Literal['']|PaymentIntentUpdateParamsPaymentMethodOptionsIdeal" + ] + """ + If this is a `ideal` PaymentMethod, this sub-hash contains details about the Ideal payment method options. + """ + interac_present: NotRequired[ + "Literal['']|PaymentIntentUpdateParamsPaymentMethodOptionsInteracPresent" + ] + """ + If this is a `interac_present` PaymentMethod, this sub-hash contains details about the Card Present payment method options. + """ + kakao_pay: NotRequired[ + "Literal['']|PaymentIntentUpdateParamsPaymentMethodOptionsKakaoPay" + ] + """ + If this is a `kakao_pay` PaymentMethod, this sub-hash contains details about the Kakao Pay payment method options. + """ + klarna: NotRequired[ + "Literal['']|PaymentIntentUpdateParamsPaymentMethodOptionsKlarna" + ] + """ + If this is a `klarna` PaymentMethod, this sub-hash contains details about the Klarna payment method options. + """ + konbini: NotRequired[ + "Literal['']|PaymentIntentUpdateParamsPaymentMethodOptionsKonbini" + ] + """ + If this is a `konbini` PaymentMethod, this sub-hash contains details about the Konbini payment method options. + """ + kr_card: NotRequired[ + "Literal['']|PaymentIntentUpdateParamsPaymentMethodOptionsKrCard" + ] + """ + If this is a `kr_card` PaymentMethod, this sub-hash contains details about the KR Card payment method options. + """ + link: NotRequired[ + "Literal['']|PaymentIntentUpdateParamsPaymentMethodOptionsLink" + ] + """ + If this is a `link` PaymentMethod, this sub-hash contains details about the Link payment method options. + """ + mb_way: NotRequired[ + "Literal['']|PaymentIntentUpdateParamsPaymentMethodOptionsMbWay" + ] + """ + If this is a `mb_way` PaymentMethod, this sub-hash contains details about the MB WAY payment method options. + """ + mobilepay: NotRequired[ + "Literal['']|PaymentIntentUpdateParamsPaymentMethodOptionsMobilepay" + ] + """ + If this is a `MobilePay` PaymentMethod, this sub-hash contains details about the MobilePay payment method options. + """ + multibanco: NotRequired[ + "Literal['']|PaymentIntentUpdateParamsPaymentMethodOptionsMultibanco" + ] + """ + If this is a `multibanco` PaymentMethod, this sub-hash contains details about the Multibanco payment method options. + """ + naver_pay: NotRequired[ + "Literal['']|PaymentIntentUpdateParamsPaymentMethodOptionsNaverPay" + ] + """ + If this is a `naver_pay` PaymentMethod, this sub-hash contains details about the Naver Pay payment method options. + """ + nz_bank_account: NotRequired[ + "Literal['']|PaymentIntentUpdateParamsPaymentMethodOptionsNzBankAccount" + ] + """ + If this is a `nz_bank_account` PaymentMethod, this sub-hash contains details about the NZ BECS Direct Debit payment method options. + """ + oxxo: NotRequired[ + "Literal['']|PaymentIntentUpdateParamsPaymentMethodOptionsOxxo" + ] + """ + If this is a `oxxo` PaymentMethod, this sub-hash contains details about the OXXO payment method options. + """ + p24: NotRequired[ + "Literal['']|PaymentIntentUpdateParamsPaymentMethodOptionsP24" + ] + """ + If this is a `p24` PaymentMethod, this sub-hash contains details about the Przelewy24 payment method options. + """ + pay_by_bank: NotRequired[ + "Literal['']|PaymentIntentUpdateParamsPaymentMethodOptionsPayByBank" ] """ If this is a `pay_by_bank` PaymentMethod, this sub-hash contains details about the PayByBank payment method options. """ - payco: NotRequired[ - "Literal['']|PaymentIntentUpdateParamsPaymentMethodOptionsPayco" + payco: NotRequired[ + "Literal['']|PaymentIntentUpdateParamsPaymentMethodOptionsPayco" + ] + """ + If this is a `payco` PaymentMethod, this sub-hash contains details about the PAYCO payment method options. + """ + paynow: NotRequired[ + "Literal['']|PaymentIntentUpdateParamsPaymentMethodOptionsPaynow" + ] + """ + If this is a `paynow` PaymentMethod, this sub-hash contains details about the PayNow payment method options. + """ + paypal: NotRequired[ + "Literal['']|PaymentIntentUpdateParamsPaymentMethodOptionsPaypal" + ] + """ + If this is a `paypal` PaymentMethod, this sub-hash contains details about the PayPal payment method options. + """ + paypay: NotRequired[ + "Literal['']|PaymentIntentUpdateParamsPaymentMethodOptionsPaypay" + ] + """ + If this is a `paypay` PaymentMethod, this sub-hash contains details about the PayPay payment method options. + """ + payto: NotRequired[ + "Literal['']|PaymentIntentUpdateParamsPaymentMethodOptionsPayto" + ] + """ + If this is a `payto` PaymentMethod, this sub-hash contains details about the PayTo payment method options. + """ + pix: NotRequired[ + "Literal['']|PaymentIntentUpdateParamsPaymentMethodOptionsPix" + ] + """ + If this is a `pix` PaymentMethod, this sub-hash contains details about the Pix payment method options. + """ + promptpay: NotRequired[ + "Literal['']|PaymentIntentUpdateParamsPaymentMethodOptionsPromptpay" + ] + """ + If this is a `promptpay` PaymentMethod, this sub-hash contains details about the PromptPay payment method options. + """ + qris: NotRequired[ + "Literal['']|PaymentIntentUpdateParamsPaymentMethodOptionsQris" + ] + """ + If this is a `qris` PaymentMethod, this sub-hash contains details about the QRIS payment method options. + """ + rechnung: NotRequired[ + "Literal['']|PaymentIntentUpdateParamsPaymentMethodOptionsRechnung" + ] + """ + If this is a `rechnung` PaymentMethod, this sub-hash contains details about the Rechnung payment method options. + """ + revolut_pay: NotRequired[ + "Literal['']|PaymentIntentUpdateParamsPaymentMethodOptionsRevolutPay" + ] + """ + If this is a `revolut_pay` PaymentMethod, this sub-hash contains details about the Revolut Pay payment method options. + """ + samsung_pay: NotRequired[ + "Literal['']|PaymentIntentUpdateParamsPaymentMethodOptionsSamsungPay" + ] + """ + If this is a `samsung_pay` PaymentMethod, this sub-hash contains details about the Samsung Pay payment method options. + """ + satispay: NotRequired[ + "Literal['']|PaymentIntentUpdateParamsPaymentMethodOptionsSatispay" + ] + """ + If this is a `satispay` PaymentMethod, this sub-hash contains details about the Satispay payment method options. + """ + sepa_debit: NotRequired[ + "Literal['']|PaymentIntentUpdateParamsPaymentMethodOptionsSepaDebit" + ] + """ + If this is a `sepa_debit` PaymentIntent, this sub-hash contains details about the SEPA Debit payment method options. + """ + shopeepay: NotRequired[ + "Literal['']|PaymentIntentUpdateParamsPaymentMethodOptionsShopeepay" + ] + """ + If this is a `shopeepay` PaymentMethod, this sub-hash contains details about the ShopeePay payment method options. + """ + sofort: NotRequired[ + "Literal['']|PaymentIntentUpdateParamsPaymentMethodOptionsSofort" + ] + """ + If this is a `sofort` PaymentMethod, this sub-hash contains details about the SOFORT payment method options. + """ + stripe_balance: NotRequired[ + "Literal['']|PaymentIntentUpdateParamsPaymentMethodOptionsStripeBalance" + ] + """ + If this is a `stripe_balance` PaymentMethod, this sub-hash contains details about the Stripe Balance payment method options. + """ + swish: NotRequired[ + "Literal['']|PaymentIntentUpdateParamsPaymentMethodOptionsSwish" + ] + """ + If this is a `Swish` PaymentMethod, this sub-hash contains details about the Swish payment method options. + """ + twint: NotRequired[ + "Literal['']|PaymentIntentUpdateParamsPaymentMethodOptionsTwint" + ] + """ + If this is a `twint` PaymentMethod, this sub-hash contains details about the TWINT payment method options. + """ + us_bank_account: NotRequired[ + "Literal['']|PaymentIntentUpdateParamsPaymentMethodOptionsUsBankAccount" + ] + """ + If this is a `us_bank_account` PaymentMethod, this sub-hash contains details about the US bank account payment method options. + """ + wechat_pay: NotRequired[ + "Literal['']|PaymentIntentUpdateParamsPaymentMethodOptionsWechatPay" + ] + """ + If this is a `wechat_pay` PaymentMethod, this sub-hash contains details about the WeChat Pay payment method options. + """ + zip: NotRequired[ + "Literal['']|PaymentIntentUpdateParamsPaymentMethodOptionsZip" + ] + """ + If this is a `zip` PaymentMethod, this sub-hash contains details about the Zip payment method options. + """ + + +class PaymentIntentUpdateParamsPaymentMethodOptionsAcssDebit(TypedDict): + mandate_options: NotRequired[ + "PaymentIntentUpdateParamsPaymentMethodOptionsAcssDebitMandateOptions" + ] + """ + Additional fields for Mandate creation + """ + setup_future_usage: NotRequired[ + "Literal['']|Literal['none', 'off_session', 'on_session']" + ] + """ + Indicates that you intend to make future payments with this PaymentIntent's payment method. + + If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. + + If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. + + When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). + + If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`. + """ + target_date: NotRequired[str] + """ + Controls when Stripe will attempt to debit the funds from the customer's account. The date must be a string in YYYY-MM-DD format. The date must be in the future and between 3 and 15 calendar days from now. + """ + verification_method: NotRequired[ + Literal["automatic", "instant", "microdeposits"] + ] + """ + Bank account verification method. + """ + + +class PaymentIntentUpdateParamsPaymentMethodOptionsAcssDebitMandateOptions( + TypedDict, +): + custom_mandate_url: NotRequired["Literal['']|str"] + """ + A URL for custom mandate text to render during confirmation step. + The URL will be rendered with additional GET parameters `payment_intent` and `payment_intent_client_secret` when confirming a Payment Intent, + or `setup_intent` and `setup_intent_client_secret` when confirming a Setup Intent. + """ + interval_description: NotRequired[str] + """ + Description of the mandate interval. Only required if 'payment_schedule' parameter is 'interval' or 'combined'. + """ + payment_schedule: NotRequired[Literal["combined", "interval", "sporadic"]] + """ + Payment schedule for the mandate. + """ + transaction_type: NotRequired[Literal["business", "personal"]] + """ + Transaction type of the mandate. + """ + + +class PaymentIntentUpdateParamsPaymentMethodOptionsAffirm(TypedDict): + capture_method: NotRequired["Literal['']|Literal['manual']"] + """ + Controls when the funds are captured from the customer's account. + + If provided, this parameter overrides the behavior of the top-level [capture_method](https://docs.stripe.com/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type. + + If `capture_method` is already set on the PaymentIntent, providing an empty value for this parameter unsets the stored value for this payment method type. + """ + preferred_locale: NotRequired[str] + """ + Preferred language of the Affirm authorization page that the customer is redirected to. + """ + setup_future_usage: NotRequired[Literal["none"]] + """ + Indicates that you intend to make future payments with this PaymentIntent's payment method. + + If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. + + If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. + + When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). + + If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`. + """ + + +class PaymentIntentUpdateParamsPaymentMethodOptionsAfterpayClearpay(TypedDict): + capture_method: NotRequired["Literal['']|Literal['manual']"] + """ + Controls when the funds are captured from the customer's account. + + If provided, this parameter overrides the behavior of the top-level [capture_method](https://docs.stripe.com/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type. + + If `capture_method` is already set on the PaymentIntent, providing an empty value for this parameter unsets the stored value for this payment method type. + """ + reference: NotRequired[str] + """ + An internal identifier or reference that this payment corresponds to. You must limit the identifier to 128 characters, and it can only contain letters, numbers, underscores, backslashes, and dashes. + This field differs from the statement descriptor and item name. + """ + setup_future_usage: NotRequired[Literal["none"]] + """ + Indicates that you intend to make future payments with this PaymentIntent's payment method. + + If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. + + If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. + + When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). + + If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`. + """ + + +class PaymentIntentUpdateParamsPaymentMethodOptionsAlipay(TypedDict): + setup_future_usage: NotRequired[ + "Literal['']|Literal['none', 'off_session']" + ] + """ + Indicates that you intend to make future payments with this PaymentIntent's payment method. + + If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. + + If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. + + When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). + + If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`. + """ + + +class PaymentIntentUpdateParamsPaymentMethodOptionsAlma(TypedDict): + capture_method: NotRequired["Literal['']|Literal['manual']"] + """ + Controls when the funds are captured from the customer's account. + + If provided, this parameter overrides the behavior of the top-level [capture_method](https://docs.stripe.com/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type. + + If `capture_method` is already set on the PaymentIntent, providing an empty value for this parameter unsets the stored value for this payment method type. + """ + + +class PaymentIntentUpdateParamsPaymentMethodOptionsAmazonPay(TypedDict): + capture_method: NotRequired["Literal['']|Literal['manual']"] + """ + Controls when the funds are captured from the customer's account. + + If provided, this parameter overrides the behavior of the top-level [capture_method](https://docs.stripe.com/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type. + + If `capture_method` is already set on the PaymentIntent, providing an empty value for this parameter unsets the stored value for this payment method type. + """ + setup_future_usage: NotRequired[ + "Literal['']|Literal['none', 'off_session']" + ] + """ + Indicates that you intend to make future payments with this PaymentIntent's payment method. + + If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. + + If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. + + When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). + """ + + +class PaymentIntentUpdateParamsPaymentMethodOptionsAuBecsDebit(TypedDict): + setup_future_usage: NotRequired[ + "Literal['']|Literal['none', 'off_session', 'on_session']" + ] + """ + Indicates that you intend to make future payments with this PaymentIntent's payment method. + + If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. + + If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. + + When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). + + If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`. + """ + target_date: NotRequired[str] + """ + Controls when Stripe will attempt to debit the funds from the customer's account. The date must be a string in YYYY-MM-DD format. The date must be in the future and between 3 and 15 calendar days from now. + """ + + +class PaymentIntentUpdateParamsPaymentMethodOptionsBacsDebit(TypedDict): + mandate_options: NotRequired[ + "PaymentIntentUpdateParamsPaymentMethodOptionsBacsDebitMandateOptions" + ] + """ + Additional fields for Mandate creation + """ + setup_future_usage: NotRequired[ + "Literal['']|Literal['none', 'off_session', 'on_session']" + ] + """ + Indicates that you intend to make future payments with this PaymentIntent's payment method. + + If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. + + If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. + + When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). + + If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`. + """ + target_date: NotRequired[str] + """ + Controls when Stripe will attempt to debit the funds from the customer's account. The date must be a string in YYYY-MM-DD format. The date must be in the future and between 3 and 15 calendar days from now. + """ + + +class PaymentIntentUpdateParamsPaymentMethodOptionsBacsDebitMandateOptions( + TypedDict, +): + reference_prefix: NotRequired["Literal['']|str"] + """ + Prefix used to generate the Mandate reference. Must be at most 12 characters long. Must consist of only uppercase letters, numbers, spaces, or the following special characters: '/', '_', '-', '&', '.'. Cannot begin with 'DDIC' or 'STRIPE'. + """ + + +class PaymentIntentUpdateParamsPaymentMethodOptionsBancontact(TypedDict): + preferred_language: NotRequired[Literal["de", "en", "fr", "nl"]] + """ + Preferred language of the Bancontact authorization page that the customer is redirected to. + """ + setup_future_usage: NotRequired[ + "Literal['']|Literal['none', 'off_session']" + ] + """ + Indicates that you intend to make future payments with this PaymentIntent's payment method. + + If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. + + If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. + + When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). + + If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`. + """ + + +class PaymentIntentUpdateParamsPaymentMethodOptionsBillie(TypedDict): + capture_method: NotRequired["Literal['']|Literal['manual']"] + """ + Controls when the funds are captured from the customer's account. + + If provided, this parameter overrides the behavior of the top-level [capture_method](https://docs.stripe.com/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type. + + If `capture_method` is already set on the PaymentIntent, providing an empty value for this parameter unsets the stored value for this payment method type. + """ + + +class PaymentIntentUpdateParamsPaymentMethodOptionsBlik(TypedDict): + code: NotRequired[str] + """ + The 6-digit BLIK code that a customer has generated using their banking application. Can only be set on confirmation. + """ + setup_future_usage: NotRequired["Literal['']|Literal['none']"] + """ + Indicates that you intend to make future payments with this PaymentIntent's payment method. + + If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. + + If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. + + When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). + + If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`. + """ + + +class PaymentIntentUpdateParamsPaymentMethodOptionsBoleto(TypedDict): + expires_after_days: NotRequired[int] + """ + The number of calendar days before a Boleto voucher expires. For example, if you create a Boleto voucher on Monday and you set expires_after_days to 2, the Boleto invoice will expire on Wednesday at 23:59 America/Sao_Paulo time. + """ + setup_future_usage: NotRequired[ + "Literal['']|Literal['none', 'off_session', 'on_session']" + ] + """ + Indicates that you intend to make future payments with this PaymentIntent's payment method. + + If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. + + If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. + + When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). + + If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`. + """ + + +class PaymentIntentUpdateParamsPaymentMethodOptionsCard(TypedDict): + capture_method: NotRequired["Literal['']|Literal['manual']"] + """ + Controls when the funds are captured from the customer's account. + + If provided, this parameter overrides the behavior of the top-level [capture_method](https://docs.stripe.com/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type. + + If `capture_method` is already set on the PaymentIntent, providing an empty value for this parameter unsets the stored value for this payment method type. + """ + cvc_token: NotRequired[str] + """ + A single-use `cvc_update` Token that represents a card CVC value. When provided, the CVC value will be verified during the card payment attempt. This parameter can only be provided during confirmation. + """ + installments: NotRequired[ + "PaymentIntentUpdateParamsPaymentMethodOptionsCardInstallments" + ] + """ + Installment configuration for payments attempted on this PaymentIntent. + + For more information, see the [installments integration guide](https://stripe.com/docs/payments/installments). + """ + mandate_options: NotRequired[ + "PaymentIntentUpdateParamsPaymentMethodOptionsCardMandateOptions" + ] + """ + Configuration options for setting up an eMandate for cards issued in India. + """ + moto: NotRequired[bool] + """ + When specified, this parameter indicates that a transaction will be marked + as MOTO (Mail Order Telephone Order) and thus out of scope for SCA. This + parameter can only be provided during confirmation. + """ + network: NotRequired[ + Literal[ + "amex", + "cartes_bancaires", + "diners", + "discover", + "eftpos_au", + "girocard", + "interac", + "jcb", + "link", + "mastercard", + "unionpay", + "unknown", + "visa", + ] + ] + """ + Selected network to process this PaymentIntent on. Depends on the available networks of the card attached to the PaymentIntent. Can be only set confirm-time. + """ + request_decremental_authorization: NotRequired[ + Literal["if_available", "never"] + ] + """ + Request ability to [decrement the authorization](https://stripe.com/docs/payments/decremental-authorization) for this PaymentIntent. + """ + request_extended_authorization: NotRequired[ + Literal["if_available", "never"] + ] + """ + Request ability to [capture beyond the standard authorization validity window](https://stripe.com/docs/payments/extended-authorization) for this PaymentIntent. + """ + request_incremental_authorization: NotRequired[ + Literal["if_available", "never"] + ] + """ + Request ability to [increment the authorization](https://stripe.com/docs/payments/incremental-authorization) for this PaymentIntent. + """ + request_multicapture: NotRequired[Literal["if_available", "never"]] + """ + Request ability to make [multiple captures](https://stripe.com/docs/payments/multicapture) for this PaymentIntent. + """ + request_overcapture: NotRequired[Literal["if_available", "never"]] + """ + Request ability to [overcapture](https://stripe.com/docs/payments/overcapture) for this PaymentIntent. + """ + request_partial_authorization: NotRequired[ + Literal["if_available", "never"] + ] + """ + Request partial authorization on this PaymentIntent. + """ + request_three_d_secure: NotRequired[ + Literal["any", "automatic", "challenge"] + ] + """ + We strongly recommend that you rely on our SCA Engine to automatically prompt your customers for authentication based on risk level and [other requirements](https://stripe.com/docs/strong-customer-authentication). However, if you wish to request 3D Secure based on logic from your own fraud engine, provide this option. If not provided, this value defaults to `automatic`. Read our guide on [manually requesting 3D Secure](https://stripe.com/docs/payments/3d-secure/authentication-flow#manual-three-ds) for more information on how this configuration interacts with Radar and our SCA Engine. + """ + require_cvc_recollection: NotRequired[bool] + """ + When enabled, using a card that is attached to a customer will require the CVC to be provided again (i.e. using the cvc_token parameter). + """ + setup_future_usage: NotRequired[ + "Literal['']|Literal['none', 'off_session', 'on_session']" + ] + """ + Indicates that you intend to make future payments with this PaymentIntent's payment method. + + If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. + + If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. + + When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). + + If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`. + """ + statement_descriptor_suffix_kana: NotRequired["Literal['']|str"] + """ + Provides information about a card payment that customers see on their statements. Concatenated with the Kana prefix (shortened Kana descriptor) or Kana statement descriptor that's set on the account to form the complete statement descriptor. Maximum 22 characters. On card statements, the *concatenation* of both prefix and suffix (including separators) will appear truncated to 22 characters. + """ + statement_descriptor_suffix_kanji: NotRequired["Literal['']|str"] + """ + Provides information about a card payment that customers see on their statements. Concatenated with the Kanji prefix (shortened Kanji descriptor) or Kanji statement descriptor that's set on the account to form the complete statement descriptor. Maximum 17 characters. On card statements, the *concatenation* of both prefix and suffix (including separators) will appear truncated to 17 characters. + """ + statement_details: NotRequired[ + "Literal['']|PaymentIntentUpdateParamsPaymentMethodOptionsCardStatementDetails" + ] + """ + Statement details for this payment intent. You can use this to override the merchant details shown on your customers' statements. + """ + three_d_secure: NotRequired[ + "PaymentIntentUpdateParamsPaymentMethodOptionsCardThreeDSecure" + ] + """ + If 3D Secure authentication was performed with a third-party provider, + the authentication details to use for this payment. + """ + + +class PaymentIntentUpdateParamsPaymentMethodOptionsCardInstallments(TypedDict): + enabled: NotRequired[bool] + """ + Setting to true enables installments for this PaymentIntent. + This will cause the response to contain a list of available installment plans. + Setting to false will prevent any selected plan from applying to a charge. + """ + plan: NotRequired[ + "Literal['']|PaymentIntentUpdateParamsPaymentMethodOptionsCardInstallmentsPlan" + ] + """ + The selected installment plan to use for this payment attempt. + This parameter can only be provided during confirmation. + """ + + +class PaymentIntentUpdateParamsPaymentMethodOptionsCardInstallmentsPlan( + TypedDict, +): + count: NotRequired[int] + """ + For `fixed_count` installment plans, this is required. It represents the number of installment payments your customer will make to their credit card. + """ + interval: NotRequired[Literal["month"]] + """ + For `fixed_count` installment plans, this is required. It represents the interval between installment payments your customer will make to their credit card. + One of `month`. + """ + type: Literal["bonus", "fixed_count", "revolving"] + """ + Type of installment plan, one of `fixed_count`, `bonus`, or `revolving`. + """ + + +class PaymentIntentUpdateParamsPaymentMethodOptionsCardMandateOptions( + TypedDict, +): + amount: int + """ + Amount to be charged for future payments. + """ + amount_type: Literal["fixed", "maximum"] + """ + One of `fixed` or `maximum`. If `fixed`, the `amount` param refers to the exact amount to be charged in future payments. If `maximum`, the amount charged can be up to the value passed for the `amount` param. + """ + description: NotRequired[str] + """ + A description of the mandate or subscription that is meant to be displayed to the customer. + """ + end_date: NotRequired[int] + """ + End date of the mandate or subscription. If not provided, the mandate will be active until canceled. If provided, end date should be after start date. + """ + interval: Literal["day", "month", "sporadic", "week", "year"] + """ + Specifies payment frequency. One of `day`, `week`, `month`, `year`, or `sporadic`. + """ + interval_count: NotRequired[int] + """ + The number of intervals between payments. For example, `interval=month` and `interval_count=3` indicates one payment every three months. Maximum of one year interval allowed (1 year, 12 months, or 52 weeks). This parameter is optional when `interval=sporadic`. + """ + reference: str + """ + Unique identifier for the mandate or subscription. + """ + start_date: int + """ + Start date of the mandate or subscription. Start date should not be lesser than yesterday. + """ + supported_types: NotRequired[List[Literal["india"]]] + """ + Specifies the type of mandates supported. Possible values are `india`. + """ + + +class PaymentIntentUpdateParamsPaymentMethodOptionsCardStatementDetails( + TypedDict, +): + address: NotRequired[ + "PaymentIntentUpdateParamsPaymentMethodOptionsCardStatementDetailsAddress" + ] + """ + Please pass in an address that is within your Stripe user account country + """ + phone: NotRequired[str] + """ + Phone number (e.g., a toll-free number that customers can call) + """ + + +class PaymentIntentUpdateParamsPaymentMethodOptionsCardStatementDetailsAddress( + TypedDict, +): + city: NotRequired[str] + """ + City, district, suburb, town, or village. + """ + country: NotRequired[str] + """ + Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). + """ + line1: NotRequired[str] + """ + Address line 1, such as the street, PO Box, or company name. + """ + line2: NotRequired[str] + """ + Address line 2, such as the apartment, suite, unit, or building. + """ + postal_code: NotRequired[str] + """ + ZIP or postal code. + """ + state: NotRequired[str] + """ + State, county, province, or region. + """ + + +class PaymentIntentUpdateParamsPaymentMethodOptionsCardThreeDSecure(TypedDict): + ares_trans_status: NotRequired[Literal["A", "C", "I", "N", "R", "U", "Y"]] + """ + The `transStatus` returned from the card Issuer's ACS in the ARes. + """ + cryptogram: str + """ + The cryptogram, also known as the "authentication value" (AAV, CAVV or + AEVV). This value is 20 bytes, base64-encoded into a 28-character string. + (Most 3D Secure providers will return the base64-encoded version, which + is what you should specify here.) + """ + electronic_commerce_indicator: NotRequired[ + Literal["01", "02", "05", "06", "07"] + ] + """ + The Electronic Commerce Indicator (ECI) is returned by your 3D Secure + provider and indicates what degree of authentication was performed. + """ + exemption_indicator: NotRequired[Literal["low_risk", "none"]] + """ + The exemption requested via 3DS and accepted by the issuer at authentication time. + """ + network_options: NotRequired[ + "PaymentIntentUpdateParamsPaymentMethodOptionsCardThreeDSecureNetworkOptions" + ] + """ + Network specific 3DS fields. Network specific arguments require an + explicit card brand choice. The parameter `payment_method_options.card.network`` + must be populated accordingly + """ + requestor_challenge_indicator: NotRequired[str] + """ + The challenge indicator (`threeDSRequestorChallengeInd`) which was requested in the + AReq sent to the card Issuer's ACS. A string containing 2 digits from 01-99. + """ + transaction_id: str + """ + For 3D Secure 1, the XID. For 3D Secure 2, the Directory Server + Transaction ID (dsTransID). + """ + version: Literal["1.0.2", "2.1.0", "2.2.0"] + """ + The version of 3D Secure that was performed. + """ + + +class PaymentIntentUpdateParamsPaymentMethodOptionsCardThreeDSecureNetworkOptions( + TypedDict, +): + cartes_bancaires: NotRequired[ + "PaymentIntentUpdateParamsPaymentMethodOptionsCardThreeDSecureNetworkOptionsCartesBancaires" + ] + """ + Cartes Bancaires-specific 3DS fields. + """ + + +class PaymentIntentUpdateParamsPaymentMethodOptionsCardThreeDSecureNetworkOptionsCartesBancaires( + TypedDict, +): + cb_avalgo: Literal["0", "1", "2", "3", "4", "A"] + """ + The cryptogram calculation algorithm used by the card Issuer's ACS + to calculate the Authentication cryptogram. Also known as `cavvAlgorithm`. + messageExtension: CB-AVALGO + """ + cb_exemption: NotRequired[str] + """ + The exemption indicator returned from Cartes Bancaires in the ARes. + message extension: CB-EXEMPTION; string (4 characters) + This is a 3 byte bitmap (low significant byte first and most significant + bit first) that has been Base64 encoded + """ + cb_score: NotRequired[int] + """ + The risk score returned from Cartes Bancaires in the ARes. + message extension: CB-SCORE; numeric value 0-99 + """ + + +class PaymentIntentUpdateParamsPaymentMethodOptionsCardPresent(TypedDict): + capture_method: NotRequired[Literal["manual", "manual_preferred"]] + """ + Controls when the funds are captured from the customer's account. + + If provided, this parameter overrides the behavior of the top-level [capture_method](https://docs.stripe.com/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type. + + If `capture_method` is already set on the PaymentIntent, providing an empty value for this parameter unsets the stored value for this payment method type. + """ + request_extended_authorization: NotRequired[bool] + """ + Request ability to capture this payment beyond the standard [authorization validity window](https://stripe.com/docs/terminal/features/extended-authorizations#authorization-validity) + """ + request_incremental_authorization_support: NotRequired[bool] + """ + Request ability to [increment](https://stripe.com/docs/terminal/features/incremental-authorizations) this PaymentIntent if the combination of MCC and card brand is eligible. Check [incremental_authorization_supported](https://stripe.com/docs/api/charges/object#charge_object-payment_method_details-card_present-incremental_authorization_supported) in the [Confirm](https://stripe.com/docs/api/payment_intents/confirm) response to verify support. + """ + routing: NotRequired[ + "PaymentIntentUpdateParamsPaymentMethodOptionsCardPresentRouting" + ] + """ + Network routing priority on co-branded EMV cards supporting domestic debit and international card schemes. + """ + + +class PaymentIntentUpdateParamsPaymentMethodOptionsCardPresentRouting( + TypedDict, +): + requested_priority: NotRequired[Literal["domestic", "international"]] + """ + Routing requested priority + """ + + +class PaymentIntentUpdateParamsPaymentMethodOptionsCashapp(TypedDict): + capture_method: NotRequired["Literal['']|Literal['manual']"] + """ + Controls when the funds are captured from the customer's account. + + If provided, this parameter overrides the behavior of the top-level [capture_method](https://docs.stripe.com/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type. + + If `capture_method` is already set on the PaymentIntent, providing an empty value for this parameter unsets the stored value for this payment method type. + """ + setup_future_usage: NotRequired[ + "Literal['']|Literal['none', 'off_session', 'on_session']" + ] + """ + Indicates that you intend to make future payments with this PaymentIntent's payment method. + + If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. + + If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. + + When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). + + If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`. + """ + + +class PaymentIntentUpdateParamsPaymentMethodOptionsCrypto(TypedDict): + setup_future_usage: NotRequired[Literal["none"]] + """ + Indicates that you intend to make future payments with this PaymentIntent's payment method. + + If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. + + If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. + + When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). + + If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`. + """ + + +class PaymentIntentUpdateParamsPaymentMethodOptionsCustomerBalance(TypedDict): + bank_transfer: NotRequired[ + "PaymentIntentUpdateParamsPaymentMethodOptionsCustomerBalanceBankTransfer" + ] + """ + Configuration for the bank transfer funding type, if the `funding_type` is set to `bank_transfer`. + """ + funding_type: NotRequired[Literal["bank_transfer"]] + """ + The funding method type to be used when there are not enough funds in the customer balance. Permitted values include: `bank_transfer`. + """ + setup_future_usage: NotRequired[Literal["none"]] + """ + Indicates that you intend to make future payments with this PaymentIntent's payment method. + + If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. + + If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. + + When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). + + If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`. + """ + + +class PaymentIntentUpdateParamsPaymentMethodOptionsCustomerBalanceBankTransfer( + TypedDict, +): + eu_bank_transfer: NotRequired[ + "PaymentIntentUpdateParamsPaymentMethodOptionsCustomerBalanceBankTransferEuBankTransfer" + ] + """ + Configuration for the eu_bank_transfer funding type. + """ + requested_address_types: NotRequired[ + List[ + Literal[ + "aba", "iban", "sepa", "sort_code", "spei", "swift", "zengin" + ] + ] + ] + """ + List of address types that should be returned in the financial_addresses response. If not specified, all valid types will be returned. + + Permitted values include: `sort_code`, `zengin`, `iban`, or `spei`. + """ + type: Literal[ + "eu_bank_transfer", + "gb_bank_transfer", + "jp_bank_transfer", + "mx_bank_transfer", + "us_bank_transfer", + ] + """ + The list of bank transfer types that this PaymentIntent is allowed to use for funding Permitted values include: `eu_bank_transfer`, `gb_bank_transfer`, `jp_bank_transfer`, `mx_bank_transfer`, or `us_bank_transfer`. + """ + + +class PaymentIntentUpdateParamsPaymentMethodOptionsCustomerBalanceBankTransferEuBankTransfer( + TypedDict, +): + country: str + """ + The desired country code of the bank account information. Permitted values include: `BE`, `DE`, `ES`, `FR`, `IE`, or `NL`. + """ + + +class PaymentIntentUpdateParamsPaymentMethodOptionsEps(TypedDict): + setup_future_usage: NotRequired[Literal["none"]] + """ + Indicates that you intend to make future payments with this PaymentIntent's payment method. + + If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. + + If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. + + When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). + + If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`. + """ + + +class PaymentIntentUpdateParamsPaymentMethodOptionsFpx(TypedDict): + setup_future_usage: NotRequired[Literal["none"]] + """ + Indicates that you intend to make future payments with this PaymentIntent's payment method. + + If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. + + If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. + + When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). + + If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`. + """ + + +class PaymentIntentUpdateParamsPaymentMethodOptionsGiropay(TypedDict): + setup_future_usage: NotRequired[Literal["none"]] + """ + Indicates that you intend to make future payments with this PaymentIntent's payment method. + + If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. + + If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. + + When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). + + If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`. + """ + + +class PaymentIntentUpdateParamsPaymentMethodOptionsGopay(TypedDict): + setup_future_usage: NotRequired[Literal["none", "off_session"]] + """ + Indicates that you intend to make future payments with this PaymentIntent's payment method. + + If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. + + If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. + + When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). + + If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`. + """ + + +class PaymentIntentUpdateParamsPaymentMethodOptionsGrabpay(TypedDict): + setup_future_usage: NotRequired[Literal["none"]] + """ + Indicates that you intend to make future payments with this PaymentIntent's payment method. + + If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. + + If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. + + When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). + + If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`. + """ + + +class PaymentIntentUpdateParamsPaymentMethodOptionsIdBankTransfer(TypedDict): + expires_after: NotRequired[int] + """ + The UNIX timestamp until which the virtual bank account is valid. Permitted range is from 5 minutes from now until 31 days from now. If unset, it defaults to 3 days from now. + """ + expires_at: NotRequired[int] + """ + The UNIX timestamp until which the virtual bank account is valid. Permitted range is from now until 30 days from now. If unset, it defaults to 1 days from now. + """ + setup_future_usage: NotRequired[Literal["none"]] + """ + Indicates that you intend to make future payments with this PaymentIntent's payment method. + + If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. + + If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. + + When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). + + If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`. + """ + + +class PaymentIntentUpdateParamsPaymentMethodOptionsIdeal(TypedDict): + setup_future_usage: NotRequired[ + "Literal['']|Literal['none', 'off_session']" ] """ - If this is a `payco` PaymentMethod, this sub-hash contains details about the PAYCO payment method options. + Indicates that you intend to make future payments with this PaymentIntent's payment method. + + If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. + + If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. + + When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). + + If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`. """ - paynow: NotRequired[ - "Literal['']|PaymentIntentUpdateParamsPaymentMethodOptionsPaynow" + + +class PaymentIntentUpdateParamsPaymentMethodOptionsInteracPresent(TypedDict): + pass + + +class PaymentIntentUpdateParamsPaymentMethodOptionsKakaoPay(TypedDict): + capture_method: NotRequired["Literal['']|Literal['manual']"] + """ + Controls when the funds are captured from the customer's account. + + If provided, this parameter overrides the behavior of the top-level [capture_method](https://docs.stripe.com/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type. + + If `capture_method` is already set on the PaymentIntent, providing an empty value for this parameter unsets the stored value for this payment method type. + """ + setup_future_usage: NotRequired[ + "Literal['']|Literal['none', 'off_session']" ] """ - If this is a `paynow` PaymentMethod, this sub-hash contains details about the PayNow payment method options. + Indicates that you intend to make future payments with this PaymentIntent's payment method. + + If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. + + If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. + + When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). """ - paypal: NotRequired[ - "Literal['']|PaymentIntentUpdateParamsPaymentMethodOptionsPaypal" + + +class PaymentIntentUpdateParamsPaymentMethodOptionsKlarna(TypedDict): + capture_method: NotRequired["Literal['']|Literal['manual']"] + """ + Controls when the funds are captured from the customer's account. + + If provided, this parameter overrides the behavior of the top-level [capture_method](https://docs.stripe.com/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type. + + If `capture_method` is already set on the PaymentIntent, providing an empty value for this parameter unsets the stored value for this payment method type. + """ + on_demand: NotRequired[ + "PaymentIntentUpdateParamsPaymentMethodOptionsKlarnaOnDemand" + ] + """ + On-demand details if setting up or charging an on-demand payment. + """ + preferred_locale: NotRequired[ + Literal[ + "cs-CZ", + "da-DK", + "de-AT", + "de-CH", + "de-DE", + "el-GR", + "en-AT", + "en-AU", + "en-BE", + "en-CA", + "en-CH", + "en-CZ", + "en-DE", + "en-DK", + "en-ES", + "en-FI", + "en-FR", + "en-GB", + "en-GR", + "en-IE", + "en-IT", + "en-NL", + "en-NO", + "en-NZ", + "en-PL", + "en-PT", + "en-RO", + "en-SE", + "en-US", + "es-ES", + "es-US", + "fi-FI", + "fr-BE", + "fr-CA", + "fr-CH", + "fr-FR", + "it-CH", + "it-IT", + "nb-NO", + "nl-BE", + "nl-NL", + "pl-PL", + "pt-PT", + "ro-RO", + "sv-FI", + "sv-SE", + ] + ] + """ + Preferred language of the Klarna authorization page that the customer is redirected to + """ + setup_future_usage: NotRequired[ + Literal["none", "off_session", "on_session"] + ] + """ + Indicates that you intend to make future payments with this PaymentIntent's payment method. + + If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. + + If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. + + When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). + + If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`. + """ + subscriptions: NotRequired[ + "Literal['']|List[PaymentIntentUpdateParamsPaymentMethodOptionsKlarnaSubscription]" + ] + """ + Subscription details if setting up or charging a subscription. + """ + supplementary_purchase_data: NotRequired[ + "Literal['']|PaymentIntentUpdateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseData" + ] + """ + Supplementary Purchase Data for the corresponding Klarna payment + """ + + +class PaymentIntentUpdateParamsPaymentMethodOptionsKlarnaOnDemand(TypedDict): + average_amount: NotRequired[int] + """ + Your average amount value. You can use a value across your customer base, or segment based on customer type, country, etc. + """ + maximum_amount: NotRequired[int] + """ + The maximum value you may charge a customer per purchase. You can use a value across your customer base, or segment based on customer type, country, etc. + """ + minimum_amount: NotRequired[int] + """ + The lowest or minimum value you may charge a customer per purchase. You can use a value across your customer base, or segment based on customer type, country, etc. + """ + purchase_interval: NotRequired[Literal["day", "month", "week", "year"]] + """ + Interval at which the customer is making purchases + """ + purchase_interval_count: NotRequired[int] + """ + The number of `purchase_interval` between charges + """ + + +class PaymentIntentUpdateParamsPaymentMethodOptionsKlarnaSubscription( + TypedDict, +): + interval: Literal["day", "month", "week", "year"] + """ + Unit of time between subscription charges. + """ + interval_count: NotRequired[int] + """ + The number of intervals (specified in the `interval` attribute) between subscription charges. For example, `interval=month` and `interval_count=3` charges every 3 months. + """ + name: NotRequired[str] + """ + Name for subscription. + """ + next_billing: NotRequired[ + "PaymentIntentUpdateParamsPaymentMethodOptionsKlarnaSubscriptionNextBilling" ] """ - If this is a `paypal` PaymentMethod, this sub-hash contains details about the PayPal payment method options. + Describes the upcoming charge for this subscription. + """ + reference: str + """ + A non-customer-facing reference to correlate subscription charges in the Klarna app. Use a value that persists across subscription charges. + """ + + +class PaymentIntentUpdateParamsPaymentMethodOptionsKlarnaSubscriptionNextBilling( + TypedDict, +): + amount: int + """ + The amount of the next charge for the subscription. """ - paypay: NotRequired[ - "Literal['']|PaymentIntentUpdateParamsPaymentMethodOptionsPaypay" - ] + date: str """ - If this is a `paypay` PaymentMethod, this sub-hash contains details about the PayPay payment method options. + The date of the next charge for the subscription in YYYY-MM-DD format. """ - payto: NotRequired[ - "Literal['']|PaymentIntentUpdateParamsPaymentMethodOptionsPayto" + + +class PaymentIntentUpdateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseData( + TypedDict, +): + bus_reservation_details: NotRequired[ + "Literal['']|List[PaymentIntentUpdateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataBusReservationDetail]" ] """ - If this is a `payto` PaymentMethod, this sub-hash contains details about the PayTo payment method options. + Supplementary bus reservation details. """ - pix: NotRequired[ - "Literal['']|PaymentIntentUpdateParamsPaymentMethodOptionsPix" + event_reservation_details: NotRequired[ + "Literal['']|List[PaymentIntentUpdateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataEventReservationDetail]" ] """ - If this is a `pix` PaymentMethod, this sub-hash contains details about the Pix payment method options. + Supplementary event reservation details. """ - promptpay: NotRequired[ - "Literal['']|PaymentIntentUpdateParamsPaymentMethodOptionsPromptpay" + ferry_reservation_details: NotRequired[ + "Literal['']|List[PaymentIntentUpdateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataFerryReservationDetail]" ] """ - If this is a `promptpay` PaymentMethod, this sub-hash contains details about the PromptPay payment method options. + Supplementary ferry reservation details. """ - qris: NotRequired[ - "Literal['']|PaymentIntentUpdateParamsPaymentMethodOptionsQris" + insurances: NotRequired[ + "Literal['']|List[PaymentIntentUpdateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataInsurance]" ] """ - If this is a `qris` PaymentMethod, this sub-hash contains details about the QRIS payment method options. + Supplementary insurance details. """ - rechnung: NotRequired[ - "Literal['']|PaymentIntentUpdateParamsPaymentMethodOptionsRechnung" + marketplace_sellers: NotRequired[ + "Literal['']|List[PaymentIntentUpdateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataMarketplaceSeller]" ] """ - If this is a `rechnung` PaymentMethod, this sub-hash contains details about the Rechnung payment method options. + Supplementary marketplace seller details. """ - revolut_pay: NotRequired[ - "Literal['']|PaymentIntentUpdateParamsPaymentMethodOptionsRevolutPay" + round_trip_reservation_details: NotRequired[ + "Literal['']|List[PaymentIntentUpdateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataRoundTripReservationDetail]" ] """ - If this is a `revolut_pay` PaymentMethod, this sub-hash contains details about the Revolut Pay payment method options. + Supplementary round trip reservation details. """ - samsung_pay: NotRequired[ - "Literal['']|PaymentIntentUpdateParamsPaymentMethodOptionsSamsungPay" + train_reservation_details: NotRequired[ + "Literal['']|List[PaymentIntentUpdateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataTrainReservationDetail]" ] """ - If this is a `samsung_pay` PaymentMethod, this sub-hash contains details about the Samsung Pay payment method options. + Supplementary train reservation details. """ - satispay: NotRequired[ - "Literal['']|PaymentIntentUpdateParamsPaymentMethodOptionsSatispay" + vouchers: NotRequired[ + "Literal['']|List[PaymentIntentUpdateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataVoucher]" ] """ - If this is a `satispay` PaymentMethod, this sub-hash contains details about the Satispay payment method options. + Voucher details, such as a gift card or discount code. """ - sepa_debit: NotRequired[ - "Literal['']|PaymentIntentUpdateParamsPaymentMethodOptionsSepaDebit" - ] + + +class PaymentIntentUpdateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataBusReservationDetail( + TypedDict, +): + affiliate_name: NotRequired[str] """ - If this is a `sepa_debit` PaymentIntent, this sub-hash contains details about the SEPA Debit payment method options. + Name of associated or partner company for the service. """ - shopeepay: NotRequired[ - "Literal['']|PaymentIntentUpdateParamsPaymentMethodOptionsShopeepay" + arrival: NotRequired[ + "PaymentIntentUpdateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataBusReservationDetailArrival" ] """ - If this is a `shopeepay` PaymentMethod, this sub-hash contains details about the ShopeePay payment method options. + Arrival details. """ - sofort: NotRequired[ - "Literal['']|PaymentIntentUpdateParamsPaymentMethodOptionsSofort" - ] + carrier_name: NotRequired[str] """ - If this is a `sofort` PaymentMethod, this sub-hash contains details about the SOFORT payment method options. + Name of transportation company. """ - stripe_balance: NotRequired[ - "Literal['']|PaymentIntentUpdateParamsPaymentMethodOptionsStripeBalance" - ] + currency: NotRequired[str] """ - If this is a `stripe_balance` PaymentMethod, this sub-hash contains details about the Stripe Balance payment method options. + Currency. """ - swish: NotRequired[ - "Literal['']|PaymentIntentUpdateParamsPaymentMethodOptionsSwish" + departure: NotRequired[ + "PaymentIntentUpdateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataBusReservationDetailDeparture" ] """ - If this is a `Swish` PaymentMethod, this sub-hash contains details about the Swish payment method options. + Departure details. """ - twint: NotRequired[ - "Literal['']|PaymentIntentUpdateParamsPaymentMethodOptionsTwint" + insurances: NotRequired[ + List[ + "PaymentIntentUpdateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataBusReservationDetailInsurance" + ] ] """ - If this is a `twint` PaymentMethod, this sub-hash contains details about the TWINT payment method options. + List of insurances for this reservation. """ - us_bank_account: NotRequired[ - "Literal['']|PaymentIntentUpdateParamsPaymentMethodOptionsUsBankAccount" + passengers: NotRequired[ + List[ + "PaymentIntentUpdateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataBusReservationDetailPassenger" + ] ] """ - If this is a `us_bank_account` PaymentMethod, this sub-hash contains details about the US bank account payment method options. + List of passengers that this reservation applies to. """ - wechat_pay: NotRequired[ - "Literal['']|PaymentIntentUpdateParamsPaymentMethodOptionsWechatPay" - ] + price: NotRequired[int] """ - If this is a `wechat_pay` PaymentMethod, this sub-hash contains details about the WeChat Pay payment method options. + Price in cents. """ - zip: NotRequired[ - "Literal['']|PaymentIntentUpdateParamsPaymentMethodOptionsZip" + ticket_class: NotRequired[ + Literal["business", "economy", "first_class", "premium_economy"] ] """ - If this is a `zip` PaymentMethod, this sub-hash contains details about the Zip payment method options. + Ticket class. """ -class PaymentIntentUpdateParamsPaymentMethodOptionsAcssDebit(TypedDict): - mandate_options: NotRequired[ - "PaymentIntentUpdateParamsPaymentMethodOptionsAcssDebitMandateOptions" +class PaymentIntentUpdateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataBusReservationDetailArrival( + TypedDict, +): + address: NotRequired[ + "PaymentIntentUpdateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataBusReservationDetailArrivalAddress" ] """ - Additional fields for Mandate creation + Address of the arrival location. """ - setup_future_usage: NotRequired[ - "Literal['']|Literal['none', 'off_session', 'on_session']" - ] + arrival_location: NotRequired[str] + """ + Identifier name or reference for the arrival location. """ - Indicates that you intend to make future payments with this PaymentIntent's payment method. - - If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. - - If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. - When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). - If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`. +class PaymentIntentUpdateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataBusReservationDetailArrivalAddress( + TypedDict, +): + city: NotRequired[str] """ - target_date: NotRequired[str] + The city or town. """ - Controls when Stripe will attempt to debit the funds from the customer's account. The date must be a string in YYYY-MM-DD format. The date must be in the future and between 3 and 15 calendar days from now. + country: NotRequired[str] """ - verification_method: NotRequired[ - Literal["automatic", "instant", "microdeposits"] - ] + The country in ISO 3166-1 alpha-2 format. """ - Bank account verification method. + postal_code: NotRequired[str] + """ + The postal code formatted according to country. + """ + region: NotRequired[str] + """ + The state, county, province, or region formatted according to country. + """ + street_address: NotRequired[str] + """ + Line 1 of the street address. + """ + street_address2: NotRequired[str] + """ + Line 2 of the street address. """ -class PaymentIntentUpdateParamsPaymentMethodOptionsAcssDebitMandateOptions( +class PaymentIntentUpdateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataBusReservationDetailDeparture( TypedDict, ): - custom_mandate_url: NotRequired["Literal['']|str"] - """ - A URL for custom mandate text to render during confirmation step. - The URL will be rendered with additional GET parameters `payment_intent` and `payment_intent_client_secret` when confirming a Payment Intent, - or `setup_intent` and `setup_intent_client_secret` when confirming a Setup Intent. - """ - interval_description: NotRequired[str] + address: NotRequired[ + "PaymentIntentUpdateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataBusReservationDetailDepartureAddress" + ] """ - Description of the mandate interval. Only required if 'payment_schedule' parameter is 'interval' or 'combined'. + Address of the departure location. """ - payment_schedule: NotRequired[Literal["combined", "interval", "sporadic"]] + departs_at: NotRequired[int] """ - Payment schedule for the mandate. + Timestamp of departure. """ - transaction_type: NotRequired[Literal["business", "personal"]] + departure_location: NotRequired[str] """ - Transaction type of the mandate. + Identifier name or reference for the origin location. """ -class PaymentIntentUpdateParamsPaymentMethodOptionsAffirm(TypedDict): - capture_method: NotRequired["Literal['']|Literal['manual']"] +class PaymentIntentUpdateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataBusReservationDetailDepartureAddress( + TypedDict, +): + city: NotRequired[str] """ - Controls when the funds are captured from the customer's account. - - If provided, this parameter overrides the behavior of the top-level [capture_method](https://docs.stripe.com/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type. - - If `capture_method` is already set on the PaymentIntent, providing an empty value for this parameter unsets the stored value for this payment method type. + The city or town. """ - preferred_locale: NotRequired[str] + country: NotRequired[str] """ - Preferred language of the Affirm authorization page that the customer is redirected to. + The country in ISO 3166-1 alpha-2 format. """ - setup_future_usage: NotRequired[Literal["none"]] + postal_code: NotRequired[str] """ - Indicates that you intend to make future payments with this PaymentIntent's payment method. - - If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. - - If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. - - When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). - - If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`. + The postal code formatted according to country. """ - - -class PaymentIntentUpdateParamsPaymentMethodOptionsAfterpayClearpay(TypedDict): - capture_method: NotRequired["Literal['']|Literal['manual']"] + region: NotRequired[str] """ - Controls when the funds are captured from the customer's account. - - If provided, this parameter overrides the behavior of the top-level [capture_method](https://docs.stripe.com/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type. - - If `capture_method` is already set on the PaymentIntent, providing an empty value for this parameter unsets the stored value for this payment method type. + The state, county, province, or region formatted according to country. """ - reference: NotRequired[str] + street_address: NotRequired[str] """ - An internal identifier or reference that this payment corresponds to. You must limit the identifier to 128 characters, and it can only contain letters, numbers, underscores, backslashes, and dashes. - This field differs from the statement descriptor and item name. + Line 1 of the street address. """ - setup_future_usage: NotRequired[Literal["none"]] + street_address2: NotRequired[str] """ - Indicates that you intend to make future payments with this PaymentIntent's payment method. - - If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. - - If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. - - When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). - - If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`. + Line 2 of the street address. """ -class PaymentIntentUpdateParamsPaymentMethodOptionsAlipay(TypedDict): - setup_future_usage: NotRequired[ - "Literal['']|Literal['none', 'off_session']" +class PaymentIntentUpdateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataBusReservationDetailInsurance( + TypedDict, +): + currency: NotRequired[str] + """ + Insurance currency. + """ + insurance_company_name: NotRequired[str] + """ + Name of the company providing the insurance. + """ + insurance_type: NotRequired[ + Literal["baggage", "bankruptcy", "cancelation", "emergency", "medical"] ] """ - Indicates that you intend to make future payments with this PaymentIntent's payment method. - - If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. - - If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. - - When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). - - If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`. + Type of insurance. """ - - -class PaymentIntentUpdateParamsPaymentMethodOptionsAlma(TypedDict): - capture_method: NotRequired["Literal['']|Literal['manual']"] + price: NotRequired[int] """ - Controls when the funds are captured from the customer's account. - - If provided, this parameter overrides the behavior of the top-level [capture_method](https://docs.stripe.com/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type. - - If `capture_method` is already set on the PaymentIntent, providing an empty value for this parameter unsets the stored value for this payment method type. + Price of insurance in cents. """ -class PaymentIntentUpdateParamsPaymentMethodOptionsAmazonPay(TypedDict): - capture_method: NotRequired["Literal['']|Literal['manual']"] +class PaymentIntentUpdateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataBusReservationDetailPassenger( + TypedDict, +): + family_name: NotRequired[str] """ - Controls when the funds are captured from the customer's account. - - If provided, this parameter overrides the behavior of the top-level [capture_method](https://docs.stripe.com/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type. - - If `capture_method` is already set on the PaymentIntent, providing an empty value for this parameter unsets the stored value for this payment method type. + The family name of the person. """ - setup_future_usage: NotRequired[ - "Literal['']|Literal['none', 'off_session']" - ] + given_name: NotRequired[str] """ - Indicates that you intend to make future payments with this PaymentIntent's payment method. - - If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. - - If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. - - When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). + The given name of the person. """ -class PaymentIntentUpdateParamsPaymentMethodOptionsAuBecsDebit(TypedDict): - setup_future_usage: NotRequired[ - "Literal['']|Literal['none', 'off_session', 'on_session']" +class PaymentIntentUpdateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataEventReservationDetail( + TypedDict, +): + access_controlled_venue: NotRequired[bool] + """ + Indicates if the tickets are digitally checked when entering the venue. + """ + address: NotRequired[ + "PaymentIntentUpdateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataEventReservationDetailAddress" ] """ - Indicates that you intend to make future payments with this PaymentIntent's payment method. - - If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. - - If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. - - When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). - - If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`. + Address of the event. """ - target_date: NotRequired[str] + affiliate_name: NotRequired[str] """ - Controls when Stripe will attempt to debit the funds from the customer's account. The date must be a string in YYYY-MM-DD format. The date must be in the future and between 3 and 15 calendar days from now. + Name of associated or partner company for the service. """ - - -class PaymentIntentUpdateParamsPaymentMethodOptionsBacsDebit(TypedDict): - mandate_options: NotRequired[ - "PaymentIntentUpdateParamsPaymentMethodOptionsBacsDebitMandateOptions" + ends_at: NotRequired[int] + """ + End timestamp of the event. + """ + event_company_name: NotRequired[str] + """ + Company selling the ticket. + """ + event_name: NotRequired[str] + """ + Name of the event. + """ + event_type: NotRequired[ + Literal[ + "concert", + "conference", + "digital_education", + "expo", + "festival", + "in_person_education", + "sport", + "tour", + ] ] """ - Additional fields for Mandate creation + Type of the event. """ - setup_future_usage: NotRequired[ - "Literal['']|Literal['none', 'off_session', 'on_session']" + insurances: NotRequired[ + List[ + "PaymentIntentUpdateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataEventReservationDetailInsurance" + ] ] """ - Indicates that you intend to make future payments with this PaymentIntent's payment method. - - If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. - - If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. - - When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). - - If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`. + List of insurances for this event. """ - target_date: NotRequired[str] + starts_at: NotRequired[int] """ - Controls when Stripe will attempt to debit the funds from the customer's account. The date must be a string in YYYY-MM-DD format. The date must be in the future and between 3 and 15 calendar days from now. + Start timestamp of the event. + """ + venue_name: NotRequired[str] + """ + Name of the venue where the event takes place. """ -class PaymentIntentUpdateParamsPaymentMethodOptionsBacsDebitMandateOptions( +class PaymentIntentUpdateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataEventReservationDetailAddress( TypedDict, ): - reference_prefix: NotRequired["Literal['']|str"] + city: NotRequired[str] """ - Prefix used to generate the Mandate reference. Must be at most 12 characters long. Must consist of only uppercase letters, numbers, spaces, or the following special characters: '/', '_', '-', '&', '.'. Cannot begin with 'DDIC' or 'STRIPE'. + The city or town. """ - - -class PaymentIntentUpdateParamsPaymentMethodOptionsBancontact(TypedDict): - preferred_language: NotRequired[Literal["de", "en", "fr", "nl"]] + country: NotRequired[str] """ - Preferred language of the Bancontact authorization page that the customer is redirected to. + The country in ISO 3166-1 alpha-2 format. """ - setup_future_usage: NotRequired[ - "Literal['']|Literal['none', 'off_session']" - ] + postal_code: NotRequired[str] """ - Indicates that you intend to make future payments with this PaymentIntent's payment method. - - If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. - - If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. - - When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). - - If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`. + The postal code formatted according to country. """ - - -class PaymentIntentUpdateParamsPaymentMethodOptionsBillie(TypedDict): - capture_method: NotRequired["Literal['']|Literal['manual']"] + region: NotRequired[str] """ - Controls when the funds are captured from the customer's account. - - If provided, this parameter overrides the behavior of the top-level [capture_method](https://docs.stripe.com/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type. - - If `capture_method` is already set on the PaymentIntent, providing an empty value for this parameter unsets the stored value for this payment method type. + The state, county, province, or region formatted according to country. """ - - -class PaymentIntentUpdateParamsPaymentMethodOptionsBlik(TypedDict): - code: NotRequired[str] + street_address: NotRequired[str] """ - The 6-digit BLIK code that a customer has generated using their banking application. Can only be set on confirmation. + Line 1 of the street address. """ - setup_future_usage: NotRequired["Literal['']|Literal['none']"] + street_address2: NotRequired[str] """ - Indicates that you intend to make future payments with this PaymentIntent's payment method. - - If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. - - If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. - - When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). - - If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`. + Line 2 of the street address. """ -class PaymentIntentUpdateParamsPaymentMethodOptionsBoleto(TypedDict): - expires_after_days: NotRequired[int] - """ - The number of calendar days before a Boleto voucher expires. For example, if you create a Boleto voucher on Monday and you set expires_after_days to 2, the Boleto invoice will expire on Wednesday at 23:59 America/Sao_Paulo time. +class PaymentIntentUpdateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataEventReservationDetailInsurance( + TypedDict, +): + currency: NotRequired[str] """ - setup_future_usage: NotRequired[ - "Literal['']|Literal['none', 'off_session', 'on_session']" - ] + Insurance currency. """ - Indicates that you intend to make future payments with this PaymentIntent's payment method. - - If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. - - If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. - - When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). - - If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`. + insurance_company_name: NotRequired[str] """ - - -class PaymentIntentUpdateParamsPaymentMethodOptionsCard(TypedDict): - capture_method: NotRequired["Literal['']|Literal['manual']"] + Name of the company providing the insurance. """ - Controls when the funds are captured from the customer's account. - - If provided, this parameter overrides the behavior of the top-level [capture_method](https://docs.stripe.com/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type. - - If `capture_method` is already set on the PaymentIntent, providing an empty value for this parameter unsets the stored value for this payment method type. + insurance_type: NotRequired[ + Literal["bankruptcy", "cancelation", "emergency", "medical"] + ] """ - cvc_token: NotRequired[str] + Type of insurance. """ - A single-use `cvc_update` Token that represents a card CVC value. When provided, the CVC value will be verified during the card payment attempt. This parameter can only be provided during confirmation. + price: NotRequired[int] """ - installments: NotRequired[ - "PaymentIntentUpdateParamsPaymentMethodOptionsCardInstallments" - ] + Price of insurance in cents. """ - Installment configuration for payments attempted on this PaymentIntent. - For more information, see the [installments integration guide](https://stripe.com/docs/payments/installments). + +class PaymentIntentUpdateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataFerryReservationDetail( + TypedDict, +): + affiliate_name: NotRequired[str] """ - mandate_options: NotRequired[ - "PaymentIntentUpdateParamsPaymentMethodOptionsCardMandateOptions" + Name of associated or partner company for the service. + """ + arrival: NotRequired[ + "PaymentIntentUpdateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataFerryReservationDetailArrival" ] """ - Configuration options for setting up an eMandate for cards issued in India. + Arrival details. """ - moto: NotRequired[bool] + carrier_name: NotRequired[str] """ - When specified, this parameter indicates that a transaction will be marked - as MOTO (Mail Order Telephone Order) and thus out of scope for SCA. This - parameter can only be provided during confirmation. + Name of transportation company. """ - network: NotRequired[ - Literal[ - "amex", - "cartes_bancaires", - "diners", - "discover", - "eftpos_au", - "girocard", - "interac", - "jcb", - "link", - "mastercard", - "unionpay", - "unknown", - "visa", - ] - ] + currency: NotRequired[str] """ - Selected network to process this PaymentIntent on. Depends on the available networks of the card attached to the PaymentIntent. Can be only set confirm-time. + Currency. """ - request_decremental_authorization: NotRequired[ - Literal["if_available", "never"] + departure: NotRequired[ + "PaymentIntentUpdateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataFerryReservationDetailDeparture" ] """ - Request ability to [decrement the authorization](https://stripe.com/docs/payments/decremental-authorization) for this PaymentIntent. + Departure details. """ - request_extended_authorization: NotRequired[ - Literal["if_available", "never"] + insurances: NotRequired[ + List[ + "PaymentIntentUpdateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataFerryReservationDetailInsurance" + ] ] """ - Request ability to [capture beyond the standard authorization validity window](https://stripe.com/docs/payments/extended-authorization) for this PaymentIntent. + List of insurances for this reservation. """ - request_incremental_authorization: NotRequired[ - Literal["if_available", "never"] + passengers: NotRequired[ + List[ + "PaymentIntentUpdateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataFerryReservationDetailPassenger" + ] ] """ - Request ability to [increment the authorization](https://stripe.com/docs/payments/incremental-authorization) for this PaymentIntent. - """ - request_multicapture: NotRequired[Literal["if_available", "never"]] - """ - Request ability to make [multiple captures](https://stripe.com/docs/payments/multicapture) for this PaymentIntent. + List of passengers that this reservation applies to. """ - request_overcapture: NotRequired[Literal["if_available", "never"]] + price: NotRequired[int] """ - Request ability to [overcapture](https://stripe.com/docs/payments/overcapture) for this PaymentIntent. + Price in cents. """ - request_partial_authorization: NotRequired[ - Literal["if_available", "never"] + ticket_class: NotRequired[ + Literal["business", "economy", "first_class", "premium_economy"] ] """ - Request partial authorization on this PaymentIntent. + Ticket class. """ - request_three_d_secure: NotRequired[ - Literal["any", "automatic", "challenge"] + + +class PaymentIntentUpdateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataFerryReservationDetailArrival( + TypedDict, +): + address: NotRequired[ + "PaymentIntentUpdateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataFerryReservationDetailArrivalAddress" ] """ - We strongly recommend that you rely on our SCA Engine to automatically prompt your customers for authentication based on risk level and [other requirements](https://stripe.com/docs/strong-customer-authentication). However, if you wish to request 3D Secure based on logic from your own fraud engine, provide this option. If not provided, this value defaults to `automatic`. Read our guide on [manually requesting 3D Secure](https://stripe.com/docs/payments/3d-secure/authentication-flow#manual-three-ds) for more information on how this configuration interacts with Radar and our SCA Engine. - """ - require_cvc_recollection: NotRequired[bool] + Address of the arrival location. """ - When enabled, using a card that is attached to a customer will require the CVC to be provided again (i.e. using the cvc_token parameter). + arrival_location: NotRequired[str] """ - setup_future_usage: NotRequired[ - "Literal['']|Literal['none', 'off_session', 'on_session']" - ] + Identifier name or reference for the arrival location. """ - Indicates that you intend to make future payments with this PaymentIntent's payment method. - - If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. - If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. - - When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). - If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`. - """ - statement_descriptor_suffix_kana: NotRequired["Literal['']|str"] +class PaymentIntentUpdateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataFerryReservationDetailArrivalAddress( + TypedDict, +): + city: NotRequired[str] """ - Provides information about a card payment that customers see on their statements. Concatenated with the Kana prefix (shortened Kana descriptor) or Kana statement descriptor that's set on the account to form the complete statement descriptor. Maximum 22 characters. On card statements, the *concatenation* of both prefix and suffix (including separators) will appear truncated to 22 characters. + The city or town. """ - statement_descriptor_suffix_kanji: NotRequired["Literal['']|str"] + country: NotRequired[str] """ - Provides information about a card payment that customers see on their statements. Concatenated with the Kanji prefix (shortened Kanji descriptor) or Kanji statement descriptor that's set on the account to form the complete statement descriptor. Maximum 17 characters. On card statements, the *concatenation* of both prefix and suffix (including separators) will appear truncated to 17 characters. + The country in ISO 3166-1 alpha-2 format. """ - statement_details: NotRequired[ - "Literal['']|PaymentIntentUpdateParamsPaymentMethodOptionsCardStatementDetails" - ] + postal_code: NotRequired[str] """ - Statement details for this payment intent. You can use this to override the merchant details shown on your customers' statements. + The postal code formatted according to country. """ - three_d_secure: NotRequired[ - "PaymentIntentUpdateParamsPaymentMethodOptionsCardThreeDSecure" - ] + region: NotRequired[str] """ - If 3D Secure authentication was performed with a third-party provider, - the authentication details to use for this payment. + The state, county, province, or region formatted according to country. """ - - -class PaymentIntentUpdateParamsPaymentMethodOptionsCardInstallments(TypedDict): - enabled: NotRequired[bool] + street_address: NotRequired[str] """ - Setting to true enables installments for this PaymentIntent. - This will cause the response to contain a list of available installment plans. - Setting to false will prevent any selected plan from applying to a charge. + Line 1 of the street address. """ - plan: NotRequired[ - "Literal['']|PaymentIntentUpdateParamsPaymentMethodOptionsCardInstallmentsPlan" - ] + street_address2: NotRequired[str] """ - The selected installment plan to use for this payment attempt. - This parameter can only be provided during confirmation. + Line 2 of the street address. """ -class PaymentIntentUpdateParamsPaymentMethodOptionsCardInstallmentsPlan( +class PaymentIntentUpdateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataFerryReservationDetailDeparture( TypedDict, ): - count: NotRequired[int] + address: NotRequired[ + "PaymentIntentUpdateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataFerryReservationDetailDepartureAddress" + ] """ - For `fixed_count` installment plans, this is required. It represents the number of installment payments your customer will make to their credit card. + Address of the departure location. """ - interval: NotRequired[Literal["month"]] + departs_at: NotRequired[int] """ - For `fixed_count` installment plans, this is required. It represents the interval between installment payments your customer will make to their credit card. - One of `month`. + Timestamp of departure. """ - type: Literal["bonus", "fixed_count", "revolving"] + departure_location: NotRequired[str] """ - Type of installment plan, one of `fixed_count`, `bonus`, or `revolving`. + Identifier name or reference for the origin location. """ -class PaymentIntentUpdateParamsPaymentMethodOptionsCardMandateOptions( +class PaymentIntentUpdateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataFerryReservationDetailDepartureAddress( TypedDict, ): - amount: int + city: NotRequired[str] """ - Amount to be charged for future payments. + The city or town. """ - amount_type: Literal["fixed", "maximum"] + country: NotRequired[str] """ - One of `fixed` or `maximum`. If `fixed`, the `amount` param refers to the exact amount to be charged in future payments. If `maximum`, the amount charged can be up to the value passed for the `amount` param. + The country in ISO 3166-1 alpha-2 format. """ - description: NotRequired[str] + postal_code: NotRequired[str] """ - A description of the mandate or subscription that is meant to be displayed to the customer. + The postal code formatted according to country. """ - end_date: NotRequired[int] + region: NotRequired[str] """ - End date of the mandate or subscription. If not provided, the mandate will be active until canceled. If provided, end date should be after start date. + The state, county, province, or region formatted according to country. """ - interval: Literal["day", "month", "sporadic", "week", "year"] + street_address: NotRequired[str] """ - Specifies payment frequency. One of `day`, `week`, `month`, `year`, or `sporadic`. + Line 1 of the street address. """ - interval_count: NotRequired[int] + street_address2: NotRequired[str] """ - The number of intervals between payments. For example, `interval=month` and `interval_count=3` indicates one payment every three months. Maximum of one year interval allowed (1 year, 12 months, or 52 weeks). This parameter is optional when `interval=sporadic`. + Line 2 of the street address. """ - reference: str + + +class PaymentIntentUpdateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataFerryReservationDetailInsurance( + TypedDict, +): + currency: NotRequired[str] """ - Unique identifier for the mandate or subscription. + Insurance currency. """ - start_date: int + insurance_company_name: NotRequired[str] """ - Start date of the mandate or subscription. Start date should not be lesser than yesterday. + Name of the company providing the insurance. """ - supported_types: NotRequired[List[Literal["india"]]] + insurance_type: NotRequired[ + Literal["baggage", "bankruptcy", "cancelation", "emergency", "medical"] + ] """ - Specifies the type of mandates supported. Possible values are `india`. + Type of insurance. + """ + price: NotRequired[int] + """ + Price of insurance in cents. """ -class PaymentIntentUpdateParamsPaymentMethodOptionsCardStatementDetails( +class PaymentIntentUpdateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataFerryReservationDetailPassenger( TypedDict, ): - address: NotRequired[ - "PaymentIntentUpdateParamsPaymentMethodOptionsCardStatementDetailsAddress" - ] + family_name: NotRequired[str] """ - Please pass in an address that is within your Stripe user account country + The family name of the person. """ - phone: NotRequired[str] + given_name: NotRequired[str] """ - Phone number (e.g., a toll-free number that customers can call) + The given name of the person. """ -class PaymentIntentUpdateParamsPaymentMethodOptionsCardStatementDetailsAddress( +class PaymentIntentUpdateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataInsurance( TypedDict, ): - city: NotRequired[str] + currency: NotRequired[str] """ - City, district, suburb, town, or village. + Insurance currency. """ - country: NotRequired[str] + insurance_company_name: NotRequired[str] """ - Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). + Name of the company providing the insurance. """ - line1: NotRequired[str] + insurance_type: NotRequired[ + Literal["bankruptcy", "cancelation", "emergency", "medical"] + ] """ - Address line 1, such as the street, PO Box, or company name. + Type of insurance """ - line2: NotRequired[str] + price: NotRequired[int] """ - Address line 2, such as the apartment, suite, unit, or building. + Price of insurance in cents. """ - postal_code: NotRequired[str] + + +class PaymentIntentUpdateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataMarketplaceSeller( + TypedDict, +): + line_item_references: NotRequired[List[str]] """ - ZIP or postal code. + The references to line items for purchases with multiple associated sub-sellers. """ - state: NotRequired[str] + marketplace_seller_address: NotRequired[ + "PaymentIntentUpdateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataMarketplaceSellerMarketplaceSellerAddress" + ] """ - State, county, province, or region. + The address of the selling or delivering merchant. """ - - -class PaymentIntentUpdateParamsPaymentMethodOptionsCardThreeDSecure(TypedDict): - ares_trans_status: NotRequired[Literal["A", "C", "I", "N", "R", "U", "Y"]] + marketplace_seller_name: NotRequired[str] """ - The `transStatus` returned from the card Issuer's ACS in the ARes. + The name of the marketplace seller. """ - cryptogram: str + marketplace_seller_reference: NotRequired[str] """ - The cryptogram, also known as the "authentication value" (AAV, CAVV or - AEVV). This value is 20 bytes, base64-encoded into a 28-character string. - (Most 3D Secure providers will return the base64-encoded version, which - is what you should specify here.) + The unique identifier for the marketplace seller. """ - electronic_commerce_indicator: NotRequired[ - Literal["01", "02", "05", "06", "07"] + number_of_transactions: NotRequired[int] + """ + The number of transactions the sub-seller completed in the last 12 months. + """ + product_category: NotRequired[ + Literal[ + "accessories", + "appliances", + "apps_and_games", + "arts_crafts_and_sewing", + "automotive", + "baby", + "baby_clothing", + "bags_and_purses", + "beauty", + "books", + "cds_and_vinyl", + "cell_phones_and_accessories", + "collectibles_and_fine_arts", + "digital_music", + "electronics", + "grocery_and_gourmet_food", + "handmade", + "health_and_personal_care", + "home_and_kitchen", + "industrial_and_scientific", + "luggage_and_travel_gear", + "magazine_subscriptions", + "men_clothing", + "musical_instruments", + "office_products", + "patio_lawn_and_garden", + "pet_supplies", + "shoes", + "software", + "sports_and_outdoors", + "tools_and_home_improvement", + "toys_and_games", + "video_games", + "women_clothing", + ] ] """ - The Electronic Commerce Indicator (ECI) is returned by your 3D Secure - provider and indicates what degree of authentication was performed. + The category of the product. """ - exemption_indicator: NotRequired[Literal["low_risk", "none"]] + seller_last_login_at: NotRequired[int] """ - The exemption requested via 3DS and accepted by the issuer at authentication time. + The date when the seller's account with the marketplace was last logged in. """ - network_options: NotRequired[ - "PaymentIntentUpdateParamsPaymentMethodOptionsCardThreeDSecureNetworkOptions" + seller_rating: NotRequired[ + Literal["high", "low", "medium", "very_high", "very_low"] ] """ - Network specific 3DS fields. Network specific arguments require an - explicit card brand choice. The parameter `payment_method_options.card.network`` - must be populated accordingly + The current rating of the marketplace seller. If the marketplace uses numeric ranking, map these to the enum values. """ - requestor_challenge_indicator: NotRequired[str] + seller_registered_at: NotRequired[int] """ - The challenge indicator (`threeDSRequestorChallengeInd`) which was requested in the - AReq sent to the card Issuer's ACS. A string containing 2 digits from 01-99. + The date when the seller's account with the marketplace was created. """ - transaction_id: str + seller_updated_at: NotRequired[int] """ - For 3D Secure 1, the XID. For 3D Secure 2, the Directory Server - Transaction ID (dsTransID). + The date when the seller's account with the marketplace was last updated. """ - version: Literal["1.0.2", "2.1.0", "2.2.0"] + shipping_references: NotRequired[List[str]] """ - The version of 3D Secure that was performed. + The references to shipping addresses for purchases with multiple associated sub-sellers. """ - - -class PaymentIntentUpdateParamsPaymentMethodOptionsCardThreeDSecureNetworkOptions( - TypedDict, -): - cartes_bancaires: NotRequired[ - "PaymentIntentUpdateParamsPaymentMethodOptionsCardThreeDSecureNetworkOptionsCartesBancaires" - ] + volume_of_transactions: NotRequired[int] """ - Cartes Bancaires-specific 3DS fields. + The accumulated amount of sales transactions made by the sub-merchant or sub-seller within the past 12 months in the payment currency. These transactions are in minor currency units. """ -class PaymentIntentUpdateParamsPaymentMethodOptionsCardThreeDSecureNetworkOptionsCartesBancaires( +class PaymentIntentUpdateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataMarketplaceSellerMarketplaceSellerAddress( TypedDict, ): - cb_avalgo: Literal["0", "1", "2", "3", "4", "A"] + city: NotRequired[str] """ - The cryptogram calculation algorithm used by the card Issuer's ACS - to calculate the Authentication cryptogram. Also known as `cavvAlgorithm`. - messageExtension: CB-AVALGO + The city or town. """ - cb_exemption: NotRequired[str] + country: NotRequired[str] """ - The exemption indicator returned from Cartes Bancaires in the ARes. - message extension: CB-EXEMPTION; string (4 characters) - This is a 3 byte bitmap (low significant byte first and most significant - bit first) that has been Base64 encoded + The country in ISO 3166-1 alpha-2 format. """ - cb_score: NotRequired[int] + postal_code: NotRequired[str] """ - The risk score returned from Cartes Bancaires in the ARes. - message extension: CB-SCORE; numeric value 0-99 + The postal code formatted according to country. """ - - -class PaymentIntentUpdateParamsPaymentMethodOptionsCardPresent(TypedDict): - request_extended_authorization: NotRequired[bool] + region: NotRequired[str] """ - Request ability to capture this payment beyond the standard [authorization validity window](https://stripe.com/docs/terminal/features/extended-authorizations#authorization-validity) + The state, county, province, or region formatted according to country. """ - request_incremental_authorization_support: NotRequired[bool] + street_address: NotRequired[str] """ - Request ability to [increment](https://stripe.com/docs/terminal/features/incremental-authorizations) this PaymentIntent if the combination of MCC and card brand is eligible. Check [incremental_authorization_supported](https://stripe.com/docs/api/charges/object#charge_object-payment_method_details-card_present-incremental_authorization_supported) in the [Confirm](https://stripe.com/docs/api/payment_intents/confirm) response to verify support. + Line 1 of the street address. """ - routing: NotRequired[ - "PaymentIntentUpdateParamsPaymentMethodOptionsCardPresentRouting" - ] + street_address2: NotRequired[str] """ - Network routing priority on co-branded EMV cards supporting domestic debit and international card schemes. + Line 2 of the street address. """ -class PaymentIntentUpdateParamsPaymentMethodOptionsCardPresentRouting( +class PaymentIntentUpdateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataRoundTripReservationDetail( TypedDict, ): - requested_priority: NotRequired[Literal["domestic", "international"]] + affiliate_name: NotRequired[str] """ - Routing requested priority + Name of associated or partner company for the service. """ - - -class PaymentIntentUpdateParamsPaymentMethodOptionsCashapp(TypedDict): - capture_method: NotRequired["Literal['']|Literal['manual']"] + arrival: NotRequired[ + "PaymentIntentUpdateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataRoundTripReservationDetailArrival" + ] """ - Controls when the funds are captured from the customer's account. - - If provided, this parameter overrides the behavior of the top-level [capture_method](https://docs.stripe.com/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type. - - If `capture_method` is already set on the PaymentIntent, providing an empty value for this parameter unsets the stored value for this payment method type. + Arrival details. """ - setup_future_usage: NotRequired[ - "Literal['']|Literal['none', 'off_session', 'on_session']" + carrier_name: NotRequired[str] + """ + Name of transportation company. + """ + currency: NotRequired[str] + """ + Currency. + """ + departure: NotRequired[ + "PaymentIntentUpdateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataRoundTripReservationDetailDeparture" ] """ - Indicates that you intend to make future payments with this PaymentIntent's payment method. - - If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. - - If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. - - When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). - - If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`. + Departure details. """ - - -class PaymentIntentUpdateParamsPaymentMethodOptionsCrypto(TypedDict): - setup_future_usage: NotRequired[Literal["none"]] + insurances: NotRequired[ + List[ + "PaymentIntentUpdateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataRoundTripReservationDetailInsurance" + ] + ] """ - Indicates that you intend to make future payments with this PaymentIntent's payment method. - - If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. - - If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. - - When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). - - If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`. + List of insurances for this reservation. """ - - -class PaymentIntentUpdateParamsPaymentMethodOptionsCustomerBalance(TypedDict): - bank_transfer: NotRequired[ - "PaymentIntentUpdateParamsPaymentMethodOptionsCustomerBalanceBankTransfer" + passengers: NotRequired[ + List[ + "PaymentIntentUpdateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataRoundTripReservationDetailPassenger" + ] ] """ - Configuration for the bank transfer funding type, if the `funding_type` is set to `bank_transfer`. + List of passengers that this reservation applies to. """ - funding_type: NotRequired[Literal["bank_transfer"]] + price: NotRequired[int] """ - The funding method type to be used when there are not enough funds in the customer balance. Permitted values include: `bank_transfer`. + Price in cents. """ - setup_future_usage: NotRequired[Literal["none"]] + ticket_class: NotRequired[ + Literal["business", "economy", "first_class", "premium_economy"] + ] """ - Indicates that you intend to make future payments with this PaymentIntent's payment method. - - If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. - - If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. - - When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). - - If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`. + Ticket class. """ -class PaymentIntentUpdateParamsPaymentMethodOptionsCustomerBalanceBankTransfer( +class PaymentIntentUpdateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataRoundTripReservationDetailArrival( TypedDict, ): - eu_bank_transfer: NotRequired[ - "PaymentIntentUpdateParamsPaymentMethodOptionsCustomerBalanceBankTransferEuBankTransfer" - ] - """ - Configuration for the eu_bank_transfer funding type. - """ - requested_address_types: NotRequired[ - List[ - Literal[ - "aba", "iban", "sepa", "sort_code", "spei", "swift", "zengin" - ] - ] + address: NotRequired[ + "PaymentIntentUpdateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataRoundTripReservationDetailArrivalAddress" ] """ - List of address types that should be returned in the financial_addresses response. If not specified, all valid types will be returned. - - Permitted values include: `sort_code`, `zengin`, `iban`, or `spei`. + Address of the arrival location. """ - type: Literal[ - "eu_bank_transfer", - "gb_bank_transfer", - "jp_bank_transfer", - "mx_bank_transfer", - "us_bank_transfer", - ] + arrival_location: NotRequired[str] """ - The list of bank transfer types that this PaymentIntent is allowed to use for funding Permitted values include: `eu_bank_transfer`, `gb_bank_transfer`, `jp_bank_transfer`, `mx_bank_transfer`, or `us_bank_transfer`. + Identifier name or reference for the arrival location. """ -class PaymentIntentUpdateParamsPaymentMethodOptionsCustomerBalanceBankTransferEuBankTransfer( +class PaymentIntentUpdateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataRoundTripReservationDetailArrivalAddress( TypedDict, ): - country: str + city: NotRequired[str] """ - The desired country code of the bank account information. Permitted values include: `BE`, `DE`, `ES`, `FR`, `IE`, or `NL`. + The city or town. """ - - -class PaymentIntentUpdateParamsPaymentMethodOptionsEps(TypedDict): - setup_future_usage: NotRequired[Literal["none"]] + country: NotRequired[str] """ - Indicates that you intend to make future payments with this PaymentIntent's payment method. - - If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. - - If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. - - When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). - - If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`. + The country in ISO 3166-1 alpha-2 format. """ - - -class PaymentIntentUpdateParamsPaymentMethodOptionsFpx(TypedDict): - setup_future_usage: NotRequired[Literal["none"]] + postal_code: NotRequired[str] """ - Indicates that you intend to make future payments with this PaymentIntent's payment method. - - If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. - - If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. - - When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). - - If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`. + The postal code formatted according to country. """ - - -class PaymentIntentUpdateParamsPaymentMethodOptionsGiropay(TypedDict): - setup_future_usage: NotRequired[Literal["none"]] + region: NotRequired[str] """ - Indicates that you intend to make future payments with this PaymentIntent's payment method. - - If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. - - If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. - - When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). - - If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`. + The state, county, province, or region formatted according to country. """ - - -class PaymentIntentUpdateParamsPaymentMethodOptionsGopay(TypedDict): - setup_future_usage: NotRequired[Literal["none", "off_session"]] + street_address: NotRequired[str] """ - Indicates that you intend to make future payments with this PaymentIntent's payment method. - - If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. - - If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. - - When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). - - If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`. + Line 1 of the street address. """ - - -class PaymentIntentUpdateParamsPaymentMethodOptionsGrabpay(TypedDict): - setup_future_usage: NotRequired[Literal["none"]] + street_address2: NotRequired[str] + """ + Line 2 of the street address. """ - Indicates that you intend to make future payments with this PaymentIntent's payment method. - - If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. - - If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. - When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). - If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`. +class PaymentIntentUpdateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataRoundTripReservationDetailDeparture( + TypedDict, +): + address: NotRequired[ + "PaymentIntentUpdateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataRoundTripReservationDetailDepartureAddress" + ] + """ + Address of the departure location. + """ + departs_at: NotRequired[int] + """ + Timestamp of departure. + """ + departure_location: NotRequired[str] + """ + Identifier name or reference for the origin location. """ -class PaymentIntentUpdateParamsPaymentMethodOptionsIdBankTransfer(TypedDict): - expires_after: NotRequired[int] +class PaymentIntentUpdateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataRoundTripReservationDetailDepartureAddress( + TypedDict, +): + city: NotRequired[str] """ - The UNIX timestamp until which the virtual bank account is valid. Permitted range is from 5 minutes from now until 31 days from now. If unset, it defaults to 3 days from now. + The city or town. """ - expires_at: NotRequired[int] + country: NotRequired[str] """ - The UNIX timestamp until which the virtual bank account is valid. Permitted range is from now until 30 days from now. If unset, it defaults to 1 days from now. + The country in ISO 3166-1 alpha-2 format. """ - setup_future_usage: NotRequired[Literal["none"]] + postal_code: NotRequired[str] """ - Indicates that you intend to make future payments with this PaymentIntent's payment method. - - If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. - - If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. - - When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). - - If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`. + The postal code formatted according to country. + """ + region: NotRequired[str] + """ + The state, county, province, or region formatted according to country. + """ + street_address: NotRequired[str] + """ + Line 1 of the street address. + """ + street_address2: NotRequired[str] + """ + Line 2 of the street address. """ -class PaymentIntentUpdateParamsPaymentMethodOptionsIdeal(TypedDict): - setup_future_usage: NotRequired[ - "Literal['']|Literal['none', 'off_session']" +class PaymentIntentUpdateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataRoundTripReservationDetailInsurance( + TypedDict, +): + currency: NotRequired[str] + """ + Insurance currency. + """ + insurance_company_name: NotRequired[str] + """ + Name of the company providing the insurance. + """ + insurance_type: NotRequired[ + Literal["baggage", "bankruptcy", "cancelation", "emergency", "medical"] ] """ - Indicates that you intend to make future payments with this PaymentIntent's payment method. - - If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. - - If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. - - When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). - - If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`. + Type of insurance. + """ + price: NotRequired[int] + """ + Price of insurance in cents. """ -class PaymentIntentUpdateParamsPaymentMethodOptionsInteracPresent(TypedDict): - pass - - -class PaymentIntentUpdateParamsPaymentMethodOptionsKakaoPay(TypedDict): - capture_method: NotRequired["Literal['']|Literal['manual']"] +class PaymentIntentUpdateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataRoundTripReservationDetailPassenger( + TypedDict, +): + family_name: NotRequired[str] + """ + The family name of the person. + """ + given_name: NotRequired[str] + """ + The given name of the person. """ - Controls when the funds are captured from the customer's account. - If provided, this parameter overrides the behavior of the top-level [capture_method](https://docs.stripe.com/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type. - If `capture_method` is already set on the PaymentIntent, providing an empty value for this parameter unsets the stored value for this payment method type. +class PaymentIntentUpdateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataTrainReservationDetail( + TypedDict, +): + affiliate_name: NotRequired[str] """ - setup_future_usage: NotRequired[ - "Literal['']|Literal['none', 'off_session']" + Name of associated or partner company for the service. + """ + arrival: NotRequired[ + "PaymentIntentUpdateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataTrainReservationDetailArrival" ] """ - Indicates that you intend to make future payments with this PaymentIntent's payment method. - - If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. - - If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. - - When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). + Arrival details. """ - - -class PaymentIntentUpdateParamsPaymentMethodOptionsKlarna(TypedDict): - capture_method: NotRequired["Literal['']|Literal['manual']"] + carrier_name: NotRequired[str] """ - Controls when the funds are captured from the customer's account. - - If provided, this parameter overrides the behavior of the top-level [capture_method](https://docs.stripe.com/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type. - - If `capture_method` is already set on the PaymentIntent, providing an empty value for this parameter unsets the stored value for this payment method type. + Name of transportation company. """ - on_demand: NotRequired[ - "PaymentIntentUpdateParamsPaymentMethodOptionsKlarnaOnDemand" + currency: NotRequired[str] + """ + Currency. + """ + departure: NotRequired[ + "PaymentIntentUpdateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataTrainReservationDetailDeparture" ] """ - On-demand details if setting up or charging an on-demand payment. + Departure details. """ - preferred_locale: NotRequired[ - Literal[ - "cs-CZ", - "da-DK", - "de-AT", - "de-CH", - "de-DE", - "el-GR", - "en-AT", - "en-AU", - "en-BE", - "en-CA", - "en-CH", - "en-CZ", - "en-DE", - "en-DK", - "en-ES", - "en-FI", - "en-FR", - "en-GB", - "en-GR", - "en-IE", - "en-IT", - "en-NL", - "en-NO", - "en-NZ", - "en-PL", - "en-PT", - "en-RO", - "en-SE", - "en-US", - "es-ES", - "es-US", - "fi-FI", - "fr-BE", - "fr-CA", - "fr-CH", - "fr-FR", - "it-CH", - "it-IT", - "nb-NO", - "nl-BE", - "nl-NL", - "pl-PL", - "pt-PT", - "ro-RO", - "sv-FI", - "sv-SE", + insurances: NotRequired[ + List[ + "PaymentIntentUpdateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataTrainReservationDetailInsurance" ] ] """ - Preferred language of the Klarna authorization page that the customer is redirected to + List of insurances for this reservation. """ - setup_future_usage: NotRequired[ - Literal["none", "off_session", "on_session"] + passengers: NotRequired[ + List[ + "PaymentIntentUpdateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataTrainReservationDetailPassenger" + ] ] """ - Indicates that you intend to make future payments with this PaymentIntent's payment method. + List of passengers that this reservation applies to. + """ + price: NotRequired[int] + """ + Price in cents. + """ + ticket_class: NotRequired[ + Literal["business", "economy", "first_class", "premium_economy"] + ] + """ + Ticket class. + """ - If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes. - If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead. +class PaymentIntentUpdateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataTrainReservationDetailArrival( + TypedDict, +): + address: NotRequired[ + "PaymentIntentUpdateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataTrainReservationDetailArrivalAddress" + ] + """ + Address of the arrival location. + """ + arrival_location: NotRequired[str] + """ + Identifier name or reference for the arrival location. + """ - When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). - If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`. +class PaymentIntentUpdateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataTrainReservationDetailArrivalAddress( + TypedDict, +): + city: NotRequired[str] """ - subscriptions: NotRequired[ - "Literal['']|List[PaymentIntentUpdateParamsPaymentMethodOptionsKlarnaSubscription]" + The city or town. + """ + country: NotRequired[str] + """ + The country in ISO 3166-1 alpha-2 format. + """ + postal_code: NotRequired[str] + """ + The postal code formatted according to country. + """ + region: NotRequired[str] + """ + The state, county, province, or region formatted according to country. + """ + street_address: NotRequired[str] + """ + Line 1 of the street address. + """ + street_address2: NotRequired[str] + """ + Line 2 of the street address. + """ + + +class PaymentIntentUpdateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataTrainReservationDetailDeparture( + TypedDict, +): + address: NotRequired[ + "PaymentIntentUpdateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataTrainReservationDetailDepartureAddress" ] """ - Subscription details if setting up or charging a subscription. + Address of the departure location. + """ + departs_at: NotRequired[int] + """ + Timestamp of departure. + """ + departure_location: NotRequired[str] + """ + Identifier name or reference for the origin location. """ -class PaymentIntentUpdateParamsPaymentMethodOptionsKlarnaOnDemand(TypedDict): - average_amount: NotRequired[int] +class PaymentIntentUpdateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataTrainReservationDetailDepartureAddress( + TypedDict, +): + city: NotRequired[str] """ - Your average amount value. You can use a value across your customer base, or segment based on customer type, country, etc. + The city or town. """ - maximum_amount: NotRequired[int] + country: NotRequired[str] """ - The maximum value you may charge a customer per purchase. You can use a value across your customer base, or segment based on customer type, country, etc. + The country in ISO 3166-1 alpha-2 format. """ - minimum_amount: NotRequired[int] + postal_code: NotRequired[str] """ - The lowest or minimum value you may charge a customer per purchase. You can use a value across your customer base, or segment based on customer type, country, etc. + The postal code formatted according to country. """ - purchase_interval: NotRequired[Literal["day", "month", "week", "year"]] + region: NotRequired[str] """ - Interval at which the customer is making purchases + The state, county, province, or region formatted according to country. """ - purchase_interval_count: NotRequired[int] + street_address: NotRequired[str] """ - The number of `purchase_interval` between charges + Line 1 of the street address. + """ + street_address2: NotRequired[str] + """ + Line 2 of the street address. """ -class PaymentIntentUpdateParamsPaymentMethodOptionsKlarnaSubscription( +class PaymentIntentUpdateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataTrainReservationDetailInsurance( TypedDict, ): - interval: Literal["day", "month", "week", "year"] + currency: NotRequired[str] """ - Unit of time between subscription charges. + Insurance currency. """ - interval_count: NotRequired[int] + insurance_company_name: NotRequired[str] """ - The number of intervals (specified in the `interval` attribute) between subscription charges. For example, `interval=month` and `interval_count=3` charges every 3 months. + Name of the company providing the insurance. """ - name: NotRequired[str] + insurance_type: NotRequired[ + Literal["baggage", "bankruptcy", "cancelation", "emergency", "medical"] + ] """ - Name for subscription. + Type of insurance. """ - next_billing: NotRequired[ - "PaymentIntentUpdateParamsPaymentMethodOptionsKlarnaSubscriptionNextBilling" - ] + price: NotRequired[int] """ - Describes the upcoming charge for this subscription. + Price of insurance in cents. """ - reference: str + + +class PaymentIntentUpdateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataTrainReservationDetailPassenger( + TypedDict, +): + family_name: NotRequired[str] """ - A non-customer-facing reference to correlate subscription charges in the Klarna app. Use a value that persists across subscription charges. + The family name of the person. + """ + given_name: NotRequired[str] + """ + The given name of the person. """ -class PaymentIntentUpdateParamsPaymentMethodOptionsKlarnaSubscriptionNextBilling( +class PaymentIntentUpdateParamsPaymentMethodOptionsKlarnaSupplementaryPurchaseDataVoucher( TypedDict, ): - amount: int + affiliate_name: NotRequired[str] """ - The amount of the next charge for the subscription. + Name of associated or partner company for this voucher. """ - date: str + ends_at: NotRequired[int] """ - The date of the next charge for the subscription in YYYY-MM-DD format. + The voucher validity end time. + """ + starts_at: NotRequired[int] + """ + The voucher validity start time. + """ + voucher_company: NotRequired[str] + """ + The issuer or provider of this voucher. + """ + voucher_name: NotRequired[str] + """ + The name or reference to identify the voucher. + """ + voucher_type: NotRequired[ + Literal[ + "digital_product", + "discount", + "gift_card", + "physical_product", + "services", + ] + ] + """ + The type of this voucher. """ @@ -3851,7 +6035,7 @@ class PaymentIntentUpdateParamsPaymentMethodOptionsPaytoMandateOptions( """ amount_type: NotRequired[Literal["fixed", "maximum"]] """ - The type of amount that will be collected. The amount charged must be exact or up to the value of `amount` param for `fixed` or `maximum` type respectively. + The type of amount that will be collected. The amount charged must be exact or up to the value of `amount` param for `fixed` or `maximum` type respectively. Defaults to `maximum`. """ end_date: NotRequired[str] """ @@ -3870,7 +6054,7 @@ class PaymentIntentUpdateParamsPaymentMethodOptionsPaytoMandateOptions( ] ] """ - The periodicity at which payments will be collected. + The periodicity at which payments will be collected. Defaults to `adhoc`. """ payments_per_period: NotRequired[int] """ @@ -3892,7 +6076,7 @@ class PaymentIntentUpdateParamsPaymentMethodOptionsPaytoMandateOptions( ] ] """ - The purpose for which payments are made. Defaults to retail. + The purpose for which payments are made. Has a default value based on your merchant category code. """ @@ -4395,10 +6579,3 @@ class PaymentIntentUpdateParamsTransferData(TypedDict): """ The amount that will be transferred automatically when a charge succeeds. """ - - -class PaymentIntentUpdateParamsAllocatedFunds(TypedDict): - enabled: NotRequired[bool] - """ - Whether Allocated Funds creation is enabled for this PaymentIntent. - """ diff --git a/stripe/params/_payment_method_create_params.py b/stripe/params/_payment_method_create_params.py index 6d0f80739..176861204 100644 --- a/stripe/params/_payment_method_create_params.py +++ b/stripe/params/_payment_method_create_params.py @@ -616,6 +616,7 @@ class PaymentMethodCreateParamsIdeal(TypedDict): "asn_bank", "bunq", "buut", + "finom", "handelsbanken", "ing", "knab", diff --git a/stripe/params/_payment_method_list_params.py b/stripe/params/_payment_method_list_params.py index 6894f0f8b..50d1608d0 100644 --- a/stripe/params/_payment_method_list_params.py +++ b/stripe/params/_payment_method_list_params.py @@ -6,10 +6,18 @@ class PaymentMethodListParams(RequestOptions): + allow_redisplay: NotRequired[Literal["always", "limited", "unspecified"]] + """ + This field indicates whether this payment method can be shown again to its customer in a checkout flow. Stripe products such as Checkout and Elements use this field to determine whether a payment method can be shown as a saved payment method in a checkout flow. + """ customer: NotRequired[str] """ The ID of the customer whose PaymentMethods will be retrieved. """ + customer_account: NotRequired[str] + """ + The ID of the Account whose PaymentMethods will be retrieved. + """ ending_before: NotRequired[str] """ A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list. diff --git a/stripe/params/_quote_create_params.py b/stripe/params/_quote_create_params.py index 1e733f497..db7365bb1 100644 --- a/stripe/params/_quote_create_params.py +++ b/stripe/params/_quote_create_params.py @@ -834,6 +834,12 @@ class QuoteCreateParamsSubscriptionData(TypedDict): """ Controls how prorations and invoices for subscriptions are calculated and orchestrated. """ + billing_schedules: NotRequired[ + "Literal['']|List[QuoteCreateParamsSubscriptionDataBillingSchedule]" + ] + """ + Billing schedules that will be applied to the subscription or subscription schedule created when the quote is accepted. + """ description: NotRequired[str] """ The subscription's description, meant to be displayable to the customer. Use this field to optionally store an explanation of the subscription for rendering in Stripe surfaces and certain local payment methods UIs. @@ -856,6 +862,12 @@ class QuoteCreateParamsSubscriptionData(TypedDict): """ Set of [key-value pairs](https://stripe.com/docs/api/metadata) that will set metadata on the subscription or subscription schedule when the quote is accepted. If a recurring price is included in `line_items`, this field will be passed to the resulting subscription's `metadata` field. If `subscription_data.effective_date` is used, this field will be passed to the resulting subscription schedule's `phases.metadata` field. Unlike object-level metadata, this field is declarative. Updates will clear prior values. """ + phase_effective_at: NotRequired[ + Literal["billing_period_start", "phase_start"] + ] + """ + Configures how the subscription schedule handles billing for phase transitions when the quote is accepted. Possible values are `phase_start` (default) or `billing_period_start`. `phase_start` bills based on the current state of the subscription, ignoring changes scheduled in future phases. `billing_period_start` bills predictively for upcoming phase transitions within the current billing cycle, including pricing changes and service period adjustments that will occur before the next invoice. + """ prebilling: NotRequired[ "Literal['']|QuoteCreateParamsSubscriptionDataPrebilling" ] @@ -878,18 +890,6 @@ class QuoteCreateParamsSubscriptionData(TypedDict): """ Integer representing the number of trial period days before the customer is charged for the first time. """ - billing_schedules: NotRequired[ - "Literal['']|List[QuoteCreateParamsSubscriptionDataBillingSchedule]" - ] - """ - Billing schedules that will be applied to the subscription or subscription schedule created when the quote is accepted. - """ - phase_effective_at: NotRequired[ - Literal["billing_period_start", "phase_start"] - ] - """ - Configures how the subscription schedule handles billing for phase transitions when the quote is accepted. Possible values are `phase_start` (default) or `billing_period_start`. `phase_start` bills based on the current state of the subscription, ignoring changes scheduled in future phases. `billing_period_start` bills predictively for upcoming phase transitions within the current billing cycle, including pricing changes and service period adjustments that will occur before the next invoice. - """ class QuoteCreateParamsSubscriptionDataBillOnAcceptance(TypedDict): @@ -1018,13 +1018,6 @@ class QuoteCreateParamsSubscriptionDataBillingModeFlexible(TypedDict): """ -class QuoteCreateParamsSubscriptionDataPrebilling(TypedDict): - iterations: int - """ - This is used to determine the number of billing cycles to prebill. - """ - - class QuoteCreateParamsSubscriptionDataBillingSchedule(TypedDict): applies_to: NotRequired[ List["QuoteCreateParamsSubscriptionDataBillingScheduleAppliesTo"] @@ -1148,6 +1141,13 @@ class QuoteCreateParamsSubscriptionDataBillingScheduleBillUntilLineEndsAt( """ +class QuoteCreateParamsSubscriptionDataPrebilling(TypedDict): + iterations: int + """ + This is used to determine the number of billing cycles to prebill. + """ + + class QuoteCreateParamsSubscriptionDataOverride(TypedDict): applies_to: "QuoteCreateParamsSubscriptionDataOverrideAppliesTo" """ @@ -1165,6 +1165,12 @@ class QuoteCreateParamsSubscriptionDataOverride(TypedDict): """ Configures when the subscription schedule generates prorations for phase transitions. Possible values are `prorate_on_next_phase` or `prorate_up_front` with the default being `prorate_on_next_phase`. `prorate_on_next_phase` will apply phase changes and generate prorations at transition time. `prorate_up_front` will bill for all phases within the current billing cycle up front. """ + billing_schedules: NotRequired[ + "Literal['']|List[QuoteCreateParamsSubscriptionDataOverrideBillingSchedule]" + ] + """ + Billing schedules that will be applied to the subscription or subscription schedule created when the quote is accepted. + """ customer: NotRequired[str] """ The customer the Subscription Data override applies to. This is only relevant when `applies_to.type=new_reference`. @@ -1177,6 +1183,12 @@ class QuoteCreateParamsSubscriptionDataOverride(TypedDict): """ Behavior of the subscription schedule and underlying subscription when it ends. """ + phase_effective_at: NotRequired[ + Literal["billing_period_start", "phase_start"] + ] + """ + Configures how the subscription schedule handles billing for phase transitions when the quote is accepted. Possible values are `phase_start` (default) or `billing_period_start`. `phase_start` bills based on the current state of the subscription, ignoring changes scheduled in future phases. `billing_period_start` bills predictively for upcoming phase transitions within the current billing cycle, including pricing changes and service period adjustments that will occur before the next invoice. + """ proration_behavior: NotRequired[ Literal["always_invoice", "create_prorations", "none"] ] @@ -1189,18 +1201,6 @@ class QuoteCreateParamsSubscriptionDataOverride(TypedDict): Prorations can be disabled by passing `none`. """ - billing_schedules: NotRequired[ - "Literal['']|List[QuoteCreateParamsSubscriptionDataOverrideBillingSchedule]" - ] - """ - Billing schedules that will be applied to the subscription or subscription schedule created when the quote is accepted. - """ - phase_effective_at: NotRequired[ - Literal["billing_period_start", "phase_start"] - ] - """ - Configures how the subscription schedule handles billing for phase transitions when the quote is accepted. Possible values are `phase_start` (default) or `billing_period_start`. `phase_start` bills based on the current state of the subscription, ignoring changes scheduled in future phases. `billing_period_start` bills predictively for upcoming phase transitions within the current billing cycle, including pricing changes and service period adjustments that will occur before the next invoice. - """ class QuoteCreateParamsSubscriptionDataOverrideAppliesTo(TypedDict): diff --git a/stripe/params/_quote_modify_params.py b/stripe/params/_quote_modify_params.py index ea8b2c9dd..533ca175e 100644 --- a/stripe/params/_quote_modify_params.py +++ b/stripe/params/_quote_modify_params.py @@ -823,6 +823,12 @@ class QuoteModifyParamsSubscriptionData(TypedDict): """ When specified as `reset`, the subscription will always start a new billing period when the quote is accepted. """ + billing_schedules: NotRequired[ + "Literal['']|List[QuoteModifyParamsSubscriptionDataBillingSchedule]" + ] + """ + Billing schedules that will be applied to the subscription or subscription schedule created when the quote is accepted. + """ description: NotRequired["Literal['']|str"] """ The subscription's description, meant to be displayable to the customer. Use this field to optionally store an explanation of the subscription for rendering in Stripe surfaces and certain local payment methods UIs. @@ -841,6 +847,12 @@ class QuoteModifyParamsSubscriptionData(TypedDict): """ Set of [key-value pairs](https://stripe.com/docs/api/metadata) that will set metadata on the subscription or subscription schedule when the quote is accepted. If a recurring price is included in `line_items`, this field will be passed to the resulting subscription's `metadata` field. If `subscription_data.effective_date` is used, this field will be passed to the resulting subscription schedule's `phases.metadata` field. Unlike object-level metadata, this field is declarative. Updates will clear prior values. """ + phase_effective_at: NotRequired[ + Literal["billing_period_start", "phase_start"] + ] + """ + Configures how the subscription schedule handles billing for phase transitions when the quote is accepted. Possible values are `phase_start` (default) or `billing_period_start`. `phase_start` bills based on the current state of the subscription, ignoring changes scheduled in future phases. `billing_period_start` bills predictively for upcoming phase transitions within the current billing cycle, including pricing changes and service period adjustments that will occur before the next invoice. + """ prebilling: NotRequired[ "Literal['']|QuoteModifyParamsSubscriptionDataPrebilling" ] @@ -863,18 +875,6 @@ class QuoteModifyParamsSubscriptionData(TypedDict): """ Integer representing the number of trial period days before the customer is charged for the first time. """ - billing_schedules: NotRequired[ - "Literal['']|List[QuoteModifyParamsSubscriptionDataBillingSchedule]" - ] - """ - Billing schedules that will be applied to the subscription or subscription schedule created when the quote is accepted. - """ - phase_effective_at: NotRequired[ - Literal["billing_period_start", "phase_start"] - ] - """ - Configures how the subscription schedule handles billing for phase transitions when the quote is accepted. Possible values are `phase_start` (default) or `billing_period_start`. `phase_start` bills based on the current state of the subscription, ignoring changes scheduled in future phases. `billing_period_start` bills predictively for upcoming phase transitions within the current billing cycle, including pricing changes and service period adjustments that will occur before the next invoice. - """ class QuoteModifyParamsSubscriptionDataBillOnAcceptance(TypedDict): @@ -983,13 +983,6 @@ class QuoteModifyParamsSubscriptionDataBillOnAcceptanceBillUntilLineEndsAt( """ -class QuoteModifyParamsSubscriptionDataPrebilling(TypedDict): - iterations: int - """ - This is used to determine the number of billing cycles to prebill. - """ - - class QuoteModifyParamsSubscriptionDataBillingSchedule(TypedDict): applies_to: NotRequired[ List["QuoteModifyParamsSubscriptionDataBillingScheduleAppliesTo"] @@ -1117,6 +1110,13 @@ class QuoteModifyParamsSubscriptionDataBillingScheduleBillUntilLineEndsAt( """ +class QuoteModifyParamsSubscriptionDataPrebilling(TypedDict): + iterations: int + """ + This is used to determine the number of billing cycles to prebill. + """ + + class QuoteModifyParamsSubscriptionDataOverride(TypedDict): applies_to: "QuoteModifyParamsSubscriptionDataOverrideAppliesTo" """ @@ -1134,6 +1134,12 @@ class QuoteModifyParamsSubscriptionDataOverride(TypedDict): """ Configures when the subscription schedule generates prorations for phase transitions. Possible values are `prorate_on_next_phase` or `prorate_up_front` with the default being `prorate_on_next_phase`. `prorate_on_next_phase` will apply phase changes and generate prorations at transition time. `prorate_up_front` will bill for all phases within the current billing cycle up front. """ + billing_schedules: NotRequired[ + "Literal['']|List[QuoteModifyParamsSubscriptionDataOverrideBillingSchedule]" + ] + """ + Billing schedules that will be applied to the subscription or subscription schedule created when the quote is accepted. + """ customer: NotRequired[str] """ The customer the Subscription Data override applies to. @@ -1146,6 +1152,12 @@ class QuoteModifyParamsSubscriptionDataOverride(TypedDict): """ Behavior of the subscription schedule and underlying subscription when it ends. """ + phase_effective_at: NotRequired[ + Literal["billing_period_start", "phase_start"] + ] + """ + Configures how the subscription schedule handles billing for phase transitions when the quote is accepted. Possible values are `phase_start` (default) or `billing_period_start`. `phase_start` bills based on the current state of the subscription, ignoring changes scheduled in future phases. `billing_period_start` bills predictively for upcoming phase transitions within the current billing cycle, including pricing changes and service period adjustments that will occur before the next invoice. + """ proration_behavior: NotRequired[ Literal["always_invoice", "create_prorations", "none"] ] @@ -1158,18 +1170,6 @@ class QuoteModifyParamsSubscriptionDataOverride(TypedDict): Prorations can be disabled by passing `none`. """ - billing_schedules: NotRequired[ - "Literal['']|List[QuoteModifyParamsSubscriptionDataOverrideBillingSchedule]" - ] - """ - Billing schedules that will be applied to the subscription or subscription schedule created when the quote is accepted. - """ - phase_effective_at: NotRequired[ - Literal["billing_period_start", "phase_start"] - ] - """ - Configures how the subscription schedule handles billing for phase transitions when the quote is accepted. Possible values are `phase_start` (default) or `billing_period_start`. `phase_start` bills based on the current state of the subscription, ignoring changes scheduled in future phases. `billing_period_start` bills predictively for upcoming phase transitions within the current billing cycle, including pricing changes and service period adjustments that will occur before the next invoice. - """ class QuoteModifyParamsSubscriptionDataOverrideAppliesTo(TypedDict): diff --git a/stripe/params/_quote_update_params.py b/stripe/params/_quote_update_params.py index 188326a36..1184a7b1f 100644 --- a/stripe/params/_quote_update_params.py +++ b/stripe/params/_quote_update_params.py @@ -822,6 +822,12 @@ class QuoteUpdateParamsSubscriptionData(TypedDict): """ When specified as `reset`, the subscription will always start a new billing period when the quote is accepted. """ + billing_schedules: NotRequired[ + "Literal['']|List[QuoteUpdateParamsSubscriptionDataBillingSchedule]" + ] + """ + Billing schedules that will be applied to the subscription or subscription schedule created when the quote is accepted. + """ description: NotRequired["Literal['']|str"] """ The subscription's description, meant to be displayable to the customer. Use this field to optionally store an explanation of the subscription for rendering in Stripe surfaces and certain local payment methods UIs. @@ -840,6 +846,12 @@ class QuoteUpdateParamsSubscriptionData(TypedDict): """ Set of [key-value pairs](https://stripe.com/docs/api/metadata) that will set metadata on the subscription or subscription schedule when the quote is accepted. If a recurring price is included in `line_items`, this field will be passed to the resulting subscription's `metadata` field. If `subscription_data.effective_date` is used, this field will be passed to the resulting subscription schedule's `phases.metadata` field. Unlike object-level metadata, this field is declarative. Updates will clear prior values. """ + phase_effective_at: NotRequired[ + Literal["billing_period_start", "phase_start"] + ] + """ + Configures how the subscription schedule handles billing for phase transitions when the quote is accepted. Possible values are `phase_start` (default) or `billing_period_start`. `phase_start` bills based on the current state of the subscription, ignoring changes scheduled in future phases. `billing_period_start` bills predictively for upcoming phase transitions within the current billing cycle, including pricing changes and service period adjustments that will occur before the next invoice. + """ prebilling: NotRequired[ "Literal['']|QuoteUpdateParamsSubscriptionDataPrebilling" ] @@ -862,18 +874,6 @@ class QuoteUpdateParamsSubscriptionData(TypedDict): """ Integer representing the number of trial period days before the customer is charged for the first time. """ - billing_schedules: NotRequired[ - "Literal['']|List[QuoteUpdateParamsSubscriptionDataBillingSchedule]" - ] - """ - Billing schedules that will be applied to the subscription or subscription schedule created when the quote is accepted. - """ - phase_effective_at: NotRequired[ - Literal["billing_period_start", "phase_start"] - ] - """ - Configures how the subscription schedule handles billing for phase transitions when the quote is accepted. Possible values are `phase_start` (default) or `billing_period_start`. `phase_start` bills based on the current state of the subscription, ignoring changes scheduled in future phases. `billing_period_start` bills predictively for upcoming phase transitions within the current billing cycle, including pricing changes and service period adjustments that will occur before the next invoice. - """ class QuoteUpdateParamsSubscriptionDataBillOnAcceptance(TypedDict): @@ -982,13 +982,6 @@ class QuoteUpdateParamsSubscriptionDataBillOnAcceptanceBillUntilLineEndsAt( """ -class QuoteUpdateParamsSubscriptionDataPrebilling(TypedDict): - iterations: int - """ - This is used to determine the number of billing cycles to prebill. - """ - - class QuoteUpdateParamsSubscriptionDataBillingSchedule(TypedDict): applies_to: NotRequired[ List["QuoteUpdateParamsSubscriptionDataBillingScheduleAppliesTo"] @@ -1116,6 +1109,13 @@ class QuoteUpdateParamsSubscriptionDataBillingScheduleBillUntilLineEndsAt( """ +class QuoteUpdateParamsSubscriptionDataPrebilling(TypedDict): + iterations: int + """ + This is used to determine the number of billing cycles to prebill. + """ + + class QuoteUpdateParamsSubscriptionDataOverride(TypedDict): applies_to: "QuoteUpdateParamsSubscriptionDataOverrideAppliesTo" """ @@ -1133,6 +1133,12 @@ class QuoteUpdateParamsSubscriptionDataOverride(TypedDict): """ Configures when the subscription schedule generates prorations for phase transitions. Possible values are `prorate_on_next_phase` or `prorate_up_front` with the default being `prorate_on_next_phase`. `prorate_on_next_phase` will apply phase changes and generate prorations at transition time. `prorate_up_front` will bill for all phases within the current billing cycle up front. """ + billing_schedules: NotRequired[ + "Literal['']|List[QuoteUpdateParamsSubscriptionDataOverrideBillingSchedule]" + ] + """ + Billing schedules that will be applied to the subscription or subscription schedule created when the quote is accepted. + """ customer: NotRequired[str] """ The customer the Subscription Data override applies to. @@ -1145,6 +1151,12 @@ class QuoteUpdateParamsSubscriptionDataOverride(TypedDict): """ Behavior of the subscription schedule and underlying subscription when it ends. """ + phase_effective_at: NotRequired[ + Literal["billing_period_start", "phase_start"] + ] + """ + Configures how the subscription schedule handles billing for phase transitions when the quote is accepted. Possible values are `phase_start` (default) or `billing_period_start`. `phase_start` bills based on the current state of the subscription, ignoring changes scheduled in future phases. `billing_period_start` bills predictively for upcoming phase transitions within the current billing cycle, including pricing changes and service period adjustments that will occur before the next invoice. + """ proration_behavior: NotRequired[ Literal["always_invoice", "create_prorations", "none"] ] @@ -1157,18 +1169,6 @@ class QuoteUpdateParamsSubscriptionDataOverride(TypedDict): Prorations can be disabled by passing `none`. """ - billing_schedules: NotRequired[ - "Literal['']|List[QuoteUpdateParamsSubscriptionDataOverrideBillingSchedule]" - ] - """ - Billing schedules that will be applied to the subscription or subscription schedule created when the quote is accepted. - """ - phase_effective_at: NotRequired[ - Literal["billing_period_start", "phase_start"] - ] - """ - Configures how the subscription schedule handles billing for phase transitions when the quote is accepted. Possible values are `phase_start` (default) or `billing_period_start`. `phase_start` bills based on the current state of the subscription, ignoring changes scheduled in future phases. `billing_period_start` bills predictively for upcoming phase transitions within the current billing cycle, including pricing changes and service period adjustments that will occur before the next invoice. - """ class QuoteUpdateParamsSubscriptionDataOverrideAppliesTo(TypedDict): diff --git a/stripe/params/_setup_intent_confirm_params.py b/stripe/params/_setup_intent_confirm_params.py index dd6b5f801..2156c8dfe 100644 --- a/stripe/params/_setup_intent_confirm_params.py +++ b/stripe/params/_setup_intent_confirm_params.py @@ -693,6 +693,7 @@ class SetupIntentConfirmParamsPaymentMethodDataIdeal(TypedDict): "asn_bank", "bunq", "buut", + "finom", "handelsbanken", "ing", "knab", @@ -1469,7 +1470,7 @@ class SetupIntentConfirmParamsPaymentMethodOptionsPaytoMandateOptions( """ amount_type: NotRequired[Literal["fixed", "maximum"]] """ - The type of amount that will be collected. The amount charged must be exact or up to the value of `amount` param for `fixed` or `maximum` type respectively. + The type of amount that will be collected. The amount charged must be exact or up to the value of `amount` param for `fixed` or `maximum` type respectively. Defaults to `maximum`. """ end_date: NotRequired[str] """ @@ -1488,7 +1489,7 @@ class SetupIntentConfirmParamsPaymentMethodOptionsPaytoMandateOptions( ] ] """ - The periodicity at which payments will be collected. + The periodicity at which payments will be collected. Defaults to `adhoc`. """ payments_per_period: NotRequired[int] """ @@ -1510,7 +1511,7 @@ class SetupIntentConfirmParamsPaymentMethodOptionsPaytoMandateOptions( ] ] """ - The purpose for which payments are made. Defaults to retail. + The purpose for which payments are made. Has a default value based on your merchant category code. """ start_date: NotRequired[str] """ diff --git a/stripe/params/_setup_intent_create_params.py b/stripe/params/_setup_intent_create_params.py index 3d71141ea..76ce289b0 100644 --- a/stripe/params/_setup_intent_create_params.py +++ b/stripe/params/_setup_intent_create_params.py @@ -824,6 +824,7 @@ class SetupIntentCreateParamsPaymentMethodDataIdeal(TypedDict): "asn_bank", "bunq", "buut", + "finom", "handelsbanken", "ing", "knab", @@ -1596,7 +1597,7 @@ class SetupIntentCreateParamsPaymentMethodOptionsPaytoMandateOptions( """ amount_type: NotRequired[Literal["fixed", "maximum"]] """ - The type of amount that will be collected. The amount charged must be exact or up to the value of `amount` param for `fixed` or `maximum` type respectively. + The type of amount that will be collected. The amount charged must be exact or up to the value of `amount` param for `fixed` or `maximum` type respectively. Defaults to `maximum`. """ end_date: NotRequired[str] """ @@ -1615,7 +1616,7 @@ class SetupIntentCreateParamsPaymentMethodOptionsPaytoMandateOptions( ] ] """ - The periodicity at which payments will be collected. + The periodicity at which payments will be collected. Defaults to `adhoc`. """ payments_per_period: NotRequired[int] """ @@ -1637,7 +1638,7 @@ class SetupIntentCreateParamsPaymentMethodOptionsPaytoMandateOptions( ] ] """ - The purpose for which payments are made. Defaults to retail. + The purpose for which payments are made. Has a default value based on your merchant category code. """ start_date: NotRequired[str] """ diff --git a/stripe/params/_setup_intent_modify_params.py b/stripe/params/_setup_intent_modify_params.py index eefc30d81..3df8077a1 100644 --- a/stripe/params/_setup_intent_modify_params.py +++ b/stripe/params/_setup_intent_modify_params.py @@ -665,6 +665,7 @@ class SetupIntentModifyParamsPaymentMethodDataIdeal(TypedDict): "asn_bank", "bunq", "buut", + "finom", "handelsbanken", "ing", "knab", @@ -1437,7 +1438,7 @@ class SetupIntentModifyParamsPaymentMethodOptionsPaytoMandateOptions( """ amount_type: NotRequired[Literal["fixed", "maximum"]] """ - The type of amount that will be collected. The amount charged must be exact or up to the value of `amount` param for `fixed` or `maximum` type respectively. + The type of amount that will be collected. The amount charged must be exact or up to the value of `amount` param for `fixed` or `maximum` type respectively. Defaults to `maximum`. """ end_date: NotRequired[str] """ @@ -1456,7 +1457,7 @@ class SetupIntentModifyParamsPaymentMethodOptionsPaytoMandateOptions( ] ] """ - The periodicity at which payments will be collected. + The periodicity at which payments will be collected. Defaults to `adhoc`. """ payments_per_period: NotRequired[int] """ @@ -1478,7 +1479,7 @@ class SetupIntentModifyParamsPaymentMethodOptionsPaytoMandateOptions( ] ] """ - The purpose for which payments are made. Defaults to retail. + The purpose for which payments are made. Has a default value based on your merchant category code. """ start_date: NotRequired[str] """ diff --git a/stripe/params/_setup_intent_update_params.py b/stripe/params/_setup_intent_update_params.py index db8d2c7ef..7305b87b3 100644 --- a/stripe/params/_setup_intent_update_params.py +++ b/stripe/params/_setup_intent_update_params.py @@ -664,6 +664,7 @@ class SetupIntentUpdateParamsPaymentMethodDataIdeal(TypedDict): "asn_bank", "bunq", "buut", + "finom", "handelsbanken", "ing", "knab", @@ -1436,7 +1437,7 @@ class SetupIntentUpdateParamsPaymentMethodOptionsPaytoMandateOptions( """ amount_type: NotRequired[Literal["fixed", "maximum"]] """ - The type of amount that will be collected. The amount charged must be exact or up to the value of `amount` param for `fixed` or `maximum` type respectively. + The type of amount that will be collected. The amount charged must be exact or up to the value of `amount` param for `fixed` or `maximum` type respectively. Defaults to `maximum`. """ end_date: NotRequired[str] """ @@ -1455,7 +1456,7 @@ class SetupIntentUpdateParamsPaymentMethodOptionsPaytoMandateOptions( ] ] """ - The periodicity at which payments will be collected. + The periodicity at which payments will be collected. Defaults to `adhoc`. """ payments_per_period: NotRequired[int] """ @@ -1477,7 +1478,7 @@ class SetupIntentUpdateParamsPaymentMethodOptionsPaytoMandateOptions( ] ] """ - The purpose for which payments are made. Defaults to retail. + The purpose for which payments are made. Has a default value based on your merchant category code. """ start_date: NotRequired[str] """ diff --git a/stripe/params/_subscription_schedule_modify_params.py b/stripe/params/_subscription_schedule_modify_params.py index e712be237..df83a3c41 100644 --- a/stripe/params/_subscription_schedule_modify_params.py +++ b/stripe/params/_subscription_schedule_modify_params.py @@ -45,7 +45,7 @@ class SubscriptionScheduleModifyParams(RequestOptions): If the update changes the billing configuration (item price, quantity, etc.) of the current phase, indicates how prorations from this change should be handled. The default value is `create_prorations`. """ billing_schedules: NotRequired[ - List["SubscriptionScheduleModifyParamsBillingSchedule"] + "Literal['']|List[SubscriptionScheduleModifyParamsBillingSchedule]" ] """ Sets the billing schedules for the subscription schedule. diff --git a/stripe/params/_subscription_schedule_update_params.py b/stripe/params/_subscription_schedule_update_params.py index a5f935d56..2500dce55 100644 --- a/stripe/params/_subscription_schedule_update_params.py +++ b/stripe/params/_subscription_schedule_update_params.py @@ -44,7 +44,7 @@ class SubscriptionScheduleUpdateParams(TypedDict): If the update changes the billing configuration (item price, quantity, etc.) of the current phase, indicates how prorations from this change should be handled. The default value is `create_prorations`. """ billing_schedules: NotRequired[ - List["SubscriptionScheduleUpdateParamsBillingSchedule"] + "Literal['']|List[SubscriptionScheduleUpdateParamsBillingSchedule]" ] """ Sets the billing schedules for the subscription schedule. diff --git a/stripe/params/_token_create_params.py b/stripe/params/_token_create_params.py index 7e2a3b46c..bf437b523 100644 --- a/stripe/params/_token_create_params.py +++ b/stripe/params/_token_create_params.py @@ -430,14 +430,6 @@ class TokenCreateParamsAccountIndividual(TypedDict): """ Describes the person's relationship to the account. """ - ssn_last_4: NotRequired[str] - """ - The last four digits of the individual's Social Security Number (U.S. only). - """ - verification: NotRequired["TokenCreateParamsAccountIndividualVerification"] - """ - The individual's verification document information. - """ self_reported_income: NotRequired[ "TokenCreateParamsAccountIndividualSelfReportedIncome" ] @@ -450,6 +442,14 @@ class TokenCreateParamsAccountIndividual(TypedDict): """ The credit applicant's self-reported monthly housing payment in minor units. """ + ssn_last_4: NotRequired[str] + """ + The last four digits of the individual's Social Security Number (U.S. only). + """ + verification: NotRequired["TokenCreateParamsAccountIndividualVerification"] + """ + The individual's verification document information. + """ class TokenCreateParamsAccountIndividualAddress(TypedDict): @@ -606,6 +606,18 @@ class TokenCreateParamsAccountIndividualRelationship(TypedDict): """ +class TokenCreateParamsAccountIndividualSelfReportedIncome(TypedDict): + amount: int + currency: str + + +class TokenCreateParamsAccountIndividualSelfReportedMonthlyHousingPayment( + TypedDict, +): + amount: int + currency: str + + class TokenCreateParamsAccountIndividualVerification(TypedDict): additional_document: NotRequired[ "TokenCreateParamsAccountIndividualVerificationAdditionalDocument" @@ -645,18 +657,6 @@ class TokenCreateParamsAccountIndividualVerificationDocument(TypedDict): """ -class TokenCreateParamsAccountIndividualSelfReportedIncome(TypedDict): - amount: int - currency: str - - -class TokenCreateParamsAccountIndividualSelfReportedMonthlyHousingPayment( - TypedDict, -): - amount: int - currency: str - - class TokenCreateParamsBankAccount(TypedDict): account_holder_name: NotRequired[str] """ @@ -860,18 +860,6 @@ class TokenCreateParamsPerson(TypedDict): """ The relationship that this person has with the account's legal entity. """ - ssn_last_4: NotRequired[str] - """ - The last four digits of the person's Social Security number (U.S. only). - """ - us_cfpb_data: NotRequired["TokenCreateParamsPersonUsCfpbData"] - """ - Demographic data related to the person. - """ - verification: NotRequired["TokenCreateParamsPersonVerification"] - """ - The person's verification status. - """ self_reported_income: NotRequired[ "TokenCreateParamsPersonSelfReportedIncome" ] @@ -884,6 +872,18 @@ class TokenCreateParamsPerson(TypedDict): """ The credit applicant's self-reported monthly housing payment in minor units. """ + ssn_last_4: NotRequired[str] + """ + The last four digits of the person's Social Security number (U.S. only). + """ + us_cfpb_data: NotRequired["TokenCreateParamsPersonUsCfpbData"] + """ + Demographic data related to the person. + """ + verification: NotRequired["TokenCreateParamsPersonVerification"] + """ + The person's verification status. + """ class TokenCreateParamsPersonAdditionalTosAcceptances(TypedDict): @@ -1114,6 +1114,16 @@ class TokenCreateParamsPersonRelationship(TypedDict): """ +class TokenCreateParamsPersonSelfReportedIncome(TypedDict): + amount: int + currency: str + + +class TokenCreateParamsPersonSelfReportedMonthlyHousingPayment(TypedDict): + amount: int + currency: str + + class TokenCreateParamsPersonUsCfpbData(TypedDict): ethnicity_details: NotRequired[ "TokenCreateParamsPersonUsCfpbDataEthnicityDetails" @@ -1229,16 +1239,6 @@ class TokenCreateParamsPersonVerificationDocument(TypedDict): """ -class TokenCreateParamsPersonSelfReportedIncome(TypedDict): - amount: int - currency: str - - -class TokenCreateParamsPersonSelfReportedMonthlyHousingPayment(TypedDict): - amount: int - currency: str - - class TokenCreateParamsPii(TypedDict): id_number: NotRequired[str] """ diff --git a/stripe/params/_transfer_create_params.py b/stripe/params/_transfer_create_params.py index 8ab0675cb..52840b2f0 100644 --- a/stripe/params/_transfer_create_params.py +++ b/stripe/params/_transfer_create_params.py @@ -10,6 +10,7 @@ class TransferCreateParams(RequestOptions): """ A positive integer in cents (or local equivalent) representing how much to transfer. """ + application_fee_amount: NotRequired[int] currency: str """ Three-letter [ISO code for currency](https://www.iso.org/iso-4217-currency-codes.html) in lowercase. Must be a [supported currency](https://docs.stripe.com/currencies). @@ -46,4 +47,3 @@ class TransferCreateParams(RequestOptions): """ A string that identifies this transaction as part of a group. See the [Connect documentation](https://stripe.com/docs/connect/separate-charges-and-transfers#transfer-options) for details. """ - application_fee_amount: NotRequired[int] diff --git a/stripe/params/_webhook_endpoint_create_params.py b/stripe/params/_webhook_endpoint_create_params.py index 5a31d105c..9af48e104 100644 --- a/stripe/params/_webhook_endpoint_create_params.py +++ b/stripe/params/_webhook_endpoint_create_params.py @@ -125,6 +125,7 @@ class WebhookEndpointCreateParams(RequestOptions): "2025-08-27.basil", "2025-09-30.clover", "2025-10-29.clover", + "2025-11-17.clover", ] ] """ @@ -160,6 +161,7 @@ class WebhookEndpointCreateParams(RequestOptions): "billing_portal.session.created", "capability.updated", "capital.financing_offer.accepted", + "capital.financing_offer.accepted_other_offer", "capital.financing_offer.canceled", "capital.financing_offer.created", "capital.financing_offer.expired", @@ -227,6 +229,7 @@ class WebhookEndpointCreateParams(RequestOptions): "customer_cash_balance_transaction.created", "entitlements.active_entitlement_summary.updated", "file.created", + "financial_connections.account.account_numbers_updated", "financial_connections.account.created", "financial_connections.account.deactivated", "financial_connections.account.disconnected", @@ -235,6 +238,7 @@ class WebhookEndpointCreateParams(RequestOptions): "financial_connections.account.refreshed_inferred_balances", "financial_connections.account.refreshed_ownership", "financial_connections.account.refreshed_transactions", + "financial_connections.account.upcoming_account_number_expiry", "financial_connections.session.updated", "fx_quote.expired", "identity.verification_session.canceled", diff --git a/stripe/params/_webhook_endpoint_modify_params.py b/stripe/params/_webhook_endpoint_modify_params.py index 4ad000b7e..1d9885c35 100644 --- a/stripe/params/_webhook_endpoint_modify_params.py +++ b/stripe/params/_webhook_endpoint_modify_params.py @@ -37,6 +37,7 @@ class WebhookEndpointModifyParams(RequestOptions): "billing_portal.session.created", "capability.updated", "capital.financing_offer.accepted", + "capital.financing_offer.accepted_other_offer", "capital.financing_offer.canceled", "capital.financing_offer.created", "capital.financing_offer.expired", @@ -104,6 +105,7 @@ class WebhookEndpointModifyParams(RequestOptions): "customer_cash_balance_transaction.created", "entitlements.active_entitlement_summary.updated", "file.created", + "financial_connections.account.account_numbers_updated", "financial_connections.account.created", "financial_connections.account.deactivated", "financial_connections.account.disconnected", @@ -112,6 +114,7 @@ class WebhookEndpointModifyParams(RequestOptions): "financial_connections.account.refreshed_inferred_balances", "financial_connections.account.refreshed_ownership", "financial_connections.account.refreshed_transactions", + "financial_connections.account.upcoming_account_number_expiry", "financial_connections.session.updated", "fx_quote.expired", "identity.verification_session.canceled", diff --git a/stripe/params/_webhook_endpoint_update_params.py b/stripe/params/_webhook_endpoint_update_params.py index aba2f6d80..b1a10dd74 100644 --- a/stripe/params/_webhook_endpoint_update_params.py +++ b/stripe/params/_webhook_endpoint_update_params.py @@ -36,6 +36,7 @@ class WebhookEndpointUpdateParams(TypedDict): "billing_portal.session.created", "capability.updated", "capital.financing_offer.accepted", + "capital.financing_offer.accepted_other_offer", "capital.financing_offer.canceled", "capital.financing_offer.created", "capital.financing_offer.expired", @@ -103,6 +104,7 @@ class WebhookEndpointUpdateParams(TypedDict): "customer_cash_balance_transaction.created", "entitlements.active_entitlement_summary.updated", "file.created", + "financial_connections.account.account_numbers_updated", "financial_connections.account.created", "financial_connections.account.deactivated", "financial_connections.account.disconnected", @@ -111,6 +113,7 @@ class WebhookEndpointUpdateParams(TypedDict): "financial_connections.account.refreshed_inferred_balances", "financial_connections.account.refreshed_ownership", "financial_connections.account.refreshed_transactions", + "financial_connections.account.upcoming_account_number_expiry", "financial_connections.session.updated", "fx_quote.expired", "identity.verification_session.canceled", diff --git a/stripe/params/billing/analytics/_meter_usage_retrieve_params.py b/stripe/params/billing/analytics/_meter_usage_retrieve_params.py index 09e34311c..67ce43ae3 100644 --- a/stripe/params/billing/analytics/_meter_usage_retrieve_params.py +++ b/stripe/params/billing/analytics/_meter_usage_retrieve_params.py @@ -639,9 +639,9 @@ class MeterUsageRetrieveParams(RequestOptions): class MeterUsageRetrieveParamsMeter(TypedDict): - dimension_filters: NotRequired[Dict[str, str]] + dimension_filters: NotRequired[Dict[str, List[str]]] """ - Key-value pairs used to filter usage events by meter dimension values. If specified, usage will be filtered for matching usage events. + Key-value pairs used to filter usage events by meter dimension values. Each value is an array that can include multiple values for the key. If specified, usage is filtered for matching usage events. """ dimension_group_by_keys: NotRequired[List[str]] """ @@ -651,9 +651,9 @@ class MeterUsageRetrieveParamsMeter(TypedDict): """ Meter id to query usage for. """ - tenant_filters: NotRequired[Dict[str, str]] + tenant_filters: NotRequired[Dict[str, List[str]]] """ - Key-value pairs used to filter usage events by high cardinality tenant dimension values. If specified, usage will be filtered for matching usage events. + Key-value pairs used to filter usage events by high cardinality tenant dimension values. Each value is an array that can include multiple values for the key. If specified, usage is filtered for matching usage events. """ tenant_group_by_keys: NotRequired[List[str]] """ diff --git a/stripe/params/checkout/_session_create_params.py b/stripe/params/checkout/_session_create_params.py index 75f71c41c..2a5631d2f 100644 --- a/stripe/params/checkout/_session_create_params.py +++ b/stripe/params/checkout/_session_create_params.py @@ -2218,7 +2218,7 @@ class SessionCreateParamsPaymentMethodOptionsPaytoMandateOptions(TypedDict): """ amount_type: NotRequired[Literal["fixed", "maximum"]] """ - The type of amount that will be collected. The amount charged must be exact or up to the value of `amount` param for `fixed` or `maximum` type respectively. + The type of amount that will be collected. The amount charged must be exact or up to the value of `amount` param for `fixed` or `maximum` type respectively. Defaults to `maximum`. """ end_date: NotRequired[str] """ @@ -2237,7 +2237,7 @@ class SessionCreateParamsPaymentMethodOptionsPaytoMandateOptions(TypedDict): ] ] """ - The periodicity at which payments will be collected. + The periodicity at which payments will be collected. Defaults to `adhoc`. """ payments_per_period: NotRequired[int] """ @@ -2259,7 +2259,7 @@ class SessionCreateParamsPaymentMethodOptionsPaytoMandateOptions(TypedDict): ] ] """ - The purpose for which payments are made. Defaults to retail. + The purpose for which payments are made. Has a default value based on your merchant category code. """ start_date: NotRequired[str] """ diff --git a/stripe/params/issuing/__init__.py b/stripe/params/issuing/__init__.py index d38154cfe..09ed0eff8 100644 --- a/stripe/params/issuing/__init__.py +++ b/stripe/params/issuing/__init__.py @@ -36,6 +36,7 @@ AuthorizationCreateParamsNetworkData as AuthorizationCreateParamsNetworkData, AuthorizationCreateParamsRiskAssessment as AuthorizationCreateParamsRiskAssessment, AuthorizationCreateParamsRiskAssessmentCardTestingRisk as AuthorizationCreateParamsRiskAssessmentCardTestingRisk, + AuthorizationCreateParamsRiskAssessmentFraudRisk as AuthorizationCreateParamsRiskAssessmentFraudRisk, AuthorizationCreateParamsRiskAssessmentMerchantDisputeRisk as AuthorizationCreateParamsRiskAssessmentMerchantDisputeRisk, AuthorizationCreateParamsVerificationData as AuthorizationCreateParamsVerificationData, AuthorizationCreateParamsVerificationDataAuthenticationExemption as AuthorizationCreateParamsVerificationDataAuthenticationExemption, @@ -503,6 +504,10 @@ "stripe.params.issuing._authorization_create_params", False, ), + "AuthorizationCreateParamsRiskAssessmentFraudRisk": ( + "stripe.params.issuing._authorization_create_params", + False, + ), "AuthorizationCreateParamsRiskAssessmentMerchantDisputeRisk": ( "stripe.params.issuing._authorization_create_params", False, diff --git a/stripe/params/issuing/_authorization_create_params.py b/stripe/params/issuing/_authorization_create_params.py index c5831f78c..606a10552 100644 --- a/stripe/params/issuing/_authorization_create_params.py +++ b/stripe/params/issuing/_authorization_create_params.py @@ -577,6 +577,10 @@ class AuthorizationCreateParamsRiskAssessment(TypedDict): """ Stripe's assessment of this authorization's likelihood of being card testing activity. """ + fraud_risk: NotRequired["AuthorizationCreateParamsRiskAssessmentFraudRisk"] + """ + Stripe's assessment of this authorization's likelihood to be fraudulent. + """ merchant_dispute_risk: NotRequired[ "AuthorizationCreateParamsRiskAssessmentMerchantDisputeRisk" ] @@ -602,6 +606,19 @@ class AuthorizationCreateParamsRiskAssessmentCardTestingRisk(TypedDict): """ +class AuthorizationCreateParamsRiskAssessmentFraudRisk(TypedDict): + level: Literal[ + "elevated", "highest", "low", "normal", "not_assessed", "unknown" + ] + """ + Stripe's assessment of the likelihood of fraud on an authorization. + """ + score: NotRequired[float] + """ + Stripe's numerical model score assessing the likelihood of fraudulent activity. A higher score means a higher likelihood of fraudulent activity, and anything above 25 is considered high risk. + """ + + class AuthorizationCreateParamsRiskAssessmentMerchantDisputeRisk(TypedDict): dispute_rate: NotRequired[int] """ diff --git a/stripe/params/radar/__init__.py b/stripe/params/radar/__init__.py index 92577d44a..4066820d3 100644 --- a/stripe/params/radar/__init__.py +++ b/stripe/params/radar/__init__.py @@ -4,6 +4,23 @@ from typing_extensions import TYPE_CHECKING if TYPE_CHECKING: + from stripe.params.radar._account_evaluation_create_params import ( + AccountEvaluationCreateParams as AccountEvaluationCreateParams, + AccountEvaluationCreateParamsLoginInitiated as AccountEvaluationCreateParamsLoginInitiated, + AccountEvaluationCreateParamsLoginInitiatedClientDeviceMetadataDetails as AccountEvaluationCreateParamsLoginInitiatedClientDeviceMetadataDetails, + AccountEvaluationCreateParamsRegistrationInitiated as AccountEvaluationCreateParamsRegistrationInitiated, + AccountEvaluationCreateParamsRegistrationInitiatedClientDeviceMetadataDetails as AccountEvaluationCreateParamsRegistrationInitiatedClientDeviceMetadataDetails, + AccountEvaluationCreateParamsRegistrationInitiatedCustomerData as AccountEvaluationCreateParamsRegistrationInitiatedCustomerData, + ) + from stripe.params.radar._account_evaluation_modify_params import ( + AccountEvaluationModifyParams as AccountEvaluationModifyParams, + ) + from stripe.params.radar._account_evaluation_retrieve_params import ( + AccountEvaluationRetrieveParams as AccountEvaluationRetrieveParams, + ) + from stripe.params.radar._account_evaluation_update_params import ( + AccountEvaluationUpdateParams as AccountEvaluationUpdateParams, + ) from stripe.params.radar._early_fraud_warning_list_params import ( EarlyFraudWarningListParams as EarlyFraudWarningListParams, EarlyFraudWarningListParamsCreated as EarlyFraudWarningListParamsCreated, @@ -46,6 +63,42 @@ # name -> (import_target, is_submodule) _import_map = { + "AccountEvaluationCreateParams": ( + "stripe.params.radar._account_evaluation_create_params", + False, + ), + "AccountEvaluationCreateParamsLoginInitiated": ( + "stripe.params.radar._account_evaluation_create_params", + False, + ), + "AccountEvaluationCreateParamsLoginInitiatedClientDeviceMetadataDetails": ( + "stripe.params.radar._account_evaluation_create_params", + False, + ), + "AccountEvaluationCreateParamsRegistrationInitiated": ( + "stripe.params.radar._account_evaluation_create_params", + False, + ), + "AccountEvaluationCreateParamsRegistrationInitiatedClientDeviceMetadataDetails": ( + "stripe.params.radar._account_evaluation_create_params", + False, + ), + "AccountEvaluationCreateParamsRegistrationInitiatedCustomerData": ( + "stripe.params.radar._account_evaluation_create_params", + False, + ), + "AccountEvaluationModifyParams": ( + "stripe.params.radar._account_evaluation_modify_params", + False, + ), + "AccountEvaluationRetrieveParams": ( + "stripe.params.radar._account_evaluation_retrieve_params", + False, + ), + "AccountEvaluationUpdateParams": ( + "stripe.params.radar._account_evaluation_update_params", + False, + ), "EarlyFraudWarningListParams": ( "stripe.params.radar._early_fraud_warning_list_params", False, diff --git a/stripe/params/radar/_account_evaluation_create_params.py b/stripe/params/radar/_account_evaluation_create_params.py new file mode 100644 index 000000000..9746655a1 --- /dev/null +++ b/stripe/params/radar/_account_evaluation_create_params.py @@ -0,0 +1,89 @@ +# -*- coding: utf-8 -*- +# File generated from our OpenAPI spec +from stripe._request_options import RequestOptions +from typing import List +from typing_extensions import Literal, NotRequired, TypedDict + + +class AccountEvaluationCreateParams(RequestOptions): + expand: NotRequired[List[str]] + """ + Specifies which fields in the response should be expanded. + """ + login_initiated: NotRequired["AccountEvaluationCreateParamsLoginInitiated"] + """ + Event payload for login_initiated. + """ + registration_initiated: NotRequired[ + "AccountEvaluationCreateParamsRegistrationInitiated" + ] + """ + Event payload for registration_initiated. + """ + type: Literal["login_initiated", "registration_initiated"] + """ + The type of evaluation requested. + """ + + +class AccountEvaluationCreateParamsLoginInitiated(TypedDict): + client_device_metadata_details: "AccountEvaluationCreateParamsLoginInitiatedClientDeviceMetadataDetails" + """ + Client device metadata details (e.g., radar_session). + """ + customer: str + """ + Stripe customer ID + """ + + +class AccountEvaluationCreateParamsLoginInitiatedClientDeviceMetadataDetails( + TypedDict, +): + radar_session: str + """ + ID for the Radar Session associated with the account evaluation. + """ + + +class AccountEvaluationCreateParamsRegistrationInitiated(TypedDict): + client_device_metadata_details: "AccountEvaluationCreateParamsRegistrationInitiatedClientDeviceMetadataDetails" + """ + Client device metadata details (e.g., radar_session). + """ + customer: NotRequired[str] + """ + Stripe customer ID + """ + customer_data: NotRequired[ + "AccountEvaluationCreateParamsRegistrationInitiatedCustomerData" + ] + """ + Customer data + """ + + +class AccountEvaluationCreateParamsRegistrationInitiatedClientDeviceMetadataDetails( + TypedDict, +): + radar_session: str + """ + ID for the Radar Session associated with the account evaluation. + """ + + +class AccountEvaluationCreateParamsRegistrationInitiatedCustomerData( + TypedDict +): + email: NotRequired[str] + """ + Customer email + """ + name: NotRequired[str] + """ + Customer name + """ + phone: NotRequired[str] + """ + Customer phone + """ diff --git a/stripe/params/radar/_account_evaluation_modify_params.py b/stripe/params/radar/_account_evaluation_modify_params.py new file mode 100644 index 000000000..ef24cadcb --- /dev/null +++ b/stripe/params/radar/_account_evaluation_modify_params.py @@ -0,0 +1,16 @@ +# -*- coding: utf-8 -*- +# File generated from our OpenAPI spec +from stripe._request_options import RequestOptions +from typing import List +from typing_extensions import Literal, NotRequired + + +class AccountEvaluationModifyParams(RequestOptions): + expand: NotRequired[List[str]] + """ + Specifies which fields in the response should be expanded. + """ + type: Literal["registration_succeeded"] + """ + The type of event to report. + """ diff --git a/stripe/params/radar/_account_evaluation_retrieve_params.py b/stripe/params/radar/_account_evaluation_retrieve_params.py new file mode 100644 index 000000000..675cc0023 --- /dev/null +++ b/stripe/params/radar/_account_evaluation_retrieve_params.py @@ -0,0 +1,12 @@ +# -*- coding: utf-8 -*- +# File generated from our OpenAPI spec +from stripe._request_options import RequestOptions +from typing import List +from typing_extensions import NotRequired + + +class AccountEvaluationRetrieveParams(RequestOptions): + expand: NotRequired[List[str]] + """ + Specifies which fields in the response should be expanded. + """ diff --git a/stripe/params/radar/_account_evaluation_update_params.py b/stripe/params/radar/_account_evaluation_update_params.py new file mode 100644 index 000000000..5d9729f7f --- /dev/null +++ b/stripe/params/radar/_account_evaluation_update_params.py @@ -0,0 +1,15 @@ +# -*- coding: utf-8 -*- +# File generated from our OpenAPI spec +from typing import List +from typing_extensions import Literal, NotRequired, TypedDict + + +class AccountEvaluationUpdateParams(TypedDict): + expand: NotRequired[List[str]] + """ + Specifies which fields in the response should be expanded. + """ + type: Literal["registration_succeeded"] + """ + The type of event to report. + """ diff --git a/stripe/params/tax/_registration_create_params.py b/stripe/params/tax/_registration_create_params.py index cca7d5c29..01e660e14 100644 --- a/stripe/params/tax/_registration_create_params.py +++ b/stripe/params/tax/_registration_create_params.py @@ -1784,7 +1784,7 @@ class RegistrationCreateParamsCountryOptionsUs(TypedDict): class RegistrationCreateParamsCountryOptionsUsLocalAmusementTax(TypedDict): jurisdiction: str """ - A [FIPS code](https://www.census.gov/library/reference/code-lists/ansi.html) representing the local jurisdiction. Supported FIPS codes are: `14000` (Chicago), `06613` (Bloomington), `21696` (East Dundee), `24582` (Evanston), `45421` (Lynwood), `48892` (Midlothian), `64343` (River Grove), and `68081` (Schiller Park). + A [FIPS code](https://www.census.gov/library/reference/code-lists/ansi.html) representing the local jurisdiction. Supported FIPS codes are: `14000` (Chicago), `02154` (Arlington Heights), `06613` (Bloomington), `10906` (Campton Hills), `21696` (East Dundee), `24582` (Evanston), `45421` (Lynwood), `48892` (Midlothian), `64343` (River Grove), and `68081` (Schiller Park). """ diff --git a/stripe/params/terminal/_configuration_create_params.py b/stripe/params/terminal/_configuration_create_params.py index 9109080da..b5e00a9fc 100644 --- a/stripe/params/terminal/_configuration_create_params.py +++ b/stripe/params/terminal/_configuration_create_params.py @@ -8,11 +8,11 @@ class ConfigurationCreateParams(RequestOptions): bbpos_wisepad3: NotRequired["ConfigurationCreateParamsBbposWisepad3"] """ - An object containing device type specific settings for BBPOS WisePad 3 readers + An object containing device type specific settings for BBPOS WisePad 3 readers. """ bbpos_wisepos_e: NotRequired["ConfigurationCreateParamsBbposWiseposE"] """ - An object containing device type specific settings for BBPOS WisePOS E readers + An object containing device type specific settings for BBPOS WisePOS E readers. """ expand: NotRequired[List[str]] """ @@ -34,19 +34,19 @@ class ConfigurationCreateParams(RequestOptions): """ reboot_window: NotRequired["ConfigurationCreateParamsRebootWindow"] """ - Reboot time settings for readers that support customized reboot time configuration. + Reboot time settings for readers. that support customized reboot time configuration. """ stripe_s700: NotRequired["ConfigurationCreateParamsStripeS700"] """ - An object containing device type specific settings for Stripe S700 readers + An object containing device type specific settings for Stripe S700 readers. """ tipping: NotRequired["Literal['']|ConfigurationCreateParamsTipping"] """ - Tipping configurations for readers supporting on-reader tips + Tipping configurations for readers. supporting on-reader tips """ verifone_p400: NotRequired["ConfigurationCreateParamsVerifoneP400"] """ - An object containing device type specific settings for Verifone P400 readers + An object containing device type specific settings for Verifone P400 readers. """ wifi: NotRequired["Literal['']|ConfigurationCreateParamsWifi"] """ @@ -57,7 +57,7 @@ class ConfigurationCreateParams(RequestOptions): class ConfigurationCreateParamsBbposWisepad3(TypedDict): splashscreen: NotRequired["Literal['']|str"] """ - A File ID representing an image you would like displayed on the reader. + A File ID representing an image you want to display on the reader. """ @@ -96,7 +96,7 @@ class ConfigurationCreateParamsRebootWindow(TypedDict): class ConfigurationCreateParamsStripeS700(TypedDict): splashscreen: NotRequired["Literal['']|str"] """ - A File ID representing an image you would like displayed on the reader. + A File ID representing an image you want to display on the reader. """ @@ -524,7 +524,7 @@ class ConfigurationCreateParamsTippingUsd(TypedDict): class ConfigurationCreateParamsVerifoneP400(TypedDict): splashscreen: NotRequired["Literal['']|str"] """ - A File ID representing an image you would like displayed on the reader. + A File ID representing an image you want to display on the reader. """ diff --git a/stripe/params/terminal/_configuration_modify_params.py b/stripe/params/terminal/_configuration_modify_params.py index 5356eb67a..44b44ec93 100644 --- a/stripe/params/terminal/_configuration_modify_params.py +++ b/stripe/params/terminal/_configuration_modify_params.py @@ -10,13 +10,13 @@ class ConfigurationModifyParams(RequestOptions): "Literal['']|ConfigurationModifyParamsBbposWisepad3" ] """ - An object containing device type specific settings for BBPOS WisePad 3 readers + An object containing device type specific settings for BBPOS WisePad 3 readers. """ bbpos_wisepos_e: NotRequired[ "Literal['']|ConfigurationModifyParamsBbposWiseposE" ] """ - An object containing device type specific settings for BBPOS WisePOS E readers + An object containing device type specific settings for BBPOS WisePOS E readers. """ expand: NotRequired[List[str]] """ @@ -40,21 +40,21 @@ class ConfigurationModifyParams(RequestOptions): "Literal['']|ConfigurationModifyParamsRebootWindow" ] """ - Reboot time settings for readers that support customized reboot time configuration. + Reboot time settings for readers. that support customized reboot time configuration. """ stripe_s700: NotRequired["Literal['']|ConfigurationModifyParamsStripeS700"] """ - An object containing device type specific settings for Stripe S700 readers + An object containing device type specific settings for Stripe S700 readers. """ tipping: NotRequired["Literal['']|ConfigurationModifyParamsTipping"] """ - Tipping configurations for readers supporting on-reader tips + Tipping configurations for readers. supporting on-reader tips """ verifone_p400: NotRequired[ "Literal['']|ConfigurationModifyParamsVerifoneP400" ] """ - An object containing device type specific settings for Verifone P400 readers + An object containing device type specific settings for Verifone P400 readers. """ wifi: NotRequired["Literal['']|ConfigurationModifyParamsWifi"] """ @@ -65,7 +65,7 @@ class ConfigurationModifyParams(RequestOptions): class ConfigurationModifyParamsBbposWisepad3(TypedDict): splashscreen: NotRequired["Literal['']|str"] """ - A File ID representing an image you would like displayed on the reader. + A File ID representing an image you want to display on the reader. """ @@ -104,7 +104,7 @@ class ConfigurationModifyParamsRebootWindow(TypedDict): class ConfigurationModifyParamsStripeS700(TypedDict): splashscreen: NotRequired["Literal['']|str"] """ - A File ID representing an image you would like displayed on the reader. + A File ID representing an image you want to display on the reader. """ @@ -532,7 +532,7 @@ class ConfigurationModifyParamsTippingUsd(TypedDict): class ConfigurationModifyParamsVerifoneP400(TypedDict): splashscreen: NotRequired["Literal['']|str"] """ - A File ID representing an image you would like displayed on the reader. + A File ID representing an image you want to display on the reader. """ diff --git a/stripe/params/terminal/_configuration_update_params.py b/stripe/params/terminal/_configuration_update_params.py index 93806b36f..d89546304 100644 --- a/stripe/params/terminal/_configuration_update_params.py +++ b/stripe/params/terminal/_configuration_update_params.py @@ -9,13 +9,13 @@ class ConfigurationUpdateParams(TypedDict): "Literal['']|ConfigurationUpdateParamsBbposWisepad3" ] """ - An object containing device type specific settings for BBPOS WisePad 3 readers + An object containing device type specific settings for BBPOS WisePad 3 readers. """ bbpos_wisepos_e: NotRequired[ "Literal['']|ConfigurationUpdateParamsBbposWiseposE" ] """ - An object containing device type specific settings for BBPOS WisePOS E readers + An object containing device type specific settings for BBPOS WisePOS E readers. """ expand: NotRequired[List[str]] """ @@ -39,21 +39,21 @@ class ConfigurationUpdateParams(TypedDict): "Literal['']|ConfigurationUpdateParamsRebootWindow" ] """ - Reboot time settings for readers that support customized reboot time configuration. + Reboot time settings for readers. that support customized reboot time configuration. """ stripe_s700: NotRequired["Literal['']|ConfigurationUpdateParamsStripeS700"] """ - An object containing device type specific settings for Stripe S700 readers + An object containing device type specific settings for Stripe S700 readers. """ tipping: NotRequired["Literal['']|ConfigurationUpdateParamsTipping"] """ - Tipping configurations for readers supporting on-reader tips + Tipping configurations for readers. supporting on-reader tips """ verifone_p400: NotRequired[ "Literal['']|ConfigurationUpdateParamsVerifoneP400" ] """ - An object containing device type specific settings for Verifone P400 readers + An object containing device type specific settings for Verifone P400 readers. """ wifi: NotRequired["Literal['']|ConfigurationUpdateParamsWifi"] """ @@ -64,7 +64,7 @@ class ConfigurationUpdateParams(TypedDict): class ConfigurationUpdateParamsBbposWisepad3(TypedDict): splashscreen: NotRequired["Literal['']|str"] """ - A File ID representing an image you would like displayed on the reader. + A File ID representing an image you want to display on the reader. """ @@ -103,7 +103,7 @@ class ConfigurationUpdateParamsRebootWindow(TypedDict): class ConfigurationUpdateParamsStripeS700(TypedDict): splashscreen: NotRequired["Literal['']|str"] """ - A File ID representing an image you would like displayed on the reader. + A File ID representing an image you want to display on the reader. """ @@ -531,7 +531,7 @@ class ConfigurationUpdateParamsTippingUsd(TypedDict): class ConfigurationUpdateParamsVerifoneP400(TypedDict): splashscreen: NotRequired["Literal['']|str"] """ - A File ID representing an image you would like displayed on the reader. + A File ID representing an image you want to display on the reader. """ diff --git a/stripe/params/test_helpers/_confirmation_token_create_params.py b/stripe/params/test_helpers/_confirmation_token_create_params.py index 8686a1915..e962360bb 100644 --- a/stripe/params/test_helpers/_confirmation_token_create_params.py +++ b/stripe/params/test_helpers/_confirmation_token_create_params.py @@ -655,6 +655,7 @@ class ConfirmationTokenCreateParamsPaymentMethodDataIdeal(TypedDict): "asn_bank", "bunq", "buut", + "finom", "handelsbanken", "ing", "knab", diff --git a/stripe/params/test_helpers/issuing/__init__.py b/stripe/params/test_helpers/issuing/__init__.py index 2fb6b3522..2c5e6d2d3 100644 --- a/stripe/params/test_helpers/issuing/__init__.py +++ b/stripe/params/test_helpers/issuing/__init__.py @@ -33,6 +33,7 @@ AuthorizationCreateParamsNetworkData as AuthorizationCreateParamsNetworkData, AuthorizationCreateParamsRiskAssessment as AuthorizationCreateParamsRiskAssessment, AuthorizationCreateParamsRiskAssessmentCardTestingRisk as AuthorizationCreateParamsRiskAssessmentCardTestingRisk, + AuthorizationCreateParamsRiskAssessmentFraudRisk as AuthorizationCreateParamsRiskAssessmentFraudRisk, AuthorizationCreateParamsRiskAssessmentMerchantDisputeRisk as AuthorizationCreateParamsRiskAssessmentMerchantDisputeRisk, AuthorizationCreateParamsVerificationData as AuthorizationCreateParamsVerificationData, AuthorizationCreateParamsVerificationDataAuthenticationExemption as AuthorizationCreateParamsVerificationDataAuthenticationExemption, @@ -227,6 +228,10 @@ "stripe.params.test_helpers.issuing._authorization_create_params", False, ), + "AuthorizationCreateParamsRiskAssessmentFraudRisk": ( + "stripe.params.test_helpers.issuing._authorization_create_params", + False, + ), "AuthorizationCreateParamsRiskAssessmentMerchantDisputeRisk": ( "stripe.params.test_helpers.issuing._authorization_create_params", False, diff --git a/stripe/params/test_helpers/issuing/_authorization_create_params.py b/stripe/params/test_helpers/issuing/_authorization_create_params.py index 42e6321a2..af7c512c9 100644 --- a/stripe/params/test_helpers/issuing/_authorization_create_params.py +++ b/stripe/params/test_helpers/issuing/_authorization_create_params.py @@ -576,6 +576,10 @@ class AuthorizationCreateParamsRiskAssessment(TypedDict): """ Stripe's assessment of this authorization's likelihood of being card testing activity. """ + fraud_risk: NotRequired["AuthorizationCreateParamsRiskAssessmentFraudRisk"] + """ + Stripe's assessment of this authorization's likelihood to be fraudulent. + """ merchant_dispute_risk: NotRequired[ "AuthorizationCreateParamsRiskAssessmentMerchantDisputeRisk" ] @@ -601,6 +605,19 @@ class AuthorizationCreateParamsRiskAssessmentCardTestingRisk(TypedDict): """ +class AuthorizationCreateParamsRiskAssessmentFraudRisk(TypedDict): + level: Literal[ + "elevated", "highest", "low", "normal", "not_assessed", "unknown" + ] + """ + Stripe's assessment of the likelihood of fraud on an authorization. + """ + score: NotRequired[float] + """ + Stripe's numerical model score assessing the likelihood of fraudulent activity. A higher score means a higher likelihood of fraudulent activity, and anything above 25 is considered high risk. + """ + + class AuthorizationCreateParamsRiskAssessmentMerchantDisputeRisk(TypedDict): dispute_rate: NotRequired[int] """ diff --git a/stripe/radar/__init__.py b/stripe/radar/__init__.py index 836089ae4..8fb8efac4 100644 --- a/stripe/radar/__init__.py +++ b/stripe/radar/__init__.py @@ -4,6 +4,12 @@ from typing_extensions import TYPE_CHECKING if TYPE_CHECKING: + from stripe.radar._account_evaluation import ( + AccountEvaluation as AccountEvaluation, + ) + from stripe.radar._account_evaluation_service import ( + AccountEvaluationService as AccountEvaluationService, + ) from stripe.radar._early_fraud_warning import ( EarlyFraudWarning as EarlyFraudWarning, ) @@ -21,6 +27,11 @@ # name -> (import_target, is_submodule) _import_map = { + "AccountEvaluation": ("stripe.radar._account_evaluation", False), + "AccountEvaluationService": ( + "stripe.radar._account_evaluation_service", + False, + ), "EarlyFraudWarning": ("stripe.radar._early_fraud_warning", False), "EarlyFraudWarningService": ( "stripe.radar._early_fraud_warning_service", diff --git a/stripe/radar/_account_evaluation.py b/stripe/radar/_account_evaluation.py new file mode 100644 index 000000000..16d5ae258 --- /dev/null +++ b/stripe/radar/_account_evaluation.py @@ -0,0 +1,185 @@ +# -*- coding: utf-8 -*- +# File generated from our OpenAPI spec +from stripe._createable_api_resource import CreateableAPIResource +from stripe._stripe_object import StripeObject +from stripe._updateable_api_resource import UpdateableAPIResource +from stripe._util import sanitize_id +from typing import ClassVar, List, Optional, cast +from typing_extensions import Literal, Unpack, TYPE_CHECKING + +if TYPE_CHECKING: + from stripe.params.radar._account_evaluation_create_params import ( + AccountEvaluationCreateParams, + ) + from stripe.params.radar._account_evaluation_modify_params import ( + AccountEvaluationModifyParams, + ) + from stripe.params.radar._account_evaluation_retrieve_params import ( + AccountEvaluationRetrieveParams, + ) + + +class AccountEvaluation( + CreateableAPIResource["AccountEvaluation"], + UpdateableAPIResource["AccountEvaluation"], +): + """ + Account Evaluation resource returned by the Radar Account Evaluations API. + """ + + OBJECT_NAME: ClassVar[Literal["radar.account_evaluation"]] = ( + "radar.account_evaluation" + ) + + class Event(StripeObject): + occurred_at: int + """ + Time at which the event occurred. Measured in seconds since the Unix epoch. + """ + type: str + """ + The type of event that occurred. + """ + + class Signals(StripeObject): + class AccountSharing(StripeObject): + score: float + """ + Score for this signal (float between 0.0-100.0). + """ + + class MultiAccounting(StripeObject): + score: float + """ + Score for this signal (float between 0.0-100.0). + """ + + account_sharing: Optional[AccountSharing] + multi_accounting: Optional[MultiAccounting] + _inner_class_types = { + "account_sharing": AccountSharing, + "multi_accounting": MultiAccounting, + } + + created_at: int + """ + Time at which the object was created. Measured in seconds since the Unix epoch. + """ + customer: str + """ + The ID of the Stripe customer the account evaluation is associated with. + """ + events: Optional[List[Event]] + """ + The list of events that were reported for this Account Evaluation object via the report API. + """ + id: str + """ + Unique identifier for the object. + """ + livemode: bool + """ + Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode. + """ + object: Literal["radar.account_evaluation"] + """ + String representing the object's type. Objects of the same type share the same value. + """ + signals: Optional[Signals] + """ + A hash of signal objects providing Radar's evaluation for the lifecycle event. + """ + type: str + """ + The type of evaluation returned, based on the user's request. + """ + + @classmethod + def create( + cls, **params: Unpack["AccountEvaluationCreateParams"] + ) -> "AccountEvaluation": + """ + Creates a new AccountEvaluation object. + """ + return cast( + "AccountEvaluation", + cls._static_request( + "post", + cls.class_url(), + params=params, + ), + ) + + @classmethod + async def create_async( + cls, **params: Unpack["AccountEvaluationCreateParams"] + ) -> "AccountEvaluation": + """ + Creates a new AccountEvaluation object. + """ + return cast( + "AccountEvaluation", + await cls._static_request_async( + "post", + cls.class_url(), + params=params, + ), + ) + + @classmethod + def modify( + cls, id: str, **params: Unpack["AccountEvaluationModifyParams"] + ) -> "AccountEvaluation": + """ + Reports an event on an AccountEvaluation object. + """ + url = "%s/%s" % (cls.class_url(), sanitize_id(id)) + return cast( + "AccountEvaluation", + cls._static_request( + "post", + url, + params=params, + ), + ) + + @classmethod + async def modify_async( + cls, id: str, **params: Unpack["AccountEvaluationModifyParams"] + ) -> "AccountEvaluation": + """ + Reports an event on an AccountEvaluation object. + """ + url = "%s/%s" % (cls.class_url(), sanitize_id(id)) + return cast( + "AccountEvaluation", + await cls._static_request_async( + "post", + url, + params=params, + ), + ) + + @classmethod + def retrieve( + cls, id: str, **params: Unpack["AccountEvaluationRetrieveParams"] + ) -> "AccountEvaluation": + """ + Retrieves an AccountEvaluation object. + """ + instance = cls(id, **params) + instance.refresh() + return instance + + @classmethod + async def retrieve_async( + cls, id: str, **params: Unpack["AccountEvaluationRetrieveParams"] + ) -> "AccountEvaluation": + """ + Retrieves an AccountEvaluation object. + """ + instance = cls(id, **params) + await instance.refresh_async() + return instance + + _inner_class_types = {"events": Event, "signals": Signals} diff --git a/stripe/radar/_account_evaluation_service.py b/stripe/radar/_account_evaluation_service.py new file mode 100644 index 000000000..b6dd4c473 --- /dev/null +++ b/stripe/radar/_account_evaluation_service.py @@ -0,0 +1,147 @@ +# -*- coding: utf-8 -*- +# File generated from our OpenAPI spec +from stripe._stripe_service import StripeService +from stripe._util import sanitize_id +from typing import Optional, cast +from typing_extensions import TYPE_CHECKING + +if TYPE_CHECKING: + from stripe._request_options import RequestOptions + from stripe.params.radar._account_evaluation_create_params import ( + AccountEvaluationCreateParams, + ) + from stripe.params.radar._account_evaluation_retrieve_params import ( + AccountEvaluationRetrieveParams, + ) + from stripe.params.radar._account_evaluation_update_params import ( + AccountEvaluationUpdateParams, + ) + from stripe.radar._account_evaluation import AccountEvaluation + + +class AccountEvaluationService(StripeService): + def retrieve( + self, + account_evaluation: str, + params: Optional["AccountEvaluationRetrieveParams"] = None, + options: Optional["RequestOptions"] = None, + ) -> "AccountEvaluation": + """ + Retrieves an AccountEvaluation object. + """ + return cast( + "AccountEvaluation", + self._request( + "get", + "/v1/radar/account_evaluations/{account_evaluation}".format( + account_evaluation=sanitize_id(account_evaluation), + ), + base_address="api", + params=params, + options=options, + ), + ) + + async def retrieve_async( + self, + account_evaluation: str, + params: Optional["AccountEvaluationRetrieveParams"] = None, + options: Optional["RequestOptions"] = None, + ) -> "AccountEvaluation": + """ + Retrieves an AccountEvaluation object. + """ + return cast( + "AccountEvaluation", + await self._request_async( + "get", + "/v1/radar/account_evaluations/{account_evaluation}".format( + account_evaluation=sanitize_id(account_evaluation), + ), + base_address="api", + params=params, + options=options, + ), + ) + + def create( + self, + params: "AccountEvaluationCreateParams", + options: Optional["RequestOptions"] = None, + ) -> "AccountEvaluation": + """ + Creates a new AccountEvaluation object. + """ + return cast( + "AccountEvaluation", + self._request( + "post", + "/v1/radar/account_evaluations", + base_address="api", + params=params, + options=options, + ), + ) + + async def create_async( + self, + params: "AccountEvaluationCreateParams", + options: Optional["RequestOptions"] = None, + ) -> "AccountEvaluation": + """ + Creates a new AccountEvaluation object. + """ + return cast( + "AccountEvaluation", + await self._request_async( + "post", + "/v1/radar/account_evaluations", + base_address="api", + params=params, + options=options, + ), + ) + + def update( + self, + account_evaluation: str, + params: "AccountEvaluationUpdateParams", + options: Optional["RequestOptions"] = None, + ) -> "AccountEvaluation": + """ + Reports an event on an AccountEvaluation object. + """ + return cast( + "AccountEvaluation", + self._request( + "post", + "/v1/radar/account_evaluations/{account_evaluation}/report_event".format( + account_evaluation=sanitize_id(account_evaluation), + ), + base_address="api", + params=params, + options=options, + ), + ) + + async def update_async( + self, + account_evaluation: str, + params: "AccountEvaluationUpdateParams", + options: Optional["RequestOptions"] = None, + ) -> "AccountEvaluation": + """ + Reports an event on an AccountEvaluation object. + """ + return cast( + "AccountEvaluation", + await self._request_async( + "post", + "/v1/radar/account_evaluations/{account_evaluation}/report_event".format( + account_evaluation=sanitize_id(account_evaluation), + ), + base_address="api", + params=params, + options=options, + ), + ) diff --git a/tests/test_api_requestor.py b/tests/test_api_requestor.py index 7d2712354..d56ffc7f5 100644 --- a/tests/test_api_requestor.py +++ b/tests/test_api_requestor.py @@ -220,7 +220,7 @@ def test_encodes_null_values_preview(self, requestor, http_client_mock): def test_dictionary_list_encoding(self): params = {"foo": {"0": {"bar": "bat"}}} - encoded = list(_api_encode(params, "V1")) + encoded = list(_api_encode(params)) key, value = encoded[0] assert key == "foo[0][bar]" @@ -237,7 +237,7 @@ def test_ordereddict_encoding(self): ] ) } - encoded = list(_api_encode(params, "V1")) + encoded = list(_api_encode(params)) assert encoded[0][0] == "ordered[one]" assert encoded[1][0] == "ordered[two]" diff --git a/tests/test_generated_examples.py b/tests/test_generated_examples.py index bbe17b134..6cdce310d 100644 --- a/tests/test_generated_examples.py +++ b/tests/test_generated_examples.py @@ -44249,7 +44249,7 @@ def test_v2_billing_license_fee_get_service( http_client_mock.stub_request( "get", "/v2/billing/license_fees", - "lookup_keys=lookup_keys", + "lookup_keys[0]=lookup_keys", ) client = StripeClient( "sk_test_123", @@ -44260,7 +44260,7 @@ def test_v2_billing_license_fee_get_service( http_client_mock.assert_requested( "get", path="/v2/billing/license_fees", - query_string="lookup_keys=lookup_keys", + query_string="lookup_keys[0]=lookup_keys", api_base="https://api.stripe.com", ) @@ -45026,7 +45026,7 @@ def test_v2_billing_profile_get_service( http_client_mock.stub_request( "get", "/v2/billing/profiles", - "lookup_keys=lookup_keys", + "lookup_keys[0]=lookup_keys", ) client = StripeClient( "sk_test_123", @@ -45037,7 +45037,7 @@ def test_v2_billing_profile_get_service( http_client_mock.assert_requested( "get", path="/v2/billing/profiles", - query_string="lookup_keys=lookup_keys", + query_string="lookup_keys[0]=lookup_keys", api_base="https://api.stripe.com", ) diff --git a/tests/test_http_client.py b/tests/test_http_client.py index 2f183498c..be0f8400f 100644 --- a/tests/test_http_client.py +++ b/tests/test_http_client.py @@ -1176,7 +1176,7 @@ class TestAPIEncode: def test_encode_dict(self): body = {"foo": {"dob": {"month": 1}, "name": "bat"}} - values = [t for t in _api_encode(body, "V1")] + values = [t for t in _api_encode(body)] assert ("foo[dob][month]", 1) in values assert ("foo[name]", "bat") in values @@ -1184,7 +1184,7 @@ def test_encode_dict(self): def test_encode_array(self): body = {"foo": [{"dob": {"month": 1}, "name": "bat"}]} - values = [t for t in _api_encode(body, "V1")] + values = [t for t in _api_encode(body)] assert ("foo[0][dob][month]", 1) in values assert ("foo[0][name]", "bat") in values @@ -1192,10 +1192,10 @@ def test_encode_array(self): def test_encode_v2_array(self): body = {"foo": [{"dob": {"month": 1}, "name": "bat"}]} - values = [t for t in _api_encode(body, "V2")] + values = [t for t in _api_encode(body)] - assert ("foo[dob][month]", 1) in values - assert ("foo[name]", "bat") in values + assert ("foo[0][dob][month]", 1) in values + assert ("foo[0][name]", "bat") in values class TestHTTPXClient(ClientTestBase):