Face Verification
Compare two facial images and confirm a customer is who they claim to be. The endpoint returns a similarity score, image quality rating, and a passive liveness check result — all in a single call.
How to Use It
Send two images as multipart/form-data fields — a reference image and a comparison image. The typical use case is confirming that a customer's live photo matches the face on their BVN record.
Both image fields must be uploaded as file fields in a multipart/form-data request. Sending them as base64 strings in a JSON body will not work.
This endpoint requires a valid Bearer token. Obtain one from the Access Token endpoint and pass it as Authorization: Bearer <token>.
The data.face_image field returned by Fetch BVN Details is the base64-encoded face from the customer's BVN record. Use it as the referenceImage for the most accurate comparison.