Dashboard Data
User dashboard widget datas.
Multi wallet Summery
GET ‎https://<domain>/<api prefix>/<version>/user/get/walletdata/
This API endpoint will return the multi-wallet summary.
Query Parameters
currency_code
string
currency code
Headers
apikey*
string
apikey
Authorization*
string
access-token
HTTP/1.1 200 OK
Content-Type: application/json
Body:
{
"status_code": 200,
"errors": {},
"data": {
"multi_wallet_balances": [
{
"key": "<wallet_key>",
"name": "<wallet_name>",
"balance": "<wallet_balance>"
},
...
],
"membership_point_wallet_overview": [
{
"amount": "<amount>",
"category": "<category_title>",
"short_name": "<short_code>"
},
{
"amount": "<amount>",
"category": "<category_title>",
"short_name": "<short_code>"
},
{
"amount": "<amount>",
"category": "<category_title>",
"short_name": "<short_code>"
}
...
],
"total_earnings": "<amount>",
"total_invest": "<amount>",
"multi_wallet_payout": {
"Membership points wallet": "<amount>",
"Bonus coins wallet": "<amount>",
"Membership coins wallet": "<amount>"
},
"total_payout": "<amount>",
"profit_generated": <percentage>
}
}Sample Code
Node
PHP
Error Responses
Status Code
Error Type
FIeld
Description
400
Validation Error
currency_code
Invalid Currency Code.
Team Sales
GET ‎https://<domain>/<api prefix>/<version>/user/get/teamsales/
This API endpoint will return team sales widget data.
Query Parameters
filter_val
string
Posible value are: overall, today, this_week, this_month, this_year.
Headers
apikey*
string
apikey
Authorization*
string
Bearer access-token
Sample Code
Node
PHP
Error Response
Status Code
Error Type
FIeld
Description
400
Validation Error
filter_val
Invalid filter value.
Team Performance
GET ‎https://<domain>/<api prefix>/<version>/user/get/teamperformance/
This API endpoint will return user team performance widget data.
Query Parameters
filter_val
string
Posible value are: overall, today, this_week, this_month, this_year.
Headers
apikey*
string
APikey
Authorization*
string
Bearer access token
Sample Code
Node
PHP
Error Responses
Status Code
Error Type
FIeld
Description
400
Validation Error
filter_val
Invalid filter value.
Rank Analysis
GET ‎https://<domain>/<api prefix>/<version>/user/get/rankanalysis/
This API endpoint will return user rank analysis widget data.
Headers
apikey*
string
Apikey
Authorization*
string
Bearer access token
Sample Code
Node
PHP
Commision Data
GET ‎https://<domain>/<api prefix>/<version>/user/get/commisiondata/
This API endpoint will return user commision data.
Query Parameters
currency_code
string
currency code
wallet_name
string
wallet name eg: wallet1,wallet2 etc
filter_val
string
Posible value are: overall, today, this_week, this_month, this_year.
Headers
apikey*
string
Apikey
Authorization*
string
Bearer access token
Sample Code
Node
PHP
Error Responses
Status Code
Error Type
FIeld
Description
400
Validation Error
filter_val
Invalid filter value.
400
Validation Error
wallet_name
Invalid wallet name
400
Validation Error
currency_code
Invalid Currency Code.
User Dashboard
GET ‎https://<domain>/<api prefix>/<version>/user/get/dashboard/
This API endpoint will return the whole dashboard data of the user.
Query Parameters
currency_code
string
currency code
wallet_name
string
wallet name eg: wallet1,wallet2 etc
filter_val
string
Posible value are: overall, today, this_week, this_month, this_year.
Headers
apikey*
string
apikey
Authorization*
string
Bearer access token
Sample Code
Node
PHP
Error Responses
Status Code
Error Type
FIeld
Description
400
Validation Error
filter_val
Invalid filter value.
400
Validation Error
wallet_name
Invalid wallet name
400
Validation Error
currency_code
Invalid Currency Code.
Last updated
Was this helpful?