Requery Liveness Verification
Query liveness verification with reference
GET
https://vapi.verifyme.ng/v1/verifications/liveness/:reference
Path Parameters
{
"isLive": false,
"identityMatches": true,
"identityDetails": {
"idType": "nin",
"idNumber": "12839485762",
"firstname": "John",
"lastname": "Doe",
"dob": "2000-01-01",
"photo": "base 64 string image",
"photoMatching": {
"match": true,
"maxScore": 100,
"percentageSimilarity": "98.99998",
"matchingThreshold": "80"
}
},
"verifiedAt": "2021-11-08T14:30:28.454Z"
}
{
"status": "error",
"message": "Verification not Found",
"code": "NOT_FOUND_ERROR"
}
Query using the reference returned on a successfull liveness verification
Sample request
curl --verbose
--header "Authorization: Bearer <public key>"
--request "GET" "https://vapi.verifyme.ng/v1/verifications/liveness/:reference
fetch(`https://vapi.verifyme.ng/v1/verifications/liveness/${response.reference}`, {
headers: {
authorization: `Bearer ${pkey}`
}
})
.then((resp) => resp.json())
.then(data => {
console.log('> data', data);
})
.catch(e => console.error)