Documentation
Search…
Errors
Paychant API error responses
The most common API error responses are described below. Error response must be identified by HTTP status and reason attribute in your application.
Please note that specific API methods have their own errors (e.g. 422 Unprocessable Entity - Incorrect client request).
HTTP Status
Reason
Description
401 (Unauthorized)
BadCredentials
API credentials are not valid
404 (Not Found)
RecordNotFound
Record not found
422 (Unprocessable entity)
UnprocessableEntity
Incorrect client request
500 (Internal Server Error)
InternalServerError
Something wrong in Paychant
429 (Too Many Requests)
RateLimitException
API request limit is exceeded
Response example:
{
"message": "Access denied. Invalid token provided",
"reason": "BadCredentials"
}
Copy link