> For the complete documentation index, see [llms.txt](https://api.direct.revicom.ltd/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://api.direct.revicom.ltd/extra/balance.md).

# Account Balance

## Getting the accont balance

<mark style="color:blue;">`GET`</mark> `https://direct.revicom.ltd/api/v1/balance`

The method allows for getting the value of the account balance

#### Headers

| Name                                            | Type   | Description                                                        |
| ----------------------------------------------- | ------ | ------------------------------------------------------------------ |
| Authorization<mark style="color:red;">\*</mark> | string | <p><code>Basic {TOKEN}</code><br>Token of any type can be used</p> |

{% tabs %}
{% tab title="200" %}
In the successful response, the object from the pairs “currency” : “value” is returned.

```
{
  "USD": 1200.00
}
```

{% endtab %}
{% endtabs %}

#### Request example

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

```
GET https://direct.revicom.ltd/api/v1/balance
Authorization: Basic QWxhZGRpbjpvcGVuIHNlc2FtZQ==
```

{% endtab %}

{% tab title="cURL" %}

```
curl -X GET 'https://direct.revicom.ltd/api/v1/balance' \
-H 'Authorization: Basic QWxhZGRpbjpvcGVuIHNlc2FtZQ=='
```

{% endtab %}
{% endtabs %}
