> ## Documentation Index
> Fetch the complete documentation index at: https://docs.equalsmoney.com/llms.txt
> Use this file to discover all available pages before exploring further.

# View digital wallet tokens

> Retrieve a list of digital wallet tokens associated with an account.

## List digital wallet tokens

<Note>
  **GET** `/v2/cards/tokens`
</Note>

### Request

Use this request to get a list of digital wallet tokens for cards on a given account.

<CodeGroup>
  ```bash Sample request theme={null}
  curl -i -X GET \
    'https://api.equalsmoney.com/v2/cards/tokens?accountId=F12345' \
    -H 'Authorization: ApiKey YOUR_API_KEY_HERE'
  ```

  ```bash Request structure theme={null}
  curl -i -X GET \
    'https://api.equalsmoney.com/v2/cards/tokens?accountId={accountId}' \
    -H 'Authorization: ApiKey YOUR_API_KEY_HERE'
  ```
</CodeGroup>

#### Query parameters

<ParamField body="accountId" type="string" required>
  The ID of the account that the tokens are associated with.

  Allowable values: An existing `accountId`
</ParamField>

<ParamField body="personId" type="string (uuid)">
  The ID of the person that the tokens are associated with.

  Allowable values: An existing `personId` (≤ 36 characters)
</ParamField>

<ParamField body="search" type="string">
  The last four digits of the card to search for. Use a comma-separated list to search for more than one. For example, `search=1234,4321`.

  Allowable values: A valid string
</ParamField>

<ParamField body="type" type="string (enum)">
  The type of digital wallet token. For example, `type=APPLE_PAY`.

  Allowable values: `APPLE_PAY`, `ANDROID_PAY`, `SAMSUNG_PAY`
</ParamField>

<ParamField body="deviceType" type="string (enum)">
  The type of device. For example, `type=WATCH`.

  Allowable values: `MOBILE_PHONE`, `TABLET`, `WATCH`
</ParamField>

### Response

If your request is successful, you'll receive a `200` response.

<CodeGroup>
  ```json Sample response theme={null}
  {
    "count": 1,
    "rows": [
      {
        "token": "9d3dee7c-19df-4b71-bbb9-521bb04307bf",
        "cardId": "e9293471-5eb3-4dbc-916c-dbaf9e2deefd",
        "cardName": "Expense card",
        "lastFour": "0056"
      }
    ]
  }
  ```

  ```json Response structure theme={null}
  {
    "count": integer,
    "rows": [
      {
        "token": "string",
        "cardId": "string",
        "cardName": "string",
        "lastFour": "string"
      }
    ]
  }
  ```
</CodeGroup>

For more detailed information about this request and its response, [see the API reference](/api-reference/digital-wallets/list-digital-wallet-tokens).
