Get User Account Information and Deposit Records
Description
Get user account information and deposit records
HTTP Request
- POST /open/api/user_balance_info
Request Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| api_key | String | Yes | the key is in the user api management |
| time | Long | Yes | it is the current timestamp |
| sign | String | Yes | the string is generated according to signature rule |
| uid | Integer | No | user's id (it is necessary to provide either a uid, mobile_number or email) |
| mobile_number | String | No | user's mobile number |
| String | No | user's email |
Request Example
http
curl -X POST 'https://openapi.100ex.com/open/api/user_balance_info' \
-H 'Content-Type: application/x-www-form-urlencoded' \
-d 'api_key=*********&time=1736303665297&sign=*********&uid=6836856&mobile_number=&email='Response Parameters
| Parameter | Type | Description |
|---|---|---|
| uid | Integer | user's id |
| balance_info | List<Object> | coin account balance list |
| >symbol | String | coin |
| >balance | Decimal | balance |
| deposit_list | List<Object> | deposit record list |
| >fee | Decimal | fee |
| >amount | Decimal | amount |
| >created_at | String | create time |
Response Example
json
{
"code": "0",
"msg": "suc",
"data": {
"uid": 6836856,
"balance_info": [
{
"symbol": "BTC",
"balance": 16.4755080874278968
}
],
"deposit_list": [
{
"symbol":"BTC",
"fee":0.00005,
"amount":12.02,
"created_at":"2018-11-14 15:37:51"
}
]
},
"message": null,
"traceId": null
}Status Code
| Code | Description |
|---|---|
| 0 | success |
| 1 | system error |
| 100004 | illegal parameter |
| 100005 | illegal sign |
| 100007 | illegal ip address |
| 100008 | the request time is expired |
| 110020 | the user doesn't exist |
| 110032 | the user doesn't have the authority to do this operation |
