# International Passport

{% hint style="info" %}
TEST DATA\
number: A123456788\
first\_*name: test*\
*last\_name: test*\
*dob:* 1998-12-12
{% endhint %}

## Allows merchant to verify an International passport

<mark style="color:green;">`POST`</mark> `https://api.myidentitypay.com/api/v1/biometrics/merchant/data/verification/national_passport`

#### Headers

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

#### Request Body

| Name                                          | Type   | Description                   |
| --------------------------------------------- | ------ | ----------------------------- |
| number<mark style="color:red;">\*</mark>      | String | the passport number           |
| first\_name<mark style="color:red;">\*</mark> | String | first name                    |
| last\_name<mark style="color:red;">\*</mark>  | String | last name                     |
| dob<mark style="color:red;">\*</mark>         | String | Date of birth(e.g 1998-09-21) |

{% tabs %}
{% tab title="200: OK " %}

```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": "",
    "reference_id": "",
    "number": ""
    }
}
```

{% endtab %}
{% endtabs %}
