Acquiring Account Balance
PS: You need to use Token to change the status, for more details, please check Token
Acquiring Account Balance.
Request address
https://ss-api.mintegral.com/api/open/v1/account/balance
Request method
GET
Request example
json
GET /api/open/v1/account/balance
HTTP/1.1 Host: ss-api.mintegral.com
Response
字段 | 类型 | 说明 |
---|---|---|
code | int | 200 code, is success. Others, are fail. |
msg | string | If success, return to "success". If fail, return to detailed wrong info. |
data | json | If success, return to balance data. If fail, return to detailed wrong info. |
total | int | total amount |
list | array<json> | |
user_id | int | Account id |
username | string | Account name |
currency | string | Settlement currency |
balance | number | Account balance |
Response Example
json
{
"code": 200,
"msg": "success",
"data": {
"total": 1,
"list": [
{
"user_id": 1,
"username": "Mintegral",
"currency": "CNY",
"balance": 100000
}
]
}
}