API reference: Objects
The Error object
Every response that is not a success has exactly this envelope, whatever went wrong.
The request_id is also in the Rais-Request-Id response header: quote it when you contact support.
Error object
{
"error": {
"type": "invalid_request_error",
"code": "amount_too_small",
"message": "The minimum amount is 50.00 DA (5000 centimes).",
"param": "amount",
"request_id": "req_8f3a1c9d2b7e4a60"
}
}Attributes
errorobjectThe error. Every non-2xx response of the API has exactly this envelope.