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

Was this helpful?

  1. EMAS eKYC Portal
  2. Centralized OkayDoc

Passport

PreviousCentralized OkayDocNextNon-passport

Last updated 2 years ago

Was this helpful?

Overview - Passport

The user will need to submit the input (input 4 in the flow chart) to be able to test the API. It will process the input submitted by the user. The purpose of this API is to record the details of each passport for the user.

A list of check types is listed down below:

  • Landmark Checking (Deprecated)

  • Blurriness Detection

  • Brightness Detection

  • Color Detection

  • Screen Detection

The Centralized OkayDoc API also contains Machine-Readable Zone (MRZ) Visual Consistency Check and MRZ Validity for the Passport in OkayDoc. The MRZ code is standard and strictly regulated to comply with the International Civil Aviation Organization. Therefore, the MRZ checks on Centralized OkayDoc will provide assurance on Passport checking.

The passport MRZ consistency check, validity check, and other related details that contain passport information can be found .

Steps:

  1. The user will need to re-use the JourneyId and call the Centralized OkayDoc API.

  2. Centralized OkayDoc is often being called in the background after Centralized OkayID is called (in flowchart use case) OR called at the same time when is calling the Centralized OkayFace to reduce the user's step to perform a full EMAS eKYC process flow.

  3. However, this is separated to help with viewing the API component in more detail.

  4. Users can expand the API Method to read the descriptions for further understanding and follow the given to correctly call the API. An example is a "Singapore" passport example.

  5. The average processing time takes about 5s to 20s (depending on the number of checks/detections activated)

API Method

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

Request Body

Name
Type
Description

version*

string

fullSizeImage

string

Full-sized passport image in base64

Note: This field is deprecated

halfSizeImage*

string

Half-sized passport image in base64

country*

string

IND - India SGP - Singapore IDN - Indonesia BGD - Bangladesh MMR - Myanmar NPL - Nepal PAK - Pakistan PHL - Philippines VNM - Vietnam

Note: Please use "OTHER" as "country" parameter. The countries listed above are deprecated. Other country - OTHER This will return color and screen detection result only.

type*

string

passport

journeyId*

string

Retrieve from 'Create JourneyID' API

Response Code Block
{
    "status": "success",
    "messageCode": "api.success",
    "id": "11fac847-3d12-4287-b4f8-cb2f8dcfd220",
    "methodList": [
        {
            "method": "idBlurDetection",
            "label": "Blurriness Detection",
            "componentList": [
                {
                    "code": "idBlurDetection",
                    "label": "Blurriness Detection",
                    "value": "Pass",
                    "imageUrl": null,
                    "refImageUrl": null
                }
            ]
        },
        {
            "method": "idBrightnessDetc",
            "label": "Brightness Detection",
            "componentList": [
                {
                    "code": "idBrightnessDetc",
                    "label": "Brightness Detection",
                    "value": "Pass",
                    "imageUrl": null,
                    "refImageUrl": null
                }
            ]
        },
        {
            "method": "colorMode",
            "label": "Color Detection",
            "componentList": [
                {
                    "code": "colorMode",
                    "label": "Color Detection",
                    "value": "Pass",
                    "imageUrl": null,
                    "refImageUrl": null
                }
            ]
        },
        {
            "method": "screen",
            "label": "Screen Detection",
            "componentList": [
                {
                    "code": "screen",
                    "label": "Screen Detection",
                    "value": "Pass",
                    "imageUrl": null,
                    "refImageUrl": null
                }
            ]
        }
    ]
}
{
    status:"error"
}
{
    status:"Internal Server Error"
}

Input Example

Request Code Block
{
    "journeyId":"7851b4e3-df09-4ab6-8091-xxxxxx",
    "type":"passport",
    "version": "3",
    "country": "OTHER",
    "halfSizeImage":""
}

Postman Collection

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

Default version is 3. Details can be checked at

Please make sure the "version": "X" is the latest version. You may refer to .

Get the Postman Collection

Image Requirement
here
https://api2-ekycportal.innov8tif.com/emas-ekyc-portal/postman-collection
here
API Method
Example
https://api2-ekycapis.innov8tif.com/okaydoc/okaydoc-all/supported-documents/passport/versions