Skip to main content

GET EKYC Result

note

Prerequisite : Acquire requestID from mykad recognition response

  • RM eKYC Sequence Diagram

Method : POST

URL: https://open.revenuemonster.my/v3/service

Sandbox URL: https://sb-open.revenuemonster.my/v3/service

Request Parameters

ParameterTypeDescriptionExample
serviceStringEKYC service"ekyc"
versionStringCurrently only support 'v1""v1"
functionStringSelected function"get-ekyc-result"
requestObjectRefer to explanation below(Refer to explanation below)
ParameterTypeDescriptionExample
idStringRequest ID from mykad recognition response"62201d48a694817dede84b35"

Example Request

curl --location --request POST 'https://sb-open.revenuemonster.my/v3/service' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6IjIwMTgtMDMtMTMiLCJ0eXAiOiJKV1QifQ.eyJhdWQiOlsiYXBpX2NsaWVudEBFaGNLQzA5QmRYUm9RMnhwWlc1MEVKTE42dFdBMG82MEx3Il0sImV4cCI6MTYwMzI1NDU2OSwiaWF0IjoxNjAwNjYyNTY5LCJpc3MiOiJodHRwczovL3NiLW9hdXRoLnJldmVudWVtb25zdGVyLm15IiwianRpIjoiRWh3S0VFOUJkWFJvUVdOalpYTnpWRzlyWlc0UTZNenR5b1RFckpzVyIsIm5iZiI6MTYwMDY2MjU2OSwic3ViIjoiRWhRS0NFMWxjbU5vWVc1MEVKWFZ6ZDN3cmFxVE9SSVFDZ1JWYzJWeUVJeUpxSXp2eU1QVmNRIn0.H3G6UDX7sR9EXtTMNs4Q2OHdhUGIhhCfdlAeOpywH4rDuVOcWXXwzF4Imbx8E7I10vFAJpwYZrEkCWCdCCw-WV11y9VT5kP6k75CeS-ZPMOLcKnC5iFT7vEi07r6ovwty9erlcZeXrtrmEIn3rnLva-dxSg3vZ2MyymoNDk-kV7ltXnkoWW4jtXRls6siLhxeY__8kXn2qa0ojVX4Nm6HmzN_vgi-RKSmToMgsdzTF94Y61QVBWhZfolD2-JpHx4qNlklcUdv8HOJ1QHHWpyoJytaJmvr3GJ5G399LbcTLwxB1p2qPg7z4hpoGNu4AP-ybRJVC3P9q9OscQYDNX-dA' \
--header 'X-Signature: sha256 Sty3LNcKA8+WlMHtAgIY+y1xbwnzKsN0UdyKaW+yYIgcTkBAtF7G5Lx251qQITURJ4wiXPDODxhs1nFVmBBing==' \
--header 'X-Nonce-Str: VYNknZohxwicZMaWbNdBKUrnrxDtaRhN' \
--header 'X-Timestamp: 1528450585' \
--data-raw '{
"service": "ekyc",
"version": "v1",
"function": "get-ekyc-result",
"request": {
"id": "62201d48a694817dede84b35"
}
}'

Response Parameters

note
  • 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"
ParameterTypeDescriptionExample
idStringEKYC ID"62201d48a694817dede84b35"
verdictStringAction RequiredNONE_REQUIRED
statusStringEKYC result statusSUCCESS
faceActionStringAction Required for Face CompareNONE_REQUIRED
faceCompareRequestIdStringFace Compare Request ID62201d51239b18052126e288
faceResultObjectRefer to the Face Result(Refer to explanation below)
mykadActionStringAction Required for Mykad RecognitionNONE_REQUIRED
mykadRequestIdStringDetected Landmark62201d48a694817dede84b35
reasonsArrayMeesage from EKYC engine[]
resultsArrayRefer to the EKYC Result(Refer to explanation below)
updatedAtDateTimeLast update date time"2022-03-03T01:43:46.155Z"
createdAtDateTimeCreate date time"2022-03-03T01:43:36.963Z"

Inside Face Result (parameter)

ParameterTypeDescriptionExample
isSamePersonBooleanCheck result which is same personfalse
similarityFloatSimilarity of face image and mykad0

Inside Results (parameter)

ParameterTypeDescriptionExample
durationFloatMykad Recognition Duration3.2886
dataObjectRefer to the Results Data(Refer to explanation below)
facesArrayRefer to the Results Faces(Refer to explanation below)
objectObjectRefer to the Results Object(Refer to explanation below)
scoresObjectRefer to the Results Scores(Refer to explanation below)

Inside Results Data (parameter)

ParameterTypeDescriptionExample
addressObjectRefer to the Address(Refer to explanation below)
genderStringGender information of mykad"MALE"
icStringMykad ID"550106-12-5821"
isMuslimBooleanIs muslimfalse
nameStringName in the mykad"ROWAN SEBASTIAN ATKINSON"

Inside Address (parameter)

ParameterTypeDescriptionExample
addressLine1StringFirst line of address"GDW KAMPUNG BAYANGAN"
addressLine2StringSecond line of address"80000 KENINGAU"
addressLine3StringThird line of address"SABAH"
cityStringCity name"KENINGAU"
postcodeStringPostcode"80000"
stateStringState name"SABAH"

Inside Results Faces (parameter)

ParameterTypeDescriptionExample
boxesArrayRefer to the boxes[]
confidenceFloatConfidence of detected face1

Inside Results Object (parameter)

ParameterTypeDescriptionExample
confidenceFloatConfidence of detected mykad0.9609
predictionStringType of mykad"ic_1_front"

Inside Results Scores (parameter)

ParameterTypeDescriptionExample
landmarksFloatLandmark score0.5441
ocrFloatOCR score0.9033
searcherFloatMykad searcher score0.9
totalFloatTotal score0.8295

Example Response

{
"item": {
"createdAt": "2022-03-03T01:43:46.155000",
"faceAction": "NONE_REQUIRED",
"faceCompareRequestId": "62201d51239b18052126e288",
"faceResult": {
"isSamePerson": false,
"similarity": 32
},
"id": "62201d52239b18052126e289",
"mykadAction": "NONE_REQUIRED",
"mykadRequestId": "62201d48a694817dede84b35",
"reasons": [
"Face and liveness verification was unsuccessful"
],
"results": [
{
"data": {
"address": {
"addressLine1": "GDW KAMPUNG BAYANGAN",
"addressLine2": "80000 KENINGAU",
"addressLine3": "SABAH",
"city": "KENINGAU",
"postcode": "80000",
"state": "SABAH"
},
"gender": "Not found",
"ic": "550106-12-5821",
"isMuslim": false,
"name": "ROWAN SEBASTIAN ATKINSON"
},
"duration": 1.8658,
"faces": [
{
"boxes": [
{
"x": 428,
"y": 137
},
{
"x": 372,
"y": 272
}
],
"confidence": 1
}
],
"object": {
"confidence": 0.709,
"prediction": "ic_1_front"
},
"scores": {
"landmarks": 0.5443,
"ocr": 0.9562,
"searcher": 0.9,
"total": 0.8401
}
}
],
"status": "SUCCESS",
"updatedAt": "2022-03-03T01:43:46.155000",
"verdict": "ATTENTION_REQUIRED"
}
}