List payment methods
Lists a customer’s payment methods, newest first. Archived ones are left out unless includeArchived is true.
Authentication
AuthorizationBearer
API Key authentication using Bearer token
Headers
Paid-Beta
This endpoint is in the payments=v1 beta. Send this header to use it.
Allowed values:
Query parameters
customer
The customer whose payment methods to list: its cus_ ID, your externalId, or one of its aliases.
cursor
The nextCursor of the previous page. Omit it for the first page.
includeArchived
Pass true to include archived objects.
Allowed values:
limit
How many objects to return, 1 to 100. Defaults to 10.
type
The kind of payment method, and the name of the sub-object that describes it. Expect new values.
Allowed values:
Response
200
object
The type of object. Always list.
Allowed values:
data
The payment methods on this page, newest first.
hasMore
Whether another page follows this one.
nextCursor
Send it as cursor to get the next page. Null on the last page.
Errors
400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
409
Conflict Error
429
Too Many Requests Error
500
Internal Server Error
503
Service Unavailable Error