Перейти к основному содержимому

Коды ошибок

В случае ошибки во время исполнения запроса мерчанта, сервис возвращает 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 – Текст описания ошибки

Список кодов ошибок

Код ошибкиСообщение об ошибке
10Requested method cannot be found
12Invalid user key
13Signature is not valid
14Invalid data format
15Not enough data to complete the request
18User rate not found
20Order not found
24Amount less than allowed
25You do not have enough balance
26User wallet not found
27An error occurred while creating the order
28Service not found
30Service is temporarily unavailable
31Amount greater than allowed
32Order already exists
38Order is already being processed
112Rejected by third party service
120The intended time for the operation was exceeded