Errors

Verification endpoints report their outcome in response_code. Platform endpoints use HTTP status codes. Handle both.

Response codes

Returned in response_code on verification responses.

CodeHTTPMeaningWhat to do
00200SuccessUse data
01200Record not found, or the ID is invalidAsk the user to check the details. Don't retry unchanged
02200The source is unavailableRetry later, backing off between attempts
03200Your organisation has no walletContact support
04400Wallet balance too low for this callFund your wallet, then retry
05400The request is invalidFix the fields listed in detail or errors
06400Some checks succeeded and some failed (combined KYC endpoint only)Read each check's result in data
07200The BVN is blocked or watchlistedDon't retry with the same BVN. Escalate if your process requires it
08200This ID was already verified recentlyUse the earlier result. Only returned when duplicate prevention is turned on for your organisation
99500Unexpected error on our sideRetry once, then contact support with verification.reference

The biometric and combined KYC endpoints report a low balance as 03 with HTTP 402, not 04. Handle both until they're aligned.

HTTP status codes

StatusMeaning
200The request was processed. On verification endpoints, check response_code for the outcome
400The request was invalid, or your balance is too low
401The API key is missing or wrong. See Authentication
402Your balance is too low (some endpoints)
403The key is valid but not allowed: inactive or unverified organisation, or an IP outside your whitelist
404The resource doesn't exist
429Too many requests. See below
500Unexpected error on our side
503A dependent service is unavailable. Retry later

Rate limits

When you send too many requests, the API responds with HTTP 429:

{
  "status": false,
  "message": "Request was throttled. Expected available in 42 seconds.",
  "errors": { "code": "throttled", "wait_seconds": 42 }
}

Wait for errors.wait_seconds, then retry. If you hit limits regularly, contact support to have your organisation's limit raised.

Retrying safely

Retry only codes 02 and 99, and HTTP 429, 500, and 503. Wait longer between each attempt, and stop after a few tries. Every other failure will return the same answer until you change the request, fund your wallet, or fix your key.

On this page

Prembly Slack Community

Join our developer Slack channel for real-time integration support, engineering updates, and direct Q&A with the Prembly team.

Join Slack Channel