• About TrustVision
  • Android SDK
  • Flutter SDK
  • React Native SDK
  • iOS SDK
  • Web SDK
  • API Client Libraries
  • Integration Case Studies
  • TS eKYC/FA App
  • eKYC Platform
TrustVision API Documentation

API Call Flow

StepStep NameCustomer ActionAPI CallResult & Action
AUpload & check ID photos
1Upload ID photo - frontsideCapture frontside of IDAPI Upload image - API LinkAPI returns image_id of frontside ID photo
1.1Check sanity/quality of frontside ID photoAPI ID Sanity check - API LinkPassed => Next step
Not Passed => Request customer to retake frontside photo
1.2Check ID tampering for frontside ID photoAPI ID Tampering check - API LinkPassed => Next step
Not Passed => Request customer to retake frontside photo
1.3Read info in ID frontsideAPI OCR - API LinkAPI returns info of fields in the ID card. If confidence_verdict = unsure for key fields (e.g. Id number, name) => May request customer to retake frontside photo
2Upload ID photo - backsideCapture backside of IDAPI Upload image - API LinkAPI returns image_id of backside ID photo
2.1Check sanity/quality of backside ID photoAPI ID Sanity check - API LinkPassed => Next step
Not Passed => Request customer to retake backside photo
2.2Check ID tampering for frontside & backside (*) ID photoAPI ID Tampering check - API LinkPassed => Next step
Not Passed => Request customer to retake backside photo
2.3Read info in ID backsideAPI OCR - API LinkAPI returns info of fields in the ID card
BUpload & check SelfieStep B can do in parallel with Step A
1Upload selfie photoCapture selfieAPI Upload image - API LinkAPI returns image_id of selfie ID photo
2Check sanity/quality of selfie photoAPI Portrait Sanity check - API LinkPassed => Next step
Not Passed => Request customer to retry
3Check portrait livenessAPI Portrait Liveness check - API LinkPassed => Next step
Not Passed => Request customer to retry
4Compare faces in selfie and ID photosAPI Face Matching - API LinkPassed => Next step
Not Passed => Request customer to retry
CFace Retrieval
1Search face of customerAPI Search Face - API LinkAPI returns matched faces (if have)
2Index face of new customerAPI Index Face - API Link

(*) Note: Some tampering signals on the backside need information on the frontside to check, so both frontside and backside are required in this step.