phone_numbers field group if your flow needs it.
1. Collect the BVN, selfie, and consent
Ask the applicant for the 11-digit BVN, the details you want to compare, a selfie, and consent to query the registry. Send the request only after they consent.2. Send the lookup from your backend
Create one idempotency key per sign-up attempt. The example uses a local test JPEG up to 5 MB, cURL, and jq. SetDEEPIDV_SANDBOX_API_KEY in your server environment and replace the example key with your own unique attempt ID.
cURL
3. Decide how to continue
Nigerian mobile numbers are returned in E.164 format, for example
+2348031234567. Treat a phone number returned by the registry as a contact candidate. Verify control of the phone independently if your policy requires it.
4. Retry safely
On a429, wait for Retry-After. Retry the same attempt with the original body and idempotency key. Use a new key if the applicant changes the BVN, details, or selfie.
A replay preserves the original lookup outcome and omits the registry record, including phone_numbers. Don’t treat a replay as “no phone on file”. If you still need the record, for example because your first response timed out before you stored it, send a new lookup with a new idempotency key. A new lookup is billed. See results and matching and errors and rate limits.