DocsAPI Reference
Log In
Docs

Error Schema

All errors are returned in the form of JSON and contain the following data:

KeyDescription
codeA categorization of the error
messageA developer-friendly representation of the error code. This may change over time and is not safe for programmatic use
errorsA user-friendly representation of the error code. This may change over time and is not safe for programmatic use.
requestIdThe request Id
timestampThe 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"
}