Passport

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 here.

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 API Method 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 Example 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)

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

API Method

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

Request Body

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
                }
            ]
        }
    ]
}

Input Example

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

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

Postman Collection

Last updated