GET
stripe_customer_payment_methods_list.py
from charter.packs import stripe
result = await stripe.customer_payment_methods_list.ainvoke({"customer": ...})
Pages by cursor:
data[-1].id is sent back as starting_after.Path parameters
| Field | Type | Description |
|---|---|---|
customer * | string | The ID of the customer whose methods to list. |
Query parameters
| Field | Type | Description |
|---|---|---|
limit | integer | A limit on the number of objects to be returned, between 1 and 100. Defaults to 10. ≥ 1; ≤ 100; defaults to 10 |
startingAfter | string | A cursor for use in pagination: an object ID that defines your place in the list. To get the next page, pass the id of the last object in the current page. |
endingBefore | string | A cursor for use in pagination: an object ID that defines your place in the list. Returns the page before the named object. Mutually exclusive with starting_after. |
type | string | Only return payment methods of this type. Stripe adds types over time, so this is not a closed set; documented values are: acss_debit, affirm, afterpay_clearpay, alipay, alma, amazon_pay, au_becs_debit, bacs_debit, bancontact, billie, bizum, blik, boleto, card, cashapp, crypto, custom, customer_balance, eps, fpx, giropay, grabpay, ideal, kakao_pay, klarna, konbini, kr_card, link, 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, scalapay, sepa_debit, sofort, sunbit, swish, twint, upi, us_bank_account, wechat_pay, zip. |
allowRedisplay | AllowRedisplay | Filter by whether the method may be shown to the customer again: ‘always’, ‘limited’ (only in a specific context, such as one subscription), or ‘unspecified’. |