> ## Documentation Index
> Fetch the complete documentation index at: https://docs.dojah.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Lookup Nigeria Passport

> Verify a Nigerian international passport and fetch holder details from the immigration database using passport number.

### Request

```http [GET] theme={null}
{{baseURL}}/api/v1/kyc/passport
```

### Header

| Header        | Type   | Description                                                                                         |
| ------------- | ------ | --------------------------------------------------------------------------------------------------- |
| AppId         | string | Create an app to get your app ID on dashboard [here](https://app.dojah.io/developers/configuration) |
| Authorization | string | Private/secret key. Use `<key>` not `Bearer <key>`                                                  |

<ParamField header="AppId" type="string" required>
  Application ID from dashboard
</ParamField>

#### Query parameter

| Parameter          | Type   | Description                          | Required |
| ------------------ | ------ | ------------------------------------ | -------- |
| passport\_number\* | string | The Passport Number                  | required |
| surname\*          | string | Surname associated with the Passport | required |

### Sample response

```json Response theme={null}
{
    "entity": {
        "passport_number": "A00123456",
        "date_of_issue": "01/02/2000",
        "expiry_date": "01/02/2000",
        "document_type": "Standard Passport",
        "issue_place": "LAGOS",
        "surname": "MUSA",
        "first_name": "JOHN",
        "other_names": "DOE",
        "date_of_birth": "10/06/1993",
        "gender": "Undecided",
        "photo": "/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAEBAQEBAQEBA..."
    }
}
```

### Response Fields

| Field                   | Type   | Description                                         |
| ----------------------- | ------ | --------------------------------------------------- |
| entity                  | object | Contains the passport verification response data    |
| entity.passport\_number | string | Passport number that was verified                   |
| entity.date\_of\_issue  | string | Date the passport was issued (DD/MM/YYYY)           |
| entity.expiry\_date     | string | Expiry date of the passport (DD/MM/YYYY)            |
| entity.document\_type   | string | Type of passport document (e.g., Standard Passport) |
| entity.issue\_place     | string | Location where the passport was issued              |
| entity.surname          | string | Surname of the passport holder                      |
| entity.first\_name      | string | First name of the passport holder                   |
| entity.other\_names     | string | Other names (middle names) of the passport holder   |
| entity.date\_of\_birth  | string | Date of birth of the passport holder (DD/MM/YYYY)   |
| entity.gender           | string | Gender of the passport holder                       |
| entity.photo            | string | Base64-encoded photo of the passport holder         |

### Test Credentials for Sandbox

Kindly use this Test Passport Number in sandbox Environment

Passport Number = `A00123456`
