Errors
Introduction
TendoPay REST API uses the errors below to communicate with the merchant if there are issues with the requests sent. The error follows the table below:
Error Status Table
Status | Message |
---|---|
200 | Success |
401 | Unauthorized |
403 | Access to the resource is forbidden |
422 | Invalid parameters (validation failed) |
500 | General server error |
{info} 200 status: The request has been successfully completed
Equal or greater than 400 status: Error
Error Response example
The error messages will be shown like the JSON response below:
{
"error": "EXAMPLE ERROR MESSAGE"
}