alipay.ins.propertys.business.queryuserinfo (查询淘宝用户身份)

查询淘宝用户身份

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
alipay_id String 可选 2088 支付宝2088

响应参数

名称 类型 示例值 描述
result InsSceneQueryResult 1 服务出参
  • └ biz_error_code
  • String
  • 1
  • 错误码
  • └ biz_error_msg
  • String
  • 1
  • 错误信息
  • └ biz_success
  • Boolean
  • 1
  • 是否成功
  • model
  • InsSceneTbUserInfo
  • 1
  • 成功对象
  • └ binded_alipay_account_nos
  • String []
  • 1
  • 用户绑定的支付列表
  • └ formal_black_user
  • Boolean
  • 1
  • 是否是淘宝正式会员
  • └ user_id
  • Number
  • 1
  • 用户id
  • └ user_nick
  • String
  • 1
  • 用户昵称
  • └ user_reg_date
  • Date
  • 1
  • 用户注册时间

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AlipayInsPropertysBusinessQueryuserinfoRequest req = new AlipayInsPropertysBusinessQueryuserinfoRequest();
req.setAlipayId("2088");
AlipayInsPropertysBusinessQueryuserinfoResponse rsp = client.execute(req);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<alipay_ins_propertys_business_queryuserinfo_response>
    <result>
        <biz_error_code>1</biz_error_code>
        <biz_error_msg>1</biz_error_msg>
        <biz_success>1</biz_success>
        <model>
            <binded_alipay_account_nos>
                <string>1</string>
            </binded_alipay_account_nos>
            <formal_black_user>1</formal_black_user>
            <user_id>1</user_id>
            <user_nick>1</user_nick>
            <user_reg_date>1</user_reg_date>
        </model>
    </result>
</alipay_ins_propertys_business_queryuserinfo_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

返回
顶部