# Get account list

**Endpoint**

&#x20;`GET/v2/account`

**Link**

{% embed url="<https://stagep.tst-apidmndelss.com/openapi/v2.html#/operations/Accounts_GetAccounts>" %}

### **Request Parameters**

#### **Query Parameters**

| Parameter           | Type      | Description & Values                                                                                                                                                                                                                                                                                                             | Default                  |
| ------------------- | --------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ |
| **`associateType`** | `string`  | <p><strong>Filter by account association type</strong>:<br>- <code>NOT\_ASSOCIATE</code>: Standalone account<br>- <code>POOL</code>: Part of a pooled account<br>- <code>COMMISSION</code>: Commission-related account</p>                                                                                                       | `ASSOCIATE_TYPE_NOT_SET` |
| **`balance`**       | `string`  | <p><strong>Filter by balance status</strong>:<br>- <code>POSITIVE</code>: Balance > 0<br>- <code>NEGATIVE</code>: Balance < 0<br>- <code>ZERO</code>: Balance = 0</p>                                                                                                                                                            | `NOTSET` (no filter)     |
| **`currencyIso`**   | `string`  | **Currency code** (ISO 4217, e.g., `USD`, `EUR`). Filters accounts by currency.                                                                                                                                                                                                                                                  | –                        |
| **`customerId`**    | `string`  | **Customer ID** (e.g., <kbd>`DqCsgSE-4e95-ViYbNI7mudVE`</kbd>). Filters accounts by customer.                                                                                                                                                                                                                                    | –                        |
| **`customerName`**  | `string`  | **Customer name** (partial match, e.g., `Test Company`). Filters accounts by client name.                                                                                                                                                                                                                                        | –                        |
| **`fromCreatedAt`** | `string`  | **Start date** (e.g., 2024-08-11). Filters accounts created *starting from* this timestamp.                                                                                                                                                                                                                                      | –                        |
| **`id`**            | `string`  | **Account ID** (e.g., `UhcPVBEpjmtR`). Filters by specific account.                                                                                                                                                                                                                                                              | –                        |
| **`meta.page`**     | `integer` | **Page number** (starts at `1`). Used for pagination.                                                                                                                                                                                                                                                                            | `0`                      |
| **`meta.pageSize`** | `integer` | **Items per page** (e.g., `15`). Max number of accounts returned per request.                                                                                                                                                                                                                                                    | –                        |
| **`name`**          | `string`  | **Account name** (full match, e.g., `Savings`). Filters accounts by name.                                                                                                                                                                                                                                                        | –                        |
| number              | `string`  | (non mandatory)                                                                                                                                                                                                                                                                                                                  | –                        |
| search              | `string`  | (non mandatory)                                                                                                                                                                                                                                                                                                                  | –                        |
| **`status`**        | `string`  | <p><strong>Account status</strong>:<br>- <code>NEW</code>: Newly created<br>- <code>PRE\_MODERATION</code>: Pending review<br>- <code>MODERATION</code>: Under review<br>- <code>ACCEPTED</code>: Approved<br>- <code>REJECTED</code>: Denied<br>- <code>BANNED</code>: Blocked<br>- <code>PROCESSING</code>: Mid-moderation</p> | `ACCOUNT_STATUS_NOTSET`  |
| **`toCreatedAt`**   | `string`  | **End date** (ISO 8601, e.g., `2024-12-31`). Filters accounts created *before* this timestamp.                                                                                                                                                                                                                                   | –                        |
| **withCommission**  | `boolean` | <p><strong>Commission flag</strong>:<br>- <code>true</code>: Only accounts with commissions<br>- <code>false</code>: Exclude accounts with commissions</p>                                                                                                                                                                       | –                        |

***

### **Response Fields**

#### <mark style="color:$success;">**Success (200 OK)**</mark>

Returns an `application/json` object with:

**1. Account Object (`items[]`)**

