Brrndops uses standard HTTP status codes. 2xx means success, 4xx means something about the request needs to
change, and 5xx means something went wrong on our side.
Every error has the same shape:
{
"error": {
"type": "invalid_request_error",
"code": "parameter_missing",
"message": "currency is required.",
"param": "currency",
"request_id": "8b1f6c2e-…"
}
}
Field
Use it to
type
Decide broadly how to react (see below).
code
Handle specific cases in code. Codes are stable.
message
Show or log a human-readable explanation. Wording may change: don’t match on it.
param
Highlight the field that caused the problem.
request_id
Find the request in Request logs, or give it to support.