产品详情
API参数 云鉴_详情运营商手机三要素_运营商三要素实名认证_三网手机号校验_手机号实名核验_手机号认证 调用地址: http,https://status.api.bdymkt.com/status 请求方式: POST 支持格式: application/x-www-form-urlencoded 调用工具: 去调试 请求参数(Headers) 请求参数(Query) 请求参数(Body)
- 名称
- 类型
- 是否必须
- 示例值
- 描述
- realname
- string
- true
- 张三
- 姓名
- idcard
- string
- true
- 4403041990123456
- 身份证号
- mobile
- string
- true
- 17688156155
- 手机号
<dependency>
<groupId>com.baidubce</groupId>
<artifactId>api-explorer-sdk</artifactId>
<version>1.0.0</version>
</dependency>
import com.baidubce.http.ApiExplorerClient;
import com.baidubce.http.AppSigner;
import com.baidubce.http.HttpMethodName;
import com.baidubce.model.ApiExplorerRequest;
import com.baidubce.model.ApiExplorerResponse;
// 云鉴详情版运营商手机三要素实名认证_运营商三要素实名认证_三网手机号校验_手机号实名核验_手机号认证 Java示例代码
public class RequestDemo {
public static void main(String[] args) {
String path = "http://gwgp-pwqxu9pnmq3.n.bdcloudapi.com/status";
ApiExplorerRequest request = new ApiExplorerRequest(HttpMethodName.POST, path);
request.setCredentials("您的 access key", "您的 secret key");
request.addHeaderParameter("Content-Type", "application/x-www-form-urlencoded");
ApiExplorerClient client = new ApiExplorerClient(new AppSigner());
try {
ApiExplorerResponse response = client.sendRequest(request);
// 返回结果格式为Json字符串
System.out.println(response.getResult());
} catch (Exception e) {
e.printStackTrace();
}
}
}
点击复制代码
正常返回示例 {
"jobid": "ZT20210106171152583730782",//系统流水号
"responsetime": "20210106171153208",//响应时间
"errcode": "S0000",//返回码
"errmsg": "要素一致",//返回码描述信息
"result": {},//保留字段,暂未使用
"encresult": ""//保留字段,暂未使用
}
//响应码释义:
S0000:验证一致
S0001:姓名和证件号均不一致
S0002:姓名不一致
S0003:证件号不一致
S0004:其他
S0005:具体不匹配信息未知
S0006:查无此号或已注销
00025:无此信息
00026:无此信息
00082:身份证号错误
00061:验证次数超限
21082:请求身份证号格式错误
210J2:请求手机号格式错误
210J4:请求姓名格式错误
21005:该产品暂时无法使用
910RE:系统交易超时
91096:系统其他错误
失败返回示例 {
"jobid": "ZT20201230164545238130741",
"responsetime": "20201230164545557",
"errcode": "210J4",
"errmsg": "请求姓名格式错误",
"result": {},
"encresult": ""
}
错误码定义
