πŸ”#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.

post
Authorizations
AuthorizationstringRequired

Please insert JWT with Bearer into field

Body
imagestringRequired

Base64 selfie image, this image is to check the passive liveness without any active user interacion.

naturalImageScorenumber Β· doubleOptional

Natural image score if exist, this score can be detected from front-end image detect component

Default: 0Example: 50.0
smileImageScorenumber Β· doubleOptional

Smile image score if exist, this score can be detected from front-end image detect component

Default: 0Example: 50.0
recordstring Β· nullableOptional

Base64 selfie or recorded video, this video is to check the active liveness with user interacions like magnifeye, smile, ....

Responses
chevron-right
200

Success

application/json
isSuccessbooleanOptional
messagestring Β· nullableOptional
post
/Onboarding/api/v1/onboarding/BiometricTest/UploadSelfieImage

#7.2 Approve Biometric Test:

This API is to approve the result of matching and liveness.

post
Authorizations
AuthorizationstringRequired

Please insert JWT with Bearer into field

Responses
chevron-right
200

Success

application/json
statusinteger Β· enumOptional

Indicates the result of the operation. 0 = Success, 1 = Failed.

Possible values:
post
/Onboarding/api/v1/onboarding/BiometricTest/Approve

#7.3 Get Selfie Image :

This API is to get selfie image for the current request

Deprecated
get
Authorizations
AuthorizationstringRequired

Please insert JWT with Bearer into field

Responses
chevron-right
200

Success

application/json
objectOptional
get
/Onboarding/api/v1/onboarding/BiometricTest/GetSelfieImage

#7.4 Get Document Portrait :

This API is to get national Id or passport cropped personal photo.

Deprecated
get
Authorizations
AuthorizationstringRequired

Please insert JWT with Bearer into field

Responses
chevron-right
200

Success

application/json
objectOptional
get
/Onboarding/api/v1/onboarding/BiometricTest/GetDocumetPortraitImage

Last updated