1、接口说明
接口地址 | https://netocr.com/verapi/veridenCardOrd.do |
---|---|
接口调用方法 | post |
2、接口接收参数
序号 | 名称 | 类型 | 必填 | 说明 |
---|---|---|---|---|
1 | key | String | 是 | 用户ocrKey |
2 | secret | String | 是 | 用户ocrSecrert |
3 | trueName | String | 是 | 姓名 |
4 | idenNo | String | 是 | 身份证号 |
5 | img | String | 是 | 身份证件照(JPG格式照片的Base64编码,编码后大小5KB-32KB) |
6 | typeId | Integer | 是 | 身份证实名认证标准版:3012 |
7 | format | String | 是 | 返回格式(xml或者json),如果format为空,则默认返回xml |
3、查验结果返回示例
{
"msg":"请求成功",
"code": 200,//响应参数
"data": {
"result":"204", //认证结果
"score": 544.22, //相似度分值(同一人>700,非同一人≤600,疑似为本人:600<分数≤700)
"seqNo":"", //请求单号
"resultMessage":"身份信息无效" //认证结果说明
}
}