Debian Codegraph @

stripe/params/_setup_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
5 from typing_extensions import Literal, NotRequired, TypedDict
6
7
8 class SetupIntentConfirmParams(RequestOptions):
9 confirmation_token: NotRequired[str]
10 """
11 ID of the ConfirmationToken used to confirm this SetupIntent.
12
13 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.
14 """
15 expand: NotRequired[List[str]]
16 """
17 Specifies which fields in the response should be expanded.
18 """
19 mandate_data: NotRequired[
20 "Literal['']|SetupIntentConfirmParamsMandateData"
21 ]
22 payment_method: NotRequired[str]
23 """
24 ID of the payment method (a PaymentMethod, Card, or saved Source object) to attach to this SetupIntent.
25 """
26 payment_method_data: NotRequired[
27 "SetupIntentConfirmParamsPaymentMethodData"
28 ]
29 """
30 When included, this hash creates a PaymentMethod that is set as the [`payment_method`](https://docs.stripe.com/api/setup_intents/object#setup_intent_object-payment_method)
31 value in the SetupIntent.
32 """
33 payment_method_options: NotRequired[
34 "SetupIntentConfirmParamsPaymentMethodOptions"
35 ]
36 """
37 Payment method-specific configuration for this SetupIntent.
38 """
39 return_url: NotRequired[str]
40 """
41 The URL to redirect your customer back to after they authenticate on the payment method's app or site.
42 If you'd prefer to redirect to a mobile application, you can alternatively supply an application URI scheme.
43 This parameter is only used for cards and other redirect-based payment methods.
44 """
45 use_stripe_sdk: NotRequired[bool]
46 """
47 Set to `true` when confirming server-side and using Stripe.js, iOS, or Android client-side SDKs to handle the next actions.
48 """
49
50
51 class SetupIntentConfirmParamsMandateData(TypedDict):
52 customer_acceptance: NotRequired[
53 "SetupIntentConfirmParamsMandateDataCustomerAcceptance"
54 ]
55 """
56 This hash contains details about the customer acceptance of the Mandate.
57 """
58
59
60 class SetupIntentConfirmParamsMandateDataCustomerAcceptance(TypedDict):
61 accepted_at: NotRequired[int]
62 """
63 The time at which the customer accepted the Mandate.
64 """
65 offline: NotRequired[
66 "SetupIntentConfirmParamsMandateDataCustomerAcceptanceOffline"
67 ]
68 """
69 If this is a Mandate accepted offline, this hash contains details about the offline acceptance.
70 """
71 online: NotRequired[
72 "SetupIntentConfirmParamsMandateDataCustomerAcceptanceOnline"
73 ]
74 """
75 If this is a Mandate accepted online, this hash contains details about the online acceptance.
76 """
77 type: Literal["offline", "online"]
78 """
79 The type of customer acceptance information included with the Mandate. One of `online` or `offline`.
80 """
81
82
83 class SetupIntentConfirmParamsMandateDataCustomerAcceptanceOffline(TypedDict):
84 pass
85
86
87 class SetupIntentConfirmParamsMandateDataCustomerAcceptanceOnline(TypedDict):
88 ip_address: NotRequired[str]
89 """
90 The IP address from which the Mandate was accepted by the customer.
91 """
92 user_agent: NotRequired[str]
93 """
94 The user agent of the browser from which the Mandate was accepted by the customer.
95 """
96
97
98 class SetupIntentConfirmParamsPaymentMethodData(TypedDict):
99 acss_debit: NotRequired[
100 "SetupIntentConfirmParamsPaymentMethodDataAcssDebit"
101 ]
102 """
103 If this is an `acss_debit` PaymentMethod, this hash contains details about the ACSS Debit payment method.
104 """
105 affirm: NotRequired["SetupIntentConfirmParamsPaymentMethodDataAffirm"]
106 """
107 If this is an `affirm` PaymentMethod, this hash contains details about the Affirm payment method.
108 """
109 afterpay_clearpay: NotRequired[
110 "SetupIntentConfirmParamsPaymentMethodDataAfterpayClearpay"
111 ]
112 """
113 If this is an `AfterpayClearpay` PaymentMethod, this hash contains details about the AfterpayClearpay payment method.
114 """
115 alipay: NotRequired["SetupIntentConfirmParamsPaymentMethodDataAlipay"]
116 """
117 If this is an `Alipay` PaymentMethod, this hash contains details about the Alipay payment method.
118 """
119 allow_redisplay: NotRequired[Literal["always", "limited", "unspecified"]]
120 """
121 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`.
122 """
123 alma: NotRequired["SetupIntentConfirmParamsPaymentMethodDataAlma"]
124 """
125 If this is a Alma PaymentMethod, this hash contains details about the Alma payment method.
126 """
127 amazon_pay: NotRequired[
128 "SetupIntentConfirmParamsPaymentMethodDataAmazonPay"
129 ]
130 """
131 If this is a AmazonPay PaymentMethod, this hash contains details about the AmazonPay payment method.
132 """
133 au_becs_debit: NotRequired[
134 "SetupIntentConfirmParamsPaymentMethodDataAuBecsDebit"
135 ]
136 """
137 If this is an `au_becs_debit` PaymentMethod, this hash contains details about the bank account.
138 """
139 bacs_debit: NotRequired[
140 "SetupIntentConfirmParamsPaymentMethodDataBacsDebit"
141 ]
142 """
143 If this is a `bacs_debit` PaymentMethod, this hash contains details about the Bacs Direct Debit bank account.
144 """
145 bancontact: NotRequired[
146 "SetupIntentConfirmParamsPaymentMethodDataBancontact"
147 ]
148 """
149 If this is a `bancontact` PaymentMethod, this hash contains details about the Bancontact payment method.
150 """
151 billie: NotRequired["SetupIntentConfirmParamsPaymentMethodDataBillie"]
152 """
153 If this is a `billie` PaymentMethod, this hash contains details about the Billie payment method.
154 """
155 billing_details: NotRequired[
156 "SetupIntentConfirmParamsPaymentMethodDataBillingDetails"
157 ]
158 """
159 Billing information associated with the PaymentMethod that may be used or required by particular types of payment methods.
160 """
161 blik: NotRequired["SetupIntentConfirmParamsPaymentMethodDataBlik"]
162 """
163 If this is a `blik` PaymentMethod, this hash contains details about the BLIK payment method.
164 """
165 boleto: NotRequired["SetupIntentConfirmParamsPaymentMethodDataBoleto"]
166 """
167 If this is a `boleto` PaymentMethod, this hash contains details about the Boleto payment method.
168 """
169 cashapp: NotRequired["SetupIntentConfirmParamsPaymentMethodDataCashapp"]
170 """
171 If this is a `cashapp` PaymentMethod, this hash contains details about the Cash App Pay payment method.
172 """
173 crypto: NotRequired["SetupIntentConfirmParamsPaymentMethodDataCrypto"]
174 """
175 If this is a Crypto PaymentMethod, this hash contains details about the Crypto payment method.
176 """
177 customer_balance: NotRequired[
178 "SetupIntentConfirmParamsPaymentMethodDataCustomerBalance"
179 ]
180 """
181 If this is a `customer_balance` PaymentMethod, this hash contains details about the CustomerBalance payment method.
182 """
183 eps: NotRequired["SetupIntentConfirmParamsPaymentMethodDataEps"]
184 """
185 If this is an `eps` PaymentMethod, this hash contains details about the EPS payment method.
186 """
187 fpx: NotRequired["SetupIntentConfirmParamsPaymentMethodDataFpx"]
188 """
189 If this is an `fpx` PaymentMethod, this hash contains details about the FPX payment method.
190 """
191 giropay: NotRequired["SetupIntentConfirmParamsPaymentMethodDataGiropay"]
192 """
193 If this is a `giropay` PaymentMethod, this hash contains details about the Giropay payment method.
194 """
195 grabpay: NotRequired["SetupIntentConfirmParamsPaymentMethodDataGrabpay"]
196 """
197 If this is a `grabpay` PaymentMethod, this hash contains details about the GrabPay payment method.
198 """
199 ideal: NotRequired["SetupIntentConfirmParamsPaymentMethodDataIdeal"]
200 """
201 If this is an `ideal` PaymentMethod, this hash contains details about the iDEAL payment method.
202 """
203 interac_present: NotRequired[
204 "SetupIntentConfirmParamsPaymentMethodDataInteracPresent"
205 ]
206 """
207 If this is an `interac_present` PaymentMethod, this hash contains details about the Interac Present payment method.
208 """
209 kakao_pay: NotRequired["SetupIntentConfirmParamsPaymentMethodDataKakaoPay"]
210 """
211 If this is a `kakao_pay` PaymentMethod, this hash contains details about the Kakao Pay payment method.
212 """
213 klarna: NotRequired["SetupIntentConfirmParamsPaymentMethodDataKlarna"]
214 """
215 If this is a `klarna` PaymentMethod, this hash contains details about the Klarna payment method.
216 """
217 konbini: NotRequired["SetupIntentConfirmParamsPaymentMethodDataKonbini"]
218 """
219 If this is a `konbini` PaymentMethod, this hash contains details about the Konbini payment method.
220 """
221 kr_card: NotRequired["SetupIntentConfirmParamsPaymentMethodDataKrCard"]
222 """
223 If this is a `kr_card` PaymentMethod, this hash contains details about the Korean Card payment method.
224 """
225 link: NotRequired["SetupIntentConfirmParamsPaymentMethodDataLink"]
226 """
227 If this is an `Link` PaymentMethod, this hash contains details about the Link payment method.
228 """
229 mb_way: NotRequired["SetupIntentConfirmParamsPaymentMethodDataMbWay"]
230 """
231 If this is a MB WAY PaymentMethod, this hash contains details about the MB WAY payment method.
232 """
233 metadata: NotRequired[Dict[str, str]]
234 """
235 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`.
236 """
237 mobilepay: NotRequired[
238 "SetupIntentConfirmParamsPaymentMethodDataMobilepay"
239 ]
240 """
241 If this is a `mobilepay` PaymentMethod, this hash contains details about the MobilePay payment method.
242 """
243 multibanco: NotRequired[
244 "SetupIntentConfirmParamsPaymentMethodDataMultibanco"
245 ]
246 """
247 If this is a `multibanco` PaymentMethod, this hash contains details about the Multibanco payment method.
248 """
249 naver_pay: NotRequired["SetupIntentConfirmParamsPaymentMethodDataNaverPay"]
250 """
251 If this is a `naver_pay` PaymentMethod, this hash contains details about the Naver Pay payment method.
252 """
253 nz_bank_account: NotRequired[
254 "SetupIntentConfirmParamsPaymentMethodDataNzBankAccount"
255 ]
256 """
257 If this is an nz_bank_account PaymentMethod, this hash contains details about the nz_bank_account payment method.
258 """
259 oxxo: NotRequired["SetupIntentConfirmParamsPaymentMethodDataOxxo"]
260 """
261 If this is an `oxxo` PaymentMethod, this hash contains details about the OXXO payment method.
262 """
263 p24: NotRequired["SetupIntentConfirmParamsPaymentMethodDataP24"]
264 """
265 If this is a `p24` PaymentMethod, this hash contains details about the P24 payment method.
266 """
267 pay_by_bank: NotRequired[
268 "SetupIntentConfirmParamsPaymentMethodDataPayByBank"
269 ]
270 """
271 If this is a `pay_by_bank` PaymentMethod, this hash contains details about the PayByBank payment method.
272 """
273 payco: NotRequired["SetupIntentConfirmParamsPaymentMethodDataPayco"]
274 """
275 If this is a `payco` PaymentMethod, this hash contains details about the PAYCO payment method.
276 """
277 paynow: NotRequired["SetupIntentConfirmParamsPaymentMethodDataPaynow"]
278 """
279 If this is a `paynow` PaymentMethod, this hash contains details about the PayNow payment method.
280 """
281 paypal: NotRequired["SetupIntentConfirmParamsPaymentMethodDataPaypal"]
282 """
283 If this is a `paypal` PaymentMethod, this hash contains details about the PayPal payment method.
284 """
285 payto: NotRequired["SetupIntentConfirmParamsPaymentMethodDataPayto"]
286 """
287 If this is a `payto` PaymentMethod, this hash contains details about the PayTo payment method.
288 """
289 pix: NotRequired["SetupIntentConfirmParamsPaymentMethodDataPix"]
290 """
291 If this is a `pix` PaymentMethod, this hash contains details about the Pix payment method.
292 """
293 promptpay: NotRequired[
294 "SetupIntentConfirmParamsPaymentMethodDataPromptpay"
295 ]
296 """
297 If this is a `promptpay` PaymentMethod, this hash contains details about the PromptPay payment method.
298 """
299 radar_options: NotRequired[
300 "SetupIntentConfirmParamsPaymentMethodDataRadarOptions"
301 ]
302 """
303 Options to configure Radar. See [Radar Session](https://docs.stripe.com/radar/radar-session) for more information.
304 """
305 revolut_pay: NotRequired[
306 "SetupIntentConfirmParamsPaymentMethodDataRevolutPay"
307 ]
308 """
309 If this is a `revolut_pay` PaymentMethod, this hash contains details about the Revolut Pay payment method.
310 """
311 samsung_pay: NotRequired[
312 "SetupIntentConfirmParamsPaymentMethodDataSamsungPay"
313 ]
314 """
315 If this is a `samsung_pay` PaymentMethod, this hash contains details about the SamsungPay payment method.
316 """
317 satispay: NotRequired["SetupIntentConfirmParamsPaymentMethodDataSatispay"]
318 """
319 If this is a `satispay` PaymentMethod, this hash contains details about the Satispay payment method.
320 """
321 sepa_debit: NotRequired[
322 "SetupIntentConfirmParamsPaymentMethodDataSepaDebit"
323 ]
324 """
325 If this is a `sepa_debit` PaymentMethod, this hash contains details about the SEPA debit bank account.
326 """
327 sofort: NotRequired["SetupIntentConfirmParamsPaymentMethodDataSofort"]
328 """
329 If this is a `sofort` PaymentMethod, this hash contains details about the SOFORT payment method.
330 """
331 swish: NotRequired["SetupIntentConfirmParamsPaymentMethodDataSwish"]
332 """
333 If this is a `swish` PaymentMethod, this hash contains details about the Swish payment method.
334 """
335 twint: NotRequired["SetupIntentConfirmParamsPaymentMethodDataTwint"]
336 """
337 If this is a TWINT PaymentMethod, this hash contains details about the TWINT payment method.
338 """
339 type: Literal[
340 "acss_debit",
341 "affirm",
342 "afterpay_clearpay",
343 "alipay",
344 "alma",
345 "amazon_pay",
346 "au_becs_debit",
347 "bacs_debit",
348 "bancontact",
349 "billie",
350 "blik",
351 "boleto",
352 "cashapp",
353 "crypto",
354 "customer_balance",
355 "eps",
356 "fpx",
357 "giropay",
358 "grabpay",
359 "ideal",
360 "kakao_pay",
361 "klarna",
362 "konbini",
363 "kr_card",
364 "link",
365 "mb_way",
366 "mobilepay",
367 "multibanco",
368 "naver_pay",
369 "nz_bank_account",
370 "oxxo",
371 "p24",
372 "pay_by_bank",
373 "payco",
374 "paynow",
375 "paypal",
376 "payto",
377 "pix",
378 "promptpay",
379 "revolut_pay",
380 "samsung_pay",
381 "satispay",
382 "sepa_debit",
383 "sofort",
384 "swish",
385 "twint",
386 "us_bank_account",
387 "wechat_pay",
388 "zip",
389 ]
390 """
391 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.
392 """
393 us_bank_account: NotRequired[
394 "SetupIntentConfirmParamsPaymentMethodDataUsBankAccount"
395 ]
396 """
397 If this is an `us_bank_account` PaymentMethod, this hash contains details about the US bank account payment method.
398 """
399 wechat_pay: NotRequired[
400 "SetupIntentConfirmParamsPaymentMethodDataWechatPay"
401 ]
402 """
403 If this is an `wechat_pay` PaymentMethod, this hash contains details about the wechat_pay payment method.
404 """
405 zip: NotRequired["SetupIntentConfirmParamsPaymentMethodDataZip"]
406 """
407 If this is a `zip` PaymentMethod, this hash contains details about the Zip payment method.
408 """
409
410
411 class SetupIntentConfirmParamsPaymentMethodDataAcssDebit(TypedDict):
412 account_number: str
413 """
414 Customer's bank account number.
415 """
416 institution_number: str
417 """
418 Institution number of the customer's bank.
419 """
420 transit_number: str
421 """
422 Transit number of the customer's bank.
423 """
424
425
426 class SetupIntentConfirmParamsPaymentMethodDataAffirm(TypedDict):
427 pass
428
429
430 class SetupIntentConfirmParamsPaymentMethodDataAfterpayClearpay(TypedDict):
431 pass
432
433
434 class SetupIntentConfirmParamsPaymentMethodDataAlipay(TypedDict):
435 pass
436
437
438 class SetupIntentConfirmParamsPaymentMethodDataAlma(TypedDict):
439 pass
440
441
442 class SetupIntentConfirmParamsPaymentMethodDataAmazonPay(TypedDict):
443 pass
444
445
446 class SetupIntentConfirmParamsPaymentMethodDataAuBecsDebit(TypedDict):
447 account_number: str
448 """
449 The account number for the bank account.
450 """
451 bsb_number: str
452 """
453 Bank-State-Branch number of the bank account.
454 """
455
456
457 class SetupIntentConfirmParamsPaymentMethodDataBacsDebit(TypedDict):
458 account_number: NotRequired[str]
459 """
460 Account number of the bank account that the funds will be debited from.
461 """
462 sort_code: NotRequired[str]
463 """
464 Sort code of the bank account. (e.g., `10-20-30`)
465 """
466
467
468 class SetupIntentConfirmParamsPaymentMethodDataBancontact(TypedDict):
469 pass
470
471
472 class SetupIntentConfirmParamsPaymentMethodDataBillie(TypedDict):
473 pass
474
475
476 class SetupIntentConfirmParamsPaymentMethodDataBillingDetails(TypedDict):
477 address: NotRequired[
478 "Literal['']|SetupIntentConfirmParamsPaymentMethodDataBillingDetailsAddress"
479 ]
480 """
481 Billing address.
482 """
483 email: NotRequired["Literal['']|str"]
484 """
485 Email address.
486 """
487 name: NotRequired["Literal['']|str"]
488 """
489 Full name.
490 """
491 phone: NotRequired["Literal['']|str"]
492 """
493 Billing phone number (including extension).
494 """
495 tax_id: NotRequired[str]
496 """
497 Taxpayer identification number. Used only for transactions between LATAM buyers and non-LATAM sellers.
498 """
499
500
501 class SetupIntentConfirmParamsPaymentMethodDataBillingDetailsAddress(
502 TypedDict
503 ):
504 city: NotRequired[str]
505 """
506 City, district, suburb, town, or village.
507 """
508 country: NotRequired[str]
509 """
510 Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
511 """
512 line1: NotRequired[str]
513 """
514 Address line 1, such as the street, PO Box, or company name.
515 """
516 line2: NotRequired[str]
517 """
518 Address line 2, such as the apartment, suite, unit, or building.
519 """
520 postal_code: NotRequired[str]
521 """
522 ZIP or postal code.
523 """
524 state: NotRequired[str]
525 """
526 State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
527 """
528
529
530 class SetupIntentConfirmParamsPaymentMethodDataBlik(TypedDict):
531 pass
532
533
534 class SetupIntentConfirmParamsPaymentMethodDataBoleto(TypedDict):
535 tax_id: str
536 """
537 The tax ID of the customer (CPF for individual consumers or CNPJ for businesses consumers)
538 """
539
540
541 class SetupIntentConfirmParamsPaymentMethodDataCashapp(TypedDict):
542 pass
543
544
545 class SetupIntentConfirmParamsPaymentMethodDataCrypto(TypedDict):
546 pass
547
548
549 class SetupIntentConfirmParamsPaymentMethodDataCustomerBalance(TypedDict):
550 pass
551
552
553 class SetupIntentConfirmParamsPaymentMethodDataEps(TypedDict):
554 bank: NotRequired[
555 Literal[
556 "arzte_und_apotheker_bank",
557 "austrian_anadi_bank_ag",
558 "bank_austria",
559 "bankhaus_carl_spangler",
560 "bankhaus_schelhammer_und_schattera_ag",
561 "bawag_psk_ag",
562 "bks_bank_ag",
563 "brull_kallmus_bank_ag",
564 "btv_vier_lander_bank",
565 "capital_bank_grawe_gruppe_ag",
566 "deutsche_bank_ag",
567 "dolomitenbank",
568 "easybank_ag",
569 "erste_bank_und_sparkassen",
570 "hypo_alpeadriabank_international_ag",
571 "hypo_bank_burgenland_aktiengesellschaft",
572 "hypo_noe_lb_fur_niederosterreich_u_wien",
573 "hypo_oberosterreich_salzburg_steiermark",
574 "hypo_tirol_bank_ag",
575 "hypo_vorarlberg_bank_ag",
576 "marchfelder_bank",
577 "oberbank_ag",
578 "raiffeisen_bankengruppe_osterreich",
579 "schoellerbank_ag",
580 "sparda_bank_wien",
581 "volksbank_gruppe",
582 "volkskreditbank_ag",
583 "vr_bank_braunau",
584 ]
585 ]
586 """
587 The customer's bank.
588 """
589
590
591 class SetupIntentConfirmParamsPaymentMethodDataFpx(TypedDict):
592 account_holder_type: NotRequired[Literal["company", "individual"]]
593 """
594 Account holder type for FPX transaction
595 """
596 bank: Literal[
597 "affin_bank",
598 "agrobank",
599 "alliance_bank",
600 "ambank",
601 "bank_islam",
602 "bank_muamalat",
603 "bank_of_china",
604 "bank_rakyat",
605 "bsn",
606 "cimb",
607 "deutsche_bank",
608 "hong_leong_bank",
609 "hsbc",
610 "kfh",
611 "maybank2e",
612 "maybank2u",
613 "ocbc",
614 "pb_enterprise",
615 "public_bank",
616 "rhb",
617 "standard_chartered",
618 "uob",
619 ]
620 """
621 The customer's bank.
622 """
623
624
625 class SetupIntentConfirmParamsPaymentMethodDataGiropay(TypedDict):
626 pass
627
628
629 class SetupIntentConfirmParamsPaymentMethodDataGrabpay(TypedDict):
630 pass
631
632
633 class SetupIntentConfirmParamsPaymentMethodDataIdeal(TypedDict):
634 bank: NotRequired[
635 Literal[
636 "abn_amro",
637 "adyen",
638 "asn_bank",
639 "bunq",
640 "buut",
641 "finom",
642 "handelsbanken",
643 "ing",
644 "knab",
645 "mollie",
646 "moneyou",
647 "n26",
648 "nn",
649 "rabobank",
650 "regiobank",
651 "revolut",
652 "sns_bank",
653 "triodos_bank",
654 "van_lanschot",
655 "yoursafe",
656 ]
657 ]
658 """
659 The customer's bank. Only use this parameter for existing customers. Don't use it for new customers.
660 """
661
662
663 class SetupIntentConfirmParamsPaymentMethodDataInteracPresent(TypedDict):
664 pass
665
666
667 class SetupIntentConfirmParamsPaymentMethodDataKakaoPay(TypedDict):
668 pass
669
670
671 class SetupIntentConfirmParamsPaymentMethodDataKlarna(TypedDict):
672 dob: NotRequired["SetupIntentConfirmParamsPaymentMethodDataKlarnaDob"]
673 """
674 Customer's date of birth
675 """
676
677
678 class SetupIntentConfirmParamsPaymentMethodDataKlarnaDob(TypedDict):
679 day: int
680 """
681 The day of birth, between 1 and 31.
682 """
683 month: int
684 """
685 The month of birth, between 1 and 12.
686 """
687 year: int
688 """
689 The four-digit year of birth.
690 """
691
692
693 class SetupIntentConfirmParamsPaymentMethodDataKonbini(TypedDict):
694 pass
695
696
697 class SetupIntentConfirmParamsPaymentMethodDataKrCard(TypedDict):
698 pass
699
700
701 class SetupIntentConfirmParamsPaymentMethodDataLink(TypedDict):
702 pass
703
704
705 class SetupIntentConfirmParamsPaymentMethodDataMbWay(TypedDict):
706 pass
707
708
709 class SetupIntentConfirmParamsPaymentMethodDataMobilepay(TypedDict):
710 pass
711
712
713 class SetupIntentConfirmParamsPaymentMethodDataMultibanco(TypedDict):
714 pass
715
716
717 class SetupIntentConfirmParamsPaymentMethodDataNaverPay(TypedDict):
718 funding: NotRequired[Literal["card", "points"]]
719 """
720 Whether to use Naver Pay points or a card to fund this transaction. If not provided, this defaults to `card`.
721 """
722
723
724 class SetupIntentConfirmParamsPaymentMethodDataNzBankAccount(TypedDict):
725 account_holder_name: NotRequired[str]
726 """
727 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.
728 """
729 account_number: str
730 """
731 The account number for the bank account.
732 """
733 bank_code: str
734 """
735 The numeric code for the bank account's bank.
736 """
737 branch_code: str
738 """
739 The numeric code for the bank account's bank branch.
740 """
741 reference: NotRequired[str]
742 suffix: str
743 """
744 The suffix of the bank account number.
745 """
746
747
748 class SetupIntentConfirmParamsPaymentMethodDataOxxo(TypedDict):
749 pass
750
751
752 class SetupIntentConfirmParamsPaymentMethodDataP24(TypedDict):
753 bank: NotRequired[
754 Literal[
755 "alior_bank",
756 "bank_millennium",
757 "bank_nowy_bfg_sa",
758 "bank_pekao_sa",
759 "banki_spbdzielcze",
760 "blik",
761 "bnp_paribas",
762 "boz",
763 "citi_handlowy",
764 "credit_agricole",
765 "envelobank",
766 "etransfer_pocztowy24",
767 "getin_bank",
768 "ideabank",
769 "ing",
770 "inteligo",
771 "mbank_mtransfer",
772 "nest_przelew",
773 "noble_pay",
774 "pbac_z_ipko",
775 "plus_bank",
776 "santander_przelew24",
777 "tmobile_usbugi_bankowe",
778 "toyota_bank",
779 "velobank",
780 "volkswagen_bank",
781 ]
782 ]
783 """
784 The customer's bank.
785 """
786
787
788 class SetupIntentConfirmParamsPaymentMethodDataPayByBank(TypedDict):
789 pass
790
791
792 class SetupIntentConfirmParamsPaymentMethodDataPayco(TypedDict):
793 pass
794
795
796 class SetupIntentConfirmParamsPaymentMethodDataPaynow(TypedDict):
797 pass
798
799
800 class SetupIntentConfirmParamsPaymentMethodDataPaypal(TypedDict):
801 pass
802
803
804 class SetupIntentConfirmParamsPaymentMethodDataPayto(TypedDict):
805 account_number: NotRequired[str]
806 """
807 The account number for the bank account.
808 """
809 bsb_number: NotRequired[str]
810 """
811 Bank-State-Branch number of the bank account.
812 """
813 pay_id: NotRequired[str]
814 """
815 The PayID alias for the bank account.
816 """
817
818
819 class SetupIntentConfirmParamsPaymentMethodDataPix(TypedDict):
820 pass
821
822
823 class SetupIntentConfirmParamsPaymentMethodDataPromptpay(TypedDict):
824 pass
825
826
827 class SetupIntentConfirmParamsPaymentMethodDataRadarOptions(TypedDict):
828 session: NotRequired[str]
829 """
830 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.
831 """
832
833
834 class SetupIntentConfirmParamsPaymentMethodDataRevolutPay(TypedDict):
835 pass
836
837
838 class SetupIntentConfirmParamsPaymentMethodDataSamsungPay(TypedDict):
839 pass
840
841
842 class SetupIntentConfirmParamsPaymentMethodDataSatispay(TypedDict):
843 pass
844
845
846 class SetupIntentConfirmParamsPaymentMethodDataSepaDebit(TypedDict):
847 iban: str
848 """
849 IBAN of the bank account.
850 """
851
852
853 class SetupIntentConfirmParamsPaymentMethodDataSofort(TypedDict):
854 country: Literal["AT", "BE", "DE", "ES", "IT", "NL"]
855 """
856 Two-letter ISO code representing the country the bank account is located in.
857 """
858
859
860 class SetupIntentConfirmParamsPaymentMethodDataSwish(TypedDict):
861 pass
862
863
864 class SetupIntentConfirmParamsPaymentMethodDataTwint(TypedDict):
865 pass
866
867
868 class SetupIntentConfirmParamsPaymentMethodDataUsBankAccount(TypedDict):
869 account_holder_type: NotRequired[Literal["company", "individual"]]
870 """
871 Account holder type: individual or company.
872 """
873 account_number: NotRequired[str]
874 """
875 Account number of the bank account.
876 """
877 account_type: NotRequired[Literal["checking", "savings"]]
878 """
879 Account type: checkings or savings. Defaults to checking if omitted.
880 """
881 financial_connections_account: NotRequired[str]
882 """
883 The ID of a Financial Connections Account to use as a payment method.
884 """
885 routing_number: NotRequired[str]
886 """
887 Routing number of the bank account.
888 """
889
890
891 class SetupIntentConfirmParamsPaymentMethodDataWechatPay(TypedDict):
892 pass
893
894
895 class SetupIntentConfirmParamsPaymentMethodDataZip(TypedDict):
896 pass
897
898
899 class SetupIntentConfirmParamsPaymentMethodOptions(TypedDict):
900 acss_debit: NotRequired[
901 "SetupIntentConfirmParamsPaymentMethodOptionsAcssDebit"
902 ]
903 """
904 If this is a `acss_debit` SetupIntent, this sub-hash contains details about the ACSS Debit payment method options.
905 """
906 amazon_pay: NotRequired[
907 "SetupIntentConfirmParamsPaymentMethodOptionsAmazonPay"
908 ]
909 """
910 If this is a `amazon_pay` SetupIntent, this sub-hash contains details about the AmazonPay payment method options.
911 """
912 bacs_debit: NotRequired[
913 "SetupIntentConfirmParamsPaymentMethodOptionsBacsDebit"
914 ]
915 """
916 If this is a `bacs_debit` SetupIntent, this sub-hash contains details about the Bacs Debit payment method options.
917 """
918 card: NotRequired["SetupIntentConfirmParamsPaymentMethodOptionsCard"]
919 """
920 Configuration for any card setup attempted on this SetupIntent.
921 """
922 card_present: NotRequired[
923 "SetupIntentConfirmParamsPaymentMethodOptionsCardPresent"
924 ]
925 """
926 If this is a `card_present` PaymentMethod, this sub-hash contains details about the card-present payment method options.
927 """
928 klarna: NotRequired["SetupIntentConfirmParamsPaymentMethodOptionsKlarna"]
929 """
930 If this is a `klarna` PaymentMethod, this hash contains details about the Klarna payment method options.
931 """
932 link: NotRequired["SetupIntentConfirmParamsPaymentMethodOptionsLink"]
933 """
934 If this is a `link` PaymentMethod, this sub-hash contains details about the Link payment method options.
935 """
936 paypal: NotRequired["SetupIntentConfirmParamsPaymentMethodOptionsPaypal"]
937 """
938 If this is a `paypal` PaymentMethod, this sub-hash contains details about the PayPal payment method options.
939 """
940 payto: NotRequired["SetupIntentConfirmParamsPaymentMethodOptionsPayto"]
941 """
942 If this is a `payto` SetupIntent, this sub-hash contains details about the PayTo payment method options.
943 """
944 sepa_debit: NotRequired[
945 "SetupIntentConfirmParamsPaymentMethodOptionsSepaDebit"
946 ]
947 """
948 If this is a `sepa_debit` SetupIntent, this sub-hash contains details about the SEPA Debit payment method options.
949 """
950 us_bank_account: NotRequired[
951 "SetupIntentConfirmParamsPaymentMethodOptionsUsBankAccount"
952 ]
953 """
954 If this is a `us_bank_account` SetupIntent, this sub-hash contains details about the US bank account payment method options.
955 """
956
957
958 class SetupIntentConfirmParamsPaymentMethodOptionsAcssDebit(TypedDict):
959 currency: NotRequired[Literal["cad", "usd"]]
960 """
961 Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).
962 """
963 mandate_options: NotRequired[
964 "SetupIntentConfirmParamsPaymentMethodOptionsAcssDebitMandateOptions"
965 ]
966 """
967 Additional fields for Mandate creation
968 """
969 verification_method: NotRequired[
970 Literal["automatic", "instant", "microdeposits"]
971 ]
972 """
973 Bank account verification method.
974 """
975
976
977 class SetupIntentConfirmParamsPaymentMethodOptionsAcssDebitMandateOptions(
978 TypedDict,
979 ):
980 custom_mandate_url: NotRequired["Literal['']|str"]
981 """
982 A URL for custom mandate text to render during confirmation step.
983 The URL will be rendered with additional GET parameters `payment_intent` and `payment_intent_client_secret` when confirming a Payment Intent,
984 or `setup_intent` and `setup_intent_client_secret` when confirming a Setup Intent.
985 """
986 default_for: NotRequired[List[Literal["invoice", "subscription"]]]
987 """
988 List of Stripe products where this mandate can be selected automatically.
989 """
990 interval_description: NotRequired[str]
991 """
992 Description of the mandate interval. Only required if 'payment_schedule' parameter is 'interval' or 'combined'.
993 """
994 payment_schedule: NotRequired[Literal["combined", "interval", "sporadic"]]
995 """
996 Payment schedule for the mandate.
997 """
998 transaction_type: NotRequired[Literal["business", "personal"]]
999 """
1000 Transaction type of the mandate.
1001 """
1002
1003
1004 class SetupIntentConfirmParamsPaymentMethodOptionsAmazonPay(TypedDict):
1005 pass
1006
1007
1008 class SetupIntentConfirmParamsPaymentMethodOptionsBacsDebit(TypedDict):
1009 mandate_options: NotRequired[
1010 "SetupIntentConfirmParamsPaymentMethodOptionsBacsDebitMandateOptions"
1011 ]
1012 """
1013 Additional fields for Mandate creation
1014 """
1015
1016
1017 class SetupIntentConfirmParamsPaymentMethodOptionsBacsDebitMandateOptions(
1018 TypedDict,
1019 ):
1020 reference_prefix: NotRequired["Literal['']|str"]
1021 """
1022 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'.
1023 """
1024
1025
1026 class SetupIntentConfirmParamsPaymentMethodOptionsCard(TypedDict):
1027 mandate_options: NotRequired[
1028 "SetupIntentConfirmParamsPaymentMethodOptionsCardMandateOptions"
1029 ]
1030 """
1031 Configuration options for setting up an eMandate for cards issued in India.
1032 """
1033 moto: NotRequired[bool]
1034 """
1035 When specified, this parameter signals that a card has been collected
1036 as MOTO (Mail Order Telephone Order) and thus out of scope for SCA. This
1037 parameter can only be provided during confirmation.
1038 """
1039 network: NotRequired[
1040 Literal[
1041 "amex",
1042 "cartes_bancaires",
1043 "diners",
1044 "discover",
1045 "eftpos_au",
1046 "girocard",
1047 "interac",
1048 "jcb",
1049 "link",
1050 "mastercard",
1051 "unionpay",
1052 "unknown",
1053 "visa",
1054 ]
1055 ]
1056 """
1057 Selected network to process this SetupIntent on. Depends on the available networks of the card attached to the SetupIntent. Can be only set confirm-time.
1058 """
1059 request_three_d_secure: NotRequired[
1060 Literal["any", "automatic", "challenge"]
1061 ]
1062 """
1063 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.
1064 """
1065 three_d_secure: NotRequired[
1066 "SetupIntentConfirmParamsPaymentMethodOptionsCardThreeDSecure"
1067 ]
1068 """
1069 If 3D Secure authentication was performed with a third-party provider,
1070 the authentication details to use for this setup.
1071 """
1072
1073
1074 class SetupIntentConfirmParamsPaymentMethodOptionsCardMandateOptions(
1075 TypedDict
1076 ):
1077 amount: int
1078 """
1079 Amount to be charged for future payments.
1080 """
1081 amount_type: Literal["fixed", "maximum"]
1082 """
1083 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.
1084 """
1085 currency: str
1086 """
1087 Currency in which future payments will be charged. Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).
1088 """
1089 description: NotRequired[str]
1090 """
1091 A description of the mandate or subscription that is meant to be displayed to the customer.
1092 """
1093 end_date: NotRequired[int]
1094 """
1095 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.
1096 """
1097 interval: Literal["day", "month", "sporadic", "week", "year"]
1098 """
1099 Specifies payment frequency. One of `day`, `week`, `month`, `year`, or `sporadic`.
1100 """
1101 interval_count: NotRequired[int]
1102 """
1103 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`.
1104 """
1105 reference: str
1106 """
1107 Unique identifier for the mandate or subscription.
1108 """
1109 start_date: int
1110 """
1111 Start date of the mandate or subscription. Start date should not be lesser than yesterday.
1112 """
1113 supported_types: NotRequired[List[Literal["india"]]]
1114 """
1115 Specifies the type of mandates supported. Possible values are `india`.
1116 """
1117
1118
1119 class SetupIntentConfirmParamsPaymentMethodOptionsCardThreeDSecure(TypedDict):
1120 ares_trans_status: NotRequired[Literal["A", "C", "I", "N", "R", "U", "Y"]]
1121 """
1122 The `transStatus` returned from the card Issuer's ACS in the ARes.
1123 """
1124 cryptogram: NotRequired[str]
1125 """
1126 The cryptogram, also known as the "authentication value" (AAV, CAVV or
1127 AEVV). This value is 20 bytes, base64-encoded into a 28-character string.
1128 (Most 3D Secure providers will return the base64-encoded version, which
1129 is what you should specify here.)
1130 """
1131 electronic_commerce_indicator: NotRequired[
1132 Literal["01", "02", "05", "06", "07"]
1133 ]
1134 """
1135 The Electronic Commerce Indicator (ECI) is returned by your 3D Secure
1136 provider and indicates what degree of authentication was performed.
1137 """
1138 network_options: NotRequired[
1139 "SetupIntentConfirmParamsPaymentMethodOptionsCardThreeDSecureNetworkOptions"
1140 ]
1141 """
1142 Network specific 3DS fields. Network specific arguments require an
1143 explicit card brand choice. The parameter `payment_method_options.card.network``
1144 must be populated accordingly
1145 """
1146 requestor_challenge_indicator: NotRequired[str]
1147 """
1148 The challenge indicator (`threeDSRequestorChallengeInd`) which was requested in the
1149 AReq sent to the card Issuer's ACS. A string containing 2 digits from 01-99.
1150 """
1151 transaction_id: NotRequired[str]
1152 """
1153 For 3D Secure 1, the XID. For 3D Secure 2, the Directory Server
1154 Transaction ID (dsTransID).
1155 """
1156 version: NotRequired[Literal["1.0.2", "2.1.0", "2.2.0", "2.3.0", "2.3.1"]]
1157 """
1158 The version of 3D Secure that was performed.
1159 """
1160
1161
1162 class SetupIntentConfirmParamsPaymentMethodOptionsCardThreeDSecureNetworkOptions(
1163 TypedDict,
1164 ):
1165 cartes_bancaires: NotRequired[
1166 "SetupIntentConfirmParamsPaymentMethodOptionsCardThreeDSecureNetworkOptionsCartesBancaires"
1167 ]
1168 """
1169 Cartes Bancaires-specific 3DS fields.
1170 """
1171
1172
1173 class SetupIntentConfirmParamsPaymentMethodOptionsCardThreeDSecureNetworkOptionsCartesBancaires(
1174 TypedDict,
1175 ):
1176 cb_avalgo: Literal["0", "1", "2", "3", "4", "A"]
1177 """
1178 The cryptogram calculation algorithm used by the card Issuer's ACS
1179 to calculate the Authentication cryptogram. Also known as `cavvAlgorithm`.
1180 messageExtension: CB-AVALGO
1181 """
1182 cb_exemption: NotRequired[str]
1183 """
1184 The exemption indicator returned from Cartes Bancaires in the ARes.
1185 message extension: CB-EXEMPTION; string (4 characters)
1186 This is a 3 byte bitmap (low significant byte first and most significant
1187 bit first) that has been Base64 encoded
1188 """
1189 cb_score: NotRequired[int]
1190 """
1191 The risk score returned from Cartes Bancaires in the ARes.
1192 message extension: CB-SCORE; numeric value 0-99
1193 """
1194
1195
1196 class SetupIntentConfirmParamsPaymentMethodOptionsCardPresent(TypedDict):
1197 pass
1198
1199
1200 class SetupIntentConfirmParamsPaymentMethodOptionsKlarna(TypedDict):
1201 currency: NotRequired[str]
1202 """
1203 The currency of the SetupIntent. Three letter ISO currency code.
1204 """
1205 on_demand: NotRequired[
1206 "SetupIntentConfirmParamsPaymentMethodOptionsKlarnaOnDemand"
1207 ]
1208 """
1209 On-demand details if setting up a payment method for on-demand payments.
1210 """
1211 preferred_locale: NotRequired[
1212 Literal[
1213 "cs-CZ",
1214 "da-DK",
1215 "de-AT",
1216 "de-CH",
1217 "de-DE",
1218 "el-GR",
1219 "en-AT",
1220 "en-AU",
1221 "en-BE",
1222 "en-CA",
1223 "en-CH",
1224 "en-CZ",
1225 "en-DE",
1226 "en-DK",
1227 "en-ES",
1228 "en-FI",
1229 "en-FR",
1230 "en-GB",
1231 "en-GR",
1232 "en-IE",
1233 "en-IT",
1234 "en-NL",
1235 "en-NO",
1236 "en-NZ",
1237 "en-PL",
1238 "en-PT",
1239 "en-RO",
1240 "en-SE",
1241 "en-US",
1242 "es-ES",
1243 "es-US",
1244 "fi-FI",
1245 "fr-BE",
1246 "fr-CA",
1247 "fr-CH",
1248 "fr-FR",
1249 "it-CH",
1250 "it-IT",
1251 "nb-NO",
1252 "nl-BE",
1253 "nl-NL",
1254 "pl-PL",
1255 "pt-PT",
1256 "ro-RO",
1257 "sv-FI",
1258 "sv-SE",
1259 ]
1260 ]
1261 """
1262 Preferred language of the Klarna authorization page that the customer is redirected to
1263 """
1264 subscriptions: NotRequired[
1265 "Literal['']|List[SetupIntentConfirmParamsPaymentMethodOptionsKlarnaSubscription]"
1266 ]
1267 """
1268 Subscription details if setting up or charging a subscription
1269 """
1270
1271
1272 class SetupIntentConfirmParamsPaymentMethodOptionsKlarnaOnDemand(TypedDict):
1273 average_amount: NotRequired[int]
1274 """
1275 Your average amount value. You can use a value across your customer base, or segment based on customer type, country, etc.
1276 """
1277 maximum_amount: NotRequired[int]
1278 """
1279 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.
1280 """
1281 minimum_amount: NotRequired[int]
1282 """
1283 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.
1284 """
1285 purchase_interval: NotRequired[Literal["day", "month", "week", "year"]]
1286 """
1287 Interval at which the customer is making purchases
1288 """
1289 purchase_interval_count: NotRequired[int]
1290 """
1291 The number of `purchase_interval` between charges
1292 """
1293
1294
1295 class SetupIntentConfirmParamsPaymentMethodOptionsKlarnaSubscription(
1296 TypedDict
1297 ):
1298 interval: Literal["day", "month", "week", "year"]
1299 """
1300 Unit of time between subscription charges.
1301 """
1302 interval_count: NotRequired[int]
1303 """
1304 The number of intervals (specified in the `interval` attribute) between subscription charges. For example, `interval=month` and `interval_count=3` charges every 3 months.
1305 """
1306 name: NotRequired[str]
1307 """
1308 Name for subscription.
1309 """
1310 next_billing: "SetupIntentConfirmParamsPaymentMethodOptionsKlarnaSubscriptionNextBilling"
1311 """
1312 Describes the upcoming charge for this subscription.
1313 """
1314 reference: str
1315 """
1316 A non-customer-facing reference to correlate subscription charges in the Klarna app. Use a value that persists across subscription charges.
1317 """
1318
1319
1320 class SetupIntentConfirmParamsPaymentMethodOptionsKlarnaSubscriptionNextBilling(
1321 TypedDict,
1322 ):
1323 amount: int
1324 """
1325 The amount of the next charge for the subscription.
1326 """
1327 date: str
1328 """
1329 The date of the next charge for the subscription in YYYY-MM-DD format.
1330 """
1331
1332
1333 class SetupIntentConfirmParamsPaymentMethodOptionsLink(TypedDict):
1334 persistent_token: NotRequired[str]
1335 """
1336 [Deprecated] This is a legacy parameter that no longer has any function.
1337 """
1338
1339
1340 class SetupIntentConfirmParamsPaymentMethodOptionsPaypal(TypedDict):
1341 billing_agreement_id: NotRequired[str]
1342 """
1343 The PayPal Billing Agreement ID (BAID). This is an ID generated by PayPal which represents the mandate between the merchant and the customer.
1344 """
1345
1346
1347 class SetupIntentConfirmParamsPaymentMethodOptionsPayto(TypedDict):
1348 mandate_options: NotRequired[
1349 "SetupIntentConfirmParamsPaymentMethodOptionsPaytoMandateOptions"
1350 ]
1351 """
1352 Additional fields for Mandate creation.
1353 """
1354
1355
1356 class SetupIntentConfirmParamsPaymentMethodOptionsPaytoMandateOptions(
1357 TypedDict,
1358 ):
1359 amount: NotRequired["Literal['']|int"]
1360 """
1361 Amount that will be collected. It is required when `amount_type` is `fixed`.
1362 """
1363 amount_type: NotRequired["Literal['']|Literal['fixed', 'maximum']"]
1364 """
1365 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`.
1366 """
1367 end_date: NotRequired["Literal['']|str"]
1368 """
1369 Date, in YYYY-MM-DD format, after which payments will not be collected. Defaults to no end date.
1370 """
1371 payment_schedule: NotRequired[
1372 "Literal['']|Literal['adhoc', 'annual', 'daily', 'fortnightly', 'monthly', 'quarterly', 'semi_annual', 'weekly']"
1373 ]
1374 """
1375 The periodicity at which payments will be collected. Defaults to `adhoc`.
1376 """
1377 payments_per_period: NotRequired["Literal['']|int"]
1378 """
1379 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.
1380 """
1381 purpose: NotRequired[
1382 "Literal['']|Literal['dependant_support', 'government', 'loan', 'mortgage', 'other', 'pension', 'personal', 'retail', 'salary', 'tax', 'utility']"
1383 ]
1384 """
1385 The purpose for which payments are made. Has a default value based on your merchant category code.
1386 """
1387 start_date: NotRequired["Literal['']|str"]
1388 """
1389 Date, in YYYY-MM-DD format, from which payments will be collected. Defaults to confirmation time.
1390 """
1391
1392
1393 class SetupIntentConfirmParamsPaymentMethodOptionsSepaDebit(TypedDict):
1394 mandate_options: NotRequired[
1395 "SetupIntentConfirmParamsPaymentMethodOptionsSepaDebitMandateOptions"
1396 ]
1397 """
1398 Additional fields for Mandate creation
1399 """
1400
1401
1402 class SetupIntentConfirmParamsPaymentMethodOptionsSepaDebitMandateOptions(
1403 TypedDict,
1404 ):
1405 reference_prefix: NotRequired["Literal['']|str"]
1406 """
1407 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'.
1408 """
1409
1410
1411 class SetupIntentConfirmParamsPaymentMethodOptionsUsBankAccount(TypedDict):
1412 financial_connections: NotRequired[
1413 "SetupIntentConfirmParamsPaymentMethodOptionsUsBankAccountFinancialConnections"
1414 ]
1415 """
1416 Additional fields for Financial Connections Session creation
1417 """
1418 mandate_options: NotRequired[
1419 "SetupIntentConfirmParamsPaymentMethodOptionsUsBankAccountMandateOptions"
1420 ]
1421 """
1422 Additional fields for Mandate creation
1423 """
1424 networks: NotRequired[
1425 "SetupIntentConfirmParamsPaymentMethodOptionsUsBankAccountNetworks"
1426 ]
1427 """
1428 Additional fields for network related functions
1429 """
1430 verification_method: NotRequired[
1431 Literal["automatic", "instant", "microdeposits"]
1432 ]
1433 """
1434 Bank account verification method.
1435 """
1436
1437
1438 class SetupIntentConfirmParamsPaymentMethodOptionsUsBankAccountFinancialConnections(
1439 TypedDict,
1440 ):
1441 filters: NotRequired[
1442 "SetupIntentConfirmParamsPaymentMethodOptionsUsBankAccountFinancialConnectionsFilters"
1443 ]
1444 """
1445 Provide filters for the linked accounts that the customer can select for the payment method.
1446 """
1447 permissions: NotRequired[
1448 List[
1449 Literal["balances", "ownership", "payment_method", "transactions"]
1450 ]
1451 ]
1452 """
1453 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`.
1454 """
1455 prefetch: NotRequired[
1456 List[Literal["balances", "ownership", "transactions"]]
1457 ]
1458 """
1459 List of data features that you would like to retrieve upon account creation.
1460 """
1461 return_url: NotRequired[str]
1462 """
1463 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.
1464 """
1465
1466
1467 class SetupIntentConfirmParamsPaymentMethodOptionsUsBankAccountFinancialConnectionsFilters(
1468 TypedDict,
1469 ):
1470 account_subcategories: NotRequired[List[Literal["checking", "savings"]]]
1471 """
1472 The account subcategories to use to filter for selectable accounts. Valid subcategories are `checking` and `savings`.
1473 """
1474
1475
1476 class SetupIntentConfirmParamsPaymentMethodOptionsUsBankAccountMandateOptions(
1477 TypedDict,
1478 ):
1479 collection_method: NotRequired["Literal['']|Literal['paper']"]
1480 """
1481 The method used to collect offline mandate customer acceptance.
1482 """
1483
1484
1485 class SetupIntentConfirmParamsPaymentMethodOptionsUsBankAccountNetworks(
1486 TypedDict,
1487 ):
1488 requested: NotRequired[List[Literal["ach", "us_domestic_wire"]]]
1489 """
1490 Triggers validations to run across the selected networks
1491 """