# Centralized OkayFace

<mark style="color:green;">`POST`</mark> `https://ekycportaldemo.innov8tif.com/api/ekyc/okayface`

#### Request Body

| Name              | Type    | Description                                                  |
| ----------------- | ------- | ------------------------------------------------------------ |
| imageIdCardBase64 | string  | Uncheck 'imageIdCard' to enable this parameter to be working |
| imageBestBase64   | string  | Uncheck 'imageBest' to enable this parameter to be working   |
| livenessDetection | boolean | Set to True - return liveness score                          |
| imageIdCard       | object  | Front id card image                                          |
| imageBest         | object  | Selfie photo                                                 |
| journeyId         | string  | Retrieve from 'Create JourneyID' API                         |

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

```
{
    "status": "success",
    "messageCode": "api.success",
    "imageBestLiveness": {
        "probability": 0.9999331,
        "score": 9.612308,
        "quality": 0.6691686
    },
    "request_id": "1591169623008663I8E5268153513648",
    "result_idcard": {
        "confidence": 88.0169
    }
}
```

{% endtab %}
{% endtabs %}

### Input Example in Postman

![image object as input](https://253651193-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LpQle72tz7-gm8Gk4Bg%2F-M8tPL1r5VEONLs4eA5X%2F-M8tQR4sQQYu-iXOX2Js%2FCapture.JPG?alt=media\&token=bcd030ea-cd38-4738-984f-b4472a4ecd97)

![base64 string as input](https://253651193-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LpQle72tz7-gm8Gk4Bg%2F-M9aPKuTIDLbCS1ME_Xc%2F-M9aRbPBdMMpTXutLDWq%2FCapture.JPG?alt=media\&token=b02754d8-0253-4653-ad60-eee928619ac4)

{% hint style="info" %}
Kindly refer to the page below for the interpretation of the result.

<https://api.innov8tif.com/okayface/1-1-face-verification-v2-2#interpretation-of-result>

Get the Postman Collection\
<https://api.innov8tif.com/emas-ekyc-portal/postman-collection>
{% endhint %}
