💡
Innov8tif EMAS eKYC
  • 🤔What is EMAS eKYC?
  • EMAS eKYC Portal
    • Create JourneyID
    • Centralized OkayID
      • Supported Document Type
        • Brunei
          • Sample API Response
          • Field Type Reference
        • Cambodia
          • Sample API Response
          • Field Type Reference
        • China
          • Sample API Response
          • Field Type Reference
        • Hong Kong
          • Sample API Response
          • Field Type Reference
        • Indonesia
          • Sample API Response
          • Field Type Reference
        • Malaysia
          • Sample API Response
          • Field Type Reference
        • Myanmar
          • Sample API Response
          • Field Type Reference
        • Philippines
          • Sample API Response
          • Field Type Reference
        • Singapore
          • Sample API Response
          • Field Type Reference
        • Thailand
          • Sample API Response
          • Field Type Reference
        • United Arab Emirates
          • Sample API Response
          • Field Type Reference
        • Vietnam
          • Sample API Response
          • Field Type Reference
        • Passport
          • Sample API Response
          • Field Type Reference
      • Additional OkayID Information
        • Master Field Type Lists
        • MRZ-Visual FieldType on Nationality
        • Country Name (ISO3166 standard)
        • Base64 images returned by OkayID
        • Malaysia Visa
    • Centralized OkayFace
      • Version 2 (Blacklist Face Search)
      • Version 1
      • Interpretation of Result and Recommended Threshold
    • Centralized OkayLive
      • Interpretation of Result and Recommended Threshold
    • Centralized OkayDoc
      • Passport
      • Non-passport
        • Sample Input
        • Document Type and Version
      • Image Reference (Download)
    • Scorecard
      • Get Scorecard Result
      • Get Scorecard Config
    • Get eKYC Details
    • Manual Verification
      • Complete Journey API
      • Get the result of manual verification API
    • Supported Document Lists for OkayID & OkayDoc
    • Postman Collection
    • Error List
    • Change Log
      • EMAS eKYC Portal Change Log
      • EMAS eKYC APIs Change Log
    • Image Requirement
      • OkayID
      • OkayFace
      • OkayLive
      • OkayDoc
    • List of Checkings & Rules
      • List of supported documents and checkings
      • Passport
      • OkayDoc Document Checking Types
        • Brunei
          • BN - Domestic ID Card
          • BN - Permanent ID Card
        • Malaysia
          • MyKad
          • MyKas
          • MyPR
          • MyTentera
          • Driving License
          • MyOKU
          • MyKid
        • Cambodia
          • KH - ID Card
        • China
          • China ID
        • Hong Kong
          • Hong Kong ID
        • Indonesia
          • IDN - e-KTP
        • Myanmar
          • Driving License
        • Philippines
          • National ID(PhilSys)
          • Driving License
          • SSS (Social Security System)
          • UMID
          • Voter ID
          • Postal ID
          • PRC Professional ID Card
        • Singapore
          • NRIC
        • Thailand
          • ID Card
        • United Arab Emirates
          • ID Card
        • Vietnam
          • New ID Card
          • Old ID Card
    • FAQ
  • Individual API Components
    • OkayID
    • OkayID-Lite
    • OkayLive
    • OkayLive++
    • OkayFace
    • OkayFace Search
    • OkayDoc
    • OkayDB
    • OkayCam SDK
    • Web eKYC
    • Other APIs
    • IDV Mobile Demo App
Powered by GitBook
On this page
  • Overview
  • API Method
  • Centralized OkayFace Version 1-1 (Recommended)
  • Centralized OkayFace Version 1
  • Input Example (OkayFace Version 1-1)

Was this helpful?

  1. EMAS eKYC Portal

Centralized OkayFace

OkayFace is used to perform the Facial Verification.

PreviousMalaysia VisaNextVersion 2 (Blacklist Face Search)

Last updated 6 months ago

Was this helpful?

Overview

The user will need to submit a selfie to test on the Centralized OkayFace API. The purpose of this API is to compare the facial image on the ID card with the Selfie taken in this API to check if the user is the same as the ID card's owner.

The API also contains an option to enable the OkayLive API also known as "Liveness Detection" to make sure that the selfie is taken by a real person. This will greatly increase the security level of the OkayFace API to help counter fake selfie submissions.

Steps:

  1. The user will need to re-use the JourneyId again.

  2. Place the JourneyId and the content mentioned in the below.

  3. Users can choose either or to call the API. (Recommended Version 1-1)

  4. After expanding the API method, the user can read the descriptions on each parameter and place the details accordingly following this .

  5. This Centralized OkayFace API included the integration of , this is why the example shown in step 4 contains the "liveness detection". It also has the option to use it separately by disabling the "liveness detection" parameter.

  6. The average processing time takes about 2s to 4s.

Please refer to the "" section to get the best result for each API return

API Method

Centralized OkayFace Version 1-1 (Recommended)

POST https://ekycportaldemo.innov8tif.com/api/ekyc/okayface/v1-1

Headers

Name
Type
Description

livenessMeta

String

The environment the image was taken in. Possible values are IOS, ANDROID, DESKTOP or UNKNOWN (the default).

e.g.

{"OS":"Desktop"}

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

Face Image from ID card

imageBest *

object

Selfie photo

journeyId*

string

Retrieve from 'Create JourneyID' API

Response Code Block
{
    "status": "success",
    "messageCode": "api.success",
    "imageBestLiveness": {
        "probability": 0.9999331,
        "score": 9.612308,
        "quality": 0.6691686
    },
    "request_id": "1591169623008663I8E5268153513648",
    "result_idcard": {
        "confidence": 88.0169
    }
}
{
    status: "error"
}
{
    status: "Internal Server Error"
}

Centralized OkayFace Version 1

POST 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

Face Image from ID card

imageBest *

object

Selfie photo

journeyId*

string

Retrieve from 'Create JourneyID' API

Response Code Block
{
    "status": "success",
    "messageCode": "api.success",
    "imageBestLiveness": {
        "probability": 0.9999331,
        "score": 9.612308,
        "quality": 0.6691686
    },
    "request_id": "1591169623008663I8E5268153513648",
    "result_idcard": {
        "confidence": 88.0169
    }
}
{
    "status": "error"
}
{
    status:"Internal Server Error"
}

Kindly refer to the page below for the interpretation of the result.

API Header - LivenessMeta

Meta Key
Meta Value
Required

OS

"IOS", "ANDROID" or "DESKTOP" or "UNKOWN"

Optional (Suggested to include for better accuracy)

Input Example (OkayFace Version 1-1)

Users can either choose to activate livenessDetection by ticking the key or deactivate the livenessDetection by un-ticking the key

Postman Collection

Get the Postman Collection

Interpretation of Result and Recommended Threshold
https://api2-ekycportal.innov8tif.com/emas-ekyc-portal/postman-collection
Centralized OkayLive
Image Requirement
API Method
Version 1-1
Version 1
Example
Input using image file
Input using base64 image string