Document Object

This object represents the information extracted from a document that has been submitted and the authenticity. This object also returns a result for the recommendation of the document for further investigation if required.

FieldTypeValuesNotes
typeString"DRIVING_LICENSE"
"PASSPORT"
"IDENTITY_CARD"
"UNKNOWN"
Identified document type.
documentNumberStringThe unique document number extracted from the document.
expiryDateDOB Object{ "day": 19, "month": 11, "year": 1982 }A JSON object to represent the expiry date of the document. Each field is an int
issuingCountryStringThe ISO alpha-2 code representing the country that issued the document.
resultString"PASSED"
"REFER"
"ERROR"
LEM Verify recommendation for supplied document.

Example JSON for the Document Object:

{
   "type": "DRIVING_LICENSE",
   "documentNumber": "TEST90000123456",
   "expiryDate": {
      "day": 1,
      "month": 11,
      "year": 2019
   },
   "issuingCountry": "GB",
   "result": "REFER"
}