Debian Codegraph @

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