Error codes
In case of an error when executing a request from a merchant, the service returns http code 400 and a description of the error in the following format:
RESPONSE
HTTP/1.1 400 Bad Request
Content-Type: application/json
{
"status": "error",
"error_code": 20,
"message": "Order not found"
}
Description of parameters in the response:
status– The overall status of the requesterror_code– Error codeerror_message– Error message text
Error code list
| Error code | Description |
|---|---|
| 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 |