This section give's control for system overall statistics.
The system statistics comes from an external stats service.
Admin logged in - gets data from an external stats service, and gives the admin information about all the user's transactions, fees, deposits (fiat/crypto), user's data and balance data.
User logged in - gets data from an external stats service, and gives the admin information about his own transactions, fees, deposits (fiat/crypto), data and balance data.
Return dashboard statistics(Balances,transactions,users,fees,withdrawals)
Success
Unauthorized
{- "api_message": "<string>",
- "api_data": {
- "users": {
- "count": "<numeric string>"
}, - "balances": {
- "fiat": [
- {
- "currency": "<string>",
- "total": "<numeric string>",
- "frozen": "<numeric string>"
}
], - "crypto": [
- {
- "currency": "<string>",
- "total": "<numeric string>",
- "frozen": "<numeric string>"
}
]
}, - "withdrawals": {
- "fiat": [
- {
- "currency": "<string>",
- "total": "<numeric string>",
- "frozen": "<numeric string>"
}
], - "crypto": [
- {
- "currency": "<string>",
- "total": "<numeric string>",
- "frozen": "<numeric string>"
}
]
}, - "deposits": {
- "fiat": [
- {
- "currency": "<string>",
- "total": "<numeric string>",
- "count": "<numeric string>"
}
], - "crypto": [
- {
- "currency": "<string>",
- "total": "<numeric string>",
- "count": "<numeric string>"
}
]
}, - "orders": {
- "buy": [
- {
- "currency": "<string>",
- "total": "<numeric string>",
- "count": "<numeric string>",
- "type": "CRYPTO"
}
], - "sell": [
- {
- "currency": "<string>",
- "total": "<numeric string>",
- "count": "<numeric string>",
- "type": "CRYPTO"
}
]
}, - "fees": {
- "buy": {
- "currency": "<string>",
- "total": "<numeric string>",
- "type": "CRYPTO"
}, - "sell": {
- "currency": "<string>",
- "total": "<numeric string>",
- "type": "CRYPTO"
}
}
}
}
Return balance status for user,or for all the system in case of admin (frozen,total)
Success
Unauthorized
{- "api_message": "<string>",
- "api_data": {
- "balances": {
- "fiat": [
- {
- "currency": "<string>",
- "total": "<numeric string>",
- "frozen": "<numeric string>"
}
], - "crypto": [
- {
- "currency": "<string>",
- "total": "<numeric string>",
- "frozen": "<numeric string>"
}
]
}
}
}
Returns user's fiat and crypto balances with requested CID
raw(json)
Success
Unauthorized
Forbidden
Unprocessable Content
{- "CIDS": [
- "end_customer's_CID"
]
}
{- "api_message": "<string>",
- "api_data": {
- "balances": {
- "<string (CID)>": {
- "fiat": [
- {
- "currency": "<string>",
- "total": "<numeric string>",
- "frozen": "<numeric string>"
}
], - "crypto": [
- {
- "currency": "<string>",
- "total": "<numeric string>",
- "frozen": "<numeric string>"
}
]
}
}
}
}