> For the complete documentation index, see [llms.txt](https://6dot50.gitbook.io/6dot50-apis/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://6dot50.gitbook.io/6dot50-apis/pay-api/accounts/get-accounts.md).

# GET /accounts

This operation will list one or more PAY Accounts you may have with 6DOT50 PAY.

### Request

Ensure the bearer token is included in the Header of the GET operation:

<table><thead><tr><th width="186">Header</th><th width="118.33333333333331">Mandatory</th><th>Description</th></tr></thead><tbody><tr><td><code>Authorization</code></td><td>Yes</td><td>Bearer token from <a href="/6dot50-apis/redemptions-api/authentication/post-authentication-gettoken.md">/authentication/getToken</a></td></tr></tbody></table>

### Response

If successful, the operation will return with an **array** of PAY Accounts linked to your organisation:

```
[
  {
    "id": "string($guid)",
    "name": "string",
    "shortName": "string",
    "createdAt": "string($date-time)",
    "active": boolean,
    "balance": "string",
    "availableBalance": "string",
    "currencyCode": "string"
  }
]
```

<table><thead><tr><th width="219.33333333333331">Field</th><th width="187">Response Type</th><th>Description</th></tr></thead><tbody><tr><td><code>id</code></td><td>string($guid)</td><td>Unique ID of the account.</td></tr><tr><td><code>name</code></td><td>string</td><td>Friendly name of the account.</td></tr><tr><td><code>shortName</code></td><td>string</td><td>Short name for the account, used to identify deposits when in Production.</td></tr><tr><td><code>createdAt</code></td><td>string($date-time)</td><td>When the Account was created.</td></tr><tr><td><code>active</code></td><td>boolean</td><td>Whether the account is active or not. Inactive accounts cannot be used to make payments.</td></tr><tr><td><code>balance</code></td><td>string</td><td>Balance of the account.</td></tr><tr><td><code>availableBalance</code></td><td>string</td><td>Available balance of the account.</td></tr><tr><td><code>currencyCode</code></td><td>string</td><td>The currency code of the account, e.g. DZAR</td></tr></tbody></table>

{% code title="Sample Response" %}

```
[
  {
    "id": "00000000-002c-ec11-ae72-281870000000",
    "name": "AcmeCorp",
    "shortName": "ACME01",
    "createdAt": "2021-10-13T08:38:16.127",
    "active": true,
    "balance": 155794,
    "availableBalance": 155794,
    "currencyCode": "DZAR"
  }
]
```

{% endcode %}
