Коды ошибок
В случае ошибки во время исполнения запроса мерчанта, сервис возвращает http code 400
и описание ошибки в следующем формате:
RESPONSE
HTTP/1.1 400 Bad Request
Content-Type: application/json
{
"status": "error",
"error_code": 20,
"message": "Order not found"
}
Описание параметров в ответе:
status
– Общий статус запросаerror_code
– Код ошибкиerror_message
– Текст описания ошибки
Список кодов ошибок
Код ошибки | Сообщение об ошибке |
---|---|
10 | Requested method cannot be found |
12 | Invalid user key |
13 | Signature is not valid |
14 | Invalid data format |
15 | Not enough data to complete the request |
18 | User rate not found |
20 | Order not found |
24 | Amount less than allowed |
25 | You do not have enough balance |
26 | User wallet not found |
27 | An error occurred while creating the order |
28 | Service not found |
30 | Service is temporarily unavailable |
31 | Amount greater than allowed |
32 | Order already exists |
38 | Order is already being processed |
112 | Rejected by third party service |
120 | The intended time for the operation was exceeded |