This page provides the success response of the BharatOCR API for the Passport document.

{
  "verification_id": "test_verification_id",
  "reference_id": "893767",
  "status": "VALID",
  "document_type": "PASSPORT_FRONT",
  "document_fields": {
    "birth_city": "Gwalior",
    "country_code": "IND",
    "dob": "1964-02-15",
    "expiry_date": "2023-06-05",
    "gender": "M",
    "given_name": "John Doe",
    "issue_city": "Gwalior",
    "issue_date": "2013-06-06",
    "mrz": {
      "line1": "P<INDDOE<<JOHN<DOE<<<<<<<<<<<<<<<<<<<<",
      "line2": "L1234567<0IND6402156M2306123<<<<<<<<<<<<<<<6"
    },
    "nationality": "INDIAN",
    "passport_number": "L1234567",
    "surname": "Doe"
  },
  "message": "PASSPORT_FRONT document is valid",
}

Was this page helpful?