When errors occurs, the response will have the corresponding HTTP status code. If applicable, the body of the response will contain a JSON describing the error(s):
{
"errors":
[
{
"errorCode": [code],
"message": [message],
"field": [name]
}
]
}
| errorCode | 0 - Unknown error 1 - Entity not found 2 - Missing property value 3 - Invalid property value 4 - Duplicate value 5 - Not allowed 6 - Invalid payment data |
| message | Verbose message of the error |
| field | Field/property where error occured (if applicable) |