Debian Codegraph @

stripe/params/_customer_list_payment_methods_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 CustomerListPaymentMethodsParams(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 ending_before: NotRequired[str]
14 """
15 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.
16 """
17 expand: NotRequired[List[str]]
18 """
19 Specifies which fields in the response should be expanded.
20 """
21 limit: NotRequired[int]
22 """
23 A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.
24 """
25 starting_after: NotRequired[str]
26 """
27 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.
28 """
29 type: NotRequired[
30 Literal[
31 "acss_debit",
32 "affirm",
33 "afterpay_clearpay",
34 "alipay",
35 "alma",
36 "amazon_pay",
37 "au_becs_debit",
38 "bacs_debit",
39 "bancontact",
40 "billie",
41 "blik",
42 "boleto",
43 "card",
44 "cashapp",
45 "crypto",
46 "custom",
47 "customer_balance",
48 "eps",
49 "fpx",
50 "giropay",
51 "grabpay",
52 "ideal",
53 "kakao_pay",
54 "klarna",
55 "konbini",
56 "kr_card",
57 "link",
58 "mb_way",
59 "mobilepay",
60 "multibanco",
61 "naver_pay",
62 "nz_bank_account",
63 "oxxo",
64 "p24",
65 "pay_by_bank",
66 "payco",
67 "paynow",
68 "paypal",
69 "payto",
70 "pix",
71 "promptpay",
72 "revolut_pay",
73 "samsung_pay",
74 "satispay",
75 "sepa_debit",
76 "sofort",
77 "swish",
78 "twint",
79 "us_bank_account",
80 "wechat_pay",
81 "zip",
82 ]
83 ]
84 """
85 An optional filter on the list, based on the object `type` field. Without the filter, the list includes all current and future payment method types. If your integration expects only one type of payment method in the response, make sure to provide a type value in the request.
86 """