curl --location -g --request POST 'https://qyapi.weixin.qq.com/cgi-bin/externalpay/get_bill_list?access_token=' \
--header 'Content-Type: application/json' \
--data-raw '{"begin_time":1605171726,"end_time":1605172726,"payee_userid":"zhangshan","cursor":"CURSOR","limit":10}'
{
"errcode": 0,
"errmsg": "ok",
"next_cursor": "CURSOR",
"bill_list": [
{
"transaction_id": "xxxxx",
"trade_state": 1,
"pay_time": 12345,
"out_trade_no": "xxxx",
"external_userid": "xxxx",
"total_fee": 100,
"payee_userid": "zhangshan",
"payment_type": 1,
"mch_id": "123454",
"remark": "xxxx",
"commodity_list": [
{
"description": "手机",
"amount": 1
}
],
"total_refund_fee": 100,
"refund_list": [
{
"out_refund_no": "xx",
"refund_userid": "xxx",
"refund_comment": "xxx",
"refund_reqtime": 1605171790,
"refund_status": 1,
"refund_fee": 100
}
],
"payer_info": {
"name": "xxx",
"phone": "xxx",
"address": "xxx"
}
}
]
}