# Lookup NIN With Face

{% hint style="warning" %}
TEST DATA\
number:12345678909\
\
for successful face validation\
image:  <https://res.cloudinary.com/dh3i1wodq/image/upload/v1675417496/cbimage_3_drqdoc.jpg>\
\
for failed face validation:\
image: <https://media-exp1.licdn.com/dms/image/C4E03AQH5vv1CBBZdYQ/profile-displayphoto-shrink_800_800/0/1593888593948?e=1667433600&v=beta&t=PUwGItDONrA0WY-A2uGtLxteq2VD6ZABf49FrrENZKU>
{% endhint %}

## Lookup NIN&#x20;

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

#### Query Parameters

| Name                                     | Type   | Description                   |
| ---------------------------------------- | ------ | ----------------------------- |
| image<mark style="color:red;">\*</mark>  | string | \<image url(jpeg,png,base64)> |
| number<mark style="color:red;">\*</mark> | string | \<NIN number>                 |

#### 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>     |

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

```
{
    "status": true,
    "detail": "Verification Successful",
    "face_data": {
        "status": false,
        "message": "Face do not match"
    },
    "nin_data": {
        "birthcountry": "",
        "birthdate": "24-09-1989",
        "birthlga": "",
        "birthstate": "",
        "centralID": "",
        "educationallevel": "",
        "email": "",
        "emplymentstatus": "",
        "firstname": "",
        "gender": "f",
        "heigth": "",
        "maritalstatus": "single",
        "nin": "",
        "nok_address1": "",
        "nok_address2": "",
        "nok_firstname": "",
        "nok_lga": "",
        "nok_middlename": "",
        "nok_postalcode": "",
        "nok_state": "",
        "nok_surname": "",
        "nok_town": "",
        "nspokenlang": "YORUBA",
        "ospokenlang": "",
        "pfirstname": "",
        "photo": "",
        "pmiddlename": "",
        "profession": "",
        "psurname": "",
        "religion": "christianity",
        "residence_address": "",
        "residence_Town": "",
        "residence_lga": "",
        "residence_state": "",
        "residencestatus": "",
        "self_origin_lga": "",
        "self_origin_place": "",
        "self_origin_state": "",
        "signature": "",
        "surname": "",
        "telephoneno": "",
        "title": ""
    },
    "verification": {
        "status": "",
        "reference": ""
    }
}
```

{% endtab %}
{% endtabs %}
