Version 2

Added blurriness detection, brightness detection, and color detection

POST https://okaydocdemo.innov8tif.com/ekyc/api/passport/v2/verify

Request Body

NameTypeDescription

caseNo

string

Reference code given by user

apiKey

string

To be assigned by Innov8tif

country

string

IND - India; SGP - Singapore; IDN - Indonesia; BGD - Bangladesh; MMR - Myanmar NPL - Nepal; PAK - Pakistan; PHL - Philippines; VNM - Vietnam OTHER - other countries This will return color and screen detection result only.

halfSizeImage

string

Half-sized passport image in base64

fullSizeImage

string

Full-sized passport image in base64

{
    "status": "success",
    "messageCode": "api.success",
    "message": null,
    "id": "98a1fb7e-b9b9-4398-a00e-aeee340569cb",
    "methodList": [
        {
            "method": "landmark",
            "label": "Landmark Analysis Result",
            "componentList": [
                {
                    "code": "passport",
                    "label": "Passport Landmark",
                    "value": "82.73033499717712",
                    "imageUrl": "/public/passport/image/98a1fb7e-b9b9-4398-a00e-aeee340569cb?type=passport",
                    "refImageUrl": null
                },
                {
                    "code": "type",
                    "label": "Type Landmark",
                    "value": "69.60739493370056",
                    "imageUrl": "/public/passport/image/98a1fb7e-b9b9-4398-a00e-aeee340569cb?type=type",
                    "refImageUrl": null
                },
                {
                    "code": "countryCode",
                    "label": "Country Code Landmark",
                    "value": "64.17597532272339",
                    "imageUrl": "/public/passport/image/98a1fb7e-b9b9-4398-a00e-aeee340569cb?type=countryCode",
                    "refImageUrl": null
                },
                {
                    "code": "passportNo",
                    "label": "Passport Number Landmark",
                    "value": "54.463547468185425",
                    "imageUrl": "/public/passport/image/98a1fb7e-b9b9-4398-a00e-aeee340569cb?type=passportNo",
                    "refImageUrl": null
                },
                {
                    "code": "surname",
                    "label": "Surname Landmark",
                    "value": "71.06456756591797",
                    "imageUrl": "/public/passport/image/98a1fb7e-b9b9-4398-a00e-aeee340569cb?type=surname",
                    "refImageUrl": null
                },
                {
                    "code": "givenName",
                    "label": "Given Name Landmark",
                    "value": "72.5123405456543",
                    "imageUrl": "/public/passport/image/98a1fb7e-b9b9-4398-a00e-aeee340569cb?type=givenName",
                    "refImageUrl": null
                },
                {
                    "code": "nationality",
                    "label": "Nationality Landmark",
                    "value": "72.50398993492126",
                    "imageUrl": "/public/passport/image/98a1fb7e-b9b9-4398-a00e-aeee340569cb?type=nationality",
                    "refImageUrl": null
                },
                {
                    "code": "dob",
                    "label": "Date Of Birth Landmark",
                    "value": "71.727055311203",
                    "imageUrl": "/public/passport/image/98a1fb7e-b9b9-4398-a00e-aeee340569cb?type=dob",
                    "refImageUrl": null
                },
                {
                    "code": "citizenship",
                    "label": "Citizenship Number Landmark",
                    "value": "58.645421266555786",
                    "imageUrl": "/public/passport/image/98a1fb7e-b9b9-4398-a00e-aeee340569cb?type=citizenship",
                    "refImageUrl": null
                },
                {
                    "code": "sex",
                    "label": "Sex Landmark",
                    "value": "72.27083444595337",
                    "imageUrl": "/public/passport/image/98a1fb7e-b9b9-4398-a00e-aeee340569cb?type=sex",
                    "refImageUrl": null
                },
                {
                    "code": "placeOfBirth",
                    "label": "Place Of Birth Landmark",
                    "value": "64.38571810722351",
                    "imageUrl": "/public/passport/image/98a1fb7e-b9b9-4398-a00e-aeee340569cb?type=placeOfBirth",
                    "refImageUrl": null
                },
                {
                    "code": "issueDate",
                    "label": "Date Of Issue Landmark",
                    "value": "70.86160778999329",
                    "imageUrl": "/public/passport/image/98a1fb7e-b9b9-4398-a00e-aeee340569cb?type=issueDate",
                    "refImageUrl": null
                },
                {
                    "code": "issueAuthority",
                    "label": "Issuing Authority",
                    "value": "53.99036407470703",
                    "imageUrl": "/public/passport/image/98a1fb7e-b9b9-4398-a00e-aeee340569cb?type=issueAuthority",
                    "refImageUrl": null
                },
                {
                    "code": "expiryDate",
                    "label": "Date Of Expiry Landmark",
                    "value": "69.29136514663696",
                    "imageUrl": "/public/passport/image/98a1fb7e-b9b9-4398-a00e-aeee340569cb?type=expiryDate",
                    "refImageUrl": null
                },
                {
                    "code": "holderSignature",
                    "label": "Holder Signature Landmark",
                    "value": "54.51650619506836",
                    "imageUrl": "/public/passport/image/98a1fb7e-b9b9-4398-a00e-aeee340569cb?type=holderSignature",
                    "refImageUrl": null
                }
            ]
        },
        {
            "method": "ocr",
            "label": "Ocr Analysis Result",
            "componentList": [
                {
                    "code": "roi-passportNoDot",
                    "label": "Passport No (Dot)",
                    "value": "NA",
                    "imageUrl": "/public/passport/image/98a1fb7e-b9b9-4398-a00e-aeee340569cb?type=roi-passportNoDot",
                    "refImageUrl": null
                },
                {
                    "code": "roi-passportName",
                    "label": "Name",
                    "value": "NA",
                    "imageUrl": "/public/passport/image/98a1fb7e-b9b9-4398-a00e-aeee340569cb?type=roi-passportName",
                    "refImageUrl": null
                },
                {
                    "code": "roi-passportDob",
                    "label": "DOB",
                    "value": "NA",
                    "imageUrl": "/public/passport/image/98a1fb7e-b9b9-4398-a00e-aeee340569cb?type=roi-passportDob",
                    "refImageUrl": null
                },
                {
                    "code": "roi-expiryDate",
                    "label": "Expiry Date",
                    "value": "NA",
                    "imageUrl": "/public/passport/image/98a1fb7e-b9b9-4398-a00e-aeee340569cb?type=roi-expiryDate",
                    "refImageUrl": null
                },
                {
                    "code": "roi-passportNoHalf",
                    "label": "Passport No (Half)",
                    "value": "NA",
                    "imageUrl": "/public/passport/image/98a1fb7e-b9b9-4398-a00e-aeee340569cb?type=roi-passportNoHalf",
                    "refImageUrl": null
                }
            ]
        },
        {
            "method": "blurrinessDetection",
            "label": "Blurriness Detection",
            "componentList": [
                {
                    "code": "blurrinessDetection",
                    "label": "Blurriness Detection",
                    "value": "Pass",
                    "imageUrl": null,
                    "refImageUrl": null
                }
            ]
        },
        {
            "method": "brightnessDetection",
            "label": "Brightness Detection",
            "componentList": [
                {
                    "code": "brightnessDetection",
                    "label": "Brightness Detection",
                    "value": "Pass",
                    "imageUrl": null,
                    "refImageUrl": null
                }
            ]
        },
        {
            "method": "colorDetection",
            "label": "Color Detection",
            "componentList": [
                {
                    "code": "colorDetection",
                    "label": "Color Detection",
                    "value": "Pass",
                    "imageUrl": null,
                    "refImageUrl": null
                }
            ]
        }
    ],
    "outputImageList": null
}

Input Example

{
    "apiKey": "apikey",
    "caseNo": "CASE 1",
    "country": "",
    "halfSizeImage": "",    
    "fullSizeImage": ""
}

Last updated