2.11在线支付对账

优质
小牛编辑
134浏览
2023-12-01
用于线下按日期拉取线上所有在线支付流水,进行对账

请求参数说明

参数描述必填示例值类型最大长度
action接口参数组object
└action需要调用的接口名称cash_payliststring
getGET参数组,本组参数需要参与签名object
└date日期20200109number

请求示例

{
	"action": {
		"action": "cash_paylist"
	},
	"get": {
		"date": "20200109"
	}
}

响应参数说明

参数描述必填示例值类型最大长度
status返回状态。接口成功时为1,出错为01number
listlist
└payid线上支付流水号186200020000119337number
└date支付日期20200109number
└remark支付说明刷卡-string
└table桌台号string
└type支付类型codewxpaystring
└mbid平台id0number
└bzid线下业务idstring
└payamt支付金额0.01number
└trid支付平台交易号4200000480202001093564798902number
└src支付通道wxstring
└state状态3number
└time时间2020-01-09 18:00:46string
└typename支付类型名称扫码支付string
msid10021number

响应示例

{
  "status": "1",
  "list": [
    {
      "payid": "186200020000119337",
      "date": "20200109",
      "remark": "刷卡-",
      "table": "",
      "type": "codewxpay",
      "mbid": "0",
      "bzid": "",
      "payamt": "0.01",
      "trid": "4200000480202001093564798902",
      "src": "wx",
      "state": "3",
      "time": "2020-01-09 18:00:46",
      "typename": "扫码支付"
    }
  ],
  "server_timestamp": 1578635878,
  "server_time": "2020-01-10 13:57:58",
  "server_name": "api-106.hz",
  "msid": "10021"
}