Debian Codegraph @

stripe/params/_payment_method_create_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 PaymentMethodCreateParams(RequestOptions):
9 acss_debit: NotRequired["PaymentMethodCreateParamsAcssDebit"]
10 """
11 If this is an `acss_debit` PaymentMethod, this hash contains details about the ACSS Debit payment method.
12 """
13 affirm: NotRequired["PaymentMethodCreateParamsAffirm"]
14 """
15 If this is an `affirm` PaymentMethod, this hash contains details about the Affirm payment method.
16 """
17 afterpay_clearpay: NotRequired["PaymentMethodCreateParamsAfterpayClearpay"]
18 """
19 If this is an `AfterpayClearpay` PaymentMethod, this hash contains details about the AfterpayClearpay payment method.
20 """
21 alipay: NotRequired["PaymentMethodCreateParamsAlipay"]
22 """
23 If this is an `Alipay` PaymentMethod, this hash contains details about the Alipay payment method.
24 """
25 allow_redisplay: NotRequired[Literal["always", "limited", "unspecified"]]
26 """
27 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`.
28 """
29 alma: NotRequired["PaymentMethodCreateParamsAlma"]
30 """
31 If this is a Alma PaymentMethod, this hash contains details about the Alma payment method.
32 """
33 amazon_pay: NotRequired["PaymentMethodCreateParamsAmazonPay"]
34 """
35 If this is a AmazonPay PaymentMethod, this hash contains details about the AmazonPay payment method.
36 """
37 au_becs_debit: NotRequired["PaymentMethodCreateParamsAuBecsDebit"]
38 """
39 If this is an `au_becs_debit` PaymentMethod, this hash contains details about the bank account.
40 """
41 bacs_debit: NotRequired["PaymentMethodCreateParamsBacsDebit"]
42 """
43 If this is a `bacs_debit` PaymentMethod, this hash contains details about the Bacs Direct Debit bank account.
44 """
45 bancontact: NotRequired["PaymentMethodCreateParamsBancontact"]
46 """
47 If this is a `bancontact` PaymentMethod, this hash contains details about the Bancontact payment method.
48 """
49 billie: NotRequired["PaymentMethodCreateParamsBillie"]
50 """
51 If this is a `billie` PaymentMethod, this hash contains details about the Billie payment method.
52 """
53 billing_details: NotRequired["PaymentMethodCreateParamsBillingDetails"]
54 """
55 Billing information associated with the PaymentMethod that may be used or required by particular types of payment methods.
56 """
57 blik: NotRequired["PaymentMethodCreateParamsBlik"]
58 """
59 If this is a `blik` PaymentMethod, this hash contains details about the BLIK payment method.
60 """
61 boleto: NotRequired["PaymentMethodCreateParamsBoleto"]
62 """
63 If this is a `boleto` PaymentMethod, this hash contains details about the Boleto payment method.
64 """
65 card: NotRequired["PaymentMethodCreateParamsCard"]
66 """
67 If this is a `card` PaymentMethod, this hash contains the user's card details. For backwards compatibility, you can alternatively provide a Stripe token (e.g., for Apple Pay, Amex Express Checkout, or legacy Checkout) into the card hash with format `card: {token: "tok_visa"}`. When providing a card number, you must meet the requirements for [PCI compliance](https://stripe.com/docs/security#validating-pci-compliance). We strongly recommend using Stripe.js instead of interacting with this API directly.
68 """
69 cashapp: NotRequired["PaymentMethodCreateParamsCashapp"]
70 """
71 If this is a `cashapp` PaymentMethod, this hash contains details about the Cash App Pay payment method.
72 """
73 crypto: NotRequired["PaymentMethodCreateParamsCrypto"]
74 """
75 If this is a Crypto PaymentMethod, this hash contains details about the Crypto payment method.
76 """
77 custom: NotRequired["PaymentMethodCreateParamsCustom"]
78 """
79 If this is a `custom` PaymentMethod, this hash contains details about the Custom payment method.
80 """
81 customer: NotRequired[str]
82 """
83 The `Customer` to whom the original PaymentMethod is attached.
84 """
85 customer_balance: NotRequired["PaymentMethodCreateParamsCustomerBalance"]
86 """
87 If this is a `customer_balance` PaymentMethod, this hash contains details about the CustomerBalance payment method.
88 """
89 eps: NotRequired["PaymentMethodCreateParamsEps"]
90 """
91 If this is an `eps` PaymentMethod, this hash contains details about the EPS payment method.
92 """
93 expand: NotRequired[List[str]]
94 """
95 Specifies which fields in the response should be expanded.
96 """
97 fpx: NotRequired["PaymentMethodCreateParamsFpx"]
98 """
99 If this is an `fpx` PaymentMethod, this hash contains details about the FPX payment method.
100 """
101 giropay: NotRequired["PaymentMethodCreateParamsGiropay"]
102 """
103 If this is a `giropay` PaymentMethod, this hash contains details about the Giropay payment method.
104 """
105 grabpay: NotRequired["PaymentMethodCreateParamsGrabpay"]
106 """
107 If this is a `grabpay` PaymentMethod, this hash contains details about the GrabPay payment method.
108 """
109 ideal: NotRequired["PaymentMethodCreateParamsIdeal"]
110 """
111 If this is an `ideal` PaymentMethod, this hash contains details about the iDEAL payment method.
112 """
113 interac_present: NotRequired["PaymentMethodCreateParamsInteracPresent"]
114 """
115 If this is an `interac_present` PaymentMethod, this hash contains details about the Interac Present payment method.
116 """
117 kakao_pay: NotRequired["PaymentMethodCreateParamsKakaoPay"]
118 """
119 If this is a `kakao_pay` PaymentMethod, this hash contains details about the Kakao Pay payment method.
120 """
121 klarna: NotRequired["PaymentMethodCreateParamsKlarna"]
122 """
123 If this is a `klarna` PaymentMethod, this hash contains details about the Klarna payment method.
124 """
125 konbini: NotRequired["PaymentMethodCreateParamsKonbini"]
126 """
127 If this is a `konbini` PaymentMethod, this hash contains details about the Konbini payment method.
128 """
129 kr_card: NotRequired["PaymentMethodCreateParamsKrCard"]
130 """
131 If this is a `kr_card` PaymentMethod, this hash contains details about the Korean Card payment method.
132 """
133 link: NotRequired["PaymentMethodCreateParamsLink"]
134 """
135 If this is an `Link` PaymentMethod, this hash contains details about the Link payment method.
136 """
137 mb_way: NotRequired["PaymentMethodCreateParamsMbWay"]
138 """
139 If this is a MB WAY PaymentMethod, this hash contains details about the MB WAY payment method.
140 """
141 metadata: NotRequired[Dict[str, str]]
142 """
143 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`.
144 """
145 mobilepay: NotRequired["PaymentMethodCreateParamsMobilepay"]
146 """
147 If this is a `mobilepay` PaymentMethod, this hash contains details about the MobilePay payment method.
148 """
149 multibanco: NotRequired["PaymentMethodCreateParamsMultibanco"]
150 """
151 If this is a `multibanco` PaymentMethod, this hash contains details about the Multibanco payment method.
152 """
153 naver_pay: NotRequired["PaymentMethodCreateParamsNaverPay"]
154 """
155 If this is a `naver_pay` PaymentMethod, this hash contains details about the Naver Pay payment method.
156 """
157 nz_bank_account: NotRequired["PaymentMethodCreateParamsNzBankAccount"]
158 """
159 If this is an nz_bank_account PaymentMethod, this hash contains details about the nz_bank_account payment method.
160 """
161 oxxo: NotRequired["PaymentMethodCreateParamsOxxo"]
162 """
163 If this is an `oxxo` PaymentMethod, this hash contains details about the OXXO payment method.
164 """
165 p24: NotRequired["PaymentMethodCreateParamsP24"]
166 """
167 If this is a `p24` PaymentMethod, this hash contains details about the P24 payment method.
168 """
169 pay_by_bank: NotRequired["PaymentMethodCreateParamsPayByBank"]
170 """
171 If this is a `pay_by_bank` PaymentMethod, this hash contains details about the PayByBank payment method.
172 """
173 payco: NotRequired["PaymentMethodCreateParamsPayco"]
174 """
175 If this is a `payco` PaymentMethod, this hash contains details about the PAYCO payment method.
176 """
177 payment_method: NotRequired[str]
178 """
179 The PaymentMethod to share.
180 """
181 paynow: NotRequired["PaymentMethodCreateParamsPaynow"]
182 """
183 If this is a `paynow` PaymentMethod, this hash contains details about the PayNow payment method.
184 """
185 paypal: NotRequired["PaymentMethodCreateParamsPaypal"]
186 """
187 If this is a `paypal` PaymentMethod, this hash contains details about the PayPal payment method.
188 """
189 payto: NotRequired["PaymentMethodCreateParamsPayto"]
190 """
191 If this is a `payto` PaymentMethod, this hash contains details about the PayTo payment method.
192 """
193 pix: NotRequired["PaymentMethodCreateParamsPix"]
194 """
195 If this is a `pix` PaymentMethod, this hash contains details about the Pix payment method.
196 """
197 promptpay: NotRequired["PaymentMethodCreateParamsPromptpay"]
198 """
199 If this is a `promptpay` PaymentMethod, this hash contains details about the PromptPay payment method.
200 """
201 radar_options: NotRequired["PaymentMethodCreateParamsRadarOptions"]
202 """
203 Options to configure Radar. See [Radar Session](https://docs.stripe.com/radar/radar-session) for more information.
204 """
205 revolut_pay: NotRequired["PaymentMethodCreateParamsRevolutPay"]
206 """
207 If this is a `revolut_pay` PaymentMethod, this hash contains details about the Revolut Pay payment method.
208 """
209 samsung_pay: NotRequired["PaymentMethodCreateParamsSamsungPay"]
210 """
211 If this is a `samsung_pay` PaymentMethod, this hash contains details about the SamsungPay payment method.
212 """
213 satispay: NotRequired["PaymentMethodCreateParamsSatispay"]
214 """
215 If this is a `satispay` PaymentMethod, this hash contains details about the Satispay payment method.
216 """
217 sepa_debit: NotRequired["PaymentMethodCreateParamsSepaDebit"]
218 """
219 If this is a `sepa_debit` PaymentMethod, this hash contains details about the SEPA debit bank account.
220 """
221 sofort: NotRequired["PaymentMethodCreateParamsSofort"]
222 """
223 If this is a `sofort` PaymentMethod, this hash contains details about the SOFORT payment method.
224 """
225 swish: NotRequired["PaymentMethodCreateParamsSwish"]
226 """
227 If this is a `swish` PaymentMethod, this hash contains details about the Swish payment method.
228 """
229 twint: NotRequired["PaymentMethodCreateParamsTwint"]
230 """
231 If this is a TWINT PaymentMethod, this hash contains details about the TWINT payment method.
232 """
233 type: NotRequired[
234 Literal[
235 "acss_debit",
236 "affirm",
237 "afterpay_clearpay",
238 "alipay",
239 "alma",
240 "amazon_pay",
241 "au_becs_debit",
242 "bacs_debit",
243 "bancontact",
244 "billie",
245 "blik",
246 "boleto",
247 "card",
248 "cashapp",
249 "crypto",
250 "custom",
251 "customer_balance",
252 "eps",
253 "fpx",
254 "giropay",
255 "grabpay",
256 "ideal",
257 "kakao_pay",
258 "klarna",
259 "konbini",
260 "kr_card",
261 "link",
262 "mb_way",
263 "mobilepay",
264 "multibanco",
265 "naver_pay",
266 "nz_bank_account",
267 "oxxo",
268 "p24",
269 "pay_by_bank",
270 "payco",
271 "paynow",
272 "paypal",
273 "payto",
274 "pix",
275 "promptpay",
276 "revolut_pay",
277 "samsung_pay",
278 "satispay",
279 "sepa_debit",
280 "sofort",
281 "swish",
282 "twint",
283 "us_bank_account",
284 "wechat_pay",
285 "zip",
286 ]
287 ]
288 """
289 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.
290 """
291 us_bank_account: NotRequired["PaymentMethodCreateParamsUsBankAccount"]
292 """
293 If this is an `us_bank_account` PaymentMethod, this hash contains details about the US bank account payment method.
294 """
295 wechat_pay: NotRequired["PaymentMethodCreateParamsWechatPay"]
296 """
297 If this is an `wechat_pay` PaymentMethod, this hash contains details about the wechat_pay payment method.
298 """
299 zip: NotRequired["PaymentMethodCreateParamsZip"]
300 """
301 If this is a `zip` PaymentMethod, this hash contains details about the Zip payment method.
302 """
303
304
305 class PaymentMethodCreateParamsAcssDebit(TypedDict):
306 account_number: str
307 """
308 Customer's bank account number.
309 """
310 institution_number: str
311 """
312 Institution number of the customer's bank.
313 """
314 transit_number: str
315 """
316 Transit number of the customer's bank.
317 """
318
319
320 class PaymentMethodCreateParamsAffirm(TypedDict):
321 pass
322
323
324 class PaymentMethodCreateParamsAfterpayClearpay(TypedDict):
325 pass
326
327
328 class PaymentMethodCreateParamsAlipay(TypedDict):
329 pass
330
331
332 class PaymentMethodCreateParamsAlma(TypedDict):
333 pass
334
335
336 class PaymentMethodCreateParamsAmazonPay(TypedDict):
337 pass
338
339
340 class PaymentMethodCreateParamsAuBecsDebit(TypedDict):
341 account_number: str
342 """
343 The account number for the bank account.
344 """
345 bsb_number: str
346 """
347 Bank-State-Branch number of the bank account.
348 """
349
350
351 class PaymentMethodCreateParamsBacsDebit(TypedDict):
352 account_number: NotRequired[str]
353 """
354 Account number of the bank account that the funds will be debited from.
355 """
356 sort_code: NotRequired[str]
357 """
358 Sort code of the bank account. (e.g., `10-20-30`)
359 """
360
361
362 class PaymentMethodCreateParamsBancontact(TypedDict):
363 pass
364
365
366 class PaymentMethodCreateParamsBillie(TypedDict):
367 pass
368
369
370 class PaymentMethodCreateParamsBillingDetails(TypedDict):
371 address: NotRequired[
372 "Literal['']|PaymentMethodCreateParamsBillingDetailsAddress"
373 ]
374 """
375 Billing address.
376 """
377 email: NotRequired["Literal['']|str"]
378 """
379 Email address.
380 """
381 name: NotRequired["Literal['']|str"]
382 """
383 Full name.
384 """
385 phone: NotRequired["Literal['']|str"]
386 """
387 Billing phone number (including extension).
388 """
389 tax_id: NotRequired[str]
390 """
391 Taxpayer identification number. Used only for transactions between LATAM buyers and non-LATAM sellers.
392 """
393
394
395 class PaymentMethodCreateParamsBillingDetailsAddress(TypedDict):
396 city: NotRequired[str]
397 """
398 City, district, suburb, town, or village.
399 """
400 country: NotRequired[str]
401 """
402 Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
403 """
404 line1: NotRequired[str]
405 """
406 Address line 1, such as the street, PO Box, or company name.
407 """
408 line2: NotRequired[str]
409 """
410 Address line 2, such as the apartment, suite, unit, or building.
411 """
412 postal_code: NotRequired[str]
413 """
414 ZIP or postal code.
415 """
416 state: NotRequired[str]
417 """
418 State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
419 """
420
421
422 class PaymentMethodCreateParamsBlik(TypedDict):
423 pass
424
425
426 class PaymentMethodCreateParamsBoleto(TypedDict):
427 tax_id: str
428 """
429 The tax ID of the customer (CPF for individual consumers or CNPJ for businesses consumers)
430 """
431
432
433 class PaymentMethodCreateParamsCard(TypedDict):
434 cvc: NotRequired[str]
435 """
436 The card's CVC. It is highly recommended to always include this value.
437 """
438 exp_month: NotRequired[int]
439 """
440 Two-digit number representing the card's expiration month.
441 """
442 exp_year: NotRequired[int]
443 """
444 Four-digit number representing the card's expiration year.
445 """
446 networks: NotRequired["PaymentMethodCreateParamsCardNetworks"]
447 """
448 Contains information about card networks used to process the payment.
449 """
450 number: NotRequired[str]
451 """
452 The card number, as a string without any separators.
453 """
454 token: NotRequired[str]
455 """
456 For backwards compatibility, you can alternatively provide a Stripe token (e.g., for Apple Pay, Amex Express Checkout, or legacy Checkout) into the card hash with format card: {token: "tok_visa"}.
457 """
458
459
460 class PaymentMethodCreateParamsCardNetworks(TypedDict):
461 preferred: NotRequired[Literal["cartes_bancaires", "mastercard", "visa"]]
462 """
463 The customer's preferred card network for co-branded cards. Supports `cartes_bancaires`, `mastercard`, or `visa`. Selection of a network that does not apply to the card will be stored as `invalid_preference` on the card.
464 """
465
466
467 class PaymentMethodCreateParamsCashapp(TypedDict):
468 pass
469
470
471 class PaymentMethodCreateParamsCrypto(TypedDict):
472 pass
473
474
475 class PaymentMethodCreateParamsCustom(TypedDict):
476 type: str
477 """
478 ID of the Dashboard-only CustomPaymentMethodType. This field is used by Stripe products' internal code to support CPMs.
479 """
480
481
482 class PaymentMethodCreateParamsCustomerBalance(TypedDict):
483 pass
484
485
486 class PaymentMethodCreateParamsEps(TypedDict):
487 bank: NotRequired[
488 Literal[
489 "arzte_und_apotheker_bank",
490 "austrian_anadi_bank_ag",
491 "bank_austria",
492 "bankhaus_carl_spangler",
493 "bankhaus_schelhammer_und_schattera_ag",
494 "bawag_psk_ag",
495 "bks_bank_ag",
496 "brull_kallmus_bank_ag",
497 "btv_vier_lander_bank",
498 "capital_bank_grawe_gruppe_ag",
499 "deutsche_bank_ag",
500 "dolomitenbank",
501 "easybank_ag",
502 "erste_bank_und_sparkassen",
503 "hypo_alpeadriabank_international_ag",
504 "hypo_bank_burgenland_aktiengesellschaft",
505 "hypo_noe_lb_fur_niederosterreich_u_wien",
506 "hypo_oberosterreich_salzburg_steiermark",
507 "hypo_tirol_bank_ag",
508 "hypo_vorarlberg_bank_ag",
509 "marchfelder_bank",
510 "oberbank_ag",
511 "raiffeisen_bankengruppe_osterreich",
512 "schoellerbank_ag",
513 "sparda_bank_wien",
514 "volksbank_gruppe",
515 "volkskreditbank_ag",
516 "vr_bank_braunau",
517 ]
518 ]
519 """
520 The customer's bank.
521 """
522
523
524 class PaymentMethodCreateParamsFpx(TypedDict):
525 account_holder_type: NotRequired[Literal["company", "individual"]]
526 """
527 Account holder type for FPX transaction
528 """
529 bank: Literal[
530 "affin_bank",
531 "agrobank",
532 "alliance_bank",
533 "ambank",
534 "bank_islam",
535 "bank_muamalat",
536 "bank_of_china",
537 "bank_rakyat",
538 "bsn",
539 "cimb",
540 "deutsche_bank",
541 "hong_leong_bank",
542 "hsbc",
543 "kfh",
544 "maybank2e",
545 "maybank2u",
546 "ocbc",
547 "pb_enterprise",
548 "public_bank",
549 "rhb",
550 "standard_chartered",
551 "uob",
552 ]
553 """
554 The customer's bank.
555 """
556
557
558 class PaymentMethodCreateParamsGiropay(TypedDict):
559 pass
560
561
562 class PaymentMethodCreateParamsGrabpay(TypedDict):
563 pass
564
565
566 class PaymentMethodCreateParamsIdeal(TypedDict):
567 bank: NotRequired[
568 Literal[
569 "abn_amro",
570 "adyen",
571 "asn_bank",
572 "bunq",
573 "buut",
574 "finom",
575 "handelsbanken",
576 "ing",
577 "knab",
578 "mollie",
579 "moneyou",
580 "n26",
581 "nn",
582 "rabobank",
583 "regiobank",
584 "revolut",
585 "sns_bank",
586 "triodos_bank",
587 "van_lanschot",
588 "yoursafe",
589 ]
590 ]
591 """
592 The customer's bank. Only use this parameter for existing customers. Don't use it for new customers.
593 """
594
595
596 class PaymentMethodCreateParamsInteracPresent(TypedDict):
597 pass
598
599
600 class PaymentMethodCreateParamsKakaoPay(TypedDict):
601 pass
602
603
604 class PaymentMethodCreateParamsKlarna(TypedDict):
605 dob: NotRequired["PaymentMethodCreateParamsKlarnaDob"]
606 """
607 Customer's date of birth
608 """
609
610
611 class PaymentMethodCreateParamsKlarnaDob(TypedDict):
612 day: int
613 """
614 The day of birth, between 1 and 31.
615 """
616 month: int
617 """
618 The month of birth, between 1 and 12.
619 """
620 year: int
621 """
622 The four-digit year of birth.
623 """
624
625
626 class PaymentMethodCreateParamsKonbini(TypedDict):
627 pass
628
629
630 class PaymentMethodCreateParamsKrCard(TypedDict):
631 pass
632
633
634 class PaymentMethodCreateParamsLink(TypedDict):
635 pass
636
637
638 class PaymentMethodCreateParamsMbWay(TypedDict):
639 pass
640
641
642 class PaymentMethodCreateParamsMobilepay(TypedDict):
643 pass
644
645
646 class PaymentMethodCreateParamsMultibanco(TypedDict):
647 pass
648
649
650 class PaymentMethodCreateParamsNaverPay(TypedDict):
651 funding: NotRequired[Literal["card", "points"]]
652 """
653 Whether to use Naver Pay points or a card to fund this transaction. If not provided, this defaults to `card`.
654 """
655
656
657 class PaymentMethodCreateParamsNzBankAccount(TypedDict):
658 account_holder_name: NotRequired[str]
659 """
660 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.
661 """
662 account_number: str
663 """
664 The account number for the bank account.
665 """
666 bank_code: str
667 """
668 The numeric code for the bank account's bank.
669 """
670 branch_code: str
671 """
672 The numeric code for the bank account's bank branch.
673 """
674 reference: NotRequired[str]
675 suffix: str
676 """
677 The suffix of the bank account number.
678 """
679
680
681 class PaymentMethodCreateParamsOxxo(TypedDict):
682 pass
683
684
685 class PaymentMethodCreateParamsP24(TypedDict):
686 bank: NotRequired[
687 Literal[
688 "alior_bank",
689 "bank_millennium",
690 "bank_nowy_bfg_sa",
691 "bank_pekao_sa",
692 "banki_spbdzielcze",
693 "blik",
694 "bnp_paribas",
695 "boz",
696 "citi_handlowy",
697 "credit_agricole",
698 "envelobank",
699 "etransfer_pocztowy24",
700 "getin_bank",
701 "ideabank",
702 "ing",
703 "inteligo",
704 "mbank_mtransfer",
705 "nest_przelew",
706 "noble_pay",
707 "pbac_z_ipko",
708 "plus_bank",
709 "santander_przelew24",
710 "tmobile_usbugi_bankowe",
711 "toyota_bank",
712 "velobank",
713 "volkswagen_bank",
714 ]
715 ]
716 """
717 The customer's bank.
718 """
719
720
721 class PaymentMethodCreateParamsPayByBank(TypedDict):
722 pass
723
724
725 class PaymentMethodCreateParamsPayco(TypedDict):
726 pass
727
728
729 class PaymentMethodCreateParamsPaynow(TypedDict):
730 pass
731
732
733 class PaymentMethodCreateParamsPaypal(TypedDict):
734 pass
735
736
737 class PaymentMethodCreateParamsPayto(TypedDict):
738 account_number: NotRequired[str]
739 """
740 The account number for the bank account.
741 """
742 bsb_number: NotRequired[str]
743 """
744 Bank-State-Branch number of the bank account.
745 """
746 pay_id: NotRequired[str]
747 """
748 The PayID alias for the bank account.
749 """
750
751
752 class PaymentMethodCreateParamsPix(TypedDict):
753 pass
754
755
756 class PaymentMethodCreateParamsPromptpay(TypedDict):
757 pass
758
759
760 class PaymentMethodCreateParamsRadarOptions(TypedDict):
761 session: NotRequired[str]
762 """
763 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.
764 """
765
766
767 class PaymentMethodCreateParamsRevolutPay(TypedDict):
768 pass
769
770
771 class PaymentMethodCreateParamsSamsungPay(TypedDict):
772 pass
773
774
775 class PaymentMethodCreateParamsSatispay(TypedDict):
776 pass
777
778
779 class PaymentMethodCreateParamsSepaDebit(TypedDict):
780 iban: str
781 """
782 IBAN of the bank account.
783 """
784
785
786 class PaymentMethodCreateParamsSofort(TypedDict):
787 country: Literal["AT", "BE", "DE", "ES", "IT", "NL"]
788 """
789 Two-letter ISO code representing the country the bank account is located in.
790 """
791
792
793 class PaymentMethodCreateParamsSwish(TypedDict):
794 pass
795
796
797 class PaymentMethodCreateParamsTwint(TypedDict):
798 pass
799
800
801 class PaymentMethodCreateParamsUsBankAccount(TypedDict):
802 account_holder_type: NotRequired[Literal["company", "individual"]]
803 """
804 Account holder type: individual or company.
805 """
806 account_number: NotRequired[str]
807 """
808 Account number of the bank account.
809 """
810 account_type: NotRequired[Literal["checking", "savings"]]
811 """
812 Account type: checkings or savings. Defaults to checking if omitted.
813 """
814 financial_connections_account: NotRequired[str]
815 """
816 The ID of a Financial Connections Account to use as a payment method.
817 """
818 routing_number: NotRequired[str]
819 """
820 Routing number of the bank account.
821 """
822
823
824 class PaymentMethodCreateParamsWechatPay(TypedDict):
825 pass
826
827
828 class PaymentMethodCreateParamsZip(TypedDict):
829 pass