Skip to content

Verification Workflow

The Verification Workflow section provides tools for managing the KYC verification process, including document verification, face comparison, and OCR data extraction using AWS services.

Overview

Verification workflow capabilities:

  • Multi-stage verification process
  • Face comparison using AWS Rekognition
  • Document OCR using AWS Textract
  • Verification status tracking
  • Manual review interface

Verification Stages

The KYC verification process follows these stages:

SUBMITTED → OCR_PROCESSING → FACE_VERIFICATION → FINAL_REVIEW → COMPLETED
                                                              → REJECTED
StageDescriptionDuration
submittedDocuments uploaded, awaiting processing-
ocr_processingExtracting data from ID documents~3 min
face_verificationComparing selfie to ID photo~2 min
final_reviewFinal automated/manual review~1 min
completedVerification successful-
rejectedVerification failed-

Verification Dashboard

Statistics

StatDescription
PendingAwaiting processing
ProcessingCurrently being verified
Manual ReviewRequires human review
Completed TodaySuccessfully verified today
Rejected TodayFailed verification today

Table Columns

ColumnDescription
UserName and phone (links to user profile)
StageCurrent verification stage
ProgressPercentage complete with progress bar
StatusCurrent job status
CreatedWhen verification was submitted
ActionsView button

Verification Detail View

Layout

SectionDescription
Progress CardVisual stage progression
User DocumentsID and selfie images
Verification ResultsOCR and face comparison results
Actions CardProcessing and review actions
Timeline CardEvent history

Progress Display

Shows visual progression through 4 stages:

  1. Submitted (Upload icon)
  2. OCR Processing (Scan icon)
  3. Face Verification (User icon)
  4. Final Review (Check icon)

Face Comparison

Test Interface

FieldTypeDescription
Source Image URLtextID document photo URL
Target Image URLtextSelfie photo URL
Similarity ThresholdnumberMinimum match percentage (0-100)

Comparison Results

FieldDescription
Decisionapproved, rejected, or manual_review
ConfidenceMatch confidence percentage
SimilarityFace similarity score
ReasonsList of decision factors
Recommended ActionSuggested next step

Decision Values

DecisionDescription
approvedFaces match above threshold
rejectedFaces do not match
manual_reviewInconclusive, requires human review

OCR Extraction

Test Interface

FieldTypeDescription
Document Image URLtextID document image URL

OCR Results

FieldDescription
CompletenessPercentage of fields extracted
Is ValidWhether extraction passed validation
Extracted FieldsPersonal information found
IssuesList of extraction problems

Extracted Fields

FieldDescription
Full NameNames from document
ID NumberNational ID number
Date of BirthBirth date
GenderMale/Female
NationalityCountry of citizenship
Expiry DateDocument expiration

Manual Review

Review Interface

ElementDescription
ID DocumentSide-by-side image display
SelfieUser's selfie photo
Approve ButtonMark verification successful
Reject ButtonMark verification failed
Rejection ReasonRequired when rejecting
Review NotesOptional additional notes

Rejection Reasons

ReasonDescription
document_unreadableCannot read document details
face_mismatchSelfie doesn't match ID photo
document_expiredID document is expired
document_invalidWrong or unacceptable document type
fraud_suspectedSigns of document tampering
otherOther reason (requires notes)

AWS Services

AWS Rekognition

Used for face comparison between selfie and ID document photo.

FeatureDescription
CompareFaces APICompares two face images
Similarity Score0-100% match confidence
Face DetectionLocates faces in images

AWS Textract

Used for OCR extraction from ID documents.

FeatureDescription
AnalyzeDocument APIExtracts text from images
Form ExtractionIdentifies key-value pairs
Table ExtractionReads structured data

API Endpoints

EndpointMethodDescription
/verification/process/:jobIdPOSTProcess verification
/verification/results/:jobIdGETGet verification results
/verification/status/:jobIdGETGet verification status
/verification/test-face-comparisonPOSTTest face comparison
/verification/test-ocrPOSTTest OCR extraction

Internal use only - Keshless Payment Platform