Stats

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.

get-dashboard-stats

Return dashboard statistics(Balances,transactions,users,fees,withdrawals)

SecurityAuthorization
Request
header Parameters
Authorization
required
string

auth header for JWT

Example: <JWT token>
username
required
string

auth header for username

Example: <username>
Responses
200

Success

401

Unauthorized

get/dashboard
Response samples
application/json
{
  • "api_message": "<string>",
  • "api_data": {
    }
}

get-exact-user/all-users-balance-stats

Return balance status for user,or for all the system in case of admin (frozen,total)

SecurityAuthorization
Request
header Parameters
Authorization
required
string

auth header for JWT

Example: <JWT token>
username
required
string

auth header for username

Example: <username>
Responses
200

Success

401

Unauthorized

get/balance
Response samples
application/json
{
  • "api_message": "<string>",
  • "api_data": {
    }
}

get-balance-list-with-CID

Returns user's fiat and crypto balances with requested CID

SecurityAuthorization
Request
query Parameters
CID
boolean
Default: true

boolean flag check

Enum: true false
header Parameters
Authorization
required
string

auth header for JWT

Example: <JWT token>
username
required
string

auth header for username

Example: <username>
Request Body schema: application/json
required

raw(json)

CIDS
Array of arrays
Responses
200

Success

401

Unauthorized

403

Forbidden

422

Unprocessable Content

post/balanceList
Request samples
application/json
{
  • "CIDS": [
    ]
}
Response samples
application/json
{
  • "api_message": "<string>",
  • "api_data": {
    }
}