Skip to main content

GET Mykad Result

POST/v3/service

Prerequisite : Acquire requestID from mykad recognition response

Request Parameters

serviceString

EKYC service

Example: "ekyc"

versionString

Currently only support 'v1"

Example: "v1"

functionString

Selected function

Example: "get-mykad-result"

requestObject

Refer to explanation below

Example: (Refer to explanation below)

idString

Request ID from mykad recognition response

Example: "62201d48a694817dede84b35"

Response Parameters

  • Current type in Status will be :-

    • "SUCCESS"
    • "MYKAD_NOT_FOUND"
    • "MYKAD_SINGLE_NOT_FOUND"
    • "MYKAD_FACE_NOT_FOUND"
    • "INCOMPLETE"
    • "OCR_ENGINE_ERROR"
    • "OCR_ENGINE_CONNECTION"
  • Current type in Action will be :-

    • "NONE_REQUIRED"
    • "ATTENTION_REQUIRED"
    • "INCONCLUSIVE"
    • "RESOLVED"
idString

Table ID

Example: "60f79b737b03abf23ad65206"

actionString

Action Required

Example: NONE_REQUIRED

clientIdString

Client ID

Example: ""

merchantIdString

Merchant ID

Example: ""

statusString

Recognition Status

Example: SUCCESS

durationFloat

Recognition Duration

Example: 3.3465

objectsObject

Detected Landmark

Example: (Refer to explanation below)

resultsArray

Mykad Recognition Results

Example: (Refer to explanation below)

updatedAtDateTime

Last update date time

Example: "2022-03-03T01:43:36.963Z"

createdAtDateTime

Create date time

Example: "2022-03-03T01:43:36.963Z"

Inside Objects (parameter)

dataArray

Refer to the Objects Data

Example: []

durationFloat

Landmark Detection Duration

Example: 0.0165

Inside Objects Data (parameter)

boxesArray

Refer to the boxes

Example: []

confidenceFloat

Confidence of detected landmark

Example: 0.9609

predictionString

Prediction of detected landmark

Example: "hibiscus_logo"

Inside Boxes (parameter)

xInt

x-coordinate of object in the image

Example: 196

yInt

y-coordinate of object in the image

Example: 200

Inside Results (parameter)

durationFloat

Mykad Recognition Duration

Example: 3.2886

colourObject

Refer to the Results Colour

Example: (Refer to explanation below)

dataObject

Refer to the Results Data

Example: (Refer to explanation below)

facesArray

Refer to the Results Faces

Example: (Refer to explanation below)

glareObject

Refer to the Results Glare

Example: (Refer to explanation below)

metaObject

Refer to the Results Meta

Example: (Refer to explanation below)

objectObject

Refer to the Results Object

Example: (Refer to explanation below)

ocrRequestIdsObject

Refer to the Results OcrRequestIds

Example: (Refer to explanation below)

scoresObject

Refer to the Results Scores

Example: (Refer to explanation below)

tamperCheckObject

Refer to the Results TamperCheck

Example: (Refer to explanation below)

Inside Results Colour (parameter)

detectedString

Colour detected

Example: "BLUE"

percentageFloat

Percentage of colour in the image

Example: 0.6008

Inside Results Data (parameter)

addressObject

Refer to the Address

Example: (Refer to explanation below)

genderString

Gender information of mykad

Example: "MALE"

icString

Mykad ID

Example: "550106-12-5821"

isMuslimBoolean

Is muslim

Example: false

nameString

Name in the mykad

Example: "ROWAN SEBASTIAN ATKINSON"

Inside Address (parameter)

addressLine1String

First line of address

Example: "GDW KAMPUNG BAYANGAN"

addressLine2String

Second line of address

Example: "80000 KENINGAU"

addressLine3String

Third line of address

Example: "SABAH"

cityString

City name

Example: "KENINGAU"

postcodeString

Postcode

Example: "80000"

stateString

State name

Example: "SABAH"

Inside Results Faces (parameter)

boxesArray

Refer to the boxes

Example: []

confidenceFloat

Confidence of detected face

Example: 1

Inside Results Glare (parameter)

detailsArray

Detailed information of glare

Example: []

presentBoolean

Present of glare

Example: false

Inside Results Meta (parameter)

resizeScaleFloat

Resize scale of mykad in the image

Example: 0

Inside Results Object (parameter)

confidenceFloat

Confidence of detected mykad

Example: 0.9609

predictionString

Type of mykad

Example: "ic_1_front"

Inside Results ocrRequestIds (parameter)

region1String

ID of region 1

Example: "62201d4b4fddc13446bd6d0e"

region2String

ID of region 2

Example: "62201d4b4fddc13446bd6d0f"

region3String

ID of region 3

Example: "62201d4b4fddc13446bd6d10"

Inside Results Scores (parameter)

landmarksFloat

Landmark score

Example: 0.5441

ocrFloat

OCR score

Example: 0.9033

searcherFloat

Mykad searcher score

Example: 0.9

totalFloat

Total score

Example: 0.8295

Inside TamperCheck (parameter)

faceVerificationObject

Refer to the TamperCheck Face Verification Result

Example: (Refer to explanation below)

frontalFaceObject

Refer to the TamperCheck Result

Example: (Refer to explanation below)

physicalObject

Refer to the TamperCheck Physical

Example: (Refer to explanation below)

predictionString

Prediction of tamper check

Example: "ORIGINAL"

region1Object

Refer to the TamperCheck Result

Example: (Refer to explanation below)

region2Object

Refer to the TamperCheck Result

Example: (Refer to explanation below)

region3Object

Refer to the TamperCheck Result

Example: (Refer to explanation below)

Inside TamperCheck Face Verification Response (parameter)

messageString

Message from tamper check response

Example: ""

resultObject

Refer to the Tamper Check Face Verification Result

Example: (Refer to explanation below)

successBoolean

Success status of tamper check

Example: false

Inside TamperCheck Face Verification Result (parameter)

isSamePersonBoolean

Check result which is same person

Example: false

similarityFloat

Similarity of two faces

Example: 0

Inside TamperCheck Response (parameter)

messageString

Message from tamper check response

Example: ""

resultObject

Refer to the Tamper Check Result

Example: (Refer to explanation below)

successBoolean

Success status of tamper check

Example: false

Inside TamperCheck Result (parameter)

alternatedBoolean

Alternated trace of tamper check

Example: false

confidenceFloat

Confidence score of tamperCheck result

Example: 0.9999

predictionString

Prediction of tamper check

Example: "ORIGINAL"

Inside TamperCheck Physical (parameter)

confidenceFloat

Confidence score of tamperCheck physical

Example: 0

predictionString

Prediction of tamper check

Example: "ORIGINAL"

successBoolean

Success status of tamper check physical

Example: false