Run a one-off identity check
Verifies a person’s ID without the SDK capture flow. The check runs in the background: the response is 202 with a verificationId, and the result is ready shortly afterwards on the detail endpoint. No webhook is sent for a one-off check.
A requestId you have used before returns the existing check with 202 and runs nothing new.
Sandbox. A sandbox key accepts only the published test IDs (for example BVN 00000000001) and answers a real ID with 422 only_test_ids_allowed. A development key accepts test IDs and real IDs. Test checks return simulated results and are never charged.
Billing. Production checks are charged for the parts that run: the record lookup, the document read when a document is sent, and the facial comparison when a selfie is sent. A check that ends in error because of a fault on our side is refunded.
Error codes
A missing or unknown key answers 401, where error is a short sentence rather than a code.
Requires a secret (sk_) key. A publishable key receives 403 secret_key_required.
Authentication
Send the API key as a Bearer token. Each operation states whether a publishable key is enough or a secret key is required. A scoped publishable key has Verification flow access, the fixed set flow.run, flow.config.read and verifications.status.read; a scoped secret key reaches what its scopes allow.
Request
The ID type, for example bvn, nin or passport. It must be enabled for your organisation.
The ID number. Required for number-only IDs. A document ID may send the document front instead, and the number is read from it. It is cleaned before it is checked: spaces, dashes and dots are removed and letters upper-cased (a Ghana Card number is sent as GHA-123456789-0). A number in the wrong format for its ID type is refused with invalid_id_number.
Photos already uploaded through the upload endpoint. Send each slot here or in images, never both.
Screen the subject once the check verifies: the name on the government or business record is screened against these lists, charged once at your screening price, whatever lists are chosen (production only). A check that does not verify is not screened.
Run passive liveness on the selfie: whether it is a live person in front of the camera, or a printed photo, a screen or a mask. Needs a selfie. Charged as one passive liveness check, in production only. A confident spoof, or a phone held up to the camera, fails the check with reasonCode liveness_attack; the result is returned as liveness.
Response
Always pending at submission. The check is processed in the background.