API v1 is DEPRECATED
API v1 is DEPRECATED and no longer maintained. Please use API v2 http://developer.coingate.com/v2
Most common API error responses described below. Error response must be identified by HTTP status and reason attribute in your application.
Please note, that specific API methods, for example Create Order has their own errors (422 Unprocessable Entity - when order is not valid).
HTTP Status | Reason | Description |
---|---|---|
401 (Unauthorized) | BadCredentials | API credentials is not valid |
404 (Not Found) | PageNotFound | Page, action or record not found |
404 (Not Found) | RecordNotFound | Record not found |
500 (Internal Server Error) | InternalServerError | Something wrong in CoinGate |
429 (Too Many Requests) | RateLimitException | API request limit is exceeded |
Response example:
{
"message": "Not found App by Access-Key",
"reason": "BadCredentials"
}