查询交易订单资金信息
| 名称 | 类型 | 是否必须 | 示例值 | 更多限制 | 描述 |
|---|---|---|---|---|---|
| e_trade_id | String | 必须 | xxxxxx | 订单号 | |
| data_select | String | 可选 | fund_serviceFee,fund_fundPay |
不传默认查询fund_serviceFee和fund_fundPay fund_refund 退款信息 fund_serviceFee 订单的服务费 fund_fundPay 预付款和尾款的支付信息 多个参数英文逗号分隔即可 |
| 名称 | 类型 | 示例值 | 描述 |
|---|---|---|---|
| value | TradeEcologyFund | fund | 资金信息 |
|
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AlibabaSellerOrderFundGetRequest req = new AlibabaSellerOrderFundGetRequest();
req.setETradeId("xxxxxx");
req.setDataSelect("fund_serviceFee,fund_fundPay");
AlibabaSellerOrderFundGetResponse rsp = client.execute(req, sessionKey);
System.out.println(rsp.getBody());
<alibaba_seller_order_fund_get_response>
<value>
<fund_pay_list>
<fund_pay>
<pay_amount>
<amount>12.00</amount>
<currency>USD</currency>
</pay_amount>
<pay_method>TT</pay_method>
<pay_status>UNPAY</pay_status>
<pay_step>ADVANCE</pay_step>
<pay_time>
<format_date>MMM. d, yyyy, HH:mm:ss z.</format_date>
<timestamp>12345</timestamp>
</pay_time>
<receive_amount>
<amount>12.00</amount>
<currency>USD</currency>
</receive_amount>
<receive_time>
<timestamp>2345</timestamp>
<format_date>MMM. d, yyyy, HH:mm:ss z.</format_date>
</receive_time>
<should_pay_amount>
<amount>12.00</amount>
<currency>USD</currency>
</should_pay_amount>
<fund_pay_detail_list>
<fund_pay_detail>
<pay_amount>
<amount>12.00</amount>
<currency>USD</currency>
</pay_amount>
<pay_time>
<timestamp>2345</timestamp>
<format_date>MMM. d, yyyy, HH:mm:ss z.</format_date>
</pay_time>
<receive_amount>
<amount>12.00</amount>
<currency>USD</currency>
</receive_amount>
<receive_time>
<timestamp>2345</timestamp>
<format_date>MMM. d, yyyy, HH:mm:ss z.</format_date>
</receive_time>
<pay_status>UNPAY</pay_status>
<pay_method>TT</pay_method>
<id>111111</id>
</fund_pay_detail>
</fund_pay_detail_list>
</fund_pay>
</fund_pay_list>
<service_fee>
<amount>1.00</amount>
<currency>USD</currency>
</service_fee>
<refund_list>
<refund>
<amount>
<currency>USD</currency>
<amount>123.33</amount>
</amount>
<refund_time>
<timestamp>21345343</timestamp>
<format_date>MMM. d, yyyy, HH:mm:ss z.</format_date>
</refund_time>
<id>123432</id>
</refund>
</refund_list>
</value>
</alibaba_seller_order_fund_get_response>
<error_response>
<code>50</code>
<msg>Remote service error</msg>
<sub_code>isv.invalid-parameter</sub_code>
<sub_msg>非法参数</sub_msg>
</error_response>
| 错误码 | 错误描述 | 解决方案 |
|---|