Verify
Use 3 endpoints verify/id/front, verify/id/back, verify/liveness/multi to verify an already registered user.
General Input For Any Request
base-url: https://api.vlenseg.com/api/DigitalIdentity/verify/<endpoint_path>
Headers
Content-Type*
string
application/json
ApiKey*
string
API Key
Authorization*
string
Bearer Access Token `Bearer <accessToken>` that returned from login api or successfull registration
Request Body
transaction_id
GUID
The transaction Id. Required if this request belongs to an existing transaction. If null then a new transaction Id will be generated and returned in the response to be used in subsequent requests for the same transaction.
{
"data": <Data model according to each model described below>,
"Services": {
"Validations": {
"validation_errors": [
{
"field": <string>,
"value": <string>,
"errors": [
{
"code": <int>,
"message": <string>
}
]
}
]
},
"spoofing": {
"fake": <bool>
},
"classification": {
"doc_type": <string>
}
}
},
"error_code": <int>,
"error_message": <string>
}National ID front side
Sends National ID Front Image
POST https://<base-url>/id/front
Use parameters mentioned in general input above, check the data model in responses below.
Request Body
image*
string
The base 64 encoding of the 1st face image captured
National ID back side
Sends National ID Back Image
POST https://<base-url>/id/back
Use parameters mentioned in general input above, check the data model in responses below.
Request Body
image*
string
The base 64 encoding of the 1st face image captured
Liveness detection with multiple face images
Detecting Liveness
POST https://<base-url>/liveness/multi
Use parameters mentioned in general input above, check the data model in responses below.
Detecting Liveness while matching between faces captured and face on Identity documents
Request Body
face_1*
string
The base 64 encoding of the 1st face image captured
face_2*
string
The base 64 encoding of the 2nd face image captured, the time gap between capturing it and 1st capture must not exceed 500 milliseconds
face_3*
string
The base 64 encoding of the 3rd face image captured, the time gap between capturing it and 2nd capture must not exceed 500 milliseconds
Last updated