# 查询券账单
# 接口调用请求说明
单商户限频200QPS
http请求方式:POST
https://api.weixin.qq.com/channels/ec/voucher/get_bill_list?access_token=xxxxxxxxx
# 请求参数示例
{
"product_id": "123456",
"bill_date": "2023-12-03",
"page_size": 3,
"page_ctx": ""
}
# 回包示例
{
"errcode": 0,
"errmsg": "成功",
"bill_list":[
{
"voucher_name": "90抵100代金券",
"product_id": "123456",
"code": "123456789",
"order_id": "027828012830384172",
"openid": "asdjeine835k9fjeld93mf"
"voucher_buy_time": 1702016538,
"voucher_buy_amount": 9000,
"voucher_pay_amount": 8500,
"mch_favor_amount": 500,
"platform_favor_amount": 0,
"consume_time": 1702189338,
"consume_store_name": "开心小店",
"mch_settle_amount": 8300,
"finder_settle_amount": 0
},
{
"voucher_name": "90抵100代金券",
"product_id": "123456",
"code": "123456789",
"order_id": "027828012830384172",
"openid": "asdjeine835k9fjeld93mf"
"voucher_buy_time": 1702016538,
"voucher_buy_amount": 9000,
"voucher_pay_amount": 8500,
"mch_favor_amount": 500,
"platform_favor_amount": 0,
"consume_time": 1702189338,
"consume_store_name": "开心小店",
"mch_settle_amount": 8300,
"finder_settle_amount": 0
},
{
"voucher_name": "90抵100代金券",
"product_id": "123456",
"code": "123456789",
"order_id": "027828012830384172",
"openid": "asdjeine835k9fjeld93mf"
"voucher_buy_time": 1702016538,
"voucher_buy_amount": 9000,
"voucher_pay_amount": 8500,
"mch_favor_amount": 500,
"platform_favor_amount": 0,
"consume_time": 1702189338,
"consume_store_name": "开心小店",
"mch_settle_amount": 8300,
"finder_settle_amount": 0
}],
"page_ctx": "dsfajasdlf3434"
}
# 请求参数说明
参数 | 类型 | 是否必填 | 说明 |
---|---|---|---|
product_id | string | 必填 | 通过本地生活api创建的商品id |
bill_date | string | 必填 | 账单日期,券发起核销时间 |
page_size | number | 必填 | 页大小 值限制: 1 ≤ value ≤ 100 |
page_ctx | string | 必填 | 翻页上下文,第一次请求填空,后续请求值为上次请求的返回 |
# 回包参数说明
参数 | 类型 | 是否必填 | 说明 |
---|---|---|---|
errcode | number | 必填 | 错误码 |
errmsg | string | 必填 | 错误信息 |
bill_list | Array<VoucherBill> | 选填 | 用户券账单列表 |
page_ctx | string | 选填 | 翻页上下文,如果为空,说明没有下一页 |