Liveness & Biometrics
Face Match
To perform a National Identification Number (NIN) lookup, use the API below for sandbox testing. Below is a sample curl request using test params with appropriate responses.
API Endpoints
Sandbox: https://testbioverify.harmonizedx.com/api/v1/facematch/validate
Production:https://ninverify.harmonizedx.com/api/v1/lookup
Sample CURL Request
curl --location 'https://testbioverify.harmonizedx.com/api/v1/facematch/validate' \
--header 'api-key: 29ZeQGQhlWtX1AgMuAIqEgjTsrHQCekhj87gibkjbui080ndecZquA' \
--header 'method: Post' \
--data-urlencode 'original_image=base_64_image_string' \
--data-urlencode 'new_match_image=base_64_image_string'
Request Headers
Name
Type
Description
api-key*
string
secret key issued to your organization for authentication
method*
string
post
Request Body
Name
Type
Description
original_image*
base 64 string
Original image to compare in base64 format
new_match_image*
base 64 string
New image to compare against exisiting in base64 string
Expected Response
{ "success": true,
"message": "Detected Face: person 1, Confidence: 0, percentageMatch: 100"
}
Last updated