Skip to main content

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

Validates the document only, no face matching.

Validate RSA ID Document + Photo

Validates the document and matches the face from the document against a provided selfie.

Validate RSA ID Document + Photo + Liveness

Full validation: document authenticity + face match + liveness detection. The request body is the same as for ValidateRSAIDDocAndPhoto.

Request Fields

All three endpoints share these fields. FaceString applies only to the photo and liveness tiers.

Response

All three endpoints return the document validation result:

Comparison Field List

Each entry in comparison_field_list validates a specific field on the document:

Tristate Values

Match indicators use tristate values: "true", "false", or "" (not applicable).

Photo and Liveness Fields

The photo and liveness tiers add fields to the top level of the response:
  • ValidateRSAIDDocAndPhoto adds FaceResult.
  • ValidateRSAIDDocAndPhotoWithLiveness adds FaceResult, LivenessResult, and IsWalletCreated.
See Face Compare for the full list of liveness result fields.