简要描述:

  • 刷脸认证

请求域名:

  • http://xx.com

请求URL:

route=plugin.real-name-auth.frontend.auth.authFace

参数:

参数名 是否必须 类型 说明
name true string 姓名
id_no true string 身份证号
face_auth_mode true string 刷脸方式 TENCENT 腾讯 ZHIMACREDIT 支付宝 ESIGN e签宝
is_mobile false int 是否使用手机号作为登录账号 1是 0否

返回示例:

正确时返回:

{
    "result": 1,
    "msg": "ok",
    "data": {
        "flowId": "1909996841186361731",
        "authUrl": "https://smlt.esign.cn/8jWTT1KQaR1z",
        "originalUrl": "https://openapi.alipay.com/gateway.do?alipay_sdk=alipay-sdk-java-3.7.105.ALL&app_id=2021001155661340&biz_content=%7B%22certify_id%22%3A%2200548ee33500f47e118a21141c77f634%22%7D&charset=UTF-8&format=JSON&method=alipay.user.certify.open.certify&sign=bzwMiOfh%2BDjpDpf478FReu1Wd53AlWXPPW6wCZJcFglGYQ4PNmugL104MdpCuwk%2FeKMp38U9DFWWesp%2B%2BW9zQy807xiZLlrdT%2BMJKanhaNUUbPD7rDHvPyvAepvJ6Z852AKiRU5Ms9XiZhYJPi2quMC4jcZ4e%2BsBk9%2BM5k%2F1Xq21%2B1dYaYIEIVrFyAaYOc0pcdyPa6kEQIIqPHNoaiHsS0sT37N4Sdd%2FneOxEdiJ1tSnyxYQJMpauzuqO02aRtkZd6C18hrWfBsx%2BweXPnmwWj8DBM%2FLAxYUhZl6S1aLWiXKhfONA7tK4DFgNbFEYfmexvJTuRqxpiv4irxkVLjWEQ%3D%3D&sign_type=RSA2&timestamp=2021-08-10+15%3A31%3A23&version=1.0"
    }
}

错误时返回:

  {
  }

返回参数说明:

参数名 类型 说明
名称 类型 说明
flowId string 认证流程id
authUrl string 短链接
originalUrl string 原始链接