Authentication
Payee token is missing
Status code: 400
Body:
{
"error_code": "payee-token-missing",
"error_message": "No token provided."
}
Payee token is invalid
Status code: 403
Body:
{
"error_code": "payee-token-invalid",
"error_message": "Token is invalid."
}
Validation
Status code: 418
Body:
{
"error_code": "validation-error",
"error_message": "Provided data doesn't match with our required types",
"error_details": {
"body": [ ]
}
}
error_details.body contains the list of validation errors in this format.
Server error
Status code: 500
Body:
{
"error_code": "internal-server-error",
"error_message": "Something happened in our realm, please try again later."
}
Other API endpoint specific errors are listed in the documentation of the endpoint.