ListCards
Retrieves a list of cards owned by the account making the request. A max of 25 cards will be returned.
Query parameters
A pagination cursor returned by a previous call to this endpoint. Provide this to retrieve the next set of results for your original query.
See Pagination for more information.
Limit results to cards associated with the customer supplied. By default, all cards owned by the merchant are returned.
Includes disabled cards. By default, all enabled cards owned by the merchant are returned.
Limit results to cards associated with the reference_id supplied.
The order (e.g., chronological or alphabetical) in which results from a request are returned.
Sorts the returned list by when the card was created with the specified order. This field defaults to ASC.
Response
Success
Example response
{
"cards": [
{
"billing_address": {
"address_line_1": "500 Electric Ave",
"address_line_2": "Suite 600",
"administrative_district_level_1": "NY",
"country": "US",
"locality": "New York",
"postal_code": "10003"
},
"bin": "411111",
"card_brand": "VISA",
"card_type": "CREDIT",
"cardholder_name": "Amelia Earhart",
"customer_id": "VDKXEEKPJN48QDG3BGGFAK05P8",
"enabled": true,
"exp_month": 11,
"exp_year": 2022,
"fingerprint": "ex-p-cs80EK9Flz7LsCMv-szbptQ_ssAGrhemzSTsPFgt9nzyE6t7okiLIQc-qw_quqKX4Q",
"hsa_fsa": false,
"id": "ccof:uIbfJXhXETSP197M3GB",
"last_4": "1111",
"merchant_id": "6SSW7HV8K2ST5",
"prepaid_type": "NOT_PREPAID",
"reference_id": "user-id-1",
"version": 1
}
]
}