💡
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
  • Input Example for MyKas
  • Input Example for MyKad (OkayDoc Version 7)
  • Input Example for MyKad (OkayDoc Version 7-1)
  • Input Example for Cambodia ID
  • Lists of ID Documents that supported flash-image as a secondary image
  • Full example of image with flash (Cambodia ID Front)

Was this helpful?

  1. EMAS eKYC Portal
  2. Centralized OkayDoc
  3. Non-passport

Sample Input

PreviousNon-passportNextDocument Type and Version

Last updated 1 year ago

Was this helpful?

Please make sure to follow the version respectively . On the last table's column, there is a "Endpoint Version" link to follow the "version": "X" for each doctype. Please use the latest version for each doctype.

Input Example for MyKas

Request Code Block
{
    "journeyId":"7851b4e3-df09-4ab6-8091-xxxxxxxx",
    "type":"nonpassport",
    "idImageBase64Image": "",
    "version": "2",
    "docType":"mykas"
}

If the ID card is Malaysia's MyKad, additional parameters can be added as below.

Input Example for MyKad (OkayDoc Version 7)

Request Code Block
```postman_json
{
    "journeyId":"",
    "type":"nonpassport",
    "idImageBase64Image": "",
    "version": "7",
    "docType":"mykad",
    "landmarkCheck":true,
    "fontCheck":true,
    "microprintCheck":true,
    "photoSubstitutionCheck":true,
    "icTypeCheck":true,
    "colorMode":true,
    "hologram":true,
    "screenDetection":true,
    "ghostPhotoColorDetection":true,
    "idBlurDetection":true,
    "idBrightnessDetection":true,
    "otherDocList": [
 
        {
            "base64Image": "",
            "type": "with_flash"
        }
    ]
}
```

Input Example for MyKad (OkayDoc Version 7-1)

```postman_json
{
    "journeyId":"87988a23-a465-4042-a2f1-4d6294d13a92",
    "type":"nonpassport",
    "idImageBase64Image": "",
    "version": "7-1",
    "docType":"mykad",
    "landmarkCheck": true,
    "fontCheck": true,
    "microprintCheck": false,
    "photoSubstitutionCheck": true,
    "icTypeCheck": true,
    "colorMode": true,
    "hologram": false,
    "screenDetection": true,
    "ghostPhotoColorDetection": true,
    "islamFieldTamperingDetection":"true",
    "qualityCheckDetection":"false"    
}
```

Input Example for Cambodia ID

{
    "journeyId":"",
    "type":"nonpassport",
    "idImageBase64Image": "/9j/4QaMRXhpZgAATU0AKgAAAAgA..........",
    "version": "2",
    "docType":"khIdFront",
    "landmarkCheck": true,
    "idBlurDetection": true,
    "idBrightnessDetection": true,
    "colorMode": true,
    "screenDetection": true,
    "hologram": true,
    "photoSubstitutionCheck": true,
    "fontCheck": true,
    "idTamper": true
}

If the document is Cambodia's ID card, additional parameters can be added.

Lists of ID Documents that supported flash-image as a secondary image

  • MyKad Front

  • Cambodia ID Front

  • Indonesia eKTP Front

  • Hong Kong ID Front

  • China ID Front

  • Philippines Driving License

  • Singapore ID Front

  • Malaysia Driving License

  • Philippines SSS

  • Philippines UMID

Add second "with flash" image
    "otherDocList": [
        {
            "base64Image": "",
            "type": "with_flash"
        }
    ],

User will need add the chunk of code block above into the request parameter to submit second image to improve the passing rate of the Hologram Detection (requires light to increase the visibility)

Full example of image with flash (Cambodia ID Front)

{
    "journeyId":"",
    "type":"nonpassport",
    "idImageBase64Image": "/9j/4QaMRXhpZgAATU0AKgAAAAgA..........",
    "version": "2",
    "docType":"khIdFront",
    "landmarkCheck": true,
    "idBlurDetection": true,
    "idBrightnessDetection": true,
    "colorMode": true,
    "screenDetection": true,
    "hologram": true,
    "photoSubstitutionCheck": true,
    "fontCheck":true,
    "idTamper": true,
    "otherDocList": [
        {
            "base64Image": "",
            "type": "with_flash"
        }
    ],
}
here