Debian Codegraph @

stripe/params/_payment_intent_update_params.py

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