# Face Authentication

## Face Authentication

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

This endpoint allows you to authentication user's face

#### Query Parameters

| Name                                    | Type   | Description                                 |
| --------------------------------------- | ------ | ------------------------------------------- |
| image<mark style="color:red;">\*</mark> | string | <p>Users image url(png,,<br>jpg,base64)</p> |

#### Headers

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

{% tabs %}
{% tab title="200 Authenticated successfully." %}

```
{
    "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 %}
