Перейти до основного вмісту

Коди помилок

У разі помилки під час виконання запиту мерчанта, сервіс повертає 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