POST System/GetTodayBill
根据查询条件和分页设置,返回今日交易明细(单页数据)和今日交易数据汇总结果(符合条件的数据的合计),需要传递access_token
请求信息
请求URI参数
无
请求数据参数
查询条件
BillQueryInfo名称 | 说明 | 类型 | 扩展说明 |
---|---|---|---|
start_time |
查询开始时间. |
字符串 |
无 |
end_time |
查询结束时间. |
字符串 |
无 |
paytype |
查询支付类型,如果不传递此参数则表示全部 |
PayType |
无 |
status |
查询交易状态,如果不传递此参数则表示全部 |
TransactionStatus |
无 |
order_no |
查询订单编号 |
字符串 |
无 |
merchant_no |
商户编码,优先查询商户编码和门店编码,只有商户编码和门店编码都为空,查询关键字才生效 |
字符串 |
无 |
store_no |
门店编码,优先查询商户编码和门店编码,只有商户编码和门店编码都为空,查询关键字才生效 |
字符串 |
无 |
key_word |
查询关键字,商户名称|门店名称,优先查询商户编码和门店编码,只有商户编码和门店编码都为空,查询关键字才生效,关键字为模糊匹配 |
字符串 |
无 |
page_index |
获取第几页的数据,如果不传递此参数默认是1 |
整数 |
无 |
page_size |
输返回每页条数,如果不传递此参数默认是50 |
整数 |
无 |
请求数据格式
application/json, text/json
例子:
{ "start_time": "sample string 1", "end_time": "sample string 2", "paytype": 10, "status": 1, "order_no": "sample string 3", "merchant_no": "sample string 4", "store_no": "sample string 5", "key_word": "sample string 6", "page_index": 7, "page_size": 8 }
响应数据
资源说明
查询结果
ResultInfoOfBillResultInfo名称 | 说明 | 类型 | 扩展说明 |
---|---|---|---|
code | ResultCode |
无 |
|
msg | 字符串 |
无 |
|
data | BillResultInfo |
无 |
响应数据格式
application/json, text/json
例子:
{ "code": "SUCCESS", "msg": "sample string 1", "data": { "count": 1, "pay_amount": "sample string 2", "wx_amount": "sample string 3", "ali_amount": "sample string 4", "jd_amount": "sample string 5", "bank_amount": "sample string 6", "refund_count": 7, "refund_amount": "sample string 8", "wx_refund_amount": "sample string 9", "ali_refund_amount": "sample string 10", "jd_refund_amount": "sample string 11", "bank_refund_amount": "sample string 12", "total_amount": "sample string 13", "coupon_amount": "sample string 14", "wx_total_amount": "sample string 15", "ali_total_amount": "sample string 16", "jd_total_amount": "sample string 17", "bank_total_amount": "sample string 18", "details": [ { "order_time": "sample string 1", "order_no": "sample string 2", "transaction_status": "CREATE", "error": "sample string 3", "merchant_name": "sample string 4", "store_no": "sample string 5", "store_name": "sample string 6", "pay_type": "WECHATPAY_NATIVE", "operator": "sample string 7", "total_amount": "sample string 8", "cash_amount": "sample string 9", "settlement_amount": "sample string 10", "coupon_amount": "sample string 11", "refund_amount": "sample string 12", "transaction_no": "sample string 13", "transaction_time": "sample string 14", "transaction_msg": "sample string 15", "refund_reason": "sample string 16", "buyer": "sample string 17", "merchant_fee_amount": "sample string 18", "agent_fee_amount": "sample string 19" }, { "order_time": "sample string 1", "order_no": "sample string 2", "transaction_status": "CREATE", "error": "sample string 3", "merchant_name": "sample string 4", "store_no": "sample string 5", "store_name": "sample string 6", "pay_type": "WECHATPAY_NATIVE", "operator": "sample string 7", "total_amount": "sample string 8", "cash_amount": "sample string 9", "settlement_amount": "sample string 10", "coupon_amount": "sample string 11", "refund_amount": "sample string 12", "transaction_no": "sample string 13", "transaction_time": "sample string 14", "transaction_msg": "sample string 15", "refund_reason": "sample string 16", "buyer": "sample string 17", "merchant_fee_amount": "sample string 18", "agent_fee_amount": "sample string 19" } ] } }