Overview
These endpoints validate a physical South African ID document using OCR scanning, barcode reading, and authenticity checks. Three tiers are available depending on how much biometric verification you need.Document Only
Validate the document and extract data via OCR
Document + Photo
Validate document and match face against a selfie
Document + Photo + Liveness
Full validation with liveness detection
Validate RSA ID Document
Validate RSA ID Document + Photo
Validate RSA ID Document + Photo + Liveness
Response
Comparison Field List
Each entry incomparison_field_list validates a specific field on the document:
| Field | Description |
|---|---|
field_name | The data field being validated (e.g. DOCUMENT_NUMBER, DATE_OF_BIRTH) |
visual_zone_value | Value read from the printed/visual zone of the document |
barcode_value | Value read from the document barcode |
mrz_value | Value read from the Machine Readable Zone (for passports) |
visual_barcode_match_ind_tristate | "true" if visual and barcode values match |
valid_ind_tristate | "true" if this field passes validation |
Tristate Values
Match indicators use tristate values:"true", "false", or "" (not applicable).
