> For the complete documentation index, see [llms.txt](https://piqpay.gitbook.io/merchant-integration/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://piqpay.gitbook.io/merchant-integration/ru/drugie-api-zaprosy/balans-akkaunta.md).

# Баланс аккаунта

Вы можете узнать баланс ваших аккаунтов в PiqPay, вызвав один из следующих API запросов.

**Пример запроса на получение баланса всех аккаунтов**

{% code overflow="wrap" %}

```
GET https://eha.piqpay.codes/v1/accounts
Authorization: Bearer ${secretKey}
```

{% endcode %}

При выполнении этого запрос вы получаете балансы всех ваших аккаунтов.

\
**Пример запроса на получение баланса фиатных аккаунтов**

{% code overflow="wrap" %}

```
GET https://eha.piqpay.codes/v1/accounts/summary?currency=BDT
Authorization: Bearer ${secretKey}
```

{% endcode %}

При выполнении этого запрос вы получаете сумму балансов всех ваших аккаунтов,  которые ведутся в выбранной валюте (поле currency).

**Пример запроса на получение баланса конкретного аккаунта**

{% code overflow="wrap" %}

```
GET https://eha.piqpay.codes/v1/accounts/<account_id>
Authorization: Bearer ${secretKey}
```

{% endcode %}

При выполнении этого запрос вы получаете баланс указанного аккаунта.&#x20;

{% hint style="info" %}
account\_id вы можете найти в разделе Accounts в своем бизнес-офисе.
{% endhint %}

<br>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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://piqpay.gitbook.io/merchant-integration/ru/drugie-api-zaprosy/balans-akkaunta.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.
