amount是正数,返回“收入”。amount是负数,返回“支出”收入
bill_sourceString可选1000业务账单来源,资金收支对应的上游业务订单数据来源,确认业务订单出处。此字段供商户对账使用,不脱敏。商家中心
biz_nosString可选1000业务订单号,资金收支相关的业务场景订单号明细,字母大写;M:平台交易主单号,S:平台交易子单号,O:业务系统单据号(如退款订单号)。此字段供商户对账使用,不脱敏。M{330***}|S{330***}|O{192***}
biz_orig_noString可选1000业务基础订单号,资金收支对应的原始业务订单唯一识别编号。此字段供商户对账使用,不脱敏。330***
biz_descString可选1000业务描述,资金收支对应的详细业务场景信息。此字段供商户对账使用,不脱敏。002***|交易退款
请求示例
AlipayClient alipayClient = new DefaultAlipayClient("https://openapi.alipay.com/gateway.do","app_id","your private_key","json","GBK","alipay_public_key","RSA2"); AlipayDataBillAccountlogQueryRequest request = new AlipayDataBillAccountlogQueryRequest(); request.setBizContent("{" + "\"start_time\":\"2019-01-01 00:00:00\"," + "\"end_time\":\"2019-01-02 00:00:00\"," + "\"alipay_order_no\":\"20190101***\"," + "\"merchant_order_no\":\"TX***\"," + "\"page_no\":\"1\"," + "\"page_size\":\"2000\"" + " }"); AlipayDataBillAccountlogQueryResponse response = alipayClient.execute(request); if(response