GET
/
subaccount
/
analytics
Analytics
curl --request GET \
  --url https://nini.monieswitch.com/subaccount/analytics \
  --header 'Authorization: <authorization>'
{
  "data": {
    "totalBalance": 19302.375,
    "totalSubaccountBalance": 580,
    "totalSubaccounts": 1,
    "walletBalance": 18722.375
  },
  "status": true
}

Headers

Authorization
string
required

Set value to 'Bearer {{MERCHANT_SECRET_KEY}}'

Query Parameters

walletId
string

Optional. Search wallet by wallet ID

Example:

"16c8c17b-8a66-4f8b-b195-269e92f831ae"

Response

200 - application/json

Analytics / Analytics

The response is of type object.