Debian Codegraph @

stripe/params/_payment_intent_confirm_params.py

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