Skip to main content

Overview

Three tiers of passport validation are available, from document-only OCR/MRZ validation through to full liveness detection.

Document Only

Validate passport via MRZ/OCR and authenticity checks

Document + Photo

Validate passport and match against a selfie

Document + Photo + Liveness

Full validation with liveness detection

Validate Passport


Validate Passport + Photo


Validate Passport + Photo + Liveness

The request body is the same as for ValidatePassportAndPhoto.

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:
Passport responses use MRZ (Machine Readable Zone) fields in addition to visual zone and barcode fields. The mrz_value field contains the value extracted from the passport’s MRZ strip. See Validate RSA ID Document for a description of each comparison field.

Photo and Liveness Fields

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