ZeroPay

Errors

Response envelope and error codes.

Every response uses the same envelope: code (0 = success), msg, and data. Errors keep meaningful HTTP status codes.

error example
{
  "code": 40000,
  "msg": "no receiving address configured for chain \"base\"; set it in the Boss console first"
}
codeHTTPMeaning
0200Success
40000400Validation failed — unsupported chain/asset, invalid address, amount out of range, missing receiving address…
40100401Missing or invalid credentials (JWT, API key or Privy token)
40300403Authenticated but not allowed
40400404Order or resource not found (or owned by another account)
42900429Rate limited — slow down
50000500Internal error — safe to retry with the same external_id
  • Quote failures surface as 400 with the upstream reason in msg (e.g. amount below the route minimum).
  • Order creation is idempotent per external_id — retries never double-charge.
Errors · Docs · ZeroPay