# ID-FACE matching

```
TEST DATA

image: https://asset.cloudinary.com/dh3i1wodq/a52b7d
```

## Verify User's Identity

<mark style="color:green;">`POST`</mark> `https://api.myidentitypay.com/api/v2/biometrics/merchant/user/id_verification`

This endpoint allows you to verify user's ID card against an image of the user

#### Query Parameters

| Name                                    | Type   | Description                                      |
| --------------------------------------- | ------ | ------------------------------------------------ |
| image<mark style="color:red;">\*</mark> | string | Url of the image of the user's ID card to verify |

#### Headers

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

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

```
{
    "status": true,
    "response_code": "00",
    "detail": "Authentication Successful",
    "face_data": {
        "status": true,
        "response_code": "00",
        "message": "Fatch Match",
        "confidence": 99.99919891357422
    },
    "data": {
        "face_image": "<base64 image>",
        "email": "",
        "first_name": "",
        "last_name": "",
        "is_active": true
    }
}
```

{% endtab %}
{% endtabs %}
