简要描述:
- 快捷支付-人脸核身请求
说明:
//快捷支付、绑卡请求接口返回 error_code = JS100043 则需人脸核身
{
result:0
msg:"失败"
data: {
error_code: "JS100043",
}
}
请求接口:
POST/&route=plugin.converge_pay.frontend.controllers.quick-pay-face.face-apply
参数:
| 参数名 | 是否必须 | 类型 | 说明 |
|---|---|---|---|
| real_name | 是 | string | 身份证姓名 |
| id_card | 是 | string | 身份证卡号 |
| return_url | 是 | string | 人脸返回地址 |
返回示例:
{
result: 1,
msg: "成功",
data: {
face_trx_no: "2026013098000001",
face_url: "https://kyc1.qcloud.com/api/web/login?appId=xxx&orderNo=4099260130000001&userId=xxx",
}
}
错误时返回:
{
result:0
msg:"失败"
data: {}
}
返回参数说明:
| 参数名 | 类型 | 说明 |
|---|---|---|
| face_trx_no | string | 人验核身的唯一标识 |
| face_url | string | 商户在App/浏览器调起人脸核身的URL,有效期:5 分钟 |
备注:
- 更多返回错误代码请看首页的错误代码描述