Call this API to get face search result assisted with a transaction.
Request Example:
Bash
curl -X POST \
https://ph-api.advance.ai/intl/openapi/identity-risk/idvs-h5/ekyc/v1/face-search \
-H 'Content-Type: application/json' \
-H 'X-ACCESS-TOKEN:{Your Access Token}' \
-d '{
"signatureId": "730baa5ab2e34e53"
}'
Indonesia Singapore Philippines Thailand Malaysia Vietnam
https://api.advance.ai/intl/openapi/identity-risk/idvs-h5/ekyc/v1/face-search
POST (application/json)https://sg-api.advance.ai/intl/openapi/identity-risk/idvs-h5/ekyc/v1/face-search
POST (application/json)https://ph-api.advance.ai/intl/openapi/identity-risk/idvs-h5/ekyc/v1/face-search
POST (application/json)https://th-api.advance.ai/intl/openapi/identity-risk/idvs-h5/ekyc/v1/face-search
POST (application/json)https://my-api.advance.ai/intl/openapi/identity-risk/idvs-h5/ekyc/v1/face-search
POST (application/json)https://vn-api.advance.ai/intl/openapi/identity-risk/idvs-h5/ekyc/v1/face-search
POST (application/json)
Notes :
If your test/official environment is in China, please request the service via VPN to avoid packet loss, service timeout and other problems
Parameter Description signatureId string which can use it to get the H5 IDV result
Parameter Description code Status Code transactionId The request id, the max length is 64 pricingStrategy Deprecated, Always return FREEmessage Status Code Explanation data signatureId signatureId from request parameters.similarFaceUserIds hitted userId list (userId inputed in the generateUrl process) that are considered to have the similar face.extra Extra response info (Exception Message)
Status Code Message SUCCESS free OKPARAMETER_ERROR free Parameter error,please check you input.free Parameter should not be emptyfree Transaction is not passERROR free Server error
JSON
{
"code": "SUCCESS",
"message": "OK",
"data": {
"signatureId": "ed8b21c0c87ad617",
"similarFaceUserIds":["2fe2cff789245240","406d5049c4db9723"]
},
"extra": null,
"transactionId": "ed8b21c0c87ad617",
"pricingStrategy": "FREE"
}
JSON
{
"code":"PARAMETER_ERROR",
"message":"Parameter error,please check you input.",
"data":null,
"extra":null,
"transactionId":"ba134d6112c57a4c",
"pricingStrategy":"FREE"
}
JSON
{
"code":"PARAMETER_ERROR",
"message":"Parameter should not be empty",
"data":null,
"extra":null,
"transactionId":"dfcdc346a81f404f",
"pricingStrategy":"FREE"
}
JSON
{
"code": "PARAMETER_ERROR",
"message": "Transaction is not pass",
"data": null,
"extra": null,
"transactionId": "b4982f94824df196",
"pricingStrategy": "FREE"
}
JSON
{
"code":"ERROR",
"message":"Server error",
"data":null,
"extra":null,
"transactionId":"1deae5a13ef2bd5e",
"pricingStrategy":"FREE"
}