# 补贴钱包查询

# 接口说明

根据学校和日期获取当天的所有补贴钱包的操作流水明细

# 请求地址

https://open.wecard.qq.com/cgi-bin/pay/provider/wallet-records?access_token=

# access_token 获取

参考 https://wiki.weixiao.qq.com/api/third/oauth/access_token.html

# 请求方式

GET

# 请求参数

参数名 参数类型 描述
org_code string 学校id
date string 请求的日期

请求示例

cgi-bin/pay/provider/wallet-records?access_token={{access_token}}&org_code=1010343033&date=2022-07-13

# 返回参数

参数名 参数类型 描述
id string 单号,type ==3时为操作号
user_id string 电子卡号/学工号
user_name string 姓名
acc_id string 钱包编号
acc_name string 钱包名称
time string 时间
amount int 操作数额,单位分
type int 操作类型:3.补贴发放 5.清空操作

返回示例

{
	"code": 0,
	"data": [
		{
		   "id": "xxxxx",
			"user_id": "202012345",
			"user_name": "xxx",
			"acc_id": "1010343033_99679965",
			"acc_name": "补贴钱包",
			"time": "2022-07-13 20:15:59",
			"amount": 2,
			"type": 3
		}
	],
	"message": "成功"
}