# Обновление статуса заявки

* `new` - новая заявка
* `waitPayment` - ожидаем платеж от пользователя
* `errorPayment` - ошибка пользовательского платежа (ошибка отправки продавца)
* `inProgress` - в процессе (ожидается обработка админом или оплата заявки)
* `inProgressPayout` - в очереди на оплату (платеж принят успешно) (если настроен автоматический платеж в валюте, он будет инициализирован)
* `errorPayout` - ошибка платежа (ошибка произошла при оплате)
* `hold` - заявка заморожена (проблемы с приложением)
* `done` - заявка успешно выплачена
* `returned` - заявка была оплачена, но не все условия обмена и способы возврата отправителя были выполнены
* `deleted` - заявка удалена (отменена)

```
{
    "notifyType": "updateOrderStatus",
    "route": {
        "instructions": [],
        "from": {
            "name": "Cardano",
            "symbol": "ADA",
            "image": "/img/currencies/medium/90268d099ae5ec94e03b32fae92d8b54.png",
            "decimal": 2,
            "xml": "ADA"
        },
        "to": {
            "name": "Visa/MasterCard",
            "symbol": "UAH",
            "image": "/img/currencies/medium/d1db15011ad484b475a4f2d9bfcc2e76.svg",
            "decimal": 2,
            "xml": "CARDUAH"
        }
    },
    "order": {
        "link": "/en/order/3057/px09Gp6YnvCfzQDDxX964VMv/",
        "lang": "en",
        "merchantData": {},
        "id": "6424bc4f1ebb0b8e0ddb494b",
        "uid": 3057,
        "secret": "px09Gp6YnvCfzQDDxX964VMv",
        "ip": "192.168.1.1",
        "statusLabel": "New exchange",
        "status": "waitPayment",
        "partner": null,
        "rate": 15.464715658694248,
        "inAmount": 1000,
        "outAmount": 15464.71,
        "createdAt": "2023-03-29T22:31:43.754Z",
        "expiresAt": "2023-03-29T23:01:43.749Z",
        "fromValues": [],
        "toValues": [
            {
                "field": "account_crypto",
                "name": "Card number",
                "value": "4141414141414141111",
                "_id": "6424bc4f1ebb0b8e0ddb494c"
            }
        ],
        "routeValues": [],
        "additionalServices":[
            {"service":"69135c17a0913f2e4faf53f9","amountUSD":0.1,"amountOut":0.00000132},
            {"service":"6914ceb7d3ad90c23037b9de","amountUSD":10,"amountOut":0.00013209}
        ],
        "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/110.0.0.0 Safari/537.36",
        "browser": "Chrome v110.0.0.0",
        "os": "Mac OS 10.15.7",
        "clientUID": "178928",
        "clientEmail": "test1@gmail.com",
        "clientId": "5fe7f9b905c4530bfc60d687",
        "clientCallbackUrl": null,
        "ipnUrl": null,
        "extraData": {}
    }
}
```


---

# Agent Instructions: 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://manual.boxexchanger.net/dlya-razrabotchikov/webhook-uvedomleniya-url/obnovlenie-statusa-zayavki.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.
