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: Currently, forgery models are only available for MyKad cards. As a result, only MyKad cards will have the forgery checks performed on them, while other card types—such as MyTentera, MyKas, and MyPR—will not have forgery checks performed on them.

MyKad

Request

Request
{
  "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"
  }
}

Success Response

HTTP Status Code: 200

Success JSON Response
{
  "transactionId": "unique transaction id generated to identify this transaction",
  "partnerTrxId": "partner transaction id submitted by customer in request",
  "groupId": "partner group id submitted by customer in request",
  "imageQualityResult": {
    "statusCode": 5000
  },
  "card":{
       "country": "MALAYSIA",
       "type": "MyKad",
       "isoAlpha3CountryCode": "MYS",
       "isoAlpha2CountryCode": "MY"
  },
  "idVerificationResult": {
    "statusCode": 5000
  }
}

Forged Card Response

HTTP Status Code: 400

Forged Card JSON Response

IDV Failure On Spoof or Landmark Response

HTTP Status Code: 400

IDV Failure On Spoof Or Landmark JSON Response

MyTentera

Note: There are two versions of MyTentera cards: an old version and a new version. The old version does not have a ghost image.

The ghost image is considered an optional landmark—if detected, it will be included in the response; otherwise, it will be omitted without triggering any warnings.

Request

Request

Success Response

HTTP Status Code: 200

Success JSON Response

IDV Failure On Spoof or Landmark Response

HTTP Status Code: 400

IDV Failure On Spoof or Landmark JSON Response

MyKas

Request

Request

Success Response

HTTP Status Code: 200

Success JSON Response

IDV Failure On Spoof or Landmark Response

HTTP Status Code: 400

IDV Failure On Spoof or Landmark JSON Response

MyPR

Request

Request

Success Response

HTTP Status Code: 200

Success JSON Response

IDV Failure On Spoof or Landmark Response

HTTP Status Code: 400

IDV Failure On Spoof or Landmark JSON Response

Last updated