Debian Codegraph @

stripe/params/test_helpers/_confirmation_token_create_params.py

raw
1 # -*- coding: utf-8 -*-
2 # File generated from our OpenAPI spec
3 from typing import Dict, List
4 from typing_extensions import Literal, NotRequired, TypedDict
5
6
7 class ConfirmationTokenCreateParams(TypedDict):
8 expand: NotRequired[List[str]]
9 """
10 Specifies which fields in the response should be expanded.
11 """
12 payment_method: NotRequired[str]
13 """
14 ID of an existing PaymentMethod.
15 """
16 payment_method_data: NotRequired[
17 "ConfirmationTokenCreateParamsPaymentMethodData"
18 ]
19 """
20 If provided, this hash will be used to create a PaymentMethod.
21 """
22 payment_method_options: NotRequired[
23 "ConfirmationTokenCreateParamsPaymentMethodOptions"
24 ]
25 """
26 Payment-method-specific configuration for this ConfirmationToken.
27 """
28 return_url: NotRequired[str]
29 """
30 Return URL used to confirm the Intent.
31 """
32 setup_future_usage: NotRequired[Literal["off_session", "on_session"]]
33 """
34 Indicates that you intend to make future payments with this ConfirmationToken's payment method.
35
36 The presence of this property will [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the PaymentIntent's Customer, if present, after the PaymentIntent is confirmed and any required actions from the user are complete.
37 """
38 shipping: NotRequired["ConfirmationTokenCreateParamsShipping"]
39 """
40 Shipping information for this ConfirmationToken.
41 """
42
43
44 class ConfirmationTokenCreateParamsPaymentMethodData(TypedDict):
45 acss_debit: NotRequired[
46 "ConfirmationTokenCreateParamsPaymentMethodDataAcssDebit"
47 ]
48 """
49 If this is an `acss_debit` PaymentMethod, this hash contains details about the ACSS Debit payment method.
50 """
51 affirm: NotRequired["ConfirmationTokenCreateParamsPaymentMethodDataAffirm"]
52 """
53 If this is an `affirm` PaymentMethod, this hash contains details about the Affirm payment method.
54 """
55 afterpay_clearpay: NotRequired[
56 "ConfirmationTokenCreateParamsPaymentMethodDataAfterpayClearpay"
57 ]
58 """
59 If this is an `AfterpayClearpay` PaymentMethod, this hash contains details about the AfterpayClearpay payment method.
60 """
61 alipay: NotRequired["ConfirmationTokenCreateParamsPaymentMethodDataAlipay"]
62 """
63 If this is an `Alipay` PaymentMethod, this hash contains details about the Alipay payment method.
64 """
65 allow_redisplay: NotRequired[Literal["always", "limited", "unspecified"]]
66 """
67 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`.
68 """
69 alma: NotRequired["ConfirmationTokenCreateParamsPaymentMethodDataAlma"]
70 """
71 If this is a Alma PaymentMethod, this hash contains details about the Alma payment method.
72 """
73 amazon_pay: NotRequired[
74 "ConfirmationTokenCreateParamsPaymentMethodDataAmazonPay"
75 ]
76 """
77 If this is a AmazonPay PaymentMethod, this hash contains details about the AmazonPay payment method.
78 """
79 au_becs_debit: NotRequired[
80 "ConfirmationTokenCreateParamsPaymentMethodDataAuBecsDebit"
81 ]
82 """
83 If this is an `au_becs_debit` PaymentMethod, this hash contains details about the bank account.
84 """
85 bacs_debit: NotRequired[
86 "ConfirmationTokenCreateParamsPaymentMethodDataBacsDebit"
87 ]
88 """
89 If this is a `bacs_debit` PaymentMethod, this hash contains details about the Bacs Direct Debit bank account.
90 """
91 bancontact: NotRequired[
92 "ConfirmationTokenCreateParamsPaymentMethodDataBancontact"
93 ]
94 """
95 If this is a `bancontact` PaymentMethod, this hash contains details about the Bancontact payment method.
96 """
97 billie: NotRequired["ConfirmationTokenCreateParamsPaymentMethodDataBillie"]
98 """
99 If this is a `billie` PaymentMethod, this hash contains details about the Billie payment method.
100 """
101 billing_details: NotRequired[
102 "ConfirmationTokenCreateParamsPaymentMethodDataBillingDetails"
103 ]
104 """
105 Billing information associated with the PaymentMethod that may be used or required by particular types of payment methods.
106 """
107 blik: NotRequired["ConfirmationTokenCreateParamsPaymentMethodDataBlik"]
108 """
109 If this is a `blik` PaymentMethod, this hash contains details about the BLIK payment method.
110 """
111 boleto: NotRequired["ConfirmationTokenCreateParamsPaymentMethodDataBoleto"]
112 """
113 If this is a `boleto` PaymentMethod, this hash contains details about the Boleto payment method.
114 """
115 cashapp: NotRequired[
116 "ConfirmationTokenCreateParamsPaymentMethodDataCashapp"
117 ]
118 """
119 If this is a `cashapp` PaymentMethod, this hash contains details about the Cash App Pay payment method.
120 """
121 crypto: NotRequired["ConfirmationTokenCreateParamsPaymentMethodDataCrypto"]
122 """
123 If this is a Crypto PaymentMethod, this hash contains details about the Crypto payment method.
124 """
125 customer_balance: NotRequired[
126 "ConfirmationTokenCreateParamsPaymentMethodDataCustomerBalance"
127 ]
128 """
129 If this is a `customer_balance` PaymentMethod, this hash contains details about the CustomerBalance payment method.
130 """
131 eps: NotRequired["ConfirmationTokenCreateParamsPaymentMethodDataEps"]
132 """
133 If this is an `eps` PaymentMethod, this hash contains details about the EPS payment method.
134 """
135 fpx: NotRequired["ConfirmationTokenCreateParamsPaymentMethodDataFpx"]
136 """
137 If this is an `fpx` PaymentMethod, this hash contains details about the FPX payment method.
138 """
139 giropay: NotRequired[
140 "ConfirmationTokenCreateParamsPaymentMethodDataGiropay"
141 ]
142 """
143 If this is a `giropay` PaymentMethod, this hash contains details about the Giropay payment method.
144 """
145 grabpay: NotRequired[
146 "ConfirmationTokenCreateParamsPaymentMethodDataGrabpay"
147 ]
148 """
149 If this is a `grabpay` PaymentMethod, this hash contains details about the GrabPay payment method.
150 """
151 ideal: NotRequired["ConfirmationTokenCreateParamsPaymentMethodDataIdeal"]
152 """
153 If this is an `ideal` PaymentMethod, this hash contains details about the iDEAL payment method.
154 """
155 interac_present: NotRequired[
156 "ConfirmationTokenCreateParamsPaymentMethodDataInteracPresent"
157 ]
158 """
159 If this is an `interac_present` PaymentMethod, this hash contains details about the Interac Present payment method.
160 """
161 kakao_pay: NotRequired[
162 "ConfirmationTokenCreateParamsPaymentMethodDataKakaoPay"
163 ]
164 """
165 If this is a `kakao_pay` PaymentMethod, this hash contains details about the Kakao Pay payment method.
166 """
167 klarna: NotRequired["ConfirmationTokenCreateParamsPaymentMethodDataKlarna"]
168 """
169 If this is a `klarna` PaymentMethod, this hash contains details about the Klarna payment method.
170 """
171 konbini: NotRequired[
172 "ConfirmationTokenCreateParamsPaymentMethodDataKonbini"
173 ]
174 """
175 If this is a `konbini` PaymentMethod, this hash contains details about the Konbini payment method.
176 """
177 kr_card: NotRequired[
178 "ConfirmationTokenCreateParamsPaymentMethodDataKrCard"
179 ]
180 """
181 If this is a `kr_card` PaymentMethod, this hash contains details about the Korean Card payment method.
182 """
183 link: NotRequired["ConfirmationTokenCreateParamsPaymentMethodDataLink"]
184 """
185 If this is an `Link` PaymentMethod, this hash contains details about the Link payment method.
186 """
187 mb_way: NotRequired["ConfirmationTokenCreateParamsPaymentMethodDataMbWay"]
188 """
189 If this is a MB WAY PaymentMethod, this hash contains details about the MB WAY payment method.
190 """
191 metadata: NotRequired[Dict[str, str]]
192 """
193 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`.
194 """
195 mobilepay: NotRequired[
196 "ConfirmationTokenCreateParamsPaymentMethodDataMobilepay"
197 ]
198 """
199 If this is a `mobilepay` PaymentMethod, this hash contains details about the MobilePay payment method.
200 """
201 multibanco: NotRequired[
202 "ConfirmationTokenCreateParamsPaymentMethodDataMultibanco"
203 ]
204 """
205 If this is a `multibanco` PaymentMethod, this hash contains details about the Multibanco payment method.
206 """
207 naver_pay: NotRequired[
208 "ConfirmationTokenCreateParamsPaymentMethodDataNaverPay"
209 ]
210 """
211 If this is a `naver_pay` PaymentMethod, this hash contains details about the Naver Pay payment method.
212 """
213 nz_bank_account: NotRequired[
214 "ConfirmationTokenCreateParamsPaymentMethodDataNzBankAccount"
215 ]
216 """
217 If this is an nz_bank_account PaymentMethod, this hash contains details about the nz_bank_account payment method.
218 """
219 oxxo: NotRequired["ConfirmationTokenCreateParamsPaymentMethodDataOxxo"]
220 """
221 If this is an `oxxo` PaymentMethod, this hash contains details about the OXXO payment method.
222 """
223 p24: NotRequired["ConfirmationTokenCreateParamsPaymentMethodDataP24"]
224 """
225 If this is a `p24` PaymentMethod, this hash contains details about the P24 payment method.
226 """
227 pay_by_bank: NotRequired[
228 "ConfirmationTokenCreateParamsPaymentMethodDataPayByBank"
229 ]
230 """
231 If this is a `pay_by_bank` PaymentMethod, this hash contains details about the PayByBank payment method.
232 """
233 payco: NotRequired["ConfirmationTokenCreateParamsPaymentMethodDataPayco"]
234 """
235 If this is a `payco` PaymentMethod, this hash contains details about the PAYCO payment method.
236 """
237 paynow: NotRequired["ConfirmationTokenCreateParamsPaymentMethodDataPaynow"]
238 """
239 If this is a `paynow` PaymentMethod, this hash contains details about the PayNow payment method.
240 """
241 paypal: NotRequired["ConfirmationTokenCreateParamsPaymentMethodDataPaypal"]
242 """
243 If this is a `paypal` PaymentMethod, this hash contains details about the PayPal payment method.
244 """
245 payto: NotRequired["ConfirmationTokenCreateParamsPaymentMethodDataPayto"]
246 """
247 If this is a `payto` PaymentMethod, this hash contains details about the PayTo payment method.
248 """
249 pix: NotRequired["ConfirmationTokenCreateParamsPaymentMethodDataPix"]
250 """
251 If this is a `pix` PaymentMethod, this hash contains details about the Pix payment method.
252 """
253 promptpay: NotRequired[
254 "ConfirmationTokenCreateParamsPaymentMethodDataPromptpay"
255 ]
256 """
257 If this is a `promptpay` PaymentMethod, this hash contains details about the PromptPay payment method.
258 """
259 radar_options: NotRequired[
260 "ConfirmationTokenCreateParamsPaymentMethodDataRadarOptions"
261 ]
262 """
263 Options to configure Radar. See [Radar Session](https://docs.stripe.com/radar/radar-session) for more information.
264 """
265 revolut_pay: NotRequired[
266 "ConfirmationTokenCreateParamsPaymentMethodDataRevolutPay"
267 ]
268 """
269 If this is a `revolut_pay` PaymentMethod, this hash contains details about the Revolut Pay payment method.
270 """
271 samsung_pay: NotRequired[
272 "ConfirmationTokenCreateParamsPaymentMethodDataSamsungPay"
273 ]
274 """
275 If this is a `samsung_pay` PaymentMethod, this hash contains details about the SamsungPay payment method.
276 """
277 satispay: NotRequired[
278 "ConfirmationTokenCreateParamsPaymentMethodDataSatispay"
279 ]
280 """
281 If this is a `satispay` PaymentMethod, this hash contains details about the Satispay payment method.
282 """
283 sepa_debit: NotRequired[
284 "ConfirmationTokenCreateParamsPaymentMethodDataSepaDebit"
285 ]
286 """
287 If this is a `sepa_debit` PaymentMethod, this hash contains details about the SEPA debit bank account.
288 """
289 sofort: NotRequired["ConfirmationTokenCreateParamsPaymentMethodDataSofort"]
290 """
291 If this is a `sofort` PaymentMethod, this hash contains details about the SOFORT payment method.
292 """
293 swish: NotRequired["ConfirmationTokenCreateParamsPaymentMethodDataSwish"]
294 """
295 If this is a `swish` PaymentMethod, this hash contains details about the Swish payment method.
296 """
297 twint: NotRequired["ConfirmationTokenCreateParamsPaymentMethodDataTwint"]
298 """
299 If this is a TWINT PaymentMethod, this hash contains details about the TWINT payment method.
300 """
301 type: Literal[
302 "acss_debit",
303 "affirm",
304 "afterpay_clearpay",
305 "alipay",
306 "alma",
307 "amazon_pay",
308 "au_becs_debit",
309 "bacs_debit",
310 "bancontact",
311 "billie",
312 "blik",
313 "boleto",
314 "cashapp",
315 "crypto",
316 "customer_balance",
317 "eps",
318 "fpx",
319 "giropay",
320 "grabpay",
321 "ideal",
322 "kakao_pay",
323 "klarna",
324 "konbini",
325 "kr_card",
326 "link",
327 "mb_way",
328 "mobilepay",
329 "multibanco",
330 "naver_pay",
331 "nz_bank_account",
332 "oxxo",
333 "p24",
334 "pay_by_bank",
335 "payco",
336 "paynow",
337 "paypal",
338 "payto",
339 "pix",
340 "promptpay",
341 "revolut_pay",
342 "samsung_pay",
343 "satispay",
344 "sepa_debit",
345 "sofort",
346 "swish",
347 "twint",
348 "us_bank_account",
349 "wechat_pay",
350 "zip",
351 ]
352 """
353 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.
354 """
355 us_bank_account: NotRequired[
356 "ConfirmationTokenCreateParamsPaymentMethodDataUsBankAccount"
357 ]
358 """
359 If this is an `us_bank_account` PaymentMethod, this hash contains details about the US bank account payment method.
360 """
361 wechat_pay: NotRequired[
362 "ConfirmationTokenCreateParamsPaymentMethodDataWechatPay"
363 ]
364 """
365 If this is an `wechat_pay` PaymentMethod, this hash contains details about the wechat_pay payment method.
366 """
367 zip: NotRequired["ConfirmationTokenCreateParamsPaymentMethodDataZip"]
368 """
369 If this is a `zip` PaymentMethod, this hash contains details about the Zip payment method.
370 """
371
372
373 class ConfirmationTokenCreateParamsPaymentMethodDataAcssDebit(TypedDict):
374 account_number: str
375 """
376 Customer's bank account number.
377 """
378 institution_number: str
379 """
380 Institution number of the customer's bank.
381 """
382 transit_number: str
383 """
384 Transit number of the customer's bank.
385 """
386
387
388 class ConfirmationTokenCreateParamsPaymentMethodDataAffirm(TypedDict):
389 pass
390
391
392 class ConfirmationTokenCreateParamsPaymentMethodDataAfterpayClearpay(
393 TypedDict
394 ):
395 pass
396
397
398 class ConfirmationTokenCreateParamsPaymentMethodDataAlipay(TypedDict):
399 pass
400
401
402 class ConfirmationTokenCreateParamsPaymentMethodDataAlma(TypedDict):
403 pass
404
405
406 class ConfirmationTokenCreateParamsPaymentMethodDataAmazonPay(TypedDict):
407 pass
408
409
410 class ConfirmationTokenCreateParamsPaymentMethodDataAuBecsDebit(TypedDict):
411 account_number: str
412 """
413 The account number for the bank account.
414 """
415 bsb_number: str
416 """
417 Bank-State-Branch number of the bank account.
418 """
419
420
421 class ConfirmationTokenCreateParamsPaymentMethodDataBacsDebit(TypedDict):
422 account_number: NotRequired[str]
423 """
424 Account number of the bank account that the funds will be debited from.
425 """
426 sort_code: NotRequired[str]
427 """
428 Sort code of the bank account. (e.g., `10-20-30`)
429 """
430
431
432 class ConfirmationTokenCreateParamsPaymentMethodDataBancontact(TypedDict):
433 pass
434
435
436 class ConfirmationTokenCreateParamsPaymentMethodDataBillie(TypedDict):
437 pass
438
439
440 class ConfirmationTokenCreateParamsPaymentMethodDataBillingDetails(TypedDict):
441 address: NotRequired[
442 "Literal['']|ConfirmationTokenCreateParamsPaymentMethodDataBillingDetailsAddress"
443 ]
444 """
445 Billing address.
446 """
447 email: NotRequired["Literal['']|str"]
448 """
449 Email address.
450 """
451 name: NotRequired["Literal['']|str"]
452 """
453 Full name.
454 """
455 phone: NotRequired["Literal['']|str"]
456 """
457 Billing phone number (including extension).
458 """
459 tax_id: NotRequired[str]
460 """
461 Taxpayer identification number. Used only for transactions between LATAM buyers and non-LATAM sellers.
462 """
463
464
465 class ConfirmationTokenCreateParamsPaymentMethodDataBillingDetailsAddress(
466 TypedDict,
467 ):
468 city: NotRequired[str]
469 """
470 City, district, suburb, town, or village.
471 """
472 country: NotRequired[str]
473 """
474 Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
475 """
476 line1: NotRequired[str]
477 """
478 Address line 1, such as the street, PO Box, or company name.
479 """
480 line2: NotRequired[str]
481 """
482 Address line 2, such as the apartment, suite, unit, or building.
483 """
484 postal_code: NotRequired[str]
485 """
486 ZIP or postal code.
487 """
488 state: NotRequired[str]
489 """
490 State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
491 """
492
493
494 class ConfirmationTokenCreateParamsPaymentMethodDataBlik(TypedDict):
495 pass
496
497
498 class ConfirmationTokenCreateParamsPaymentMethodDataBoleto(TypedDict):
499 tax_id: str
500 """
501 The tax ID of the customer (CPF for individual consumers or CNPJ for businesses consumers)
502 """
503
504
505 class ConfirmationTokenCreateParamsPaymentMethodDataCashapp(TypedDict):
506 pass
507
508
509 class ConfirmationTokenCreateParamsPaymentMethodDataCrypto(TypedDict):
510 pass
511
512
513 class ConfirmationTokenCreateParamsPaymentMethodDataCustomerBalance(TypedDict):
514 pass
515
516
517 class ConfirmationTokenCreateParamsPaymentMethodDataEps(TypedDict):
518 bank: NotRequired[
519 Literal[
520 "arzte_und_apotheker_bank",
521 "austrian_anadi_bank_ag",
522 "bank_austria",
523 "bankhaus_carl_spangler",
524 "bankhaus_schelhammer_und_schattera_ag",
525 "bawag_psk_ag",
526 "bks_bank_ag",
527 "brull_kallmus_bank_ag",
528 "btv_vier_lander_bank",
529 "capital_bank_grawe_gruppe_ag",
530 "deutsche_bank_ag",
531 "dolomitenbank",
532 "easybank_ag",
533 "erste_bank_und_sparkassen",
534 "hypo_alpeadriabank_international_ag",
535 "hypo_bank_burgenland_aktiengesellschaft",
536 "hypo_noe_lb_fur_niederosterreich_u_wien",
537 "hypo_oberosterreich_salzburg_steiermark",
538 "hypo_tirol_bank_ag",
539 "hypo_vorarlberg_bank_ag",
540 "marchfelder_bank",
541 "oberbank_ag",
542 "raiffeisen_bankengruppe_osterreich",
543 "schoellerbank_ag",
544 "sparda_bank_wien",
545 "volksbank_gruppe",
546 "volkskreditbank_ag",
547 "vr_bank_braunau",
548 ]
549 ]
550 """
551 The customer's bank.
552 """
553
554
555 class ConfirmationTokenCreateParamsPaymentMethodDataFpx(TypedDict):
556 account_holder_type: NotRequired[Literal["company", "individual"]]
557 """
558 Account holder type for FPX transaction
559 """
560 bank: Literal[
561 "affin_bank",
562 "agrobank",
563 "alliance_bank",
564 "ambank",
565 "bank_islam",
566 "bank_muamalat",
567 "bank_of_china",
568 "bank_rakyat",
569 "bsn",
570 "cimb",
571 "deutsche_bank",
572 "hong_leong_bank",
573 "hsbc",
574 "kfh",
575 "maybank2e",
576 "maybank2u",
577 "ocbc",
578 "pb_enterprise",
579 "public_bank",
580 "rhb",
581 "standard_chartered",
582 "uob",
583 ]
584 """
585 The customer's bank.
586 """
587
588
589 class ConfirmationTokenCreateParamsPaymentMethodDataGiropay(TypedDict):
590 pass
591
592
593 class ConfirmationTokenCreateParamsPaymentMethodDataGrabpay(TypedDict):
594 pass
595
596
597 class ConfirmationTokenCreateParamsPaymentMethodDataIdeal(TypedDict):
598 bank: NotRequired[
599 Literal[
600 "abn_amro",
601 "adyen",
602 "asn_bank",
603 "bunq",
604 "buut",
605 "finom",
606 "handelsbanken",
607 "ing",
608 "knab",
609 "mollie",
610 "moneyou",
611 "n26",
612 "nn",
613 "rabobank",
614 "regiobank",
615 "revolut",
616 "sns_bank",
617 "triodos_bank",
618 "van_lanschot",
619 "yoursafe",
620 ]
621 ]
622 """
623 The customer's bank. Only use this parameter for existing customers. Don't use it for new customers.
624 """
625
626
627 class ConfirmationTokenCreateParamsPaymentMethodDataInteracPresent(TypedDict):
628 pass
629
630
631 class ConfirmationTokenCreateParamsPaymentMethodDataKakaoPay(TypedDict):
632 pass
633
634
635 class ConfirmationTokenCreateParamsPaymentMethodDataKlarna(TypedDict):
636 dob: NotRequired["ConfirmationTokenCreateParamsPaymentMethodDataKlarnaDob"]
637 """
638 Customer's date of birth
639 """
640
641
642 class ConfirmationTokenCreateParamsPaymentMethodDataKlarnaDob(TypedDict):
643 day: int
644 """
645 The day of birth, between 1 and 31.
646 """
647 month: int
648 """
649 The month of birth, between 1 and 12.
650 """
651 year: int
652 """
653 The four-digit year of birth.
654 """
655
656
657 class ConfirmationTokenCreateParamsPaymentMethodDataKonbini(TypedDict):
658 pass
659
660
661 class ConfirmationTokenCreateParamsPaymentMethodDataKrCard(TypedDict):
662 pass
663
664
665 class ConfirmationTokenCreateParamsPaymentMethodDataLink(TypedDict):
666 pass
667
668
669 class ConfirmationTokenCreateParamsPaymentMethodDataMbWay(TypedDict):
670 pass
671
672
673 class ConfirmationTokenCreateParamsPaymentMethodDataMobilepay(TypedDict):
674 pass
675
676
677 class ConfirmationTokenCreateParamsPaymentMethodDataMultibanco(TypedDict):
678 pass
679
680
681 class ConfirmationTokenCreateParamsPaymentMethodDataNaverPay(TypedDict):
682 funding: NotRequired[Literal["card", "points"]]
683 """
684 Whether to use Naver Pay points or a card to fund this transaction. If not provided, this defaults to `card`.
685 """
686
687
688 class ConfirmationTokenCreateParamsPaymentMethodDataNzBankAccount(TypedDict):
689 account_holder_name: NotRequired[str]
690 """
691 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.
692 """
693 account_number: str
694 """
695 The account number for the bank account.
696 """
697 bank_code: str
698 """
699 The numeric code for the bank account's bank.
700 """
701 branch_code: str
702 """
703 The numeric code for the bank account's bank branch.
704 """
705 reference: NotRequired[str]
706 suffix: str
707 """
708 The suffix of the bank account number.
709 """
710
711
712 class ConfirmationTokenCreateParamsPaymentMethodDataOxxo(TypedDict):
713 pass
714
715
716 class ConfirmationTokenCreateParamsPaymentMethodDataP24(TypedDict):
717 bank: NotRequired[
718 Literal[
719 "alior_bank",
720 "bank_millennium",
721 "bank_nowy_bfg_sa",
722 "bank_pekao_sa",
723 "banki_spbdzielcze",
724 "blik",
725 "bnp_paribas",
726 "boz",
727 "citi_handlowy",
728 "credit_agricole",
729 "envelobank",
730 "etransfer_pocztowy24",
731 "getin_bank",
732 "ideabank",
733 "ing",
734 "inteligo",
735 "mbank_mtransfer",
736 "nest_przelew",
737 "noble_pay",
738 "pbac_z_ipko",
739 "plus_bank",
740 "santander_przelew24",
741 "tmobile_usbugi_bankowe",
742 "toyota_bank",
743 "velobank",
744 "volkswagen_bank",
745 ]
746 ]
747 """
748 The customer's bank.
749 """
750
751
752 class ConfirmationTokenCreateParamsPaymentMethodDataPayByBank(TypedDict):
753 pass
754
755
756 class ConfirmationTokenCreateParamsPaymentMethodDataPayco(TypedDict):
757 pass
758
759
760 class ConfirmationTokenCreateParamsPaymentMethodDataPaynow(TypedDict):
761 pass
762
763
764 class ConfirmationTokenCreateParamsPaymentMethodDataPaypal(TypedDict):
765 pass
766
767
768 class ConfirmationTokenCreateParamsPaymentMethodDataPayto(TypedDict):
769 account_number: NotRequired[str]
770 """
771 The account number for the bank account.
772 """
773 bsb_number: NotRequired[str]
774 """
775 Bank-State-Branch number of the bank account.
776 """
777 pay_id: NotRequired[str]
778 """
779 The PayID alias for the bank account.
780 """
781
782
783 class ConfirmationTokenCreateParamsPaymentMethodDataPix(TypedDict):
784 pass
785
786
787 class ConfirmationTokenCreateParamsPaymentMethodDataPromptpay(TypedDict):
788 pass
789
790
791 class ConfirmationTokenCreateParamsPaymentMethodDataRadarOptions(TypedDict):
792 session: NotRequired[str]
793 """
794 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.
795 """
796
797
798 class ConfirmationTokenCreateParamsPaymentMethodDataRevolutPay(TypedDict):
799 pass
800
801
802 class ConfirmationTokenCreateParamsPaymentMethodDataSamsungPay(TypedDict):
803 pass
804
805
806 class ConfirmationTokenCreateParamsPaymentMethodDataSatispay(TypedDict):
807 pass
808
809
810 class ConfirmationTokenCreateParamsPaymentMethodDataSepaDebit(TypedDict):
811 iban: str
812 """
813 IBAN of the bank account.
814 """
815
816
817 class ConfirmationTokenCreateParamsPaymentMethodDataSofort(TypedDict):
818 country: Literal["AT", "BE", "DE", "ES", "IT", "NL"]
819 """
820 Two-letter ISO code representing the country the bank account is located in.
821 """
822
823
824 class ConfirmationTokenCreateParamsPaymentMethodDataSwish(TypedDict):
825 pass
826
827
828 class ConfirmationTokenCreateParamsPaymentMethodDataTwint(TypedDict):
829 pass
830
831
832 class ConfirmationTokenCreateParamsPaymentMethodDataUsBankAccount(TypedDict):
833 account_holder_type: NotRequired[Literal["company", "individual"]]
834 """
835 Account holder type: individual or company.
836 """
837 account_number: NotRequired[str]
838 """
839 Account number of the bank account.
840 """
841 account_type: NotRequired[Literal["checking", "savings"]]
842 """
843 Account type: checkings or savings. Defaults to checking if omitted.
844 """
845 financial_connections_account: NotRequired[str]
846 """
847 The ID of a Financial Connections Account to use as a payment method.
848 """
849 routing_number: NotRequired[str]
850 """
851 Routing number of the bank account.
852 """
853
854
855 class ConfirmationTokenCreateParamsPaymentMethodDataWechatPay(TypedDict):
856 pass
857
858
859 class ConfirmationTokenCreateParamsPaymentMethodDataZip(TypedDict):
860 pass
861
862
863 class ConfirmationTokenCreateParamsPaymentMethodOptions(TypedDict):
864 card: NotRequired["ConfirmationTokenCreateParamsPaymentMethodOptionsCard"]
865 """
866 Configuration for any card payments confirmed using this ConfirmationToken.
867 """
868
869
870 class ConfirmationTokenCreateParamsPaymentMethodOptionsCard(TypedDict):
871 installments: NotRequired[
872 "ConfirmationTokenCreateParamsPaymentMethodOptionsCardInstallments"
873 ]
874 """
875 Installment configuration for payments confirmed using this ConfirmationToken.
876 """
877
878
879 class ConfirmationTokenCreateParamsPaymentMethodOptionsCardInstallments(
880 TypedDict,
881 ):
882 plan: (
883 "ConfirmationTokenCreateParamsPaymentMethodOptionsCardInstallmentsPlan"
884 )
885 """
886 The selected installment plan to use for this payment attempt.
887 This parameter can only be provided during confirmation.
888 """
889
890
891 class ConfirmationTokenCreateParamsPaymentMethodOptionsCardInstallmentsPlan(
892 TypedDict,
893 ):
894 count: NotRequired[int]
895 """
896 For `fixed_count` installment plans, this is required. It represents the number of installment payments your customer will make to their credit card.
897 """
898 interval: NotRequired[Literal["month"]]
899 """
900 For `fixed_count` installment plans, this is required. It represents the interval between installment payments your customer will make to their credit card.
901 One of `month`.
902 """
903 type: Literal["bonus", "fixed_count", "revolving"]
904 """
905 Type of installment plan, one of `fixed_count`, `bonus`, or `revolving`.
906 """
907
908
909 class ConfirmationTokenCreateParamsShipping(TypedDict):
910 address: "ConfirmationTokenCreateParamsShippingAddress"
911 """
912 Shipping address
913 """
914 name: str
915 """
916 Recipient name.
917 """
918 phone: NotRequired["Literal['']|str"]
919 """
920 Recipient phone (including extension)
921 """
922
923
924 class ConfirmationTokenCreateParamsShippingAddress(TypedDict):
925 city: NotRequired[str]
926 """
927 City, district, suburb, town, or village.
928 """
929 country: NotRequired[str]
930 """
931 Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
932 """
933 line1: NotRequired[str]
934 """
935 Address line 1, such as the street, PO Box, or company name.
936 """
937 line2: NotRequired[str]
938 """
939 Address line 2, such as the apartment, suite, unit, or building.
940 """
941 postal_code: NotRequired[str]
942 """
943 ZIP or postal code.
944 """
945 state: NotRequired[str]
946 """
947 State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
948 """