> 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/other-api-requests/status-check-request.md).

# Status check Request

You can get the current status of the order/payout without callback by executing the check out API request. To do this, you can use one of two API requests, using externalId or payout\_id/order\_id.

The current status you will get in the "state" field. It gives you the same statuses as callbacks but without "PAYMENT\_ORDER\_" and "PAYOUT\_" prefixes.

**Request for order status checking**

{% code overflow="wrap" %}

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

{% endcode %}

where **order\_id** is order identifier&#x20;

{% code overflow="wrap" %}

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

{% endcode %}

where **external\_Id** is order identifier in the you system

\
**Request for withdrawal status checking**

{% code overflow="wrap" %}

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

{% endcode %}

where **payout\_id** is withdrawal identifier&#x20;

{% code overflow="wrap" %}

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

{% endcode %}

where **external\_id** is withdrawal identifier in the you system

\
**You receive the following statuses in the Status check Response:**

READY\_FOR\_PAYMENT (for deposit and withdrawal, after creation)

PROCESSING (for deposit and withdrawal, after creation)

ASSIGNED (for withdrawal, after assignment to payment provider)

EXPIRED (for deposit and withdrawal)

COMPLETED (for deposit and withdrawal)

ON\_REVIEW (for deposit and withdrawal, in case of manual verification)

CANCELLED (for deposit and withdrawal)

SETTLED (for withdrawal)


---

# 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/other-api-requests/status-check-request.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.
