> 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/kollbek/primery-kollbekov.md).

# Примеры коллбэков

**Коллбэки на ордера**

<details>

<summary>Коллбэк о создании ордера</summary>

{ "type": "PAYMENT\_ORDER\_CREATED", "id": "6e951f27-469c-45fa-a381-6692658710de", "orderId": "0130da01-87f3-4b54-af6b-cfbb605c2c58", "merchantId": "8481fd2a-16f3-45cf-8eb0-7de1285d518a", "storeId": "9d997460-d36f-4931-8638-a4bb73539d4e", "clientId": "fdbfn5fxа11vffvdwxfx343", "externalId": "rbcfff5xffcf1wdfxx4e", "amount": { "minorAmount": 30000, "currency": "BDT" }, "createdAt": "2026-04-03T14:32:42.314Z", "callbackUrl": "<https://webhook.site/5d6b4c52-76fd-4609-a39a-ed03b6b1d64b>" }

</details>

<details>

<summary>Коллбэк об истечение времени жизни ордера</summary>

{ "type": "PAYMENT\_ORDER\_EXPIRED", "id": "99aa1587-f06d-4da5-8c14-ab6d4fef98af", "orderId": "0130da01-87f3-4b54-af6b-cfbb605c2c58", "merchantId": "8481fd2a-16f3-45cf-8eb0-7de1285d518a", "storeId": "9d997460-d36f-4931-8638-a4bb73539d4e", "clientId": "fdbfn5fxа11vffvdwxfx343", "externalId": "rbcfff5xffcf1wdfxx4e", "amount": { "minorAmount": 30000, "currency": "BDT" }, "createdAt": "2026-04-03T14:32:42.314Z", "expiredAt": "2026-04-03T14:37:51.456Z", "callbackUrl": "<https://webhook.site/5d6b4c52-76fd-4609-a39a-ed03b6b1d64b>" }

</details>

<details>

<summary>Коллбэк об успешном завершении ордера</summary>

{ "type": "PAYMENT\_ORDER\_COMPLETED", "id": "d0a19fcf-4c86-4f3b-bd18-aec5f1e4d47a", "orderId": "b6eafad8-f212-4c24-89bf-e3b1f03155d7", "merchantId": "8481fd2a-16f3-45cf-8eb0-7de1285d518a", "storeId": "3a89e229-b582-4697-9fe4-93deace06929", "clientId": "899391c1-7456-4637-9acb-829dcc60d117", "externalId": "839edc96-0788-47d1-ad3b-6cf8e6df7b1f", "amount": { "minorAmount": 51100, "currency": "RUB" }, "originAmount": { "minorAmount": 50000, "currency": "RUB" }, "isAmountChanged": true, "exchangedAmount": { "minorAmount": 5932413, "currency": "USDT" }, "rates": { "marketRate": { "currencyPair": { "base": "USDT", "counter": "RUB" }, "timestamp": "2026-04-03T12:50:24.896Z", "bid": "92.29", "ask": "81.08" }, "settleRateBid": "86.26" }, "createdAt": "2026-04-03T12:51:01.739Z", "completedAt": "2026-04-03T12:51:09.680Z" }

</details>

<details>

<summary>Коллбэк об отмене ордера</summary>

{ "type": "PAYMENT\_ORDER\_CANCELLED", "id": "a0db8bb0-934e-44a6-afd4-8206f8b56be5", "orderId": "64b659bd-eb4a-42ab-909e-45203cb9565a", "merchantId": "8481fd2a-16f3-45cf-8eb0-7de1285d518a", "storeId": "9d997460-d36f-4931-8638-a4bb73539d4e", "clientId": "fdbfn5fxа11fdwxfx343", "externalId": "rbcfff5xff1wdfxx4e", "amount": { "minorAmount": 30000, "currency": "BDT" }, "createdAt": "2026-04-01T12:41:13.403Z", "cancelledAt": "2026-04-01T12:42:47.413Z", "rates": { "marketRate": { "currencyPair": { "base": "BDT", "counter": "BDT" }, "timestamp": "2026-04-01T12:41:13.535Z", "bid": "1", "ask": "1" }, "processingRate": "1.06", "settleRate": "1.06", "provider": "BINANCE", "side": "SELL", "rateSource": null }, "callbackUrl": "<https://webhook.site/ceaca3f4-1387-47fe-a394-bdac5f2800b7>" }

