taobao.fp.account.info.query (集团中台资金域账号信息查询)

集团中台资金域账号信息查询

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
req AccountQueryByBizIdAndSpecReqDTO 必须 请求参数
  • └ acct_spec_code
  • String
  • 必须
  • a.b.c
  • 账户描述码
  • └ biz_id
  • String
  • 必须
  • abcd
  • 业务号

响应参数

名称 类型 示例值 描述
result ResultSupport 结果
  • data
  • AccountInfoDTO
  • 数据
  • └ account_no
  • String
  • 1234
  • 账号
  • └ balance_amount
  • Number
  • 0
  • 余额
  • └ biz_id
  • String
  • abcd
  • 业务号
  • extend_info
  • HashMap
  • 扩展信息
  • └ empty
  • String
  • null
  • 扩展信息
  • └ freeze_amount
  • Number
  • 0
  • 冻结金额
  • └ invalid_date
  • Date
  • 1639637528
  • 过期时间
  • └ status
  • Number
  • 1
  • 状态
  • └ system_amount
  • Number
  • 0
  • 系统金额
  • └ user_id
  • Number
  • 123
  • 用户id
  • └ description
  • String
  • null
  • 描述
  • extend_info
  • HashMap
  • 扩展信息
  • └ empty
  • String
  • null
  • 扩展信息
  • └ result_code
  • String
  • error
  • 错误码
  • └ success
  • String
  • true
  • 结果

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
FpAccountInfoQueryRequest req = new FpAccountInfoQueryRequest();
FpAccountInfoQueryRequest.AccountQueryByBizIdAndSpecReqDTO obj1 = new FpAccountInfoQueryRequest.AccountQueryByBizIdAndSpecReqDTO();
obj1.setAcctSpecCode("a.b.c");
obj1.setBizId("abcd");
req.setReq(obj1);
FpAccountInfoQueryResponse rsp = client.execute(req, sessionKey);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<fp_account_info_query_response>
    <result>
        <data>
            <account_no>1234</account_no>
            <balance_amount>0</balance_amount>
            <biz_id>abcd</biz_id>
            <extend_info>
                <empty>null</empty>
            </extend_info>
            <freeze_amount>0</freeze_amount>
            <invalid_date>1639637528</invalid_date>
            <status>1</status>
            <system_amount>0</system_amount>
            <user_id>123</user_id>
        </data>
        <description>null</description>
        <extend_info>
            <empty>null</empty>
        </extend_info>
        <result_code>error</result_code>
        <success>true</success>
    </result>
</fp_account_info_query_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

返回
顶部