Debian Codegraph @

stripe/params/_payment_method_list_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 List
5 from typing_extensions import Literal, NotRequired
6
7
8 class PaymentMethodListParams(RequestOptions):
9 allow_redisplay: NotRequired[Literal["always", "limited", "unspecified"]]
10 """
11 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.
12 """
13 customer: NotRequired[str]
14 """
15 The ID of the customer whose PaymentMethods will be retrieved.
16 """
17 customer_account: NotRequired[str]
18 """
19 The ID of the Account whose PaymentMethods will be retrieved.
20 """
21 ending_before: NotRequired[str]
22 """
23 A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list.
24 """
25 expand: NotRequired[List[str]]
26 """
27 Specifies which fields in the response should be expanded.
28 """
29 limit: NotRequired[int]
30 """
31 A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.
32 """
33 starting_after: NotRequired[str]
34 """
35 A cursor for use in pagination. `starting_after` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with `obj_foo`, your subsequent call can include `starting_after=obj_foo` in order to fetch the next page of the list.
36 """
37 type: NotRequired[
38 Literal[
39 "acss_debit",
40 "affirm",
41 "afterpay_clearpay",
42 "alipay",
43 "alma",
44 "amazon_pay",
45 "au_becs_debit",
46 "bacs_debit",
47 "bancontact",
48 "billie",
49 "blik",
50 "boleto",
51 "card",
52 "cashapp",
53 "crypto",
54 "custom",
55 "customer_balance",
56 "eps",
57 "fpx",
58 "giropay",
59 "grabpay",
60 "ideal",
61 "kakao_pay",
62 "klarna",
63 "konbini",
64 "kr_card",
65 "link",
66 "mb_way",
67 "mobilepay",
68 "multibanco",
69 "naver_pay",
70 "nz_bank_account",
71 "oxxo",
72 "p24",
73 "pay_by_bank",
74 "payco",
75 "paynow",
76 "paypal",
77 "payto",
78 "pix",
79 "promptpay",
80 "revolut_pay",
81 "samsung_pay",
82 "satispay",
83 "sepa_debit",
84 "sofort",
85 "swish",
86 "twint",
87 "us_bank_account",
88 "wechat_pay",
89 "zip",
90 ]
91 ]
92 """
93 Filters the list by the object `type` field. Unfiltered, the list returns all payment method types except `custom`. If your integration expects only one type of payment method in the response, specify that type value in the request to reduce your payload.
94 """