Ghana

Passport

Government database lookup API

POSThttps://id.uqudo.io/api/v2/id/lookup/gha/passport
Header parameters
Body
documentNumber*string
firstName*string
lastName*string
middleName*string
dateOfBirth*string

yyyy-MM-dd

Response

OK

Body
faceImagestring

Base64 encoded face image of the user

documentNumberstring
firstNamestring
lastNamestring
middleNamestring
dateOfBirthstring
dateOfBirthFormattedstring

ISO-8601 format yyyy-MM-dd

genderstring
issueDatestring
issueDateFormattedstring

ISO-8601 format yyyy-MM-dd

dateOfExpirystring
dateOfExpiryFormattedstring

ISO-8601 format yyyy-MM-dd

placeOfBirthstring
placeOfIssuestring
firstNameMatchboolean
lastNameMatchboolean
middleNameMatchboolean
dateOfBirthMatchboolean
Request
const response = await fetch('https://id.uqudo.io/api/v2/id/lookup/gha/passport', {
    method: 'POST',
    headers: {
      "Content-Type": "application/json"
    },
    body: JSON.stringify({
      "dateOfBirth": "text",
      "documentNumber": "text",
      "firstName": "text",
      "lastName": "text",
      "middleName": "text"
    }),
});
const data = await response.json();
Response
{
  "faceImage": "text",
  "documentNumber": "text",
  "firstName": "text",
  "lastName": "text",
  "middleName": "text",
  "dateOfBirth": "text",
  "dateOfBirthFormatted": "text",
  "gender": "text",
  "issueDate": "text",
  "issueDateFormatted": "text",
  "dateOfExpiry": "text",
  "dateOfExpiryFormatted": "text",
  "placeOfBirth": "text",
  "placeOfIssue": "text",
  "firstNameMatch": false,
  "lastNameMatch": false,
  "middleNameMatch": false,
  "dateOfBirthMatch": false
}

Voter ID

Government database lookup API

POSThttps://id.uqudo.io/api/v2/id/lookup/gha/voter/id
Header parameters
Body
voterId*string
fullName*string
Response

OK

Body
faceImagestring

Base64 encoded face image of the user

documentNumberstring
fullNamestring
fullNameMatchboolean
genderstring
pollingStationstring
registrationDatestring
registrationDateFormattedstring

ISO-8601 format yyyy-MM-dd

Request
const response = await fetch('https://id.uqudo.io/api/v2/id/lookup/gha/voter/id', {
    method: 'POST',
    headers: {
      "Content-Type": "application/json"
    },
    body: JSON.stringify({
      "fullName": "text",
      "voterId": "text"
    }),
});
const data = await response.json();
Response
{
  "faceImage": "text",
  "documentNumber": "text",
  "fullName": "text",
  "fullNameMatch": false,
  "gender": "text",
  "pollingStation": "text",
  "registrationDate": "text",
  "registrationDateFormatted": "text"
}

SSNIT

Government database lookup API

POSThttps://id.uqudo.io/api/v2/id/lookup/gha/ssnit
Header parameters
Body
socialSecurityNumber*string
fullName*string
dateOfBirth*string

yyyy-MM-dd

Response

OK

Body
faceImagestring

Base64 encoded face image of the user

socialSecurityNumberstring
fullNamestring
dateOfBirthstring
dateOfBirthFormattedstring

ISO-8601 format yyyy-MM-dd

serialNumberstring
genderstring
fullNameMatchboolean
dateOfBirthMatchboolean
Request
const response = await fetch('https://id.uqudo.io/api/v2/id/lookup/gha/ssnit', {
    method: 'POST',
    headers: {
      "Content-Type": "application/json"
    },
    body: JSON.stringify({
      "dateOfBirth": "text",
      "fullName": "text",
      "socialSecurityNumber": "text"
    }),
});
const data = await response.json();
Response
{
  "faceImage": "text",
  "socialSecurityNumber": "text",
  "fullName": "text",
  "dateOfBirth": "text",
  "dateOfBirthFormatted": "text",
  "serialNumber": "text",
  "gender": "text",
  "fullNameMatch": false,
  "dateOfBirthMatch": false
}

Driving License

Government database lookup API

POSThttps://id.uqudo.io/api/v2/id/lookup/gha/dl
Header parameters
Body
licenseNumber*string
fullName*string
dateOfBirth*string

yyyy-MM-dd

Response

OK

Body
faceImagestring

Base64 encoded face image of the user

licenseNumberstring
fullNamestring
dateOfBirthstring
dateOfBirthFormattedstring

ISO-8601 format yyyy-MM-dd

dateOfExpirystring
dateOfExpiryFormattedstring

ISO-8601 format yyyy-MM-dd

issueDatestring
issueDateFormattedstring

ISO-8601 format yyyy-MM-dd

certificateDatestring
pinstring
fullNameMatchboolean
dateOfBirthMatchboolean
Request
const response = await fetch('https://id.uqudo.io/api/v2/id/lookup/gha/dl', {
    method: 'POST',
    headers: {
      "Content-Type": "application/json"
    },
    body: JSON.stringify({
      "dateOfBirth": "text",
      "fullName": "text",
      "licenseNumber": "text"
    }),
});
const data = await response.json();
Response
{
  "faceImage": "text",
  "licenseNumber": "text",
  "fullName": "text",
  "dateOfBirth": "text",
  "dateOfBirthFormatted": "text",
  "dateOfExpiry": "text",
  "dateOfExpiryFormatted": "text",
  "issueDate": "text",
  "issueDateFormatted": "text",
  "certificateDate": "text",
  "pin": "text",
  "fullNameMatch": false,
  "dateOfBirthMatch": false
}

Last updated