💡
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
  • Important Note
  • API Method
  • Input Example

Was this helpful?

  1. EMAS eKYC Portal

Centralized OkayID

OkayID is used to perform OCR extraction and identify the document type.

PreviousCreate JourneyIDNextSupported Document Type

Last updated 2 years ago

Was this helpful?

Overview

The user will need to provide the input (input 2 in the ) to be able to test the API. The main purpose of this API is to perform OCR and extract the data from the ID card. It will output the extracted data for the user to check on the extracted information.

The API will also return cropped ID cards from the submitted image and cropped portraits from the ID card. Users will also need to follow a set of rules that can be found to make sure the result is accurate.

Steps:

  1. User will need to use the JourneyId gotten from the previous API (Create JourneyId)

  2. Place the JourneyId and the content for the respective data in the by following the .

  3. The parameter descriptions can be found in the after expansion.

  4. The average processing time is about 5 to 10 seconds.

Important Note

  1. Please take note that ^ will be part of the response from OkayID API.

    • ^ indicates a NEW LINE.

    • e.g. Name from Malaysia - MyKad

  1. Basic Validation Rule

Country
Document Type
Region
Field Type
Validation Rule

Malaysia

MyKad, MyKas,MyTentera, MyPR, MyKid

ID Number

2

Must be 12 digits

Malaysia

MyKad, MyKas,MyTentera, MyPR, MyKid

Name

25

1) Numeric is not allow 2) Special Character ONLY allow /.@'^()

Malaysia

MyKad, MyKas,MyTentera, MyPR, MyKid

DOB

5

1) Day from 0 - 31 2) Month from 0 - 12 3) Between Year from 1900 - 2100

API Method

POST https://ekycportaldemo.innov8tif.com/api/ekyc/okayid

Request Body

Name
Type
Description

docTypeEnabled

boolean

Set to True - document type will be returned

backImage

string

Back id card image in base64

cambodia

boolean

Set to True if it is Cambodia ID Card

faceImageEnabled

boolean

Set to True - Cropped face image will be returned

imageEnabled

boolean

Set to True - Cropped document image will be returned

imageFormat

string

Set to JPG, JPEG, PNG, BMP, GIF, TIFF, TIF depending of the image format OR leave it blank if not sure

base64ImageString*

string

Front id card/passport image in base64

journeyId*

string

Retrieve from 'Create JourneyID' API

Response Code Block
{
    "status": "success",
    "message": "",
    "result": [
        {
            "ListVerifiedFields": {
                "pFieldMaps": [
                    {
                        "wLCID": 0,
                        "FieldType": 1,
                        "wFieldType": 1,
                        "Field_MRZ": null,
                        "Field_Visual": "MYS",
                        "Field_Barcode": null,
                        "Matrix": [
                            0,
                            0,
                            0,
                            0,
                            0,
                            0,
                            0,
                            0,
                            0,
                            0
                        ]
                    },
                    {
                        "wLCID": 0,
                        "FieldType": 2,
                        "wFieldType": 2,
                        "Field_MRZ": null,
                        "Field_Visual": "861200556488",
                        "Field_Barcode": null,
                        "Matrix": [
                            0,
                            0,
                            0,
                            0,
                            0,
                            0,
                            0,
                            0,
                            0,
                            0
                        ]
                    },
                    {
                        "wLCID": 1086,
                        "FieldType": 71172108,
                        "wFieldType": 12,
                        "Field_MRZ": null,
                        "Field_Visual": "PEREMPUAN",
                        "Field_Barcode": null,
                        "Matrix": [
                            0,
                            0,
                            0,
                            0,
                            0,
                            0,
                            0,
                            0,
                            0,
                            0
                        ]
                    },
                    {
                        "wLCID": 0,
                        "FieldType": 12,
                        "wFieldType": 12,
                        "Field_MRZ": null,
                        "Field_Visual": "F",
                        "Field_Barcode": null,
                        "Matrix": [
                            0,
                            0,
                            0,
                            0,
                            0,
                            0,
                            0,
                            0,
                            0,
                            0
                        ]
                    },
                    {
                        "wLCID": 0,
                        "FieldType": 17,
                        "wFieldType": 17,
                        "Field_MRZ": null,
                        "Field_Visual": "NO 22 JATAN BB 3/3^NANDAR RUDIT PUCHONG^47000 PUCHONG^SELANGOR",
                        "Field_Barcode": null,
                        "Matrix": [
                            0,
                            0,
                            0,
                            0,
                            0,
                            0,
                            0,
                            0,
                            0,
                            0
                        ]
                    },
                    {
                        "wLCID": 0,
                        "FieldType": 25,
                        "wFieldType": 25,
                        "Field_MRZ": null,
                        "Field_Visual": "LIEW HEY LEE",
                        "Field_Barcode": null,
                        "Matrix": [
                            0,
                            0,
                            0,
                            0,
                            0,
                            0,
                            0,
                            0,
                            0,
                            0
                        ]
                    },
                    {
                        "wLCID": 0,
                        "FieldType": 38,
                        "wFieldType": 38,
                        "Field_MRZ": null,
                        "Field_Visual": "Malaysia",
                        "Field_Barcode": null,
                        "Matrix": [
                            0,
                            0,
                            0,
                            0,
                            0,
                            0,
                            0,
                            0,
                            0,
                            0
                        ]
                    },
                    {
                        "wLCID": 0,
                        "FieldType": 57,
                        "wFieldType": 57,
                        "Field_MRZ": null,
                        "Field_Visual": "8612005564880202",
                        "Field_Barcode": null,
                        "Matrix": [
                            0,
                            0,
                            0,
                            0,
                            0,
                            0,
                            0,
                            0,
                            0,
                            0
                        ]
                    },
                    {
                        "wLCID": 0,
                        "FieldType": 433,
                        "wFieldType": 433,
                        "Field_MRZ": null,
                        "Field_Visual": "WARGANEGARA",
                        "Field_Barcode": null,
                        "Matrix": [
                            0,
                            0,
                            0,
                            0,
                            0,
                            0,
                            0,
                            0,
                            0,
                            0
                        ]
                    }
                ]
            }
        }
    ],
    "documentType": "Malaysia - Id Card #2"
}
Response Code Block
{
    "status": "error"
}
Response Code Block
{
    status:"Internal Server Error"
}

Please refer to this Page for input example

Input Example

Request Code Block
{
    "journeyId":"7851b4e3-df09-4ab6-8091-xxxxxxxxxx",
    "base64ImageString": "",
    "backImage": "",
    "imageFormat":"",
    "imageEnabled":false,
    "faceImageEnabled":false,
    "docTypeEnabled":true
    "cambodia":false
}

This input example is based on the default use case

Postman Collection

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

Get the Postman Collection

Image Requirement
https://api2-ekycportal.innov8tif.com/emas-ekyc-portal/postman-collection
here
API Method
Example
API Method
flow chart