1、开户许可证识别 - 接口说明
(注:调用图片为base64流接口时传参数img,调用图片为file格式接口传参数file)
2、请求参数
序号 |
名称 |
类型 |
必填 |
说明 |
1 |
img |
String |
是 |
上传的文件(图片的base64流) |
2 |
file |
MultipartFile |
是 |
上传的文件(上传文件的字段名必须是“file”) |
3 |
key |
String |
是 |
用户ocrKey |
4 |
secret |
String |
是 |
用户ocrSecrert |
5 |
typeId |
Integer |
是 |
识别类型:48 |
6 |
format |
String |
是 |
返回格式(xml或者json),如果format为空,则默认返回xml |
3、结果示例
{
"message": {
"status": 0,
"value": "识别完成"
},
"info": {
"type": "lgStatement12",
"retain": "",
"retain_Coordinate": "",
"approvalNo": "",
"approvalNo_Coordinate": "",
"number": "",
"number_Coordinate": "",
"accountOpenCompany": "",
"accountOpenCompany_Coordinate": "",
"juridicalPerson": "",
"juridicalPerson_Coordinate": "",
"depositBank": "",
"depositBank_Coordinate": "192_189_356_224",
"accountNo": "371019950307061**8888",
"accountNo_Coordinate": "192_189_356_224",
"issuanceDate": "2005年09月26日",
"issuanceDate_Coordinate": "192_189_356_224",
"licenceIssuingAuthority": "",
"licenceIssuingAuthority_Coordinate": "192_189_356_224",
"cutPic": "/9j/4AAQSkZ***QB/9k=",
"time": "907"
}
}