message token you can reliably match on in your integration code — these tokens do not change between API releases.
Error response format
Every error response from the BrandWallet API returns the same JSON envelope:number
HTTP status code returned by the API.
number
Internal error code. Matches
statuscode in most cases.string
Stable, machine-readable error token (underscore-prefixed). Use this field in your error-handling logic — it does not change between API versions.
string
Optional human-readable detail about the error. May be empty.
number
Unix epoch timestamp in milliseconds indicating when the error occurred.
string
The API path that returned the error.
string
HTTP method of the request that triggered the error.
Error token reference
Validation errors on request bodies return
400 with the individual field messages joined in the message field.
HTTP status code summary
BrandWallet uses conventional HTTP status codes to indicate the outcome of each request.2xx codes indicate success. 4xx codes indicate a request error — inspect the message token and fix your request before retrying. 5xx codes indicate a server-side error — wait briefly and retry, and contact BrandWallet at dev@brand-wallet.com if the condition persists.

