taobao.tae.book.bill.get (tae查询单笔虚拟账户明细)

tae查询单笔虚拟账户明细

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
fields String [] 必须 bid,account_id,journal_type,amount,book_time
  • 最大列表长度:20
  • 需要返回的字段:参见BookBill结构体
    id Number 必须 13090986 虚拟账户流水编号
    account_id Number 必须 1234 虚拟账户科目编号

    响应参数

    名称 类型 示例值 描述
    bookbill TopAcctCashJourDto 虚拟账户账单
    • └ amount
    • Number
    • 123
    • 操作金额
    • └ journal_type
    • Number
    • 101
    • 流水类型:101-可用金充值;102-可用金扣除;103-冻结;104-解冻;105-冻结金充值;106-冻结金扣除
    • └ gmt_create
    • Date
    • 2015-03-04 20:32:02
    • 创建时间
    • └ account_id
    • Number
    • 123
    • 虚拟账户科目编号
    • └ description
    • String
    • 可用金充值
    • 备注
    • └ taobao_alipay_id
    • String
    • 12345
    • 流水的淘宝支付宝id
    • └ other_alipay_id
    • String
    • 12345
    • 流水的商家支付宝id
    • └ book_time
    • Date
    • 2015-03-04 20:32:02
    • 记账时间
    • └ bid
    • Number
    • 123
    • 虚拟账户流水编号

    请求示例

    • JAVA
    • .NET
    • PHP
    • CURL
    • Python
    • C/C++
    • NodeJS
    TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
    TaeBookBillGetRequest req = new TaeBookBillGetRequest();
    req.setFields("bid,account_id,journal_type,amount,book_time");
    req.setId(13090986L);
    req.setAccountId(1234L);
    TaeBookBillGetResponse rsp = client.execute(req, sessionKey);
    System.out.println(rsp.getBody());

    响应示例

    • XML示例
    • JSON示例
    <tae_book_bill_get_response>
        <bookbill>
            <amount>123</amount>
            <journal_type>101</journal_type>
            <gmt_create>2015-03-04 20:32:02</gmt_create>
            <account_id>123</account_id>
            <description>可用金充值</description>
            <taobao_alipay_id>12345</taobao_alipay_id>
            <other_alipay_id>12345</other_alipay_id>
            <book_time>2015-03-04 20:32:02</book_time>
            <bid>123</bid>
        </bookbill>
    </tae_book_bill_get_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

    返回
    顶部