Documentation

Get Result API

After the Verification process is done, you can request the result by calling the Get Result API.

Request Example:

curl -X POST \
  https://sg-api.advance.ai/intl/openapi/identity-risk/idvs-h5/ekyc/v1/get-result \
  -H 'Content-Type: application/json' \
  -H 'X-ACCESS-TOKEN:{Your Access Token}' \
  -d '{"signatureId": "f302f5d2454a85c2"}'

Request Url

https://sg-api.advance.ai/intl/openapi/identity-risk/idvs-h5/ekyc/v1/get-result
POST (application/json)
https://ph-api.advance.ai/intl/openapi/identity-risk/idvs-h5/ekyc/v1/get-result
POST (application/json)
https://th-api.advance.ai/intl/openapi/identity-risk/idvs-h5/ekyc/v1/get-result
POST (application/json)
https://my-api.advance.ai/intl/openapi/identity-risk/idvs-h5/ekyc/v1/get-result
POST (application/json)
https://vn-api.advance.ai/intl/openapi/identity-risk/idvs-h5/ekyc/v1/get-result
POST (application/json)

Request Header Parameters

ParameterDescription
X-ACCESS-TOKENstring Please use Token Authentication API to get your access token

Request Parameters

ParameterDescription
signatureIdstring SignatureId which can use it to get the Identity Verification result

Response Description

ParameterDescription
codeResponse's Status Code
transactionIdThe request id, the max length is 64
pricingStrategyDeprecated, Always return FREE
messageStatus Code Explanation
dataobject : the business result of Identity Verification
extraExtra response info (Exception Message)

Response.code

Status CodeMessage
SUCCESSOK
SIGNATURE_NOT_EXISTThis signatureId is not exist.
ERRORServer error.

Response.data

Field

Description

signatureId

string, the signatureId of this identity verification transaction.

overallResult

string, The result code of this identity verification transaction.

errorCodes

array, The array of the errorCode.

addressDetail

object,The address detail. Refer to addressDetail.

countryCodeIso3

string, the region in the

Start Verification API's input.

inputParameters

object, The request parameters that from

Start Verification API

overallResult

overallResult is the result code of the identity verification

ValueDescription
PASSthe proof file passed the verification.
FAILthe proof file failed the verification.
INCOMPLETEthe verification is unable to get a valid result.
nullthe verification is still in processing.

addressDetail

FieldDescription
countryCodestring, the countryCode is ISO 3.
citystring, The city of the address.
addressarray, The full address.
stateobject,The state of the address.
postalCodestring, the postal code of the address.
address1string, the first part of address.
address2string, the second part of address.
address3string, the third part of address.
validAddressbool, true means the address is been validated.

errorCode

ValueDescription
FRAUD_RISKFraud-related risks such as modified, non-original, or non-real-time captured document images are detected, and the originality of the document cannot be verified.
INPUT_PARAMETERS_DO_NOT_MATCHThe name, address, issuance date and other information of the uploaded document are inconsistent with the provided/recorded parameters, or the document does not match the selected option.
PROOF_DOCUMENT_MATCHING_FAILEDThe main proof and supplementary proof, address proof and identity document, front and back of the certificate and other document information belong to different people or the content does not match.
DATA_VERIFICATION_FAILEDUnable to verify information such as age, address, bank transfer number, tax identification number, or the address is invalid, or the document issuing country is not supported.
DOCUMENT_INCOMPLETEThe uploaded file is in non-compliant forms such as screenshots, copies, paper/laminated/damaged/handwritten, or lacks address information, or data is affected due to damage.
POOR_IMAGE_QUALITYThe uploaded document image is blurred, not fully displayed, key information is unreadable, or the document is inverted/mirrored resulting in unrecognizable content.
DOCUMENT_EXPIREDThe submitted address document or other documents have expired and do not meet the verification requirements.
DOCUMENT_UNSUPPORTED_OR_INVALIDThe document type is inconsistent, non-compliant documents are used as address proof, the document source is non-compliant, test cards/damaged images are uploaded, or no valid document is identified.
USER_SUBMISSION_FAILEDThe submission operation failed due to unavailable camera, user refusal to share permissions, or incomplete verification data/proof submitted by the user.
PROCESS_INCOMPLETEThe verification process was not completed because the user took the initiative to cancel the operation, and the overall verification cannot be finished.
ADDRESS_NOT_FOUNDAddress not found.
OTHERSOthers.

Response Examples

SUCCESS

{
  "code": "SUCCESS",
  "message": "OK",
  "data": {
    "signatureId": "f302f5d2454a85c2",
    "overallResult": "PASS",
    "errorCodes": [],
    "addressDetail": {
      "countryCode":"PHL",
      "city": "xxx",
      "address": "xx",
      "state": "xx",
      "postalCode": "xx",
      "address1": "xx",
      "address2": "",
      "address3":"",
      "validAddress":treu
    },
    "countryCodeIso3": "PHL",
    "inputParameters": {
      "callbackUrl": "https://www.example.com/callback",
      "bizId": "7ac66c0f148de9519b8bd264312c4d64",
      "userId": "8e44f0089b076e18a718eb9ca3d94674",
      "region": "PHL",
      "firstName": "Thomas",
      "middleName": "Alva",
      "lastName": "Edison",
      "fullName": "Thomas Alva Edison",
      "bizCode": "WhiteCard"
    }
  },
  "extra": null,
  "transactionId": "d3fde1547eeaf226",
  "pricingStrategy": "FREE"
}
{
  "code": "SUCCESS",
  "message": "OK",
  "data": {
    "signatureId": "f302f5d2454a85c2",
    "overallResult": "FAIL",
    "errorCodes": ["FRAUD_RISK"],
    "countryCodeIso3": "PHL",
    "inputParameters": {
      "callbackUrl": "https://www.example.com/callback",
      "bizId": "7ac66c0f148de9519b8bd264312c4d64",
      "userId": "8e44f0089b076e18a718eb9ca3d94674",
      "region": "PHL",
      "firstName": "Thomas",
      "middleName": "Alva",
      "lastName": "Edison",
      "fullName": "Thomas Alva Edison",
      "bizCode": "WhiteCard"
    }
  },
  "extra": null,
  "transactionId": "d3fde1547eeaf226",
  "pricingStrategy": "FREE"
}
{
  "code": "SUCCESS",
  "message": "OK",
  "data": {
    "idvResult": null, // still in processing
    "errorCodes": null,
    "countryCodeIso3": "PHL",
    "inputParameters": {
    "callbackUrl": "https://www.example.com/callback",
    "bizId": "7ac66c0f148de9519b8bd264312c4d64", 
    "userId":"8e44f0089b076e18a718eb9ca3d94674",
    "region":"PHL",
 		"firstName": "Thomas",
    "middleName": "Alva",
    "lastName": "Edison",
    "fullName": "Thomas Alva Edison",
    "bizCode":"WhiteCard"
    }
  },
  "extra": null,
  "transactionId": "d3fde1547eeaf226",
  "pricingStrategy": "FREE"
}

SIGNATURE_NOT_EXIST

{
    "code":"SIGNATURE_NOT_EXIST",
    "message":"This signatureId is not exist",
    "data":null,
    "extra":null,
    "transactionId":"b6d722f7e9f553ae",
    "pricingStrategy":"FREE"
}

ERROR

{
    "code":"ERROR",
    "message":"Server error",
    "data":null,
    "extra":null,
    "transactionId":"1deae5a13ef2bd5e",
    "pricingStrategy":"FREE"
}