</details>

**Коллбэки на выводы**

<details>

<summary>Коллбэк о создании вывода</summary>

{ "type": "PAYOUT\_CREATED", "id": "998cd37c-460b-4aaa-9717-76ddea2ffdb3", "payoutId": "27293b8d-8835-44df-8e0d-97316816fa51", "merchantId": "8481fd2a-16f3-45cf-8eb0-7de1285d518a", "storeId": "9d997460-d36f-4931-8638-a4bb73539d4e", "clientId": "0179256dd1x66768", "externalId": "00045dd65x06084", "amount": { "minorAmount": 300000, "currency": "BDT" }, "createdAt": "2026-03-31T14:39:02.632Z" }

</details>

<details>

<summary>Коллбэк об истечение времени жизни вывода</summary>

{ "type": "PAYOUT\_EXPIRED", "id": "32f1b336-bd59-405a-910d-d82257febbf9", "payoutId": "hrs71123-a76f-4059-85fa-29ea64c62639", "merchantId": "3d5a1a2b-35c4-4d25-8324-027433820vb4", "storeId": "6a9k2423-5046-4a93-b8e3-91b9bc78e321", "clientId": "3418ga415d5281c487e75dcd", "externalId": "e45dd444-14ff-45d4-aeda-ad1ea5994814", "amount": { "minorAmount": 700000, "currency": "RUB" }, "createdAt": "2026-05-01T23:04:26.871Z", "expiredAt": "2026-05-02T07:04:35.481Z" }

</details>

<details>

<summary>Коллбэк об успешном завершении вывода</summary>

{ "type": "PAYOUT\_COMPLETED", "id": "7932ccab-0192-4fab-8f6a-43865bf5cf89", "payoutId": "6fec11de-0345-4eba-812d-bfbc28a1abca", "merchantId": "8481fd2a-16f3-45cf-8eb0-7de1285d518a", "storeId": "9d997460-d36f-4931-8638-a4bb73539d4e", "clientId": "01792156dd166768", "externalId": "000451dd6506084", "amount": { "minorAmount": 300000, "currency": "BDT" }, "originAmount": { "minorAmount": 300000, "currency": "BDT" }, "isAmountChanged": false, "exchangedAmount": { "minorAmount": 315000, "currency": "BDT" }, "rates": { "marketRate": { "currencyPair": { "base": "BDT", "counter": "BDT" }, "timestamp": "2026-03-31T14:37:56.053Z", "bid": "1", "ask": "1" }, "settleRate": "0.95" }, "createdAt": "2026-03-31T14:37:28.163Z", "completedAt": "2026-03-31T14:38:07.127Z" }

</details>

<details>

<summary>Коллбэк об отмене вывода</summary>

{ "type": "PAYOUT\_CANCELLED", "id": "12e876f1-4565-44f3-8e60-3d544f3e1a9e", "payoutId": "27293b8d-8835-44df-8e0d-97316816fa51", "merchantId": "8481fd2a-16f3-45cf-8eb0-7de1285d518a", "storeId": "9d997460-d36f-4931-8638-a4bb73539d4e", "clientId": "0179256dd1x66768", "externalId": "00045dd65x06084", "amount": { "minorAmount": 300000, "currency": "BDT" }, "createdAt": "2026-03-31T14:39:02.632Z", "cancelledAt": "2026-04-01T14:39:06.963Z", "reason": "Automatically canceled" }

</details>


---

# 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/kollbek/primery-kollbekov.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.
