Landmark Verification

Sequence to call API for Landmark Verification

Source Code Sample

signinfo1.put("name",name); 
signinfo1.put("email", email);
jsonData.put("docType", doctype);
jsonData.put("signerInfo", signinfo1);

data = Hex.encodeHexString(Utils.aesEcbPkcs5PaddingEncrypt(jsonData.toString(),apiSecret));
mac = Utils.calculateMac(data,apiSecret);
Sample code to prepare raw data object for landmark verification

Request Body Creation

{
	"signerInfo":{
		"name":"Lee Kim",
		"email":"leekim@gmail.com",
	},
	"docType":"mykad"
}

Example of Request

https://<domain>/signserver/v1/user/ekycimages/verify?accesstoken=d7a3ad1586084a58&data=5a899f31ce22453fadc37c1a&mac=75706f345fc7129c6eb5cb

Expected Response

{"result":0,"message":"Success"}

For error code, please refer to status code page.

{"result":1}

API reference Landmark Verification

How can we help?