> For the complete documentation index, see [llms.txt](https://developer.myidentitypass.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developer.myidentitypass.com/products/data-verification/nigeria/international-passport/international-passport-+-face-validation.md).

# International Passport (+ Face Validation)

{% hint style="info" %}
TEST DATA\
number: A00400000\
last\_name: test\
image: <https://www.biography.com/.image/c_fill%2Ccs_srgb%2Cfl_progressive%2Ch_400%2Cq_auto:good%2Cw_620/MTY2MzU3Nzk2OTM2MjMwNTkx/elon_musk_royal_society.jpg>
{% endhint %}

## Allows merchant to verify an International passport with face validation

<mark style="color:green;">`POST`</mark> `{{URL}}/api/v2/biometrics/merchant/data/verification/national_passport_with_face`

#### Headers

| Name                                        | Type   | Description        |
| ------------------------------------------- | ------ | ------------------ |
| x-api-key<mark style="color:red;">\*</mark> | String | \<your secret key> |
| app-id<mark style="color:red;">\*</mark>    | String | \<your app id>     |

#### Request Body

| Name                                         | Type   | Description         |
| -------------------------------------------- | ------ | ------------------- |
| number<mark style="color:red;">\*</mark>     | String | the passport number |
| last\_name<mark style="color:red;">\*</mark> | String | last name           |
| image<mark style="color:red;">\*</mark>      | String | base64,png,jpg      |

{% tabs %}
{% tab title="200: OK " %}
{% code overflow="wrap" %}

```javascript
{
"status": true,
"detail": "Intl. Passport Verification Successful",
"response_code": "00",
"data": {
    "first_name": "",
    "last_name": "",
    "middle_name": "",
    "dob": "",
    "mobile":"",
    "photo": “base64 image here”,
    "signature": “base64 image here”,
    "gender": "",
    "issued_at": "",
    "issued_date": "",
    "expiry_date": "",
    "number": ""
    },
"verification": {
    "status": "",
    "reference": ""
},
"face_data": {
    "status": true,
    "message": "Face Match",
    "response_code":"00",
    "confidence": 99.9
 }
}
```

{% endcode %}
{% endtab %}
{% endtabs %}
