GetAccountDetailList 获取钱包明细(用户级)
- 调整钱包余额
请求URL:
- 沙箱环境
https://api.sandbox.yhsms.com.cn/UserAccount/Account/AccountService.svc/GetAccountDetailList - 生产环境
https://api.yhsms.com.cn/UserAccount/Account/AccountService.svc/GetAccountDetailList
请求方式:
- GET
接口参数:
| 参数名 | 必选 | 类型 | 说明 |
|---|---|---|---|
| PlatformID | 是 | string | YHDT号 |
| UID | 是 | string | 需要调整余额的会员 |
| UserAccessToken | 是 | string | 接口授权数据 |
| AccountTypeID | 是 | int | 账户类型 |
| FieldSort | 是 | string | 排序字段 |
请求参数示例
{
"PlatformID": "B67C2C23685746C5BA101236BAC83DF4",
"UID": "b40e90406ffb49d182c79e99a4e7d463",
"UserAccessToken": "BNIejZvNk1yVW1VUnFsQ2tFVT0=",
"Parameter": {
"PageSize": 10,
"PageIndex": 1,
"AccountTypeID": 1,
"FieldName": "BASE",
"FieldSort": "OccurTime"
}
}返回示例
{
"Code": "0",
"Method": 0,
"Compressed": false,
"Encrypted": false,
"Message": {
"RtnCurPage": 1,
"PageSize": 10,
"RtnCount": 295,
"ResultList": [{
"DID": null,
"UID": null,
"ReceiptID": "6656869527488602112",
"AccountTypeID": 1,
"Amount": 50.0000,
"BeforeBalance": 0.0,
"OccurTime": "2020-04-17T19:02:54.083",
"AfterBalance": 0.0,
"Source": null,
"Target": null,
"Data": null,
"Operator": null,
"MoneyDiscount": 1.00,
"PlatformID": null
}, {
"DID": null,
"UID": null,
"ReceiptID": "6656834442706067456",
"AccountTypeID": 1,
"Amount": 1.0000,
"BeforeBalance": 0.0,
"OccurTime": "2020-04-17T16:43:29.163",
"AfterBalance": 0.0,
"Source": null,
"Target": null,
"Data": null,
"Operator": null,
"MoneyDiscount": 1.00,
"PlatformID": null
}, {
"DID": null,
"UID": null,
"ReceiptID": "6656834075733827584",
"AccountTypeID": 1,
"Amount": 1.0000,
"BeforeBalance": 0.0,
"OccurTime": "2020-04-17T16:42:01.67",
"AfterBalance": 0.0,
"Source": null,
"Target": null,
"Data": null,
"Operator": null,
"MoneyDiscount": 1.00,
"PlatformID": null
}, {
"DID": null,
"UID": null,
"ReceiptID": "6656833889552867328",
"AccountTypeID": 1,
"Amount": 1.0000,
"BeforeBalance": 0.0,
"OccurTime": "2020-04-17T16:41:17.28",
"AfterBalance": 0.0,
"Source": null,
"Target": null,
"Data": null,
"Operator": null,
"MoneyDiscount": 1.00,
"PlatformID": null
}, {
"DID": null,
"UID": null,
"ReceiptID": "6656833517870424064",
"AccountTypeID": 1,
"Amount": 1.0000,
"BeforeBalance": 0.0,
"OccurTime": "2020-04-17T16:39:48.663",
"AfterBalance": 0.0,
"Source": null,
"Target": null,
"Data": null,
"Operator": null,
"MoneyDiscount": 1.00,
"PlatformID": null
}, {
"DID": null,
"UID": null,
"ReceiptID": "6656833298462187520",
"AccountTypeID": 1,
"Amount": 1.0000,
"BeforeBalance": 0.0,
"OccurTime": "2020-04-17T16:38:56.353",
"AfterBalance": 0.0,
"Source": null,
"Target": null,
"Data": null,
"Operator": null,
"MoneyDiscount": 1.00,
"PlatformID": null
}, {
"DID": null,
"UID": null,
"ReceiptID": "6656833218875269120",
"AccountTypeID": 1,
"Amount": 1.0000,
"BeforeBalance": 0.0,
"OccurTime": "2020-04-17T16:38:37.38",
"AfterBalance": 0.0,
"Source": null,
"Target": null,
"Data": null,
"Operator": null,
"MoneyDiscount": 1.00,
"PlatformID": null
}],
"RtnPageCount": 30
}
}返回参数说明
| 参数名 | 类型 | 说明 |
|---|---|---|
| ReceiptID | string | 相关交易单号 |
| Amount | money | 发生金额 |
| BeforeBalance | money | 前余额 |
| AfterBalance | money | 后余额 |
| OccurTime | datetime | 发生时间 |
| MoneyDiscount | decimal | 余额成本折扣 |
备注
- 更多返回错误代码请看首页的错误代码描述
文档更新时间: 2020-05-14 14:40 作者:张国伟