Error Schema
All errors are returned in the form of JSON and contain the following data:
| Key | Description |
|---|---|
code | A categorization of the error |
message | A developer-friendly representation of the error code. This may change over time and is not safe for programmatic use |
errors | A user-friendly representation of the error code. This may change over time and is not safe for programmatic use. |
requestId | The request Id |
timestamp | The date and time when the request was made |
Below is a sample error response:
{
"code": "BAD_REQUEST",
"message": "Bad request",
"errors": [
"[amount] Must be a decimal value greater than zero"
],
"requestId": "eb6aaa76bd7103cf6c5b090610c31913",
"timestamp": "2022-01-19T20:32:30.784928Z"
}Updated 2 months ago