> For the complete documentation index, see [llms.txt](https://tri.gitbook.io/tri-doc/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://tri.gitbook.io/tri-doc/liquidity-pool/balance/get-balance.md).

# Get Balance

### Liquidity Pool

<mark style="color:blue;">`GET`</mark> <https://sandbox.triangle.digital/api/v2/liquidity\\_pool/clients/{client\\_id}/balance>

Spending Capacity balance of a holder. The holder is part of the address:

<table data-full-width="true"><thead><tr><th width="420">URL</th><th>Holder</th></tr></thead><tbody><tr><td><code>/clients/{client_id}/balance</code></td><td>The client itself</td></tr><tr><td><code>/clients/{client_id}/employees/{employee_id}/balance</code></td><td>One employee</td></tr><tr><td><code>/clients/{client_id}/individual_consumptions/{individual_consumption_id}/balance</code></td><td>One Individual Consumption</td></tr></tbody></table>

Business accounts hold money per employee, so the client-level address answers `404` with the code `client_level_balance_unavailable` for them.

Money, time and error formats follow the [conventions of the balance endpoints](/tri-doc/liquidity-pool/balance.md).

**Path parameters**

<table data-full-width="true" data-search="false"><thead><tr><th width="230">Name</th><th width="110">Type</th><th>Description</th><th width="210">Where to take it from</th></tr></thead><tbody><tr><td><code>client_id</code></td><td>integer</td><td><strong>Required.</strong> The client whose balance is read.</td><td><a href="/tri-doc/liquidity-pool/get-clients.md">Get Clients</a> — <code>client_id</code></td></tr><tr><td><code>employee_id</code></td><td>integer</td><td>Employee address only.</td><td><a href="/tri-doc/liquidity-pool/get-employees.md">Get Employees</a> — <code>employee_id</code></td></tr><tr><td><code>individual_consumption_id</code></td><td>uuid</td><td>Individual Consumption address only.</td><td><a href="/tri-doc/liquidity-pool/get-individual-consumptions.md">Get Individual Consumptions</a> — <code>individual_consumption_id</code></td></tr></tbody></table>

**Headers**

<table data-full-width="true"><thead><tr><th>Name</th><th>Value</th></tr></thead><tbody><tr><td>Content-Type</td><td><code>application/json</code></td></tr></tbody></table>

**Query parameters**

<table data-full-width="true" data-search="false"><thead><tr><th width="159.800048828125">Name</th><th width="149">Type</th><th>Description</th><th width="160.796875">Example</th></tr></thead><tbody><tr><td><code>hash</code></td><td>string</td><td><strong>Required.</strong> API key.</td><td>fk5f0iuy-rr06-j4x3-i75b-fy2s67s4ilo1</td></tr></tbody></table>

**Response fields**

<table data-full-width="true" data-search="false"><thead><tr><th width="230">Field</th><th width="110">Type</th><th>Description</th></tr></thead><tbody><tr><td><code>balance.currency</code></td><td>string</td><td>ISO 4217 code of the balance. Always USD.</td></tr><tr><td><code>balance.amount</code></td><td>string</td><td>Balance as a decimal string with two decimals.</td></tr><tr><td><code>credit_card</code></td><td>boolean</td><td>Whether the holder has a saved card. Without one the balance can be spent but not topped up.</td></tr><tr><td><code>autofill_balance</code></td><td>boolean</td><td>Whether the balance is topped up from the holder's saved card, in $25 units, when a purchase paid from the balance needs more than it holds.</td></tr></tbody></table>

**Response**

{% tabs %}
{% tab title="200" %}
{% code fullWidth="false" %}

```json
{
    "balance": {
        "currency": "USD",
        "amount": "250.00"
    },
    "credit_card": true,
    "autofill_balance": true
}
```

{% endcode %}
{% endtab %}

{% tab title="404" %}
The holder does not exist or belongs to another client; for a Business account the code is `client_level_balance_unavailable`. See [Balance Error Codes](/tri-doc/liquidity-pool/balance/balance-error-codes.md).

```json
{
    "title": "Employee not found",
    "status": 404,
    "code": "not_found"
}
```

{% endtab %}
{% endtabs %}
