Debian Codegraph @

stripe/params/_payment_intent_modify_params.py

raw
1 # -*- coding: utf-8 -*-
2 # File generated from our OpenAPI spec
3 from stripe._request_options import RequestOptions
4 from typing import Dict, List, Union
5 from typing_extensions import Literal, NotRequired, TypedDict
6
7
8 class PaymentIntentModifyParams(RequestOptions):
9 amount: NotRequired[int]
10 """
11 Amount intended to be collected by this PaymentIntent. A positive integer representing how much to charge in the [smallest currency unit](https://docs.stripe.com/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://docs.stripe.com/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).
12 """
13 amount_details: NotRequired[
14 "Literal['']|PaymentIntentModifyParamsAmountDetails"
15 ]
16 """
17 Provides industry-specific information about the amount.
18 """
19 application_fee_amount: NotRequired["Literal['']|int"]
20 """
21 The amount of the application fee (if any) that will be requested to be applied to the payment and transferred to the application owner's Stripe account. The amount of the application fee collected will be capped at the total amount captured. For more information, see the PaymentIntents [use case for connected accounts](https://docs.stripe.com/payments/connected-accounts).
22 """
23 capture_method: NotRequired[
24 Literal["automatic", "automatic_async", "manual"]
25 ]
26 """
27 Controls when the funds will be captured from the customer's account.
28 """
29 currency: NotRequired[str]
30 """
31 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).
32 """
33 customer: NotRequired[str]
34 """
35 ID of the Customer this PaymentIntent belongs to, if one exists.
36
37 Payment methods attached to other Customers cannot be used with this PaymentIntent.
38
39 If [setup_future_usage](https://api.stripe.com#payment_intent_object-setup_future_usage) is set and this PaymentIntent's payment method is not `card_present`, then the payment method attaches to the Customer after the PaymentIntent has been confirmed and any required actions from the user are complete. If the payment method is `card_present` and isn't a digital wallet, then a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card is created and attached to the Customer instead.
40 """
41 customer_account: NotRequired[str]
42 """
43 ID of the Account representing the customer that this PaymentIntent belongs to, if one exists.
44
45 Payment methods attached to other Accounts cannot be used with this PaymentIntent.
46
47 If [setup_future_usage](https://api.stripe.com#payment_intent_object-setup_future_usage) is set and this PaymentIntent's payment method is not `card_present`, then the payment method attaches to the Account after the PaymentIntent has been confirmed and any required actions from the user are complete. If the payment method is `card_present` and isn't a digital wallet, then a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card is created and attached to the Account instead.
48 """
49 description: NotRequired[str]
50 """
51 An arbitrary string attached to the object. Often useful for displaying to users.
52 """
53 excluded_payment_method_types: NotRequired[
54 "Literal['']|List[Literal['acss_debit', 'affirm', 'afterpay_clearpay', 'alipay', 'alma', 'amazon_pay', 'au_becs_debit', 'bacs_debit', 'bancontact', 'billie', 'blik', 'boleto', 'card', 'cashapp', 'crypto', 'customer_balance', 'eps', 'fpx', 'giropay', 'grabpay', 'ideal', 'kakao_pay', 'klarna', 'konbini', 'kr_card', 'mb_way', 'mobilepay', 'multibanco', 'naver_pay', 'nz_bank_account', 'oxxo', 'p24', 'pay_by_bank', 'payco', 'paynow', 'paypal', 'payto', 'pix', 'promptpay', 'revolut_pay', 'samsung_pay', 'satispay', 'sepa_debit', 'sofort', 'swish', 'twint', 'us_bank_account', 'wechat_pay', 'zip']]"
55 ]
56 """
57 The list of payment method types to exclude from use with this payment.
58 """
59 expand: NotRequired[List[str]]
60 """
61 Specifies which fields in the response should be expanded.
62 """
63 hooks: NotRequired["PaymentIntentModifyParamsHooks"]
64 """
65 Automations to be run during the PaymentIntent lifecycle
66 """
67 metadata: NotRequired["Literal['']|Dict[str, str]"]
68 """
69 Set of [key-value pairs](https://docs.stripe.com/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`.
70 """
71 payment_details: NotRequired[
72 "Literal['']|PaymentIntentModifyParamsPaymentDetails"
73 ]
74 """
75 Provides industry-specific information about the charge.
76 """
77 payment_method: NotRequired[str]
78 """
79 ID of the payment method (a PaymentMethod, Card, or [compatible Source](https://docs.stripe.com/payments/payment-methods/transitioning#compatibility) object) to attach to this PaymentIntent. To unset this field to null, pass in an empty string.
80 """
81 payment_method_configuration: NotRequired[str]
82 """
83 The ID of the [payment method configuration](https://docs.stripe.com/api/payment_method_configurations) to use with this PaymentIntent.
84 """
85 payment_method_data: NotRequired[
86 "PaymentIntentModifyParamsPaymentMethodData"
87 ]
88 """
89 If provided, this hash will be used to create a PaymentMethod. The new PaymentMethod will appear
90 in the [payment_method](https://docs.stripe.com/api/payment_intents/object#payment_intent_object-payment_method)
91 property on the PaymentIntent.
92 """
93 payment_method_options: NotRequired[
94 "PaymentIntentModifyParamsPaymentMethodOptions"
95 ]
96 """
97 Payment-method-specific configuration for this PaymentIntent.
98 """
99 payment_method_types: NotRequired[List[str]]
100 """
101 The list of payment method types (for example, card) that this PaymentIntent can use. Use `automatic_payment_methods` to manage payment methods from the [Stripe Dashboard](https://dashboard.stripe.com/settings/payment_methods). A list of valid payment method types can be found [here](https://docs.stripe.com/api/payment_methods/object#payment_method_object-type).
102 """
103 receipt_email: NotRequired["Literal['']|str"]
104 """
105 Email address that the receipt for the resulting payment will be sent to. If `receipt_email` is specified for a payment in live mode, a receipt will be sent regardless of your [email settings](https://dashboard.stripe.com/account/emails).
106 """
107 setup_future_usage: NotRequired[
108 "Literal['']|Literal['off_session', 'on_session']"
109 ]
110 """
111 Indicates that you intend to make future payments with this PaymentIntent's payment method.
112
113 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.
114
115 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.
116
117 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).
118
119 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`.
120 """
121 shipping: NotRequired["Literal['']|PaymentIntentModifyParamsShipping"]
122 """
123 Shipping information for this PaymentIntent.
124 """
125 statement_descriptor: NotRequired[str]
126 """
127 Text that appears on the customer's statement as the statement descriptor for a non-card charge. This value overrides the account's default statement descriptor. For information about requirements, including the 22-character limit, see [the Statement Descriptor docs](https://docs.stripe.com/get-started/account/statement-descriptors).
128
129 Setting this value for a card charge returns an error. For card charges, set the [statement_descriptor_suffix](https://docs.stripe.com/get-started/account/statement-descriptors#dynamic) instead.
130 """
131 statement_descriptor_suffix: NotRequired[str]
132 """
133 Provides information about a card charge. Concatenated to the account's [statement descriptor prefix](https://docs.stripe.com/get-started/account/statement-descriptors#static) to form the complete statement descriptor that appears on the customer's statement.
134 """
135 transfer_data: NotRequired["PaymentIntentModifyParamsTransferData"]
136 """
137 Use this parameter to automatically create a Transfer when the payment succeeds. Learn more about the [use case for connected accounts](https://docs.stripe.com/payments/connected-accounts).
138 """
139 transfer_group: NotRequired[str]
140 """
141 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://docs.stripe.com/payments/connected-accounts).
142 """
143
144
145 class PaymentIntentModifyParamsAmountDetails(TypedDict):
146 discount_amount: NotRequired["Literal['']|int"]
147 """
148 The total discount applied on the transaction represented in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal). An integer greater than 0.
149
150 This field is mutually exclusive with the `amount_details[line_items][#][discount_amount]` field.
151 """
152 enforce_arithmetic_validation: NotRequired[bool]
153 """
154 Set to `false` to return arithmetic validation errors in the response without failing the request. Use this when you want the operation to proceed regardless of arithmetic errors in the line item data.
155
156 Omit or set to `true` to immediately return a 400 error when arithmetic validation fails. Use this for strict validation that prevents processing with line item data that has arithmetic inconsistencies.
157
158 For card payments, Stripe doesn't send line item data to card networks if there's an arithmetic validation error.
159 """
160 line_items: NotRequired[
161 "Literal['']|List[PaymentIntentModifyParamsAmountDetailsLineItem]"
162 ]
163 """
164 A list of line items, each containing information about a product in the PaymentIntent. There is a maximum of 200 line items.
165 """
166 shipping: NotRequired[
167 "Literal['']|PaymentIntentModifyParamsAmountDetailsShipping"
168 ]
169 """
170 Contains information about the shipping portion of the amount.
171 """
172 tax: NotRequired["Literal['']|PaymentIntentModifyParamsAmountDetailsTax"]
173 """
174 Contains information about the tax portion of the amount.
175 """
176
177
178 class PaymentIntentModifyParamsAmountDetailsLineItem(TypedDict):
179 discount_amount: NotRequired[int]
180 """
181 The discount applied on this line item represented in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal). An integer greater than 0.
182
183 This field is mutually exclusive with the `amount_details[discount_amount]` field.
184 """
185 payment_method_options: NotRequired[
186 "PaymentIntentModifyParamsAmountDetailsLineItemPaymentMethodOptions"
187 ]
188 """
189 Payment method-specific information for line items.
190 """
191 product_code: NotRequired[str]
192 """
193 The product code of the line item, such as an SKU. Required for L3 rates. At most 12 characters long.
194 """
195 product_name: str
196 """
197 The product name of the line item. Required for L3 rates. At most 1024 characters long.
198
199 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.
200 """
201 quantity: int
202 """
203 The quantity of items. Required for L3 rates. An integer greater than 0.
204 """
205 tax: NotRequired["PaymentIntentModifyParamsAmountDetailsLineItemTax"]
206 """
207 Contains information about the tax on the item.
208 """
209 unit_cost: int
210 """
211 The unit cost of the line item represented in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal). Required for L3 rates. An integer greater than or equal to 0.
212 """
213 unit_of_measure: NotRequired[str]
214 """
215 A unit of measure for the line item, such as gallons, feet, meters, etc.
216 """
217
218
219 class PaymentIntentModifyParamsAmountDetailsLineItemPaymentMethodOptions(
220 TypedDict,
221 ):
222 card: NotRequired[
223 "PaymentIntentModifyParamsAmountDetailsLineItemPaymentMethodOptionsCard"
224 ]
225 """
226 This sub-hash contains line item details that are specific to the `card` payment method.
227 """
228 card_present: NotRequired[
229 "PaymentIntentModifyParamsAmountDetailsLineItemPaymentMethodOptionsCardPresent"
230 ]
231 """
232 This sub-hash contains line item details that are specific to the `card_present` payment method.
233 """
234 klarna: NotRequired[
235 "PaymentIntentModifyParamsAmountDetailsLineItemPaymentMethodOptionsKlarna"
236 ]
237 """
238 This sub-hash contains line item details that are specific to the `klarna` payment method.
239 """
240 paypal: NotRequired[
241 "PaymentIntentModifyParamsAmountDetailsLineItemPaymentMethodOptionsPaypal"
242 ]
243 """
244 This sub-hash contains line item details that are specific to the `paypal` payment method.
245 """
246
247
248 class PaymentIntentModifyParamsAmountDetailsLineItemPaymentMethodOptionsCard(
249 TypedDict,
250 ):
251 commodity_code: NotRequired[str]
252 """
253 Identifier that categorizes the items being purchased using a standardized commodity scheme such as (but not limited to) UNSPSC, NAICS, NAPCS, and so on.
254 """
255
256
257 class PaymentIntentModifyParamsAmountDetailsLineItemPaymentMethodOptionsCardPresent(
258 TypedDict,
259 ):
260 commodity_code: NotRequired[str]
261 """
262 Identifier that categorizes the items being purchased using a standardized commodity scheme such as (but not limited to) UNSPSC, NAICS, NAPCS, and so on.
263 """
264
265
266 class PaymentIntentModifyParamsAmountDetailsLineItemPaymentMethodOptionsKlarna(
267 TypedDict,
268 ):
269 image_url: NotRequired[str]
270 """
271 URL to an image for the product. Max length, 4096 characters.
272 """
273 product_url: NotRequired[str]
274 """
275 URL to the product page. Max length, 4096 characters.
276 """
277 reference: NotRequired[str]
278 """
279 Unique reference for this line item to correlate it with your system's internal records. The field is displayed in the Klarna Consumer App if passed.
280 """
281 subscription_reference: NotRequired[str]
282 """
283 Reference for the subscription this line item is for.
284 """
285
286
287 class PaymentIntentModifyParamsAmountDetailsLineItemPaymentMethodOptionsPaypal(
288 TypedDict,
289 ):
290 category: NotRequired[
291 Literal["digital_goods", "donation", "physical_goods"]
292 ]
293 """
294 Type of the line item.
295 """
296 description: NotRequired[str]
297 """
298 Description of the line item.
299 """
300 sold_by: NotRequired[str]
301 """
302 The Stripe account ID of the connected account that sells the item.
303 """
304
305
306 class PaymentIntentModifyParamsAmountDetailsLineItemTax(TypedDict):
307 total_tax_amount: int
308 """
309 The total amount of tax on a single line item represented in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal). Required for L3 rates. An integer greater than or equal to 0.
310
311 This field is mutually exclusive with the `amount_details[tax][total_tax_amount]` field.
312 """
313
314
315 class PaymentIntentModifyParamsAmountDetailsShipping(TypedDict):
316 amount: NotRequired["Literal['']|int"]
317 """
318 If a physical good is being shipped, the cost of shipping represented in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal). An integer greater than or equal to 0.
319 """
320 from_postal_code: NotRequired["Literal['']|str"]
321 """
322 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.
323 """
324 to_postal_code: NotRequired["Literal['']|str"]
325 """
326 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.
327 """
328
329
330 class PaymentIntentModifyParamsAmountDetailsTax(TypedDict):
331 total_tax_amount: int
332 """
333 The total amount of tax on the transaction represented in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal). Required for L2 rates. An integer greater than or equal to 0.
334
335 This field is mutually exclusive with the `amount_details[line_items][#][tax][total_tax_amount]` field.
336 """
337
338
339 class PaymentIntentModifyParamsHooks(TypedDict):
340 inputs: NotRequired["PaymentIntentModifyParamsHooksInputs"]
341 """
342 Arguments passed in automations
343 """
344
345
346 class PaymentIntentModifyParamsHooksInputs(TypedDict):
347 tax: NotRequired["PaymentIntentModifyParamsHooksInputsTax"]
348 """
349 Tax arguments for automations
350 """
351
352
353 class PaymentIntentModifyParamsHooksInputsTax(TypedDict):
354 calculation: Union[Literal[""], str]
355 """
356 The [TaxCalculation](https://docs.stripe.com/api/tax/calculations) id
357 """
358
359
360 class PaymentIntentModifyParamsPaymentDetails(TypedDict):
361 customer_reference: NotRequired["Literal['']|str"]
362 """
363 A unique value to identify the customer. This field is available only for card payments.
364
365 This field is truncated to 25 alphanumeric characters, excluding spaces, before being sent to card networks.
366 """
367 order_reference: NotRequired["Literal['']|str"]
368 """
369 A unique value assigned by the business to identify the transaction. Required for L2 and L3 rates.
370
371 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`.
372
373 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.
374 """
375
376
377 class PaymentIntentModifyParamsPaymentMethodData(TypedDict):
378 acss_debit: NotRequired[
379 "PaymentIntentModifyParamsPaymentMethodDataAcssDebit"
380 ]
381 """
382 If this is an `acss_debit` PaymentMethod, this hash contains details about the ACSS Debit payment method.
383 """
384 affirm: NotRequired["PaymentIntentModifyParamsPaymentMethodDataAffirm"]
385 """
386 If this is an `affirm` PaymentMethod, this hash contains details about the Affirm payment method.
387 """
388 afterpay_clearpay: NotRequired[
389 "PaymentIntentModifyParamsPaymentMethodDataAfterpayClearpay"
390 ]
391 """
392 If this is an `AfterpayClearpay` PaymentMethod, this hash contains details about the AfterpayClearpay payment method.
393 """
394 alipay: NotRequired["PaymentIntentModifyParamsPaymentMethodDataAlipay"]
395 """
396 If this is an `Alipay` PaymentMethod, this hash contains details about the Alipay payment method.
397 """
398 allow_redisplay: NotRequired[Literal["always", "limited", "unspecified"]]
399 """
400 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`.
401 """
402 alma: NotRequired["PaymentIntentModifyParamsPaymentMethodDataAlma"]
403 """
404 If this is a Alma PaymentMethod, this hash contains details about the Alma payment method.
405 """
406 amazon_pay: NotRequired[
407 "PaymentIntentModifyParamsPaymentMethodDataAmazonPay"
408 ]
409 """
410 If this is a AmazonPay PaymentMethod, this hash contains details about the AmazonPay payment method.
411 """
412 au_becs_debit: NotRequired[
413 "PaymentIntentModifyParamsPaymentMethodDataAuBecsDebit"
414 ]
415 """
416 If this is an `au_becs_debit` PaymentMethod, this hash contains details about the bank account.
417 """
418 bacs_debit: NotRequired[
419 "PaymentIntentModifyParamsPaymentMethodDataBacsDebit"
420 ]
421 """
422 If this is a `bacs_debit` PaymentMethod, this hash contains details about the Bacs Direct Debit bank account.
423 """
424 bancontact: NotRequired[
425 "PaymentIntentModifyParamsPaymentMethodDataBancontact"
426 ]
427 """
428 If this is a `bancontact` PaymentMethod, this hash contains details about the Bancontact payment method.
429 """
430 billie: NotRequired["PaymentIntentModifyParamsPaymentMethodDataBillie"]
431 """
432 If this is a `billie` PaymentMethod, this hash contains details about the Billie payment method.
433 """
434 billing_details: NotRequired[
435 "PaymentIntentModifyParamsPaymentMethodDataBillingDetails"
436 ]
437 """
438 Billing information associated with the PaymentMethod that may be used or required by particular types of payment methods.
439 """
440 blik: NotRequired["PaymentIntentModifyParamsPaymentMethodDataBlik"]
441 """
442 If this is a `blik` PaymentMethod, this hash contains details about the BLIK payment method.
443 """
444 boleto: NotRequired["PaymentIntentModifyParamsPaymentMethodDataBoleto"]
445 """
446 If this is a `boleto` PaymentMethod, this hash contains details about the Boleto payment method.
447 """
448 cashapp: NotRequired["PaymentIntentModifyParamsPaymentMethodDataCashapp"]
449 """
450 If this is a `cashapp` PaymentMethod, this hash contains details about the Cash App Pay payment method.
451 """
452 crypto: NotRequired["PaymentIntentModifyParamsPaymentMethodDataCrypto"]
453 """
454 If this is a Crypto PaymentMethod, this hash contains details about the Crypto payment method.
455 """
456 customer_balance: NotRequired[
457 "PaymentIntentModifyParamsPaymentMethodDataCustomerBalance"
458 ]
459 """
460 If this is a `customer_balance` PaymentMethod, this hash contains details about the CustomerBalance payment method.
461 """
462 eps: NotRequired["PaymentIntentModifyParamsPaymentMethodDataEps"]
463 """
464 If this is an `eps` PaymentMethod, this hash contains details about the EPS payment method.
465 """
466 fpx: NotRequired["PaymentIntentModifyParamsPaymentMethodDataFpx"]
467 """
468 If this is an `fpx` PaymentMethod, this hash contains details about the FPX payment method.
469 """
470 giropay: NotRequired["PaymentIntentModifyParamsPaymentMethodDataGiropay"]
471 """
472 If this is a `giropay` PaymentMethod, this hash contains details about the Giropay payment method.
473 """
474 grabpay: NotRequired["PaymentIntentModifyParamsPaymentMethodDataGrabpay"]
475 """
476 If this is a `grabpay` PaymentMethod, this hash contains details about the GrabPay payment method.
477 """
478 ideal: NotRequired["PaymentIntentModifyParamsPaymentMethodDataIdeal"]
479 """
480 If this is an `ideal` PaymentMethod, this hash contains details about the iDEAL payment method.
481 """
482 interac_present: NotRequired[
483 "PaymentIntentModifyParamsPaymentMethodDataInteracPresent"
484 ]
485 """
486 If this is an `interac_present` PaymentMethod, this hash contains details about the Interac Present payment method.
487 """
488 kakao_pay: NotRequired[
489 "PaymentIntentModifyParamsPaymentMethodDataKakaoPay"
490 ]
491 """
492 If this is a `kakao_pay` PaymentMethod, this hash contains details about the Kakao Pay payment method.
493 """
494 klarna: NotRequired["PaymentIntentModifyParamsPaymentMethodDataKlarna"]
495 """
496 If this is a `klarna` PaymentMethod, this hash contains details about the Klarna payment method.
497 """
498 konbini: NotRequired["PaymentIntentModifyParamsPaymentMethodDataKonbini"]
499 """
500 If this is a `konbini` PaymentMethod, this hash contains details about the Konbini payment method.
501 """
502 kr_card: NotRequired["PaymentIntentModifyParamsPaymentMethodDataKrCard"]
503 """
504 If this is a `kr_card` PaymentMethod, this hash contains details about the Korean Card payment method.
505 """
506 link: NotRequired["PaymentIntentModifyParamsPaymentMethodDataLink"]
507 """
508 If this is an `Link` PaymentMethod, this hash contains details about the Link payment method.
509 """
510 mb_way: NotRequired["PaymentIntentModifyParamsPaymentMethodDataMbWay"]
511 """
512 If this is a MB WAY PaymentMethod, this hash contains details about the MB WAY payment method.
513 """
514 metadata: NotRequired[Dict[str, str]]
515 """
516 Set of [key-value pairs](https://docs.stripe.com/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`.
517 """
518 mobilepay: NotRequired[
519 "PaymentIntentModifyParamsPaymentMethodDataMobilepay"
520 ]
521 """
522 If this is a `mobilepay` PaymentMethod, this hash contains details about the MobilePay payment method.
523 """
524 multibanco: NotRequired[
525 "PaymentIntentModifyParamsPaymentMethodDataMultibanco"
526 ]
527 """
528 If this is a `multibanco` PaymentMethod, this hash contains details about the Multibanco payment method.
529 """
530 naver_pay: NotRequired[
531 "PaymentIntentModifyParamsPaymentMethodDataNaverPay"
532 ]
533 """
534 If this is a `naver_pay` PaymentMethod, this hash contains details about the Naver Pay payment method.
535 """
536 nz_bank_account: NotRequired[
537 "PaymentIntentModifyParamsPaymentMethodDataNzBankAccount"
538 ]
539 """
540 If this is an nz_bank_account PaymentMethod, this hash contains details about the nz_bank_account payment method.
541 """
542 oxxo: NotRequired["PaymentIntentModifyParamsPaymentMethodDataOxxo"]
543 """
544 If this is an `oxxo` PaymentMethod, this hash contains details about the OXXO payment method.
545 """
546 p24: NotRequired["PaymentIntentModifyParamsPaymentMethodDataP24"]
547 """
548 If this is a `p24` PaymentMethod, this hash contains details about the P24 payment method.
549 """
550 pay_by_bank: NotRequired[
551 "PaymentIntentModifyParamsPaymentMethodDataPayByBank"
552 ]
553 """
554 If this is a `pay_by_bank` PaymentMethod, this hash contains details about the PayByBank payment method.
555 """
556 payco: NotRequired["PaymentIntentModifyParamsPaymentMethodDataPayco"]
557 """
558 If this is a `payco` PaymentMethod, this hash contains details about the PAYCO payment method.
559 """
560 paynow: NotRequired["PaymentIntentModifyParamsPaymentMethodDataPaynow"]
561 """
562 If this is a `paynow` PaymentMethod, this hash contains details about the PayNow payment method.
563 """
564 paypal: NotRequired["PaymentIntentModifyParamsPaymentMethodDataPaypal"]
565 """
566 If this is a `paypal` PaymentMethod, this hash contains details about the PayPal payment method.
567 """
568 payto: NotRequired["PaymentIntentModifyParamsPaymentMethodDataPayto"]
569 """
570 If this is a `payto` PaymentMethod, this hash contains details about the PayTo payment method.
571 """
572 pix: NotRequired["PaymentIntentModifyParamsPaymentMethodDataPix"]
573 """
574 If this is a `pix` PaymentMethod, this hash contains details about the Pix payment method.
575 """
576 promptpay: NotRequired[
577 "PaymentIntentModifyParamsPaymentMethodDataPromptpay"
578 ]
579 """
580 If this is a `promptpay` PaymentMethod, this hash contains details about the PromptPay payment method.
581 """
582 radar_options: NotRequired[
583 "PaymentIntentModifyParamsPaymentMethodDataRadarOptions"
584 ]
585 """
586 Options to configure Radar. See [Radar Session](https://docs.stripe.com/radar/radar-session) for more information.
587 """
588 revolut_pay: NotRequired[
589 "PaymentIntentModifyParamsPaymentMethodDataRevolutPay"
590 ]
591 """
592 If this is a `revolut_pay` PaymentMethod, this hash contains details about the Revolut Pay payment method.
593 """
594 samsung_pay: NotRequired[
595 "PaymentIntentModifyParamsPaymentMethodDataSamsungPay"
596 ]
597 """
598 If this is a `samsung_pay` PaymentMethod, this hash contains details about the SamsungPay payment method.
599 """
600 satispay: NotRequired["PaymentIntentModifyParamsPaymentMethodDataSatispay"]
601 """
602 If this is a `satispay` PaymentMethod, this hash contains details about the Satispay payment method.
603 """
604 sepa_debit: NotRequired[
605 "PaymentIntentModifyParamsPaymentMethodDataSepaDebit"
606 ]
607 """
608 If this is a `sepa_debit` PaymentMethod, this hash contains details about the SEPA debit bank account.
609 """
610 sofort: NotRequired["PaymentIntentModifyParamsPaymentMethodDataSofort"]
611 """
612 If this is a `sofort` PaymentMethod, this hash contains details about the SOFORT payment method.
613 """
614 swish: NotRequired["PaymentIntentModifyParamsPaymentMethodDataSwish"]
615 """
616 If this is a `swish` PaymentMethod, this hash contains details about the Swish payment method.
617 """
618 twint: NotRequired["PaymentIntentModifyParamsPaymentMethodDataTwint"]
619 """
620 If this is a TWINT PaymentMethod, this hash contains details about the TWINT payment method.
621 """
622 type: Literal[
623 "acss_debit",
624 "affirm",
625 "afterpay_clearpay",
626 "alipay",
627 "alma",
628 "amazon_pay",
629 "au_becs_debit",
630 "bacs_debit",
631 "bancontact",
632 "billie",
633 "blik",
634 "boleto",
635 "cashapp",
636 "crypto",
637 "customer_balance",
638 "eps",
639 "fpx",
640 "giropay",
641 "grabpay",
642 "ideal",
643 "kakao_pay",
644 "klarna",
645 "konbini",
646 "kr_card",
647 "link",
648 "mb_way",
649 "mobilepay",
650 "multibanco",
651 "naver_pay",
652 "nz_bank_account",
653 "oxxo",
654 "p24",
655 "pay_by_bank",
656 "payco",
657 "paynow",
658 "paypal",
659 "payto",
660 "pix",
661 "promptpay",
662 "revolut_pay",
663 "samsung_pay",
664 "satispay",
665 "sepa_debit",
666 "sofort",
667 "swish",
668 "twint",
669 "us_bank_account",
670 "wechat_pay",
671 "zip",
672 ]
673 """
674 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.
675 """
676 us_bank_account: NotRequired[
677 "PaymentIntentModifyParamsPaymentMethodDataUsBankAccount"
678 ]
679 """
680 If this is an `us_bank_account` PaymentMethod, this hash contains details about the US bank account payment method.
681 """
682 wechat_pay: NotRequired[
683 "PaymentIntentModifyParamsPaymentMethodDataWechatPay"
684 ]
685 """
686 If this is an `wechat_pay` PaymentMethod, this hash contains details about the wechat_pay payment method.
687 """
688 zip: NotRequired["PaymentIntentModifyParamsPaymentMethodDataZip"]
689 """
690 If this is a `zip` PaymentMethod, this hash contains details about the Zip payment method.
691 """
692
693
694 class PaymentIntentModifyParamsPaymentMethodDataAcssDebit(TypedDict):
695 account_number: str
696 """
697 Customer's bank account number.
698 """
699 institution_number: str
700 """
701 Institution number of the customer's bank.
702 """
703 transit_number: str
704 """
705 Transit number of the customer's bank.
706 """
707
708
709 class PaymentIntentModifyParamsPaymentMethodDataAffirm(TypedDict):
710 pass
711
712
713 class PaymentIntentModifyParamsPaymentMethodDataAfterpayClearpay(TypedDict):
714 pass
715
716
717 class PaymentIntentModifyParamsPaymentMethodDataAlipay(TypedDict):
718 pass
719
720
721 class PaymentIntentModifyParamsPaymentMethodDataAlma(TypedDict):
722 pass
723
724
725 class PaymentIntentModifyParamsPaymentMethodDataAmazonPay(TypedDict):
726 pass
727
728
729 class PaymentIntentModifyParamsPaymentMethodDataAuBecsDebit(TypedDict):
730 account_number: str
731 """
732 The account number for the bank account.
733 """
734 bsb_number: str
735 """
736 Bank-State-Branch number of the bank account.
737 """
738
739
740 class PaymentIntentModifyParamsPaymentMethodDataBacsDebit(TypedDict):
741 account_number: NotRequired[str]
742 """
743 Account number of the bank account that the funds will be debited from.
744 """
745 sort_code: NotRequired[str]
746 """
747 Sort code of the bank account. (e.g., `10-20-30`)
748 """
749
750
751 class PaymentIntentModifyParamsPaymentMethodDataBancontact(TypedDict):
752 pass
753
754
755 class PaymentIntentModifyParamsPaymentMethodDataBillie(TypedDict):
756 pass
757
758
759 class PaymentIntentModifyParamsPaymentMethodDataBillingDetails(TypedDict):
760 address: NotRequired[
761 "Literal['']|PaymentIntentModifyParamsPaymentMethodDataBillingDetailsAddress"
762 ]
763 """
764 Billing address.
765 """
766 email: NotRequired["Literal['']|str"]
767 """
768 Email address.
769 """
770 name: NotRequired["Literal['']|str"]
771 """
772 Full name.
773 """
774 phone: NotRequired["Literal['']|str"]
775 """
776 Billing phone number (including extension).
777 """
778 tax_id: NotRequired[str]
779 """
780 Taxpayer identification number. Used only for transactions between LATAM buyers and non-LATAM sellers.
781 """
782
783
784 class PaymentIntentModifyParamsPaymentMethodDataBillingDetailsAddress(
785 TypedDict,
786 ):
787 city: NotRequired[str]
788 """
789 City, district, suburb, town, or village.
790 """
791 country: NotRequired[str]
792 """
793 Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
794 """
795 line1: NotRequired[str]
796 """
797 Address line 1, such as the street, PO Box, or company name.
798 """
799 line2: NotRequired[str]
800 """
801 Address line 2, such as the apartment, suite, unit, or building.
802 """
803 postal_code: NotRequired[str]
804 """
805 ZIP or postal code.
806 """
807 state: NotRequired[str]
808 """
809 State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
810 """
811
812
813 class PaymentIntentModifyParamsPaymentMethodDataBlik(TypedDict):
814 pass
815
816
817 class PaymentIntentModifyParamsPaymentMethodDataBoleto(TypedDict):
818 tax_id: str
819 """
820 The tax ID of the customer (CPF for individual consumers or CNPJ for businesses consumers)
821 """
822
823
824 class PaymentIntentModifyParamsPaymentMethodDataCashapp(TypedDict):
825 pass
826
827
828 class PaymentIntentModifyParamsPaymentMethodDataCrypto(TypedDict):
829 pass
830
831
832 class PaymentIntentModifyParamsPaymentMethodDataCustomerBalance(TypedDict):
833 pass
834
835
836 class PaymentIntentModifyParamsPaymentMethodDataEps(TypedDict):
837 bank: NotRequired[
838 Literal[
839 "arzte_und_apotheker_bank",
840 "austrian_anadi_bank_ag",
841 "bank_austria",
842 "bankhaus_carl_spangler",
843 "bankhaus_schelhammer_und_schattera_ag",
844 "bawag_psk_ag",
845 "bks_bank_ag",
846 "brull_kallmus_bank_ag",
847 "btv_vier_lander_bank",
848 "capital_bank_grawe_gruppe_ag",
849 "deutsche_bank_ag",
850 "dolomitenbank",
851 "easybank_ag",
852 "erste_bank_und_sparkassen",
853 "hypo_alpeadriabank_international_ag",
854 "hypo_bank_burgenland_aktiengesellschaft",
855 "hypo_noe_lb_fur_niederosterreich_u_wien",
856 "hypo_oberosterreich_salzburg_steiermark",
857 "hypo_tirol_bank_ag",
858 "hypo_vorarlberg_bank_ag",
859 "marchfelder_bank",
860 "oberbank_ag",
861 "raiffeisen_bankengruppe_osterreich",
862 "schoellerbank_ag",
863 "sparda_bank_wien",
864 "volksbank_gruppe",
865 "volkskreditbank_ag",
866 "vr_bank_braunau",
867 ]
868 ]
869 """
870 The customer's bank.
871 """
872
873
874 class PaymentIntentModifyParamsPaymentMethodDataFpx(TypedDict):
875 account_holder_type: NotRequired[Literal["company", "individual"]]
876 """
877 Account holder type for FPX transaction
878 """
879 bank: Literal[
880 "affin_bank",
881 "agrobank",
882 "alliance_bank",
883 "ambank",
884 "bank_islam",
885 "bank_muamalat",
886 "bank_of_china",
887 "bank_rakyat",
888 "bsn",
889 "cimb",
890 "deutsche_bank",
891 "hong_leong_bank",
892 "hsbc",
893 "kfh",
894 "maybank2e",
895 "maybank2u",
896 "ocbc",
897 "pb_enterprise",
898 "public_bank",
899 "rhb",
900 "standard_chartered",
901 "uob",
902 ]
903 """
904 The customer's bank.
905 """
906
907
908 class PaymentIntentModifyParamsPaymentMethodDataGiropay(TypedDict):
909 pass
910
911
912 class PaymentIntentModifyParamsPaymentMethodDataGrabpay(TypedDict):
913 pass
914
915
916 class PaymentIntentModifyParamsPaymentMethodDataIdeal(TypedDict):
917 bank: NotRequired[
918 Literal[
919 "abn_amro",
920 "adyen",
921 "asn_bank",
922 "bunq",
923 "buut",
924 "finom",
925 "handelsbanken",
926 "ing",
927 "knab",
928 "mollie",
929 "moneyou",
930 "n26",
931 "nn",
932 "rabobank",
933 "regiobank",
934 "revolut",
935 "sns_bank",
936 "triodos_bank",
937 "van_lanschot",
938 "yoursafe",
939 ]
940 ]
941 """
942 The customer's bank. Only use this parameter for existing customers. Don't use it for new customers.
943 """
944
945
946 class PaymentIntentModifyParamsPaymentMethodDataInteracPresent(TypedDict):
947 pass
948
949
950 class PaymentIntentModifyParamsPaymentMethodDataKakaoPay(TypedDict):
951 pass
952
953
954 class PaymentIntentModifyParamsPaymentMethodDataKlarna(TypedDict):
955 dob: NotRequired["PaymentIntentModifyParamsPaymentMethodDataKlarnaDob"]
956 """
957 Customer's date of birth
958 """
959
960
961 class PaymentIntentModifyParamsPaymentMethodDataKlarnaDob(TypedDict):
962 day: int
963 """
964 The day of birth, between 1 and 31.
965 """
966 month: int
967 """
968 The month of birth, between 1 and 12.
969 """
970 year: int
971 """
972 The four-digit year of birth.
973 """
974
975
976 class PaymentIntentModifyParamsPaymentMethodDataKonbini(TypedDict):
977 pass
978
979
980 class PaymentIntentModifyParamsPaymentMethodDataKrCard(TypedDict):
981 pass
982
983
984 class PaymentIntentModifyParamsPaymentMethodDataLink(TypedDict):
985 pass
986
987
988 class PaymentIntentModifyParamsPaymentMethodDataMbWay(TypedDict):
989 pass
990
991
992 class PaymentIntentModifyParamsPaymentMethodDataMobilepay(TypedDict):
993 pass
994
995
996 class PaymentIntentModifyParamsPaymentMethodDataMultibanco(TypedDict):
997 pass
998
999
1000 class PaymentIntentModifyParamsPaymentMethodDataNaverPay(TypedDict):
1001 funding: NotRequired[Literal["card", "points"]]
1002 """
1003 Whether to use Naver Pay points or a card to fund this transaction. If not provided, this defaults to `card`.
1004 """
1005
1006
1007 class PaymentIntentModifyParamsPaymentMethodDataNzBankAccount(TypedDict):
1008 account_holder_name: NotRequired[str]
1009 """
1010 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.
1011 """
1012 account_number: str
1013 """
1014 The account number for the bank account.
1015 """
1016 bank_code: str
1017 """
1018 The numeric code for the bank account's bank.
1019 """
1020 branch_code: str
1021 """
1022 The numeric code for the bank account's bank branch.
1023 """
1024 reference: NotRequired[str]
1025 suffix: str
1026 """
1027 The suffix of the bank account number.
1028 """
1029
1030
1031 class PaymentIntentModifyParamsPaymentMethodDataOxxo(TypedDict):
1032 pass
1033
1034
1035 class PaymentIntentModifyParamsPaymentMethodDataP24(TypedDict):
1036 bank: NotRequired[
1037 Literal[
1038 "alior_bank",
1039 "bank_millennium",
1040 "bank_nowy_bfg_sa",
1041 "bank_pekao_sa",
1042 "banki_spbdzielcze",
1043 "blik",
1044 "bnp_paribas",
1045 "boz",
1046 "citi_handlowy",
1047 "credit_agricole",
1048 "envelobank",
1049 "etransfer_pocztowy24",
1050 "getin_bank",
1051 "ideabank",
1052 "ing",
1053 "inteligo",
1054 "mbank_mtransfer",
1055 "nest_przelew",
1056 "noble_pay",
1057 "pbac_z_ipko",
1058 "plus_bank",
1059 "santander_przelew24",
1060 "tmobile_usbugi_bankowe",
1061 "toyota_bank",
1062 "velobank",
1063 "volkswagen_bank",
1064 ]
1065 ]
1066 """
1067 The customer's bank.
1068 """
1069
1070
1071 class PaymentIntentModifyParamsPaymentMethodDataPayByBank(TypedDict):
1072 pass
1073
1074
1075 class PaymentIntentModifyParamsPaymentMethodDataPayco(TypedDict):
1076 pass
1077
1078
1079 class PaymentIntentModifyParamsPaymentMethodDataPaynow(TypedDict):
1080 pass
1081
1082
1083 class PaymentIntentModifyParamsPaymentMethodDataPaypal(TypedDict):
1084 pass
1085
1086
1087 class PaymentIntentModifyParamsPaymentMethodDataPayto(TypedDict):
1088 account_number: NotRequired[str]
1089 """
1090 The account number for the bank account.
1091 """
1092 bsb_number: NotRequired[str]
1093 """
1094 Bank-State-Branch number of the bank account.
1095 """
1096 pay_id: NotRequired[str]
1097 """
1098 The PayID alias for the bank account.
1099 """
1100
1101
1102 class PaymentIntentModifyParamsPaymentMethodDataPix(TypedDict):
1103 pass
1104
1105
1106 class PaymentIntentModifyParamsPaymentMethodDataPromptpay(TypedDict):
1107 pass
1108
1109
1110 class PaymentIntentModifyParamsPaymentMethodDataRadarOptions(TypedDict):
1111 session: NotRequired[str]
1112 """
1113 A [Radar Session](https://docs.stripe.com/radar/radar-session) is a snapshot of the browser metadata and device details that help Radar make more accurate predictions on your payments.
1114 """
1115
1116
1117 class PaymentIntentModifyParamsPaymentMethodDataRevolutPay(TypedDict):
1118 pass
1119
1120
1121 class PaymentIntentModifyParamsPaymentMethodDataSamsungPay(TypedDict):
1122 pass
1123
1124
1125 class PaymentIntentModifyParamsPaymentMethodDataSatispay(TypedDict):
1126 pass
1127
1128
1129 class PaymentIntentModifyParamsPaymentMethodDataSepaDebit(TypedDict):
1130 iban: str
1131 """
1132 IBAN of the bank account.
1133 """
1134
1135
1136 class PaymentIntentModifyParamsPaymentMethodDataSofort(TypedDict):
1137 country: Literal["AT", "BE", "DE", "ES", "IT", "NL"]
1138 """
1139 Two-letter ISO code representing the country the bank account is located in.
1140 """
1141
1142
1143 class PaymentIntentModifyParamsPaymentMethodDataSwish(TypedDict):
1144 pass
1145
1146
1147 class PaymentIntentModifyParamsPaymentMethodDataTwint(TypedDict):
1148 pass
1149
1150
1151 class PaymentIntentModifyParamsPaymentMethodDataUsBankAccount(TypedDict):
1152 account_holder_type: NotRequired[Literal["company", "individual"]]
1153 """
1154 Account holder type: individual or company.
1155 """
1156 account_number: NotRequired[str]
1157 """
1158 Account number of the bank account.
1159 """
1160 account_type: NotRequired[Literal["checking", "savings"]]
1161 """
1162 Account type: checkings or savings. Defaults to checking if omitted.
1163 """
1164 financial_connections_account: NotRequired[str]
1165 """
1166 The ID of a Financial Connections Account to use as a payment method.
1167 """
1168 routing_number: NotRequired[str]
1169 """
1170 Routing number of the bank account.
1171 """
1172
1173
1174 class PaymentIntentModifyParamsPaymentMethodDataWechatPay(TypedDict):
1175 pass
1176
1177
1178 class PaymentIntentModifyParamsPaymentMethodDataZip(TypedDict):
1179 pass
1180
1181
1182 class PaymentIntentModifyParamsPaymentMethodOptions(TypedDict):
1183 acss_debit: NotRequired[
1184 "Literal['']|PaymentIntentModifyParamsPaymentMethodOptionsAcssDebit"
1185 ]
1186 """
1187 If this is a `acss_debit` PaymentMethod, this sub-hash contains details about the ACSS Debit payment method options.
1188 """
1189 affirm: NotRequired[
1190 "Literal['']|PaymentIntentModifyParamsPaymentMethodOptionsAffirm"
1191 ]
1192 """
1193 If this is an `affirm` PaymentMethod, this sub-hash contains details about the Affirm payment method options.
1194 """
1195 afterpay_clearpay: NotRequired[
1196 "Literal['']|PaymentIntentModifyParamsPaymentMethodOptionsAfterpayClearpay"
1197 ]
1198 """
1199 If this is a `afterpay_clearpay` PaymentMethod, this sub-hash contains details about the Afterpay Clearpay payment method options.
1200 """
1201 alipay: NotRequired[
1202 "Literal['']|PaymentIntentModifyParamsPaymentMethodOptionsAlipay"
1203 ]
1204 """
1205 If this is a `alipay` PaymentMethod, this sub-hash contains details about the Alipay payment method options.
1206 """
1207 alma: NotRequired[
1208 "Literal['']|PaymentIntentModifyParamsPaymentMethodOptionsAlma"
1209 ]
1210 """
1211 If this is a `alma` PaymentMethod, this sub-hash contains details about the Alma payment method options.
1212 """
1213 amazon_pay: NotRequired[
1214 "Literal['']|PaymentIntentModifyParamsPaymentMethodOptionsAmazonPay"
1215 ]
1216 """
1217 If this is a `amazon_pay` PaymentMethod, this sub-hash contains details about the Amazon Pay payment method options.
1218 """
1219 au_becs_debit: NotRequired[
1220 "Literal['']|PaymentIntentModifyParamsPaymentMethodOptionsAuBecsDebit"
1221 ]
1222 """
1223 If this is a `au_becs_debit` PaymentMethod, this sub-hash contains details about the AU BECS Direct Debit payment method options.
1224 """
1225 bacs_debit: NotRequired[
1226 "Literal['']|PaymentIntentModifyParamsPaymentMethodOptionsBacsDebit"
1227 ]
1228 """
1229 If this is a `bacs_debit` PaymentMethod, this sub-hash contains details about the BACS Debit payment method options.
1230 """
1231 bancontact: NotRequired[
1232 "Literal['']|PaymentIntentModifyParamsPaymentMethodOptionsBancontact"
1233 ]
1234 """
1235 If this is a `bancontact` PaymentMethod, this sub-hash contains details about the Bancontact payment method options.
1236 """
1237 billie: NotRequired[
1238 "Literal['']|PaymentIntentModifyParamsPaymentMethodOptionsBillie"
1239 ]
1240 """
1241 If this is a `billie` PaymentMethod, this sub-hash contains details about the Billie payment method options.
1242 """
1243 blik: NotRequired[
1244 "Literal['']|PaymentIntentModifyParamsPaymentMethodOptionsBlik"
1245 ]
1246 """
1247 If this is a `blik` PaymentMethod, this sub-hash contains details about the BLIK payment method options.
1248 """
1249 boleto: NotRequired[
1250 "Literal['']|PaymentIntentModifyParamsPaymentMethodOptionsBoleto"
1251 ]
1252 """
1253 If this is a `boleto` PaymentMethod, this sub-hash contains details about the Boleto payment method options.
1254 """
1255 card: NotRequired[
1256 "Literal['']|PaymentIntentModifyParamsPaymentMethodOptionsCard"
1257 ]
1258 """
1259 Configuration for any card payments attempted on this PaymentIntent.
1260 """
1261 card_present: NotRequired[
1262 "Literal['']|PaymentIntentModifyParamsPaymentMethodOptionsCardPresent"
1263 ]
1264 """
1265 If this is a `card_present` PaymentMethod, this sub-hash contains details about the Card Present payment method options.
1266 """
1267 cashapp: NotRequired[
1268 "Literal['']|PaymentIntentModifyParamsPaymentMethodOptionsCashapp"
1269 ]
1270 """
1271 If this is a `cashapp` PaymentMethod, this sub-hash contains details about the Cash App Pay payment method options.
1272 """
1273 crypto: NotRequired[
1274 "Literal['']|PaymentIntentModifyParamsPaymentMethodOptionsCrypto"
1275 ]
1276 """
1277 If this is a `crypto` PaymentMethod, this sub-hash contains details about the Crypto payment method options.
1278 """
1279 customer_balance: NotRequired[
1280 "Literal['']|PaymentIntentModifyParamsPaymentMethodOptionsCustomerBalance"
1281 ]
1282 """
1283 If this is a `customer balance` PaymentMethod, this sub-hash contains details about the customer balance payment method options.
1284 """
1285 eps: NotRequired[
1286 "Literal['']|PaymentIntentModifyParamsPaymentMethodOptionsEps"
1287 ]
1288 """
1289 If this is a `eps` PaymentMethod, this sub-hash contains details about the EPS payment method options.
1290 """
1291 fpx: NotRequired[
1292 "Literal['']|PaymentIntentModifyParamsPaymentMethodOptionsFpx"
1293 ]
1294 """
1295 If this is a `fpx` PaymentMethod, this sub-hash contains details about the FPX payment method options.
1296 """
1297 giropay: NotRequired[
1298 "Literal['']|PaymentIntentModifyParamsPaymentMethodOptionsGiropay"
1299 ]
1300 """
1301 If this is a `giropay` PaymentMethod, this sub-hash contains details about the Giropay payment method options.
1302 """
1303 grabpay: NotRequired[
1304 "Literal['']|PaymentIntentModifyParamsPaymentMethodOptionsGrabpay"
1305 ]
1306 """
1307 If this is a `grabpay` PaymentMethod, this sub-hash contains details about the Grabpay payment method options.
1308 """
1309 ideal: NotRequired[
1310 "Literal['']|PaymentIntentModifyParamsPaymentMethodOptionsIdeal"
1311 ]
1312 """
1313 If this is a `ideal` PaymentMethod, this sub-hash contains details about the Ideal payment method options.
1314 """
1315 interac_present: NotRequired[
1316 "Literal['']|PaymentIntentModifyParamsPaymentMethodOptionsInteracPresent"
1317 ]
1318 """
1319 If this is a `interac_present` PaymentMethod, this sub-hash contains details about the Card Present payment method options.
1320 """
1321 kakao_pay: NotRequired[
1322 "Literal['']|PaymentIntentModifyParamsPaymentMethodOptionsKakaoPay"
1323 ]
1324 """
1325 If this is a `kakao_pay` PaymentMethod, this sub-hash contains details about the Kakao Pay payment method options.
1326 """
1327 klarna: NotRequired[
1328 "Literal['']|PaymentIntentModifyParamsPaymentMethodOptionsKlarna"
1329 ]
1330 """
1331 If this is a `klarna` PaymentMethod, this sub-hash contains details about the Klarna payment method options.
1332 """
1333 konbini: NotRequired[
1334 "Literal['']|PaymentIntentModifyParamsPaymentMethodOptionsKonbini"
1335 ]
1336 """
1337 If this is a `konbini` PaymentMethod, this sub-hash contains details about the Konbini payment method options.
1338 """
1339 kr_card: NotRequired[
1340 "Literal['']|PaymentIntentModifyParamsPaymentMethodOptionsKrCard"
1341 ]
1342 """
1343 If this is a `kr_card` PaymentMethod, this sub-hash contains details about the KR Card payment method options.
1344 """
1345 link: NotRequired[
1346 "Literal['']|PaymentIntentModifyParamsPaymentMethodOptionsLink"
1347 ]
1348 """
1349 If this is a `link` PaymentMethod, this sub-hash contains details about the Link payment method options.
1350 """
1351 mb_way: NotRequired[
1352 "Literal['']|PaymentIntentModifyParamsPaymentMethodOptionsMbWay"
1353 ]
1354 """
1355 If this is a `mb_way` PaymentMethod, this sub-hash contains details about the MB WAY payment method options.
1356 """
1357 mobilepay: NotRequired[
1358 "Literal['']|PaymentIntentModifyParamsPaymentMethodOptionsMobilepay"
1359 ]
1360 """
1361 If this is a `MobilePay` PaymentMethod, this sub-hash contains details about the MobilePay payment method options.
1362 """
1363 multibanco: NotRequired[
1364 "Literal['']|PaymentIntentModifyParamsPaymentMethodOptionsMultibanco"
1365 ]
1366 """
1367 If this is a `multibanco` PaymentMethod, this sub-hash contains details about the Multibanco payment method options.
1368 """
1369 naver_pay: NotRequired[
1370 "Literal['']|PaymentIntentModifyParamsPaymentMethodOptionsNaverPay"
1371 ]
1372 """
1373 If this is a `naver_pay` PaymentMethod, this sub-hash contains details about the Naver Pay payment method options.
1374 """
1375 nz_bank_account: NotRequired[
1376 "Literal['']|PaymentIntentModifyParamsPaymentMethodOptionsNzBankAccount"
1377 ]
1378 """
1379 If this is a `nz_bank_account` PaymentMethod, this sub-hash contains details about the NZ BECS Direct Debit payment method options.
1380 """
1381 oxxo: NotRequired[
1382 "Literal['']|PaymentIntentModifyParamsPaymentMethodOptionsOxxo"
1383 ]
1384 """
1385 If this is a `oxxo` PaymentMethod, this sub-hash contains details about the OXXO payment method options.
1386 """
1387 p24: NotRequired[
1388 "Literal['']|PaymentIntentModifyParamsPaymentMethodOptionsP24"
1389 ]
1390 """
1391 If this is a `p24` PaymentMethod, this sub-hash contains details about the Przelewy24 payment method options.
1392 """
1393 pay_by_bank: NotRequired[
1394 "Literal['']|PaymentIntentModifyParamsPaymentMethodOptionsPayByBank"
1395 ]
1396 """
1397 If this is a `pay_by_bank` PaymentMethod, this sub-hash contains details about the PayByBank payment method options.
1398 """
1399 payco: NotRequired[
1400 "Literal['']|PaymentIntentModifyParamsPaymentMethodOptionsPayco"
1401 ]
1402 """
1403 If this is a `payco` PaymentMethod, this sub-hash contains details about the PAYCO payment method options.
1404 """
1405 paynow: NotRequired[
1406 "Literal['']|PaymentIntentModifyParamsPaymentMethodOptionsPaynow"
1407 ]
1408 """
1409 If this is a `paynow` PaymentMethod, this sub-hash contains details about the PayNow payment method options.
1410 """
1411 paypal: NotRequired[
1412 "Literal['']|PaymentIntentModifyParamsPaymentMethodOptionsPaypal"
1413 ]
1414 """
1415 If this is a `paypal` PaymentMethod, this sub-hash contains details about the PayPal payment method options.
1416 """
1417 payto: NotRequired[
1418 "Literal['']|PaymentIntentModifyParamsPaymentMethodOptionsPayto"
1419 ]
1420 """
1421 If this is a `payto` PaymentMethod, this sub-hash contains details about the PayTo payment method options.
1422 """
1423 pix: NotRequired[
1424 "Literal['']|PaymentIntentModifyParamsPaymentMethodOptionsPix"
1425 ]
1426 """
1427 If this is a `pix` PaymentMethod, this sub-hash contains details about the Pix payment method options.
1428 """
1429 promptpay: NotRequired[
1430 "Literal['']|PaymentIntentModifyParamsPaymentMethodOptionsPromptpay"
1431 ]
1432 """
1433 If this is a `promptpay` PaymentMethod, this sub-hash contains details about the PromptPay payment method options.
1434 """
1435 revolut_pay: NotRequired[
1436 "Literal['']|PaymentIntentModifyParamsPaymentMethodOptionsRevolutPay"
1437 ]
1438 """
1439 If this is a `revolut_pay` PaymentMethod, this sub-hash contains details about the Revolut Pay payment method options.
1440 """
1441 samsung_pay: NotRequired[
1442 "Literal['']|PaymentIntentModifyParamsPaymentMethodOptionsSamsungPay"
1443 ]
1444 """
1445 If this is a `samsung_pay` PaymentMethod, this sub-hash contains details about the Samsung Pay payment method options.
1446 """
1447 satispay: NotRequired[
1448 "Literal['']|PaymentIntentModifyParamsPaymentMethodOptionsSatispay"
1449 ]
1450 """
1451 If this is a `satispay` PaymentMethod, this sub-hash contains details about the Satispay payment method options.
1452 """
1453 sepa_debit: NotRequired[
1454 "Literal['']|PaymentIntentModifyParamsPaymentMethodOptionsSepaDebit"
1455 ]
1456 """
1457 If this is a `sepa_debit` PaymentIntent, this sub-hash contains details about the SEPA Debit payment method options.
1458 """
1459 sofort: NotRequired[
1460 "Literal['']|PaymentIntentModifyParamsPaymentMethodOptionsSofort"
1461 ]
1462 """
1463 If this is a `sofort` PaymentMethod, this sub-hash contains details about the SOFORT payment method options.
1464 """
1465 swish: NotRequired[
1466 "Literal['']|PaymentIntentModifyParamsPaymentMethodOptionsSwish"
1467 ]
1468 """
1469 If this is a `Swish` PaymentMethod, this sub-hash contains details about the Swish payment method options.
1470 """
1471 twint: NotRequired[
1472 "Literal['']|PaymentIntentModifyParamsPaymentMethodOptionsTwint"
1473 ]
1474 """
1475 If this is a `twint` PaymentMethod, this sub-hash contains details about the TWINT payment method options.
1476 """
1477 us_bank_account: NotRequired[
1478 "Literal['']|PaymentIntentModifyParamsPaymentMethodOptionsUsBankAccount"
1479 ]
1480 """
1481 If this is a `us_bank_account` PaymentMethod, this sub-hash contains details about the US bank account payment method options.
1482 """
1483 wechat_pay: NotRequired[
1484 "Literal['']|PaymentIntentModifyParamsPaymentMethodOptionsWechatPay"
1485 ]
1486 """
1487 If this is a `wechat_pay` PaymentMethod, this sub-hash contains details about the WeChat Pay payment method options.
1488 """
1489 zip: NotRequired[
1490 "Literal['']|PaymentIntentModifyParamsPaymentMethodOptionsZip"
1491 ]
1492 """
1493 If this is a `zip` PaymentMethod, this sub-hash contains details about the Zip payment method options.
1494 """
1495
1496
1497 class PaymentIntentModifyParamsPaymentMethodOptionsAcssDebit(TypedDict):
1498 mandate_options: NotRequired[
1499 "PaymentIntentModifyParamsPaymentMethodOptionsAcssDebitMandateOptions"
1500 ]
1501 """
1502 Additional fields for Mandate creation
1503 """
1504 setup_future_usage: NotRequired[
1505 "Literal['']|Literal['none', 'off_session', 'on_session']"
1506 ]
1507 """
1508 Indicates that you intend to make future payments with this PaymentIntent's payment method.
1509
1510 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.
1511
1512 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.
1513
1514 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).
1515
1516 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`.
1517 """
1518 target_date: NotRequired[str]
1519 """
1520 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.
1521 """
1522 verification_method: NotRequired[
1523 Literal["automatic", "instant", "microdeposits"]
1524 ]
1525 """
1526 Bank account verification method.
1527 """
1528
1529
1530 class PaymentIntentModifyParamsPaymentMethodOptionsAcssDebitMandateOptions(
1531 TypedDict,
1532 ):
1533 custom_mandate_url: NotRequired["Literal['']|str"]
1534 """
1535 A URL for custom mandate text to render during confirmation step.
1536 The URL will be rendered with additional GET parameters `payment_intent` and `payment_intent_client_secret` when confirming a Payment Intent,
1537 or `setup_intent` and `setup_intent_client_secret` when confirming a Setup Intent.
1538 """
1539 interval_description: NotRequired[str]
1540 """
1541 Description of the mandate interval. Only required if 'payment_schedule' parameter is 'interval' or 'combined'.
1542 """
1543 payment_schedule: NotRequired[Literal["combined", "interval", "sporadic"]]
1544 """
1545 Payment schedule for the mandate.
1546 """
1547 transaction_type: NotRequired[Literal["business", "personal"]]
1548 """
1549 Transaction type of the mandate.
1550 """
1551
1552
1553 class PaymentIntentModifyParamsPaymentMethodOptionsAffirm(TypedDict):
1554 capture_method: NotRequired["Literal['']|Literal['manual']"]
1555 """
1556 Controls when the funds are captured from the customer's account.
1557
1558 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.
1559
1560 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.
1561 """
1562 preferred_locale: NotRequired[str]
1563 """
1564 Preferred language of the Affirm authorization page that the customer is redirected to.
1565 """
1566 setup_future_usage: NotRequired[Literal["none"]]
1567 """
1568 Indicates that you intend to make future payments with this PaymentIntent's payment method.
1569
1570 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.
1571
1572 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.
1573
1574 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).
1575
1576 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`.
1577 """
1578
1579
1580 class PaymentIntentModifyParamsPaymentMethodOptionsAfterpayClearpay(TypedDict):
1581 capture_method: NotRequired["Literal['']|Literal['manual']"]
1582 """
1583 Controls when the funds are captured from the customer's account.
1584
1585 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.
1586
1587 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.
1588 """
1589 reference: NotRequired[str]
1590 """
1591 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.
1592 This field differs from the statement descriptor and item name.
1593 """
1594 setup_future_usage: NotRequired[Literal["none"]]
1595 """
1596 Indicates that you intend to make future payments with this PaymentIntent's payment method.
1597
1598 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.
1599
1600 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.
1601
1602 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).
1603
1604 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`.
1605 """
1606
1607
1608 class PaymentIntentModifyParamsPaymentMethodOptionsAlipay(TypedDict):
1609 setup_future_usage: NotRequired[
1610 "Literal['']|Literal['none', 'off_session']"
1611 ]
1612 """
1613 Indicates that you intend to make future payments with this PaymentIntent's payment method.
1614
1615 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.
1616
1617 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.
1618
1619 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).
1620
1621 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`.
1622 """
1623
1624
1625 class PaymentIntentModifyParamsPaymentMethodOptionsAlma(TypedDict):
1626 capture_method: NotRequired["Literal['']|Literal['manual']"]
1627 """
1628 Controls when the funds are captured from the customer's account.
1629
1630 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.
1631
1632 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.
1633 """
1634
1635
1636 class PaymentIntentModifyParamsPaymentMethodOptionsAmazonPay(TypedDict):
1637 capture_method: NotRequired["Literal['']|Literal['manual']"]
1638 """
1639 Controls when the funds are captured from the customer's account.
1640
1641 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.
1642
1643 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.
1644 """
1645 setup_future_usage: NotRequired[
1646 "Literal['']|Literal['none', 'off_session']"
1647 ]
1648 """
1649 Indicates that you intend to make future payments with this PaymentIntent's payment method.
1650
1651 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.
1652
1653 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.
1654
1655 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).
1656 """
1657
1658
1659 class PaymentIntentModifyParamsPaymentMethodOptionsAuBecsDebit(TypedDict):
1660 setup_future_usage: NotRequired[
1661 "Literal['']|Literal['none', 'off_session', 'on_session']"
1662 ]
1663 """
1664 Indicates that you intend to make future payments with this PaymentIntent's payment method.
1665
1666 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.
1667
1668 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.
1669
1670 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).
1671
1672 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`.
1673 """
1674 target_date: NotRequired[str]
1675 """
1676 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.
1677 """
1678
1679
1680 class PaymentIntentModifyParamsPaymentMethodOptionsBacsDebit(TypedDict):
1681 mandate_options: NotRequired[
1682 "PaymentIntentModifyParamsPaymentMethodOptionsBacsDebitMandateOptions"
1683 ]
1684 """
1685 Additional fields for Mandate creation
1686 """
1687 setup_future_usage: NotRequired[
1688 "Literal['']|Literal['none', 'off_session', 'on_session']"
1689 ]
1690 """
1691 Indicates that you intend to make future payments with this PaymentIntent's payment method.
1692
1693 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.
1694
1695 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.
1696
1697 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).
1698
1699 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`.
1700 """
1701 target_date: NotRequired[str]
1702 """
1703 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.
1704 """
1705
1706
1707 class PaymentIntentModifyParamsPaymentMethodOptionsBacsDebitMandateOptions(
1708 TypedDict,
1709 ):
1710 reference_prefix: NotRequired["Literal['']|str"]
1711 """
1712 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'.
1713 """
1714
1715
1716 class PaymentIntentModifyParamsPaymentMethodOptionsBancontact(TypedDict):
1717 preferred_language: NotRequired[Literal["de", "en", "fr", "nl"]]
1718 """
1719 Preferred language of the Bancontact authorization page that the customer is redirected to.
1720 """
1721 setup_future_usage: NotRequired[
1722 "Literal['']|Literal['none', 'off_session']"
1723 ]
1724 """
1725 Indicates that you intend to make future payments with this PaymentIntent's payment method.
1726
1727 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.
1728
1729 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.
1730
1731 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).
1732
1733 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`.
1734 """
1735
1736
1737 class PaymentIntentModifyParamsPaymentMethodOptionsBillie(TypedDict):
1738 capture_method: NotRequired["Literal['']|Literal['manual']"]
1739 """
1740 Controls when the funds are captured from the customer's account.
1741
1742 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.
1743
1744 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.
1745 """
1746
1747
1748 class PaymentIntentModifyParamsPaymentMethodOptionsBlik(TypedDict):
1749 code: NotRequired[str]
1750 """
1751 The 6-digit BLIK code that a customer has generated using their banking application. Can only be set on confirmation.
1752 """
1753 setup_future_usage: NotRequired["Literal['']|Literal['none']"]
1754 """
1755 Indicates that you intend to make future payments with this PaymentIntent's payment method.
1756
1757 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.
1758
1759 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.
1760
1761 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).
1762
1763 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`.
1764 """
1765
1766
1767 class PaymentIntentModifyParamsPaymentMethodOptionsBoleto(TypedDict):
1768 expires_after_days: NotRequired[int]
1769 """
1770 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.
1771 """
1772 setup_future_usage: NotRequired[
1773 "Literal['']|Literal['none', 'off_session', 'on_session']"
1774 ]
1775 """
1776 Indicates that you intend to make future payments with this PaymentIntent's payment method.
1777
1778 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.
1779
1780 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.
1781
1782 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).
1783
1784 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`.
1785 """
1786
1787
1788 class PaymentIntentModifyParamsPaymentMethodOptionsCard(TypedDict):
1789 capture_method: NotRequired["Literal['']|Literal['manual']"]
1790 """
1791 Controls when the funds are captured from the customer's account.
1792
1793 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.
1794
1795 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.
1796 """
1797 cvc_token: NotRequired[str]
1798 """
1799 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.
1800 """
1801 installments: NotRequired[
1802 "PaymentIntentModifyParamsPaymentMethodOptionsCardInstallments"
1803 ]
1804 """
1805 Installment configuration for payments attempted on this PaymentIntent.
1806
1807 For more information, see the [installments integration guide](https://docs.stripe.com/payments/installments).
1808 """
1809 mandate_options: NotRequired[
1810 "PaymentIntentModifyParamsPaymentMethodOptionsCardMandateOptions"
1811 ]
1812 """
1813 Configuration options for setting up an eMandate for cards issued in India.
1814 """
1815 moto: NotRequired[bool]
1816 """
1817 When specified, this parameter indicates that a transaction will be marked
1818 as MOTO (Mail Order Telephone Order) and thus out of scope for SCA. This
1819 parameter can only be provided during confirmation.
1820 """
1821 network: NotRequired[
1822 Literal[
1823 "amex",
1824 "cartes_bancaires",
1825 "diners",
1826 "discover",
1827 "eftpos_au",
1828 "girocard",
1829 "interac",
1830 "jcb",
1831 "link",
1832 "mastercard",
1833 "unionpay",
1834 "unknown",
1835 "visa",
1836 ]
1837 ]
1838 """
1839 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.
1840 """
1841 request_extended_authorization: NotRequired[
1842 Literal["if_available", "never"]
1843 ]
1844 """
1845 Request ability to [capture beyond the standard authorization validity window](https://docs.stripe.com/payments/extended-authorization) for this PaymentIntent.
1846 """
1847 request_incremental_authorization: NotRequired[
1848 Literal["if_available", "never"]
1849 ]
1850 """
1851 Request ability to [increment the authorization](https://docs.stripe.com/payments/incremental-authorization) for this PaymentIntent.
1852 """
1853 request_multicapture: NotRequired[Literal["if_available", "never"]]
1854 """
1855 Request ability to make [multiple captures](https://docs.stripe.com/payments/multicapture) for this PaymentIntent.
1856 """
1857 request_overcapture: NotRequired[Literal["if_available", "never"]]
1858 """
1859 Request ability to [overcapture](https://docs.stripe.com/payments/overcapture) for this PaymentIntent.
1860 """
1861 request_three_d_secure: NotRequired[
1862 Literal["any", "automatic", "challenge"]
1863 ]
1864 """
1865 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://docs.stripe.com/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://docs.stripe.com/payments/3d-secure/authentication-flow#manual-three-ds) for more information on how this configuration interacts with Radar and our SCA Engine.
1866 """
1867 require_cvc_recollection: NotRequired[bool]
1868 """
1869 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).
1870 """
1871 setup_future_usage: NotRequired[
1872 "Literal['']|Literal['none', 'off_session', 'on_session']"
1873 ]
1874 """
1875 Indicates that you intend to make future payments with this PaymentIntent's payment method.
1876
1877 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.
1878
1879 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.
1880
1881 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).
1882
1883 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`.
1884 """
1885 statement_descriptor_suffix_kana: NotRequired["Literal['']|str"]
1886 """
1887 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.
1888 """
1889 statement_descriptor_suffix_kanji: NotRequired["Literal['']|str"]
1890 """
1891 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.
1892 """
1893 three_d_secure: NotRequired[
1894 "PaymentIntentModifyParamsPaymentMethodOptionsCardThreeDSecure"
1895 ]
1896 """
1897 If 3D Secure authentication was performed with a third-party provider,
1898 the authentication details to use for this payment.
1899 """
1900
1901
1902 class PaymentIntentModifyParamsPaymentMethodOptionsCardInstallments(TypedDict):
1903 enabled: NotRequired[bool]
1904 """
1905 Setting to true enables installments for this PaymentIntent.
1906 This will cause the response to contain a list of available installment plans.
1907 Setting to false will prevent any selected plan from applying to a charge.
1908 """
1909 plan: NotRequired[
1910 "Literal['']|PaymentIntentModifyParamsPaymentMethodOptionsCardInstallmentsPlan"
1911 ]
1912 """
1913 The selected installment plan to use for this payment attempt.
1914 This parameter can only be provided during confirmation.
1915 """
1916
1917
1918 class PaymentIntentModifyParamsPaymentMethodOptionsCardInstallmentsPlan(
1919 TypedDict,
1920 ):
1921 count: NotRequired[int]
1922 """
1923 For `fixed_count` installment plans, this is required. It represents the number of installment payments your customer will make to their credit card.
1924 """
1925 interval: NotRequired[Literal["month"]]
1926 """
1927 For `fixed_count` installment plans, this is required. It represents the interval between installment payments your customer will make to their credit card.
1928 One of `month`.
1929 """
1930 type: Literal["bonus", "fixed_count", "revolving"]
1931 """
1932 Type of installment plan, one of `fixed_count`, `bonus`, or `revolving`.
1933 """
1934
1935
1936 class PaymentIntentModifyParamsPaymentMethodOptionsCardMandateOptions(
1937 TypedDict,
1938 ):
1939 amount: int
1940 """
1941 Amount to be charged for future payments.
1942 """
1943 amount_type: Literal["fixed", "maximum"]
1944 """
1945 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.
1946 """
1947 description: NotRequired[str]
1948 """
1949 A description of the mandate or subscription that is meant to be displayed to the customer.
1950 """
1951 end_date: NotRequired[int]
1952 """
1953 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.
1954 """
1955 interval: Literal["day", "month", "sporadic", "week", "year"]
1956 """
1957 Specifies payment frequency. One of `day`, `week`, `month`, `year`, or `sporadic`.
1958 """
1959 interval_count: NotRequired[int]
1960 """
1961 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`.
1962 """
1963 reference: str
1964 """
1965 Unique identifier for the mandate or subscription.
1966 """
1967 start_date: int
1968 """
1969 Start date of the mandate or subscription. Start date should not be lesser than yesterday.
1970 """
1971 supported_types: NotRequired[List[Literal["india"]]]
1972 """
1973 Specifies the type of mandates supported. Possible values are `india`.
1974 """
1975
1976
1977 class PaymentIntentModifyParamsPaymentMethodOptionsCardThreeDSecure(TypedDict):
1978 ares_trans_status: NotRequired[Literal["A", "C", "I", "N", "R", "U", "Y"]]
1979 """
1980 The `transStatus` returned from the card Issuer's ACS in the ARes.
1981 """
1982 cryptogram: str
1983 """
1984 The cryptogram, also known as the "authentication value" (AAV, CAVV or
1985 AEVV). This value is 20 bytes, base64-encoded into a 28-character string.
1986 (Most 3D Secure providers will return the base64-encoded version, which
1987 is what you should specify here.)
1988 """
1989 electronic_commerce_indicator: NotRequired[
1990 Literal["01", "02", "05", "06", "07"]
1991 ]
1992 """
1993 The Electronic Commerce Indicator (ECI) is returned by your 3D Secure
1994 provider and indicates what degree of authentication was performed.
1995 """
1996 exemption_indicator: NotRequired[Literal["low_risk", "none"]]
1997 """
1998 The exemption requested via 3DS and accepted by the issuer at authentication time.
1999 """
2000 network_options: NotRequired[
2001 "PaymentIntentModifyParamsPaymentMethodOptionsCardThreeDSecureNetworkOptions"
2002 ]
2003 """
2004 Network specific 3DS fields. Network specific arguments require an
2005 explicit card brand choice. The parameter `payment_method_options.card.network``
2006 must be populated accordingly
2007 """
2008 requestor_challenge_indicator: NotRequired[str]
2009 """
2010 The challenge indicator (`threeDSRequestorChallengeInd`) which was requested in the
2011 AReq sent to the card Issuer's ACS. A string containing 2 digits from 01-99.
2012 """
2013 transaction_id: str
2014 """
2015 For 3D Secure 1, the XID. For 3D Secure 2, the Directory Server
2016 Transaction ID (dsTransID).
2017 """
2018 version: Literal["1.0.2", "2.1.0", "2.2.0", "2.3.0", "2.3.1"]
2019 """
2020 The version of 3D Secure that was performed.
2021 """
2022
2023
2024 class PaymentIntentModifyParamsPaymentMethodOptionsCardThreeDSecureNetworkOptions(
2025 TypedDict,
2026 ):
2027 cartes_bancaires: NotRequired[
2028 "PaymentIntentModifyParamsPaymentMethodOptionsCardThreeDSecureNetworkOptionsCartesBancaires"
2029 ]
2030 """
2031 Cartes Bancaires-specific 3DS fields.
2032 """
2033
2034
2035 class PaymentIntentModifyParamsPaymentMethodOptionsCardThreeDSecureNetworkOptionsCartesBancaires(
2036 TypedDict,
2037 ):
2038 cb_avalgo: Literal["0", "1", "2", "3", "4", "A"]
2039 """
2040 The cryptogram calculation algorithm used by the card Issuer's ACS
2041 to calculate the Authentication cryptogram. Also known as `cavvAlgorithm`.
2042 messageExtension: CB-AVALGO
2043 """
2044 cb_exemption: NotRequired[str]
2045 """
2046 The exemption indicator returned from Cartes Bancaires in the ARes.
2047 message extension: CB-EXEMPTION; string (4 characters)
2048 This is a 3 byte bitmap (low significant byte first and most significant
2049 bit first) that has been Base64 encoded
2050 """
2051 cb_score: NotRequired[int]
2052 """
2053 The risk score returned from Cartes Bancaires in the ARes.
2054 message extension: CB-SCORE; numeric value 0-99
2055 """
2056
2057
2058 class PaymentIntentModifyParamsPaymentMethodOptionsCardPresent(TypedDict):
2059 capture_method: NotRequired[Literal["manual", "manual_preferred"]]
2060 """
2061 Controls when the funds are captured from the customer's account.
2062
2063 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.
2064
2065 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.
2066 """
2067 request_extended_authorization: NotRequired[bool]
2068 """
2069 Request ability to capture this payment beyond the standard [authorization validity window](https://docs.stripe.com/terminal/features/extended-authorizations#authorization-validity)
2070 """
2071 request_incremental_authorization_support: NotRequired[bool]
2072 """
2073 Request ability to [increment](https://docs.stripe.com/terminal/features/incremental-authorizations) this PaymentIntent if the combination of MCC and card brand is eligible. Check [incremental_authorization_supported](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-incremental_authorization_supported) in the [Confirm](https://docs.stripe.com/api/payment_intents/confirm) response to verify support.
2074 """
2075 routing: NotRequired[
2076 "PaymentIntentModifyParamsPaymentMethodOptionsCardPresentRouting"
2077 ]
2078 """
2079 Network routing priority on co-branded EMV cards supporting domestic debit and international card schemes.
2080 """
2081
2082
2083 class PaymentIntentModifyParamsPaymentMethodOptionsCardPresentRouting(
2084 TypedDict,
2085 ):
2086 requested_priority: NotRequired[Literal["domestic", "international"]]
2087 """
2088 Routing requested priority
2089 """
2090
2091
2092 class PaymentIntentModifyParamsPaymentMethodOptionsCashapp(TypedDict):
2093 capture_method: NotRequired["Literal['']|Literal['manual']"]
2094 """
2095 Controls when the funds are captured from the customer's account.
2096
2097 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.
2098
2099 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.
2100 """
2101 setup_future_usage: NotRequired[
2102 "Literal['']|Literal['none', 'off_session', 'on_session']"
2103 ]
2104 """
2105 Indicates that you intend to make future payments with this PaymentIntent's payment method.
2106
2107 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.
2108
2109 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.
2110
2111 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).
2112
2113 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`.
2114 """
2115
2116
2117 class PaymentIntentModifyParamsPaymentMethodOptionsCrypto(TypedDict):
2118 setup_future_usage: NotRequired[Literal["none"]]
2119 """
2120 Indicates that you intend to make future payments with this PaymentIntent's payment method.
2121
2122 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.
2123
2124 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.
2125
2126 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).
2127
2128 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`.
2129 """
2130
2131
2132 class PaymentIntentModifyParamsPaymentMethodOptionsCustomerBalance(TypedDict):
2133 bank_transfer: NotRequired[
2134 "PaymentIntentModifyParamsPaymentMethodOptionsCustomerBalanceBankTransfer"
2135 ]
2136 """
2137 Configuration for the bank transfer funding type, if the `funding_type` is set to `bank_transfer`.
2138 """
2139 funding_type: NotRequired[Literal["bank_transfer"]]
2140 """
2141 The funding method type to be used when there are not enough funds in the customer balance. Permitted values include: `bank_transfer`.
2142 """
2143 setup_future_usage: NotRequired[Literal["none"]]
2144 """
2145 Indicates that you intend to make future payments with this PaymentIntent's payment method.
2146
2147 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.
2148
2149 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.
2150
2151 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).
2152
2153 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`.
2154 """
2155
2156
2157 class PaymentIntentModifyParamsPaymentMethodOptionsCustomerBalanceBankTransfer(
2158 TypedDict,
2159 ):
2160 eu_bank_transfer: NotRequired[
2161 "PaymentIntentModifyParamsPaymentMethodOptionsCustomerBalanceBankTransferEuBankTransfer"
2162 ]
2163 """
2164 Configuration for the eu_bank_transfer funding type.
2165 """
2166 requested_address_types: NotRequired[
2167 List[
2168 Literal[
2169 "aba", "iban", "sepa", "sort_code", "spei", "swift", "zengin"
2170 ]
2171 ]
2172 ]
2173 """
2174 List of address types that should be returned in the financial_addresses response. If not specified, all valid types will be returned.
2175
2176 Permitted values include: `sort_code`, `zengin`, `iban`, or `spei`.
2177 """
2178 type: Literal[
2179 "eu_bank_transfer",
2180 "gb_bank_transfer",
2181 "jp_bank_transfer",
2182 "mx_bank_transfer",
2183 "us_bank_transfer",
2184 ]
2185 """
2186 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`.
2187 """
2188
2189
2190 class PaymentIntentModifyParamsPaymentMethodOptionsCustomerBalanceBankTransferEuBankTransfer(
2191 TypedDict,
2192 ):
2193 country: str
2194 """
2195 The desired country code of the bank account information. Permitted values include: `DE`, `FR`, `IE`, or `NL`.
2196 """
2197
2198
2199 class PaymentIntentModifyParamsPaymentMethodOptionsEps(TypedDict):
2200 setup_future_usage: NotRequired[Literal["none"]]
2201 """
2202 Indicates that you intend to make future payments with this PaymentIntent's payment method.
2203
2204 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.
2205
2206 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.
2207
2208 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).
2209
2210 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`.
2211 """
2212
2213
2214 class PaymentIntentModifyParamsPaymentMethodOptionsFpx(TypedDict):
2215 setup_future_usage: NotRequired[Literal["none"]]
2216 """
2217 Indicates that you intend to make future payments with this PaymentIntent's payment method.
2218
2219 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.
2220
2221 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.
2222
2223 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).
2224
2225 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`.
2226 """
2227
2228
2229 class PaymentIntentModifyParamsPaymentMethodOptionsGiropay(TypedDict):
2230 setup_future_usage: NotRequired[Literal["none"]]
2231 """
2232 Indicates that you intend to make future payments with this PaymentIntent's payment method.
2233
2234 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.
2235
2236 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.
2237
2238 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).
2239
2240 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`.
2241 """
2242
2243
2244 class PaymentIntentModifyParamsPaymentMethodOptionsGrabpay(TypedDict):
2245 setup_future_usage: NotRequired[Literal["none"]]
2246 """
2247 Indicates that you intend to make future payments with this PaymentIntent's payment method.
2248
2249 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.
2250
2251 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.
2252
2253 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).
2254
2255 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`.
2256 """
2257
2258
2259 class PaymentIntentModifyParamsPaymentMethodOptionsIdeal(TypedDict):
2260 setup_future_usage: NotRequired[
2261 "Literal['']|Literal['none', 'off_session']"
2262 ]
2263 """
2264 Indicates that you intend to make future payments with this PaymentIntent's payment method.
2265
2266 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.
2267
2268 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.
2269
2270 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).
2271
2272 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`.
2273 """
2274
2275
2276 class PaymentIntentModifyParamsPaymentMethodOptionsInteracPresent(TypedDict):
2277 pass
2278
2279
2280 class PaymentIntentModifyParamsPaymentMethodOptionsKakaoPay(TypedDict):
2281 capture_method: NotRequired["Literal['']|Literal['manual']"]
2282 """
2283 Controls when the funds are captured from the customer's account.
2284
2285 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.
2286
2287 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.
2288 """
2289 setup_future_usage: NotRequired[
2290 "Literal['']|Literal['none', 'off_session']"
2291 ]
2292 """
2293 Indicates that you intend to make future payments with this PaymentIntent's payment method.
2294
2295 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.
2296
2297 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.
2298
2299 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).
2300 """
2301
2302
2303 class PaymentIntentModifyParamsPaymentMethodOptionsKlarna(TypedDict):
2304 capture_method: NotRequired["Literal['']|Literal['manual']"]
2305 """
2306 Controls when the funds are captured from the customer's account.
2307
2308 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.
2309
2310 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.
2311 """
2312 on_demand: NotRequired[
2313 "PaymentIntentModifyParamsPaymentMethodOptionsKlarnaOnDemand"
2314 ]
2315 """
2316 On-demand details if setting up or charging an on-demand payment.
2317 """
2318 preferred_locale: NotRequired[
2319 Literal[
2320 "cs-CZ",
2321 "da-DK",
2322 "de-AT",
2323 "de-CH",
2324 "de-DE",
2325 "el-GR",
2326 "en-AT",
2327 "en-AU",
2328 "en-BE",
2329 "en-CA",
2330 "en-CH",
2331 "en-CZ",
2332 "en-DE",
2333 "en-DK",
2334 "en-ES",
2335 "en-FI",
2336 "en-FR",
2337 "en-GB",
2338 "en-GR",
2339 "en-IE",
2340 "en-IT",
2341 "en-NL",
2342 "en-NO",
2343 "en-NZ",
2344 "en-PL",
2345 "en-PT",
2346 "en-RO",
2347 "en-SE",
2348 "en-US",
2349 "es-ES",
2350 "es-US",
2351 "fi-FI",
2352 "fr-BE",
2353 "fr-CA",
2354 "fr-CH",
2355 "fr-FR",
2356 "it-CH",
2357 "it-IT",
2358 "nb-NO",
2359 "nl-BE",
2360 "nl-NL",
2361 "pl-PL",
2362 "pt-PT",
2363 "ro-RO",
2364 "sv-FI",
2365 "sv-SE",
2366 ]
2367 ]
2368 """
2369 Preferred language of the Klarna authorization page that the customer is redirected to
2370 """
2371 setup_future_usage: NotRequired[
2372 Literal["none", "off_session", "on_session"]
2373 ]
2374 """
2375 Indicates that you intend to make future payments with this PaymentIntent's payment method.
2376
2377 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.
2378
2379 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.
2380
2381 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).
2382
2383 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`.
2384 """
2385 subscriptions: NotRequired[
2386 "Literal['']|List[PaymentIntentModifyParamsPaymentMethodOptionsKlarnaSubscription]"
2387 ]
2388 """
2389 Subscription details if setting up or charging a subscription.
2390 """
2391
2392
2393 class PaymentIntentModifyParamsPaymentMethodOptionsKlarnaOnDemand(TypedDict):
2394 average_amount: NotRequired[int]
2395 """
2396 Your average amount value. You can use a value across your customer base, or segment based on customer type, country, etc.
2397 """
2398 maximum_amount: NotRequired[int]
2399 """
2400 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.
2401 """
2402 minimum_amount: NotRequired[int]
2403 """
2404 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.
2405 """
2406 purchase_interval: NotRequired[Literal["day", "month", "week", "year"]]
2407 """
2408 Interval at which the customer is making purchases
2409 """
2410 purchase_interval_count: NotRequired[int]
2411 """
2412 The number of `purchase_interval` between charges
2413 """
2414
2415
2416 class PaymentIntentModifyParamsPaymentMethodOptionsKlarnaSubscription(
2417 TypedDict,
2418 ):
2419 interval: Literal["day", "month", "week", "year"]
2420 """
2421 Unit of time between subscription charges.
2422 """
2423 interval_count: NotRequired[int]
2424 """
2425 The number of intervals (specified in the `interval` attribute) between subscription charges. For example, `interval=month` and `interval_count=3` charges every 3 months.
2426 """
2427 name: NotRequired[str]
2428 """
2429 Name for subscription.
2430 """
2431 next_billing: NotRequired[
2432 "PaymentIntentModifyParamsPaymentMethodOptionsKlarnaSubscriptionNextBilling"
2433 ]
2434 """
2435 Describes the upcoming charge for this subscription.
2436 """
2437 reference: str
2438 """
2439 A non-customer-facing reference to correlate subscription charges in the Klarna app. Use a value that persists across subscription charges.
2440 """
2441
2442
2443 class PaymentIntentModifyParamsPaymentMethodOptionsKlarnaSubscriptionNextBilling(
2444 TypedDict,
2445 ):
2446 amount: int
2447 """
2448 The amount of the next charge for the subscription.
2449 """
2450 date: str
2451 """
2452 The date of the next charge for the subscription in YYYY-MM-DD format.
2453 """
2454
2455
2456 class PaymentIntentModifyParamsPaymentMethodOptionsKonbini(TypedDict):
2457 confirmation_number: NotRequired["Literal['']|str"]
2458 """
2459 An optional 10 to 11 digit numeric-only string determining the confirmation code at applicable convenience stores. Must not consist of only zeroes and could be rejected in case of insufficient uniqueness. We recommend to use the customer's phone number.
2460 """
2461 expires_after_days: NotRequired["Literal['']|int"]
2462 """
2463 The number of calendar days (between 1 and 60) after which Konbini payment instructions will expire. For example, if a PaymentIntent is confirmed with Konbini and `expires_after_days` set to 2 on Monday JST, the instructions will expire on Wednesday 23:59:59 JST. Defaults to 3 days.
2464 """
2465 expires_at: NotRequired["Literal['']|int"]
2466 """
2467 The timestamp at which the Konbini payment instructions will expire. Only one of `expires_after_days` or `expires_at` may be set.
2468 """
2469 product_description: NotRequired["Literal['']|str"]
2470 """
2471 A product descriptor of up to 22 characters, which will appear to customers at the convenience store.
2472 """
2473 setup_future_usage: NotRequired[Literal["none"]]
2474 """
2475 Indicates that you intend to make future payments with this PaymentIntent's payment method.
2476
2477 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.
2478
2479 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.
2480
2481 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).
2482
2483 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`.
2484 """
2485
2486
2487 class PaymentIntentModifyParamsPaymentMethodOptionsKrCard(TypedDict):
2488 capture_method: NotRequired["Literal['']|Literal['manual']"]
2489 """
2490 Controls when the funds are captured from the customer's account.
2491
2492 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.
2493
2494 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.
2495 """
2496 setup_future_usage: NotRequired[
2497 "Literal['']|Literal['none', 'off_session']"
2498 ]
2499 """
2500 Indicates that you intend to make future payments with this PaymentIntent's payment method.
2501
2502 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.
2503
2504 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.
2505
2506 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).
2507 """
2508
2509
2510 class PaymentIntentModifyParamsPaymentMethodOptionsLink(TypedDict):
2511 capture_method: NotRequired["Literal['']|Literal['manual']"]
2512 """
2513 Controls when the funds are captured from the customer's account.
2514
2515 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.
2516
2517 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.
2518 """
2519 persistent_token: NotRequired[str]
2520 """
2521 [Deprecated] This is a legacy parameter that no longer has any function.
2522 """
2523 setup_future_usage: NotRequired[
2524 "Literal['']|Literal['none', 'off_session']"
2525 ]
2526 """
2527 Indicates that you intend to make future payments with this PaymentIntent's payment method.
2528
2529 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.
2530
2531 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.
2532
2533 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).
2534
2535 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`.
2536 """
2537
2538
2539 class PaymentIntentModifyParamsPaymentMethodOptionsMbWay(TypedDict):
2540 setup_future_usage: NotRequired[Literal["none"]]
2541 """
2542 Indicates that you intend to make future payments with this PaymentIntent's payment method.
2543
2544 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.
2545
2546 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.
2547
2548 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).
2549
2550 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`.
2551 """
2552
2553
2554 class PaymentIntentModifyParamsPaymentMethodOptionsMobilepay(TypedDict):
2555 capture_method: NotRequired["Literal['']|Literal['manual']"]
2556 """
2557 Controls when the funds are captured from the customer's account.
2558
2559 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.
2560
2561 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.
2562 """
2563 setup_future_usage: NotRequired[Literal["none"]]
2564 """
2565 Indicates that you intend to make future payments with this PaymentIntent's payment method.
2566
2567 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.
2568
2569 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.
2570
2571 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).
2572
2573 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`.
2574 """
2575
2576
2577 class PaymentIntentModifyParamsPaymentMethodOptionsMultibanco(TypedDict):
2578 setup_future_usage: NotRequired[Literal["none"]]
2579 """
2580 Indicates that you intend to make future payments with this PaymentIntent's payment method.
2581
2582 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.
2583
2584 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.
2585
2586 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).
2587
2588 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`.
2589 """
2590
2591
2592 class PaymentIntentModifyParamsPaymentMethodOptionsNaverPay(TypedDict):
2593 capture_method: NotRequired["Literal['']|Literal['manual']"]
2594 """
2595 Controls when the funds are captured from the customer's account.
2596
2597 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.
2598
2599 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.
2600 """
2601 setup_future_usage: NotRequired[
2602 "Literal['']|Literal['none', 'off_session']"
2603 ]
2604 """
2605 Indicates that you intend to make future payments with this PaymentIntent's payment method.
2606
2607 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.
2608
2609 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.
2610
2611 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).
2612 """
2613
2614
2615 class PaymentIntentModifyParamsPaymentMethodOptionsNzBankAccount(TypedDict):
2616 setup_future_usage: NotRequired[
2617 "Literal['']|Literal['none', 'off_session', 'on_session']"
2618 ]
2619 """
2620 Indicates that you intend to make future payments with this PaymentIntent's payment method.
2621
2622 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.
2623
2624 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.
2625
2626 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).
2627
2628 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`.
2629 """
2630 target_date: NotRequired[str]
2631 """
2632 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.
2633 """
2634
2635
2636 class PaymentIntentModifyParamsPaymentMethodOptionsOxxo(TypedDict):
2637 expires_after_days: NotRequired[int]
2638 """
2639 The number of calendar days before an OXXO voucher expires. For example, if you create an OXXO voucher on Monday and you set expires_after_days to 2, the OXXO invoice will expire on Wednesday at 23:59 America/Mexico_City time.
2640 """
2641 setup_future_usage: NotRequired[Literal["none"]]
2642 """
2643 Indicates that you intend to make future payments with this PaymentIntent's payment method.
2644
2645 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.
2646
2647 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.
2648
2649 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).
2650
2651 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`.
2652 """
2653
2654
2655 class PaymentIntentModifyParamsPaymentMethodOptionsP24(TypedDict):
2656 setup_future_usage: NotRequired[Literal["none"]]
2657 """
2658 Indicates that you intend to make future payments with this PaymentIntent's payment method.
2659
2660 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.
2661
2662 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.
2663
2664 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).
2665
2666 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`.
2667 """
2668 tos_shown_and_accepted: NotRequired[bool]
2669 """
2670 Confirm that the payer has accepted the P24 terms and conditions.
2671 """
2672
2673
2674 class PaymentIntentModifyParamsPaymentMethodOptionsPayByBank(TypedDict):
2675 pass
2676
2677
2678 class PaymentIntentModifyParamsPaymentMethodOptionsPayco(TypedDict):
2679 capture_method: NotRequired["Literal['']|Literal['manual']"]
2680 """
2681 Controls when the funds are captured from the customer's account.
2682
2683 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.
2684
2685 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.
2686 """
2687
2688
2689 class PaymentIntentModifyParamsPaymentMethodOptionsPaynow(TypedDict):
2690 setup_future_usage: NotRequired[Literal["none"]]
2691 """
2692 Indicates that you intend to make future payments with this PaymentIntent's payment method.
2693
2694 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.
2695
2696 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.
2697
2698 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).
2699
2700 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`.
2701 """
2702
2703
2704 class PaymentIntentModifyParamsPaymentMethodOptionsPaypal(TypedDict):
2705 capture_method: NotRequired["Literal['']|Literal['manual']"]
2706 """
2707 Controls when the funds will be captured from the customer's account.
2708 """
2709 preferred_locale: NotRequired[
2710 Literal[
2711 "cs-CZ",
2712 "da-DK",
2713 "de-AT",
2714 "de-DE",
2715 "de-LU",
2716 "el-GR",
2717 "en-GB",
2718 "en-US",
2719 "es-ES",
2720 "fi-FI",
2721 "fr-BE",
2722 "fr-FR",
2723 "fr-LU",
2724 "hu-HU",
2725 "it-IT",
2726 "nl-BE",
2727 "nl-NL",
2728 "pl-PL",
2729 "pt-PT",
2730 "sk-SK",
2731 "sv-SE",
2732 ]
2733 ]
2734 """
2735 [Preferred locale](https://docs.stripe.com/payments/paypal/supported-locales) of the PayPal checkout page that the customer is redirected to.
2736 """
2737 reference: NotRequired[str]
2738 """
2739 A reference of the PayPal transaction visible to customer which is mapped to PayPal's invoice ID. This must be a globally unique ID if you have configured in your PayPal settings to block multiple payments per invoice ID.
2740 """
2741 risk_correlation_id: NotRequired[str]
2742 """
2743 The risk correlation ID for an on-session payment using a saved PayPal payment method.
2744 """
2745 setup_future_usage: NotRequired[
2746 "Literal['']|Literal['none', 'off_session']"
2747 ]
2748 """
2749 Indicates that you intend to make future payments with this PaymentIntent's payment method.
2750
2751 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.
2752
2753 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.
2754
2755 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).
2756
2757 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`.
2758 """
2759
2760
2761 class PaymentIntentModifyParamsPaymentMethodOptionsPayto(TypedDict):
2762 mandate_options: NotRequired[
2763 "PaymentIntentModifyParamsPaymentMethodOptionsPaytoMandateOptions"
2764 ]
2765 """
2766 Additional fields for Mandate creation. Only `purpose` field is configurable for PayTo PaymentIntent with `setup_future_usage=none`. Other fields are only applicable to PayTo PaymentIntent with `setup_future_usage=off_session`
2767 """
2768 setup_future_usage: NotRequired[
2769 "Literal['']|Literal['none', 'off_session']"
2770 ]
2771 """
2772 Indicates that you intend to make future payments with this PaymentIntent's payment method.
2773
2774 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.
2775
2776 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.
2777
2778 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).
2779
2780 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`.
2781 """
2782
2783
2784 class PaymentIntentModifyParamsPaymentMethodOptionsPaytoMandateOptions(
2785 TypedDict,
2786 ):
2787 amount: NotRequired["Literal['']|int"]
2788 """
2789 Amount that will be collected. It is required when `amount_type` is `fixed`.
2790 """
2791 amount_type: NotRequired["Literal['']|Literal['fixed', 'maximum']"]
2792 """
2793 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`.
2794 """
2795 end_date: NotRequired["Literal['']|str"]
2796 """
2797 Date, in YYYY-MM-DD format, after which payments will not be collected. Defaults to no end date.
2798 """
2799 payment_schedule: NotRequired[
2800 "Literal['']|Literal['adhoc', 'annual', 'daily', 'fortnightly', 'monthly', 'quarterly', 'semi_annual', 'weekly']"
2801 ]
2802 """
2803 The periodicity at which payments will be collected. Defaults to `adhoc`.
2804 """
2805 payments_per_period: NotRequired["Literal['']|int"]
2806 """
2807 The number of payments that will be made during a payment period. Defaults to 1 except for when `payment_schedule` is `adhoc`. In that case, it defaults to no limit.
2808 """
2809 purpose: NotRequired[
2810 "Literal['']|Literal['dependant_support', 'government', 'loan', 'mortgage', 'other', 'pension', 'personal', 'retail', 'salary', 'tax', 'utility']"
2811 ]
2812 """
2813 The purpose for which payments are made. Has a default value based on your merchant category code.
2814 """
2815
2816
2817 class PaymentIntentModifyParamsPaymentMethodOptionsPix(TypedDict):
2818 amount_includes_iof: NotRequired[Literal["always", "never"]]
2819 """
2820 Determines if the amount includes the IOF tax. Defaults to `never`.
2821 """
2822 expires_after_seconds: NotRequired[int]
2823 """
2824 The number of seconds (between 10 and 1209600) after which Pix payment will expire. Defaults to 86400 seconds.
2825 """
2826 expires_at: NotRequired[int]
2827 """
2828 The timestamp at which the Pix expires (between 10 and 1209600 seconds in the future). Defaults to 1 day in the future.
2829 """
2830 setup_future_usage: NotRequired[Literal["none"]]
2831 """
2832 Indicates that you intend to make future payments with this PaymentIntent's payment method.
2833
2834 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.
2835
2836 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.
2837
2838 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).
2839
2840 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`.
2841 """
2842
2843
2844 class PaymentIntentModifyParamsPaymentMethodOptionsPromptpay(TypedDict):
2845 setup_future_usage: NotRequired[Literal["none"]]
2846 """
2847 Indicates that you intend to make future payments with this PaymentIntent's payment method.
2848
2849 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.
2850
2851 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.
2852
2853 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).
2854
2855 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`.
2856 """
2857
2858
2859 class PaymentIntentModifyParamsPaymentMethodOptionsRevolutPay(TypedDict):
2860 capture_method: NotRequired["Literal['']|Literal['manual']"]
2861 """
2862 Controls when the funds are captured from the customer's account.
2863
2864 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.
2865
2866 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.
2867 """
2868 setup_future_usage: NotRequired[
2869 "Literal['']|Literal['none', 'off_session']"
2870 ]
2871 """
2872 Indicates that you intend to make future payments with this PaymentIntent's payment method.
2873
2874 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.
2875
2876 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.
2877
2878 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).
2879 """
2880
2881
2882 class PaymentIntentModifyParamsPaymentMethodOptionsSamsungPay(TypedDict):
2883 capture_method: NotRequired["Literal['']|Literal['manual']"]
2884 """
2885 Controls when the funds are captured from the customer's account.
2886
2887 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.
2888
2889 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.
2890 """
2891
2892
2893 class PaymentIntentModifyParamsPaymentMethodOptionsSatispay(TypedDict):
2894 capture_method: NotRequired["Literal['']|Literal['manual']"]
2895 """
2896 Controls when the funds are captured from the customer's account.
2897
2898 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.
2899
2900 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.
2901 """
2902
2903
2904 class PaymentIntentModifyParamsPaymentMethodOptionsSepaDebit(TypedDict):
2905 mandate_options: NotRequired[
2906 "PaymentIntentModifyParamsPaymentMethodOptionsSepaDebitMandateOptions"
2907 ]
2908 """
2909 Additional fields for Mandate creation
2910 """
2911 setup_future_usage: NotRequired[
2912 "Literal['']|Literal['none', 'off_session', 'on_session']"
2913 ]
2914 """
2915 Indicates that you intend to make future payments with this PaymentIntent's payment method.
2916
2917 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.
2918
2919 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.
2920
2921 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).
2922
2923 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`.
2924 """
2925 target_date: NotRequired[str]
2926 """
2927 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.
2928 """
2929
2930
2931 class PaymentIntentModifyParamsPaymentMethodOptionsSepaDebitMandateOptions(
2932 TypedDict,
2933 ):
2934 reference_prefix: NotRequired["Literal['']|str"]
2935 """
2936 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 'STRIPE'.
2937 """
2938
2939
2940 class PaymentIntentModifyParamsPaymentMethodOptionsSofort(TypedDict):
2941 preferred_language: NotRequired[
2942 "Literal['']|Literal['de', 'en', 'es', 'fr', 'it', 'nl', 'pl']"
2943 ]
2944 """
2945 Language shown to the payer on redirect.
2946 """
2947 setup_future_usage: NotRequired[
2948 "Literal['']|Literal['none', 'off_session']"
2949 ]
2950 """
2951 Indicates that you intend to make future payments with this PaymentIntent's payment method.
2952
2953 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.
2954
2955 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.
2956
2957 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).
2958
2959 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`.
2960 """
2961
2962
2963 class PaymentIntentModifyParamsPaymentMethodOptionsSwish(TypedDict):
2964 reference: NotRequired["Literal['']|str"]
2965 """
2966 A reference for this payment to be displayed in the Swish app.
2967 """
2968 setup_future_usage: NotRequired[Literal["none"]]
2969 """
2970 Indicates that you intend to make future payments with this PaymentIntent's payment method.
2971
2972 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.
2973
2974 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.
2975
2976 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).
2977
2978 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`.
2979 """
2980
2981
2982 class PaymentIntentModifyParamsPaymentMethodOptionsTwint(TypedDict):
2983 setup_future_usage: NotRequired[Literal["none"]]
2984 """
2985 Indicates that you intend to make future payments with this PaymentIntent's payment method.
2986
2987 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.
2988
2989 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.
2990
2991 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).
2992
2993 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`.
2994 """
2995
2996
2997 class PaymentIntentModifyParamsPaymentMethodOptionsUsBankAccount(TypedDict):
2998 financial_connections: NotRequired[
2999 "PaymentIntentModifyParamsPaymentMethodOptionsUsBankAccountFinancialConnections"
3000 ]
3001 """
3002 Additional fields for Financial Connections Session creation
3003 """
3004 mandate_options: NotRequired[
3005 "PaymentIntentModifyParamsPaymentMethodOptionsUsBankAccountMandateOptions"
3006 ]
3007 """
3008 Additional fields for Mandate creation
3009 """
3010 networks: NotRequired[
3011 "PaymentIntentModifyParamsPaymentMethodOptionsUsBankAccountNetworks"
3012 ]
3013 """
3014 Additional fields for network related functions
3015 """
3016 setup_future_usage: NotRequired[
3017 "Literal['']|Literal['none', 'off_session', 'on_session']"
3018 ]
3019 """
3020 Indicates that you intend to make future payments with this PaymentIntent's payment method.
3021
3022 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.
3023
3024 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.
3025
3026 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).
3027
3028 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`.
3029 """
3030 target_date: NotRequired[str]
3031 """
3032 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.
3033 """
3034 transaction_purpose: NotRequired[
3035 "Literal['']|Literal['goods', 'other', 'services', 'unspecified']"
3036 ]
3037 """
3038 The purpose of the transaction.
3039 """
3040 verification_method: NotRequired[
3041 Literal["automatic", "instant", "microdeposits"]
3042 ]
3043 """
3044 Bank account verification method.
3045 """
3046 preferred_settlement_speed: NotRequired[
3047 "Literal['']|Literal['fastest', 'standard']"
3048 ]
3049 """
3050 Preferred transaction settlement speed
3051 """
3052
3053
3054 class PaymentIntentModifyParamsPaymentMethodOptionsUsBankAccountFinancialConnections(
3055 TypedDict,
3056 ):
3057 filters: NotRequired[
3058 "PaymentIntentModifyParamsPaymentMethodOptionsUsBankAccountFinancialConnectionsFilters"
3059 ]
3060 """
3061 Provide filters for the linked accounts that the customer can select for the payment method.
3062 """
3063 permissions: NotRequired[
3064 List[
3065 Literal["balances", "ownership", "payment_method", "transactions"]
3066 ]
3067 ]
3068 """
3069 The list of permissions to request. If this parameter is passed, the `payment_method` permission must be included. Valid permissions include: `balances`, `ownership`, `payment_method`, and `transactions`.
3070 """
3071 prefetch: NotRequired[
3072 List[Literal["balances", "ownership", "transactions"]]
3073 ]
3074 """
3075 List of data features that you would like to retrieve upon account creation.
3076 """
3077 return_url: NotRequired[str]
3078 """
3079 For webview integrations only. Upon completing OAuth login in the native browser, the user will be redirected to this URL to return to your app.
3080 """
3081
3082
3083 class PaymentIntentModifyParamsPaymentMethodOptionsUsBankAccountFinancialConnectionsFilters(
3084 TypedDict,
3085 ):
3086 account_subcategories: NotRequired[List[Literal["checking", "savings"]]]
3087 """
3088 The account subcategories to use to filter for selectable accounts. Valid subcategories are `checking` and `savings`.
3089 """
3090
3091
3092 class PaymentIntentModifyParamsPaymentMethodOptionsUsBankAccountMandateOptions(
3093 TypedDict,
3094 ):
3095 collection_method: NotRequired["Literal['']|Literal['paper']"]
3096 """
3097 The method used to collect offline mandate customer acceptance.
3098 """
3099
3100
3101 class PaymentIntentModifyParamsPaymentMethodOptionsUsBankAccountNetworks(
3102 TypedDict,
3103 ):
3104 requested: NotRequired[List[Literal["ach", "us_domestic_wire"]]]
3105 """
3106 Triggers validations to run across the selected networks
3107 """
3108
3109
3110 class PaymentIntentModifyParamsPaymentMethodOptionsWechatPay(TypedDict):
3111 app_id: NotRequired[str]
3112 """
3113 The app ID registered with WeChat Pay. Only required when client is ios or android.
3114 """
3115 client: NotRequired[Literal["android", "ios", "web"]]
3116 """
3117 The client type that the end customer will pay from
3118 """
3119 setup_future_usage: NotRequired[Literal["none"]]
3120 """
3121 Indicates that you intend to make future payments with this PaymentIntent's payment method.
3122
3123 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.
3124
3125 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.
3126
3127 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).
3128
3129 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`.
3130 """
3131
3132
3133 class PaymentIntentModifyParamsPaymentMethodOptionsZip(TypedDict):
3134 setup_future_usage: NotRequired[Literal["none"]]
3135 """
3136 Indicates that you intend to make future payments with this PaymentIntent's payment method.
3137
3138 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.
3139
3140 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.
3141
3142 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).
3143
3144 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`.
3145 """
3146
3147
3148 class PaymentIntentModifyParamsShipping(TypedDict):
3149 address: "PaymentIntentModifyParamsShippingAddress"
3150 """
3151 Shipping address.
3152 """
3153 carrier: NotRequired[str]
3154 """
3155 The delivery service that shipped a physical product, such as Fedex, UPS, USPS, etc.
3156 """
3157 name: str
3158 """
3159 Recipient name.
3160 """
3161 phone: NotRequired[str]
3162 """
3163 Recipient phone (including extension).
3164 """
3165 tracking_number: NotRequired[str]
3166 """
3167 The tracking number for a physical product, obtained from the delivery service. If multiple tracking numbers were generated for this purchase, please separate them with commas.
3168 """
3169
3170
3171 class PaymentIntentModifyParamsShippingAddress(TypedDict):
3172 city: NotRequired[str]
3173 """
3174 City, district, suburb, town, or village.
3175 """
3176 country: NotRequired[str]
3177 """
3178 Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
3179 """
3180 line1: NotRequired[str]
3181 """
3182 Address line 1, such as the street, PO Box, or company name.
3183 """
3184 line2: NotRequired[str]
3185 """
3186 Address line 2, such as the apartment, suite, unit, or building.
3187 """
3188 postal_code: NotRequired[str]
3189 """
3190 ZIP or postal code.
3191 """
3192 state: NotRequired[str]
3193 """
3194 State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
3195 """
3196
3197
3198 class PaymentIntentModifyParamsTransferData(TypedDict):
3199 amount: NotRequired[int]
3200 """
3201 The amount that will be transferred automatically when a charge succeeds.
3202 """