¥免费必须用户授权
服务商的商家解密账单详情查询,仅对90天内的账单提供SLA保障。
公共参数
请求地址:
HTTP地址
http://gw.api.taobao.com/router/rest
公共请求参数:
公共响应参数:
请求参数
响应参数
点击获取key和secret
请求示例
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
TopSecretBillDetailRequest req = new TopSecretBillDetailRequest();
TopSecretBillDetailRequest.SellerBillQueryRequest obj1 = new TopSecretBillDetailRequest.SellerBillQueryRequest();
obj1.setPageNo(1L);
obj1.setPageSize(100L);
obj1.setBizDate(StringUtils.parseDateTime(“2022-05-01 00:00:00”));
req.setSellerBillQueryRequest(obj1);
TopSecretBillDetailResponse rsp = client.execute(req, sessionKey);
System.out.println(rsp.getBody());
响应示例
<top_secret_bill_detail_response>
<bill_detail_info>
<secret_no>13000000000-1234</secret_no>
2022-05-01 00:00:00
2022-05-01 23:00:00
<bill_item>1</bill_item>
<bill_duration>2</bill_duration>
0.0018
<order_id>12421224</order_id>
</bill_detail_info>
<total_num>1000</total_num>
</top_secret_bill_detail_response>
异常示例
<error_response>
50
Remote service error
<sub_code>isv.invalid-parameter</sub_code>
<sub_msg>非法参数</sub_msg>
</error_response>