> 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/status-chek.md).

# Статус-чек

Вы можете получить текущий статус ордера/вывода без коллбэка, отправив API запрос (статус-чек). Для этого вы можете использовать один из двух API запросов, c помощью externalId или payout\_id/order\_id.

Текущий статус ордера/вывода вы увидите в поле "state". Он отображает те же статусы, что и коллбэк, но без префиксов "PAYMENT\_ORDER\_" и "PAYOUT\_".

**Запрос на получение статуса ордера**

{% code overflow="wrap" %}

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

{% endcode %}

где order\_id - это идентификатор ордера

{% code overflow="wrap" %}

```
GET https://eha.piqpay.codes/v1/orders/external/<external_Id>
Authorization: Bearer ${secretKey}
```

{% endcode %}

где external\_Id - это идентификатор ордера в вашей системе

\
**Запрос на получение статуса вывода**

{% code overflow="wrap" %}

```
GET https://eha.piqpay.codes/v1/payouts/external/<external_id>
Authorization: Bearer ${secretKey}
```

{% endcode %}

где external\_id  - это идентификатор вывода в вашей системе

<pre data-overflow="wrap"><code><strong>GET https://eha.piqpay.codes/v1/payouts/&#x3C;payout_id>
</strong>Authorization: Bearer ${secretKey}
</code></pre>

где payout\_id - идентификатор вывода

\
**В статус-чеке вы получаете следующие статусы:**

READY\_FOR\_PAYMENT (для депозита и вывода, при создании)

PROCESSING (для депозита и вывода, при создании)

ASSIGNED (для вывода, при назначении на паймент провайдера)

EXPIRED (для депозита и вывода)

COMPLETED (для депозита и вывода)

ON\_REVIEW (для депозита и вывода, при ручной проверке)

CANCELLED (для депозита и вывода)

SETTLED (для вывода)<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/status-chek.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.
