...
Unsuccessful response
Code Block | ||
---|---|---|
| ||
{ "success": false, "errors": [], "message": 'Sample message'"An error has occured." } |
- success - Mandatory field. A boolean that represents if the API call was successful or not. Should always be false for the unsuccessful call.
- errors - Optional field. An array containing errors' details, if available. (e.g. validation errors)
- message - Mandatory field. A string containing an error message.
...