2.11在线支付对账
说明
用于线下按日期拉取线上所有在线支付流水,进行对账
请求地址
http://api.dc78.cn/Api/cash_paylist
请求方式
GET
请求参数
date=20160804
返回
{
"status": "1",
"list": [
{
"payid": "1072127",
"date": "20160804",
"remark": "刷卡账单-0000",
"table": "0000",
"type": "codewxpay",
"bzid": "",
"payamt": "0.01",
"trid": "4007872001201608040544926913",
"src": "wx",
"state": "3",
"time": "2016-08-04 13:52:15",
"typename": "扫码支付"
},
{
"payid": "1072473",
"date": "20160804",
"remark": "刷卡账单-102",
"table": "102",
"type": "codewxpay",
"bzid": "0001201608040002",
"payamt": "0.10",
"trid": "4003072001201608040552581353",
"src": "wx",
"state": "3",
"time": "2016-08-04 15:34:47",
"typename": "扫码支付"
}
],
"server_time": "2016-09-23 16:32:19",
"server_name": "wx2#"
}
参数 | 参数名称 | 必填 | 描述 | 范例 |
status | 状态 | 1-成功 | 1 | |
list | 结账请求列表 | |||
payid | 编号 | 1072127 | ||
date | 支付日期 | 20160804 | ||
table | 桌台号 | 102 | ||
remark | 支付说明 | 刷卡账单-0000 | ||
time | 时间 | 2016-08-04 15:34:47 | ||
trid | 支付平台交易号 | 4003072001201608040552581353 | ||
src | 支付通道 | 目前wx,ali两种 | wx |
更新记录
请求方式
INI
请求参数
[action] | 描述 |
action | action=cash_paylist |
[get] | 描述 |
date | date=20160804 |
返回
[result]
status=1
list=array:1
[result_list_0]
id=1072127
state=3
type=codewxpay
table=105
src=wx
remark=刷卡账单-0000
bzid=33875
payamt=0.01
time=2015-07-08 10:49:24
trid=4007872001201608040544926913
[result] | 描述 |
status=1 | |
list=array:1 | |
[result_list_0] | 描述 |
id=1072127 | |
state=3 | |
type=codewxpay | |
table=105 | |
src=wx | |
remark=刷卡账单-0000 | |
bzid=33875 | |
payamt=0.01 | |
time=2015-07-08 10:49:24 | |
trid=4007872001201608040544926913 |