获取账户充值记录
获取账户充值记录
HTTP请求方式
POST
请求地址
https://api.e.360.cn/uc/account/Gettopuplog
| 字段 |
类型 |
必须 |
描述 |
| Content-Type |
string |
yes |
application/x-www-form-urlencoded |
| apiKey |
string |
yes |
注册时分配到的api key,该参数作为HTTP HEAD字段传递。 |
| accessToken |
string |
yes |
访问token |
Body 请求参数
| 字段 |
类型 |
必须 |
描述 |
| startDate |
date |
Yes |
起始日期,和截至日期最大跨度365天,建议跨度不超过一个月 |
| endDate |
date |
Yes |
截至日期,最大为今天 |
请求示例
curl -X POST \
--header 'apiKey:APIKEY' \
--header 'accessToken:ACCESSTOKEN' \
--data 'startDate=2020-12-01&endDate=2020-03-01' \
'https://api.e.360.cn/uc/account/Gettopuplog'
返回结果
{
"topupLog": [{
"amount": "1500.00",
"balance": "2127.28",
"create_time": "2020-09-16 11:33:46"
},
{
"amount": "400.00",
"balance": "62775.28",
"create_time": "2020-07-03 18:49:19"
},
{
"amount": "400.00",
"balance": "62375.28",
"create_time": "2020-07-03 18:49:15"
}
]
}
返回结果说明
| 字段 |
类型 |
描述 |
| amount |
string |
充值金额 |
| balance |
string |
交易后金额 |
| create_time |
string |
充值日期 |