Skip to main content
Every response carries a standard HTTP status code. Use it to tell what happened and how your integration should react. For identity endpoints such as BVN and NIN, the codes developers handle most often are 400, 401, 402, 404, and 424.

Reading a response

2xx means success, 4xx means something about your request, credentials, wallet, or supplied identifier needs attention, and 5xx means the problem is on Dojah’s side. A 404 can still be a valid verification outcome — it may mean the identifier was not found at the source.

Status codes

Common integration failures

Retry behavior

Only retry failures that can recover without changing the request.

Handling errors

  • 4xx — fix the request, credentials, wallet, or identifier before retrying; retrying unchanged usually will not help.
  • 402 — fund your wallet, then retry.
  • 429 and 5xx — retry with exponential backoff.
  • 424 — retry after a delay; the dependency may be temporarily down.
Minimal retry policy