> For the complete documentation index, see [llms.txt](https://developer.convergegate.com/legacy/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developer.convergegate.com/legacy/token-api/card/list-sources.md).

# List sources

Return the list of the sources stored in a provided customer id.

<mark style="color:green;">`GET`</mark>` ``v1/customers/:id/sources`

{% tabs %}
{% tab title="CURL" %}

```
curl https://testapi.txpmnts.com/v1/customers/5M-jneMWQQqUnRwqVm256w/sources \
  -u sk_test_yFStF-KUmgr-7CoumuY2JA:
```

{% endtab %}
{% endtabs %}

> The above command returns JSON structured like this:

```json
[
    {
        "id": "Cb7gfDClSoiIJXL4h54lYw",
        "created_at": 1568895798,
        "name": "John Doe",
        "exp_month": 2,
        "exp_year": 2022,
        "last4": "0113",
        "brand": "visa",
        "customer": "P2ZTA56JQ7-AvwGf0pHd2Q",
        "fingerprint": "gEBnrziHFpLco9riUqALRU329zS8tEfNbVAPz2DQu78",
        "client_ip": "127.0.0.1",
        "address_line1": "Address Line 1",
        "address_city": "Address City",
        "address_state": "sk",
        "address_zip": "24310",
        "address_country": "PL",
        "type": "card"
    },
    {...},
    {...}
]
```

## Arguments <a href="#arguments-3" id="arguments-3"></a>

| Argument | Type   | Description                     |
| -------- | ------ | ------------------------------- |
| customer | string | Customer id stored on database. |

## Returns <a href="#returns-3" id="returns-3"></a>

Return the list of the card object stored for the given customer.
