文档中心 > API类目 > 阿里影业云智API

taobao.lark.pos.account.idcardrealcheck (云智会员实名认证校验)

云智会员实名认证校验,通过用户填写姓名+身份证号进行实名认证

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
account_realname_check_request AccountIdAndNameCheckRequest 必须 入参
  • └ account_id
  • String
  • 必须
  • 100000
  • 账号
  • └ real_name
  • String
  • 必须
  • 张三
  • 姓名
  • └ id_card
  • String
  • 必须
  • 11010989887123
  • 身份证号
  • └ category_code
  • String
  • 可选
  • ykse
  • 租户编码

响应参数

名称 类型 示例值 描述
result SingleResult 出参
  • └ inner_code
  • String
  • LARK_9999
  • 内部错误码
  • data
  • UserIdentityInfo
  • true
  • 数据
  • └ message
  • String
  • 通过校验
  • 校验结果描述
  • └ code
  • Number
  • 200
  • 校验结果编码
  • └ pass
  • Boolean
  • true
  • 是否通过校验
  • └ status
  • Boolean
  • true
  • 是否成功
  • └ result_code
  • String
  • 200
  • 错误码
  • └ result_msg
  • String
  • 成功
  • 错误提示

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
LarkPosAccountIdcardrealcheckRequest req = new LarkPosAccountIdcardrealcheckRequest();
LarkPosAccountIdcardrealcheckRequest.AccountIdAndNameCheckRequest obj1 = new LarkPosAccountIdcardrealcheckRequest.AccountIdAndNameCheckRequest();
obj1.setAccountId("100000");
obj1.setRealName("张三");
obj1.setIdCard("11010989887123");
obj1.setCategoryCode("ykse");
req.setAccountRealnameCheckRequest(obj1);
LarkPosAccountIdcardrealcheckResponse rsp = client.execute(req);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<lark_pos_account_idcardrealcheck_response>
    <result>
        <inner_code>LARK_9999</inner_code>
        <data>
            <message>通过校验</message>
            <code>200</code>
            <pass>true</pass>
        </data>
        <status>true</status>
        <result_code>200</result_code>
        <result_msg>成功</result_msg>
    </result>
</lark_pos_account_idcardrealcheck_response>

异常示例

  • XML示例
  • JSON示例
<error_response>
    <code>50</code>
    <msg>Remote service error</msg>
    <sub_code>isv.invalid-parameter</sub_code>
    <sub_msg>非法参数</sub_msg>
</error_response>

错误码解释

错误码 错误描述 解决方案

API工具

如何获得此API

FAQ

返回
顶部