Introducing VIDA Identity Stack: All of VIDA, in one place 🎉
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Malaysian Cards

Currently Supported Malaysian Cards include:

Note: Backside card support can be enabled through configuration, and the KYC flow will follow the idSubType you provide (for example, use idSubType = MyKad to apply the correct setup).

MyKad

Request

Request for Front Side Only
{
  "operations": ["idVerification"],
  "payload": {
    "partnerTrxId": "random-uuid",
    "groupId": "random-uuid",
    "idType": "ID_CARD",
    "country": "MYS",
    "idSubtype": "MyKad",
    "idFrontSideImage": "Base64 encoded image of ID front side"
  },
  "userConsent": {
    "userIP": "0.0.0.0",
    "country": "MYS",
    "obtained": true,
    "obtainedAt": "1680700959"
  }
}
Request for Front Side and Back Side
{
  "operations": ["idVerification"],
  "payload": {
    "partnerTrxId": "random-uuid",
    "groupId": "random-uuid",
    "idType": "ID_CARD",
    "country": "MYS",
    "idSubtype": "MyKad",
    "idFrontSideImage": "Base64 encoded image of ID front side",
    "idBackSideImage": "Base64 encoded image of ID back side" //if enabled
  },
  "userConsent": {
    "userIP": "0.0.0.0",
    "country": "MYS",
    "obtained": true,
    "obtainedAt": "1680700959"
  }
}

Success Response

HTTP Status Code: 200

Success JSON Response for Front Side Only
Success JSON Response for Front Side and Back Side

Forged Card Response

HTTP Status Code: 400

Forged card JSON Response

Landmark Warning Response

HTTP Status Code: 200

Landmark Card JSON Response

Spoof Error Response

Note: This happens when 1 or more than 1 spoof check fails.

HTTP Status Code: 400

Spoof Card JSON Response

MyTentera

Note:

There are two versions of MyTentera cards:

  • An old version (without a ghost image)

  • A new version (with a ghost image)

The ghost image is treated as an optional landmark:

  • If detected, it will be included in the response.

  • If not detected, it will be silently omitted — no warning will be triggered.

Request

Request for Front Side Only
Request for Front and Back Side

Success Response

HTTP Status Code: 200

Success JSON Response for Front Side Only
Success JSON Response for Front Side and Back Side

Landmark Warning Response

HTTP Status Code: 200

Landmark Card JSON Response

Spoof Error Response

Note: This happens when 1 or more than 1 spoof check fails.

HTTP Status Code: 400

Spoof Card JSON Response

MyKas

Request for Front Side Only
Request for Front Side and Back Side

Success Response

HTTP Status Code: 200

Success JSON Response for Front Side Only
Success JSON Response for Front Side and Back Side

Landmark Warning Response

HTTP Status Code: 200

Landmark Card JSON Response

Spoof Error Response

Note: This happens when 1 or more than 1 spoof check fails.

HTTP Status Code: 400

Spoof Card JSON Response

MyPR

Request for Front Side Only
Request for Front Side and Back Side

Success Response

HTTP Status Code: 200

Success JSON Response for Front Side Only
Success JSON Response for Front Side and Back Side

Landmark Warning Response

HTTP Status Code: 200

Landmark Card JSON Response

Spoof Error Response

Note: This happens when 1 or more than 1 spoof check fails.

HTTP Status Code: 400

Spoof Card JSON Response

Last updated