支付宝订单监控
API 版
更新: 2023-05-31 15:43:11 字数: 0 字 时长: 0 分钟
一个服务,多账户登录和管理
获取登录二维码
- 接口路径:/api/account/qrcode/get
- 请求方式:GET
- 请求返回json
{ "data": { "key": "68647d97de6b4674a60619525c27dd0d", "qrCodeString": "data:image/jpg;base64,iVBORw0KGgoAAAANSUh......" }, "code": 0, "message": "成功" }
检查登录状态
- 接口路径:/api/account/qrcode/check?key=
- 请求方式:GET
- 请求返回json
{ "code": 1, "message": "未登录" }
获取账户分页列表
- 接口路径:/api/account/page/get?page=1&size=10&key=
- 请求方式:GET
- 请求返回json
{ "total": 1, "data": [ { "id": "1661424094438100992", "mId": "76ddfth888acbec7aac39f2c1bc17516", "uId": "2088652424583801", "aId": "1684996247610966", "key": "290e7770cee74167a04a225c0bed3c43", "avatar": "https://tfs.alipayobjects.com/images/......", "userName": "138******98", "realName": "个人账户 | **平", "balance": 9.48, "status": 0, "statusRemark": "未登录", "qrCodeString": null, "interval": 30, "lastLoginTime": "2023-05-31 09:19:28", "createTime": "2023-05-25 11:29:08" } ], "code": 0, "message": "成功" }
退出所有登录账户
- 接口路径:/api/account/loginout/all
- 请求方式:GET
- 请求返回json
{ "code": 0, "message": "成功" }
退出指定登录账户
- 接口路径:/api/account/loginout/single?key=
- 请求方式:GET
- 请求返回json
{ "code": 0, "message": "成功" }
获取订单安全二维码
- 接口路径:/api/order/security/get?key=
- 请求方式:GET
- 请求返回json
{ "data": { "qrCodeString": "data:image/jpg;base64,iVBORw0KGgoAAAANSUh......" }, "code": 0, "message": "成功" }
检查订单扫码状态
- 接口路径:/api/order/security/check?key=
- 请求方式:GET
- 请求返回json
{ "code": 0, "message": "状态正常" }
获取订单分页列表
- 接口路径:/api/order/page/get?page=1&size=10
- 请求方式:GET
- 请求返回json
{ "total": 1, "data": [ { "id": "1661578076565409792", "accountId": "1661424094438100992", "orderNo": "流水号:20230546400040011100440036983750", "orderName": "AS1234567890", "toUserName": "清风徐来", "orderType": 1, "amount": 0.01, "remark": "AS1234567890", "status": "交易成功", "postStatus": 1, "postStatusRemark": "回调成功", "orderTime": "2023-05-25 11:40:00", "createTime": "2023-05-25 11:40:58" } ], "code": 0, "message": "成功" }
根据备注获取订单
- 接口路径:/api/order/get?remark=
- 请求方式:GET
- 请求返回json
{ "data": [ { "id": "1661578076565409792", "accountId": "1661424094438100992", "orderNo": "流水号:20230546400040011100440036983750", "orderName": "AS1234567890", "toUserName": "清风徐来", "orderType": 1, "amount": 0.01, "remark": "AS1234567890", "status": "交易成功", "postStatus": 1, "postStatusRemark": "回调成功", "orderTime": "2023-05-25 11:40:00", "createTime": "2023-05-25 11:40:58" } ], "code": 0, "message": "成功" }
手动回调订单
- 接口路径:/api/order/notify/manual?id=
- 请求方式:GET
- 请求返回json
{ "code": 0, "message": "成功" }