3. SDK Features
Enable Liveness detection
For enable/disable liveness detection, use this:
Create transaction
Used to create transaction for Ekyc execution session
When successful transaction creation, the SDK returns a model transaction data which leads to the
onSuccess()
callback. Handling create transaction successfully here.When creating transaction fails, it will be processed at callback
onFail()
.
Get process transaction
Used to get the Ekyc process of a transaction
transactionId
String
Transaction id
When the get process transaction is successful, the SDK returns a model process transaction data resulting in the
onSuccess()
callback. Handling get process transaction successfully here.When get process transaction fails, it will be processed at callback
onFail()
.
Upload Photo (Normal detection)
Used to upload photos of documents, face for Ekyc
pathImage
String
Image path local
captureType
CAPTURE_TYPE
Orientation images include the following types: CAPTURE_TYPE.FRONT, CAPTURE_TYPE.BACK, CAPTURE_TYPE.FACE
When the photo upload is successful, the SDK returns a model capture data resulting in the
onSuccess()
callback. Handling photo upload successfully here.When uploading photo fails, it will be handled at callback
onFail()
.
Face Matching
Use this method to get ORC scan information
FaceMatchingData
sessionId
String
Session id
cardInfo
CardInfo
Card information
CardInfo
id
String
id card
birthDay
String
birth day
birthPlace
String
birth place
cardType
String
card type
gender
String
gender
issueDate
String
issue date
issuePlace
String
issue place
name
String
full name
nationality
String
nationality
originLocation
String
origin location
passportNo
String
passport no
recentLocation
String
recent location
validDate
String
valid date
feature
String
feature
nation
String
nation
mrz
String
mrz
When face matching is successful, the SDK returns a model face matching data resulting in the
onSuccess()
callback. Handling face matching successfully here.When face matching fails, it will be handled at the callback
onFail()
.
Liveness detection
Using bitmap image to check face position
Submit info
Use this method to submit information
NewSubmitInfoRequest
cardInfoSubmit
CardInfoSubmit
Information card
preProcessId
String
Session id
CardInfoSubmit
id
String
id card
birthDay
String
birth day
birthPlace
String
birth place
cardType
String
card type
gender
String
gender
issueDate
String
issue date
issuePlace
String
issue place
name
String
full name
nationality
String
nationality
originLocation
String
origin location
passportNo
String
passport no
recentLocation
String
recent location
validDate
String
valid date
feature
String
feature
nation
String
nation
mrz
String
mrz
After submitting the info successfully, the SDK returns a status leading to the
onSuccess()
callback. Handling submit info successfully here.When submitting information fails, it will be handled at the callback
onFail()
.
Last updated