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

StatusMessage
200Success
401Unauthorized
403Access to the resource is forbidden
422Invalid parameters (validation failed)
500General 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"
}