Error Codes
HTTP Status Codes
| Code | Description |
|---|---|
| 200 | Success |
| 201 | Created |
| 400 | Bad Request |
| 401 | Unauthorized |
| 403 | Forbidden |
| 404 | Not Found |
| 429 | Rate Limited |
| 500 | Server Error |
Error Response
{
"message": "Order not found",
"errorCode": "ORDER_NOT_FOUND",
"statusCode": 404,
"details": {}
}
Error Codes
| Code | Description |
|---|---|
AUTH_FAILED | Invalid credentials |
RATE_LIMIT_EXCEEDED | Too many requests |
VALIDATION_ERROR | Invalid request |
INSUFFICIENT_FUNDS | Not enough balance |
ORDER_NOT_FOUND | Order doesn't exist |
QUOTE_NOT_FOUND | Quote doesn't exist |
RISK_CHECK_FAILED | Pre-trade check failed |