π#7 BiometricTest
#7.1 Upload Selfie Image :
This API is to upload Selfie captured image to match it with national id image,
and to upload recorded video to check active and passive liveness.
Base64 selfie image, this image is to check the passive liveness without any active user interacion.
Natural image score if exist, this score can be detected from front-end image detect component
0
Example: 50.0
Smile image score if exist, this score can be detected from front-end image detect component
0
Example: 50.0
Base64 selfie or recorded video, this video is to check the active liveness with user interacions like magnifeye, smile, ....
Success
BadRequest
Unauthorized
POST /Onboarding/api/v1/onboarding/BiometricTest/UploadSelfieImage HTTP/1.1
Host:
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 84
{
"image": "text",
"naturalImageScore": "50.0",
"smileImageScore": "50.0",
"record": "text"
}
{
"isSuccess": true,
"message": "text",
"data": {
"customerId": "74c16994-a047-476c-bd23-963610cb6285",
"photoMatched": "true",
"photoMatchPercentage": "65",
"detectedAge": "30",
"detectedGender": "M"
}
}
#7.2 Approve Biometric Test:
This API is to approve the result of matching and liveness.
Success
BadRequest
Unauthorized
POST /Onboarding/api/v1/onboarding/BiometricTest/Approve HTTP/1.1
Host:
Authorization: YOUR_API_KEY
Accept: */*
{
"status": 0
}
#7.3 Get Selfie Image :
This API is to get selfie image for the current request
Success
BadRequest
Unauthorized
Not Found
GET /Onboarding/api/v1/onboarding/BiometricTest/GetSelfieImage HTTP/1.1
Host:
Authorization: YOUR_API_KEY
Accept: */*
{}
#7.4 Get Document Portrait :
This API is to get national Id or passport cropped personal photo.
Success
BadRequest
Unauthorized
Not Found
GET /Onboarding/api/v1/onboarding/BiometricTest/GetDocumetPortraitImage HTTP/1.1
Host:
Authorization: YOUR_API_KEY
Accept: */*
{}
Last updated