Skip to main content
POST
/
api
/
onboarding
/
nigeria_kyc
/
passport
Passport Verification
curl --request POST \
  --url https://adhere-api.smartcomply.com/api/onboarding/nigeria_kyc/passport/ \
  --header 'Content-Type: application/json' \
  --header 'x-access-token: <api-key>' \
  --data '
{
  "passport_number": "A00000000"
}
'
{
  "status": "failed",
  "data": [
    "<unknown>"
  ],
  "message": "<string>"
}

Documentation Index

Fetch the complete documentation index at: https://docs.smartcomply.com/llms.txt

Use this file to discover all available pages before exploring further.

The Passport Verification endpoint validates a Nigerian passport number against the government database and returns the holder’s personal details, passport validity dates, and a photo.

Endpoint

POST /api/onboarding/nigeria_kyc/passport/

Request

Headers

HeaderValueRequired
x-access-tokenYour API secret keyYes
Content-Typeapplication/jsonYes

Body Parameters

ParameterTypeRequiredDescription
passport_numberstringYesThe customer’s passport number
surnamestringYesSurname as on the passport
date_of_birthstringYesDate of birth in YYYY-MM-DD format

Example

curl -X POST "https://adhere-api.smartcomply.com/api/onboarding/nigeria_kyc/passport/" \
  -H "x-access-token: YOUR_SECRET_KEY" \
  -H "Content-Type: application/json" \
  -d '{"passport_number": "Z18679232", "surname": "John", "date_of_birth": "1994-08-11"}'

Response

200 OK

FieldTypeDescription
data.passportNumberstringPassport number
data.lastNamestringLast name
data.firstNamestringFirst name
data.middleNamestringMiddle name
data.dateOfBirthstringDate of birth
data.genderstringGender
data.dateOfIssuestringPassport issue date
data.expiryDatestringPassport expiry date
data.issuePlacestringState/location where passport was issued
data.documentTypestringPassport type (e.g., "Standard Passport")
data.phoneNumberstringRegistered phone number
data.imagestringBase64-encoded passport photo
data.referenceIDstringInternal reference ID
{
  "status": "success",
  "data": {
    "passportNumber": "Z18679232",
    "dateOfIssue": "20/09/2023",
    "expiryDate": "19/09/2028",
    "documentType": "Standard Passport",
    "issuePlace": "OGUN STATE",
    "lastName": "JOHN",
    "firstName": "EMMANUEL",
    "middleName": "IFEANYI",
    "dateOfBirth": "10/04/2000",
    "gender": "Male",
    "image": "<base64-encoded-jpeg>",
    "referenceID": "23445",
    "phoneNumber": "09011002200"
  },
  "message": "International Passport details retrieved successfully"
}

400 Bad Request

{
  "status": "failed",
  "data": [],
  "message": "Sorry, your check cannot be processed at the moment. Please try again in a few minutes"
}

401 Unauthorized

{
  "status": "failed",
  "message": "Authentication credentials were not provided."
}

Authorizations

x-access-token
string
header
required

Your Adhere API secret key

Body

application/json
passport_number
string
required
Example:

"A00000000"

Response

Passport verified