| 1 |
# -*- coding: utf-8 -*- |
| 2 |
# File generated from our OpenAPI spec |
| 3 |
from typing import List |
| 4 |
from typing_extensions import Literal, NotRequired, TypedDict |
| 5 |
|
| 6 |
|
| 7 |
class CustomerPaymentMethodListParams(TypedDict): |
| 8 |
allow_redisplay: NotRequired[Literal["always", "limited", "unspecified"]] |
| 9 |
""" |
| 10 |
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. |
| 11 |
""" |
| 12 |
ending_before: NotRequired[str] |
| 13 |
""" |
| 14 |
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. |
| 15 |
""" |
| 16 |
expand: NotRequired[List[str]] |
| 17 |
""" |
| 18 |
Specifies which fields in the response should be expanded. |
| 19 |
""" |
| 20 |
limit: NotRequired[int] |
| 21 |
""" |
| 22 |
A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10. |
| 23 |
""" |
| 24 |
starting_after: NotRequired[str] |
| 25 |
""" |
| 26 |
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. |
| 27 |
""" |
| 28 |
type: NotRequired[ |
| 29 |
Literal[ |
| 30 |
"acss_debit", |
| 31 |
"affirm", |
| 32 |
"afterpay_clearpay", |
| 33 |
"alipay", |
| 34 |
"alma", |
| 35 |
"amazon_pay", |
| 36 |
"au_becs_debit", |
| 37 |
"bacs_debit", |
| 38 |
"bancontact", |
| 39 |
"billie", |
| 40 |
"blik", |
| 41 |
"boleto", |
| 42 |
"card", |
| 43 |
"cashapp", |
| 44 |
"crypto", |
| 45 |
"custom", |
| 46 |
"customer_balance", |
| 47 |
"eps", |
| 48 |
"fpx", |
| 49 |
"giropay", |
| 50 |
"grabpay", |
| 51 |
"ideal", |
| 52 |
"kakao_pay", |
| 53 |
"klarna", |
| 54 |
"konbini", |
| 55 |
"kr_card", |
| 56 |
"link", |
| 57 |
"mb_way", |
| 58 |
"mobilepay", |
| 59 |
"multibanco", |
| 60 |
"naver_pay", |
| 61 |
"nz_bank_account", |
| 62 |
"oxxo", |
| 63 |
"p24", |
| 64 |
"pay_by_bank", |
| 65 |
"payco", |
| 66 |
"paynow", |
| 67 |
"paypal", |
| 68 |
"payto", |
| 69 |
"pix", |
| 70 |
"promptpay", |
| 71 |
"revolut_pay", |
| 72 |
"samsung_pay", |
| 73 |
"satispay", |
| 74 |
"sepa_debit", |
| 75 |
"sofort", |
| 76 |
"swish", |
| 77 |
"twint", |
| 78 |
"us_bank_account", |
| 79 |
"wechat_pay", |
| 80 |
"zip", |
| 81 |
] |
| 82 |
] |
| 83 |
""" |
| 84 |
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. |
| 85 |
""" |