GET
/
api
/
v1
/
kyc
/
passport
curl --request GET \
  --url https://api.dojah.io/api/v1/kyc/passport \
  --header 'AppId: <appid>' \
  --header 'Authorization: <api-key>'
{
    "entity": {
        "passport_number": "A00123456",
        "date_of_issue": "01/02/2000",
        "expiry_date": "01/02/2000",
        "document_type": "Standard Passport",
        "issue_place": "LAGOS",
        "surname": "JOHN",
        "first_name": "DOE",
        "other_names": "MOSES",
        "date_of_birth": "10/06/1993",
        "gender": "Undecided",
        "photo": "/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAEBAQEBAQEBA..."
    }
}
AppId
string
required

Application ID from dashboard

Query parameter

passport_number
string
required

A valid passport number

surname
string
required

Surname associated with the Passport

RESPONSES

200
json

json

400
Object
401
Object
{
    "entity": {
        "passport_number": "A00123456",
        "date_of_issue": "01/02/2000",
        "expiry_date": "01/02/2000",
        "document_type": "Standard Passport",
        "issue_place": "LAGOS",
        "surname": "JOHN",
        "first_name": "DOE",
        "other_names": "MOSES",
        "date_of_birth": "10/06/1993",
        "gender": "Undecided",
        "photo": "/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAEBAQEBAQEBA..."
    }
}

Test Credentials for Sandbox

Kindly use this Test Passport Number in sandbox Environment

Passport Number = A00123456

GET
/
api
/
v1
/
kyc
/
passport
curl --request GET \
  --url https://api.dojah.io/api/v1/kyc/passport \
  --header 'AppId: <appid>' \
  --header 'Authorization: <api-key>'
{
    "entity": {
        "passport_number": "A00123456",
        "date_of_issue": "01/02/2000",
        "expiry_date": "01/02/2000",
        "document_type": "Standard Passport",
        "issue_place": "LAGOS",
        "surname": "JOHN",
        "first_name": "DOE",
        "other_names": "MOSES",
        "date_of_birth": "10/06/1993",
        "gender": "Undecided",
        "photo": "/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAEBAQEBAQEBA..."
    }
}
AppId
string
required

Application ID from dashboard

Query parameter

passport_number
string
required

A valid passport number

surname
string
required

Surname associated with the Passport

RESPONSES

200
json

json

400
Object
401
Object
{
    "entity": {
        "passport_number": "A00123456",
        "date_of_issue": "01/02/2000",
        "expiry_date": "01/02/2000",
        "document_type": "Standard Passport",
        "issue_place": "LAGOS",
        "surname": "JOHN",
        "first_name": "DOE",
        "other_names": "MOSES",
        "date_of_birth": "10/06/1993",
        "gender": "Undecided",
        "photo": "/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAEBAQEBAQEBA..."
    }
}

Test Credentials for Sandbox

Kindly use this Test Passport Number in sandbox Environment

Passport Number = A00123456