人脸活体第三步
POST
/ecs/face/livenessVerify.jspa
接口描述
活体认证第一步返回的userId和taskId在该接口使用
请求参数
参数名
类型
描述
必填
userId
String
第一步返回的userId
必填
taskId
String
第一步返回的taskId
必填
videoBase64
String
视频base64码(建议5M以内)
必填
videoType
String
视频类型
必填
timestamp
string
示例:2011-11-28 17:12:50,与服务端时间误差允许为10分钟
必填
appKey
string
示例:平台分配给应用的AppKey、Secret
必填
v
string
示例:1.0
必填
nonce
string
示例:6位数字随机数
必填
signature
string
示例:API入参签名结果
必填
响应参数
参数名
类型
描述
必填
code
int
响应状态码( 0:成功 其他:失败)
必填
message
String
状态描述
必填
livenessImg
String
活体照片
必填
idcardFrontImg
String
身份证正面照片
必填
idcardBackImg
String
身份证反面照片
必填
idcardNo
String
身份证号
必填
name
String
姓名
必填
nationality
String
民族
必填
homeRegistAddr
String
地址
必填
verifyStatus
String
0.未认证 1,.成功 2,.身份证识别失败 3.活体识别失败 4,.身份证和活体对比失败 5.身份证和活体对比不一致 6.身份证和活体对比失败 7.公安部联网对比不一致
必填
idcardLiveCompareScore
String
身份证和活体照片对比分数
必填
netCheckCompareScore
String
身份证和公安部照片对比分数
必填