| Field             | Type      | Description & Values                                                                                                                                                                                                                                                                                                 | Example                                                                                                                                                                                                 |
| ----------------- | --------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **`id`**          | `string`  | Unique account identifier.                                                                                                                                                                                                                                                                                           | `"EBzClby3LdDc"`                                                                                                                                                                                        |
| **`customer`**    | `object`  | <p><strong>Customer details</strong>:<br>- <code>id</code>: Customer ID (e.g., <code>cust\_123</code>)<br>- <code>name</code>: Full name<br>- <code>email</code>: Contact email<br>- <code>phone</code>: Phone number<br>- <code>status</code>: Customer status (<code>NEW</code>, <code>MODERATED</code>, etc.)</p> | `{ "id": "`<kbd>`DqCsgSE-4e95-ViYbNI7m`</kbd>`", "name": "Test Company", "status": "ACCEPT" }`                                                                                                          |
| **`isDefault`**   | `boolean` | Whether this is the user’s default account (`true`/`false`).                                                                                                                                                                                                                                                         | `true`                                                                                                                                                                                                  |
| **`name`**        | `string`  | Account name (e.g., `"Business Account"`).                                                                                                                                                                                                                                                                           | `"Savings Account"`                                                                                                                                                                                     |
| **`status`**      | `string`  | Current account status (same values as `status` filter above).                                                                                                                                                                                                                                                       | `"ACCEPTED"`                                                                                                                                                                                            |
| **`balance`**     | `object`  | <p><strong>Balance details</strong>:<br>- <code>balance</code>: Available funds<br>- <code>hold</code>: Restricted funds (see <em>Money Object</em> below)</p>                                                                                                                                                       | –                                                                                                                                                                                                       |
| **`currencyIso`** | `string`  | Account currency code (ISO 4217, e.g., `USD`).                                                                                                                                                                                                                                                                       | `"EUR"`                                                                                                                                                                                                 |
| **`requisites`**  | `array`   | <p><strong>Bank/payment details</strong> (e.g., IBAN, SWIFT):<br>- <code>title</code>: Section title (e.g., <code>"Bank Account"</code>)<br>- <code>items\[]</code>: Key-value pairs (e.g., <code>{ "key": "iban", "value": "DE89370400440532013000" }</code>)</p>                                                   | <mark style="color:red;">**See Requisites Example**</mark> [<mark style="color:red;">**here**</mark>](https://docs.google.com/document/d/1wsxLCgwdu7wPG7YCkquRY--KMiPOZ-Rw3rYgj4cawxs/edit?usp=sharing) |
| **`createdAt`**   | `string`  | Creation timestamp (ISO 8601).                                                                                                                                                                                                                                                                                       | `"2024-01-15"`                                                                                                                                                                                          |
| **`updatedAt`**   | `string`  | Last update timestamp (ISO 8601).                                                                                                                                                                                                                                                                                    | `"2024-01-20"`                                                                                                                                                                                          |

**2. Money Object**

Nested under `balance` and `hold`:

| Field              | Type      | Description                                                              | Example               |
| ------------------ | --------- | ------------------------------------------------------------------------ | --------------------- |
| **`currencyCode`** | `string`  | 3-letter ISO currency code (e.g., `USD`, `GBP`).                         | `"USD"`               |
| **`units`**        | `string`  | Whole units (e.g., dollars). Negative values indicate debts.             | `"100"` (= $100)      |
| **`nanos`**        | `integer` | Fractional units (1 nano = 10^-9 units). Use for cents/micro-currencies. | `500000000` (= $0.50) |

**3. Meta Object**

Pagination details:

| Field          | Type      | Description                            | Example |
| -------------- | --------- | -------------------------------------- | ------- |
| **`pageSize`** | `integer` | Items per page.                        | `10`    |
| **`page`**     | `integer` | Current page (0-indexed).              | `0`     |
| **`total`**    | `string`  | Total accounts available (unfiltered). | `"150"` |

#### **Notes**

1. **Money Handling**:
   * Combine `units` + `nanos` for precise amounts (e.g., `units=-1` + `nanos=-750000000` = `-$1.75`).
   * `nanos` must align with `units` (e.g., negative `units` → negative `nanos`).
2. **Dates**: Use ISO 8601 format (`YYYY-MM-DD`).
3. **Pagination**:
   * First page = `1`.
   * Omit `meta.pageSize` to use the server default.
4. **Empty Fields**: Unset fields (e.g., `hold`) may be omitted or return `null`.

Examples

Real request

```postman_json
Authorization: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOjE2NCwiZXhwIjoxNzYxNTYyMDMyLCJrZXkiOiI1Y2ZiOGZjN2RmYjk4ZjVkYmIyZTgwNTVkZWFhN2U2Zjk4MzEyYmE3Iiwib3RwX3ZlcmlmaWVkIjpmYWxzZX0.Ic6JVIMx0HpNeqUrgbeRV17hRZEBW_zEdjYctALGcqA
accountId: UnTtUmiTlATg
associateType: Not SetASSOCIATE_TYPE_NOT_SETNOT_ASSOCIATEPOOLCOMMISSION

select an option
balance: Not SetNOTSETNEGATIVEPOSITIVEZERO

select an option
currencyCode: string

```

Real response example

200 OK

```
{
  "items": [
    {
      "accountId": "UnTtUmiTlATg",
      "customer": {
        "id": "Dt4zZnj-x14s-q6eYgIBDpa4D",
        "name": "sdfsdfsd sdfsdf sdfsdf",
        "email": "sdfsdf@dasdas.rr",
        "phone": "+1888457743",
        "status": "NEW"
      },
      "isDefault": true,
      "name": "",
      "status": "MODERATION",
      "balance": {
        "balance": {
          "money": {
            "currencyCode": "USDT_TRC20",
            "units": "0",
            "nanos": 0
          },
          "default": {
            "currencyCode": "USD",
            "units": "0",
            "nanos": 0
          }
        },
        "hold": {
          "money": {
            "currencyCode": "USDT_TRC20",
            "units": "0",
            "nanos": 0
          },
          "default": {
            "currencyCode": "USD",
            "units": "0",
            "nanos": 0
          }
        }
      },
      "currencyCode": "USDT_TRC20",
      "requisites": [],
      "createdAt": "2025-10-22T08:35:26Z",
      "updatedAt": "2025-10-22T08:35:26Z"
    }
  ],
  "meta": {
    "pageSize": 1,
    "page": 0,
    "total": "1"
  }
}
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.delos.financial/accounts/get-account-list.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
