Skip to main content

Response - LID

limitations

This service is available for Republic of Lithuania only.

Overall response table

status| Type: Object
Explanation:

The overall status of the service check.

serviceSuspected| Type: Boolean
Explanation:

true if the service found a suspicious or flagged record related to the person.

checkSuccessful| Type: Boolean
Explanation:

true if the check was completed without errors.

serviceFound| Type: Boolean
Explanation:

true if a relevant checking service was found for the target country.

serviceUsed| Type: Boolean
Explanation:

true if the service was actually called for this check.

overallStatus| Type: String
Explanation:

A string representing the overall result of the check.

Possible values:

  • DATA_ERROR
  • SUSPECTED
  • NOT_SUSPECTED
  • INTERNAL_ERROR
  • SERVICE_NOT_FOUND
  • CHECK_FAILED
data| Type: List
Explanation:

List of results returned from the used services.

LID_documentCheck| Type: Object
Explanation:

Object containing details from the LID document verification service.

documentNumber| Type: String
Explanation:

The document number as recorded in the LID service database.

documentType| Type: String
Explanation:

The type of document as recorded in the LID service database.

valid| Type: Boolean
Explanation:

true if the document is valid according to the LID service.

expiryDate| Type: String
Explanation:

Expiration date of the document in ISO 8601 format (e.g., 2025-12-31).

checkDate| Type: String
Explanation:

Date and time when the LID check was performed.

serviceName| Type: String
Explanation:

The name of the external service used for the person check.

serviceGroupType| Type: String
Explanation:

The service group type.

Always: LID

uid| Type: String
Explanation:

A unique identifier within a request scope. Not globally unique. Used when performing multi-person checks.

errorMessage| Type: String
Explanation:

A human-readable error message if something failed during the check.

Request example

{
"mode": "DATA",
"services": ["LID"],
"data": [
{
"type": "PASSPORT",
"number": "74587539",
"country": "LT"
}
]
}

Response example

{
"status": {
"serviceSuspected": true,
"checkSuccessful": true,
"serviceFound": true,
"serviceUsed": true,
"overallStatus": "SUSPECTED"
},
"data": [
{
"documentNumber": "12347539",
"documentType": "PASSPORT",
"valid": false,
"expiryDate": "2018-03-21",
"checkDate": "2020-02-02 20:02:02"
}
],
"serviceName": "IrdInvalidPapers",
"serviceGroupType": "LID",
"uid": "1S1DTTF1IV5FM4D4BO325CG8F",
"errorMessage": null
}