POST
/
dashboard
/
total-balance
/
aggregates
curl --request POST \
  --url https://gateway.finhub.cloud/wallet/dashboard/total-balance/aggregates \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "walletId": "<string>",
  "overview": [
    "<string>"
  ],
  "inTermsOf": "EUR"
}'
{
  "totalBalance": 123,
  "twentyFourHourPercentage": 123,
  "twentyFourHourChange": 123,
  "totalBalanceByAssets": {
    "labels": [
      "<string>"
    ],
    "data": [
      "<string>"
    ]
  }
}

Authorizations

Authorization
string
headerrequired

The access token received from the authorization server in the OAuth 2.0 flow.

Headers

tenantId
string

Tenant Id

Body

application/json
walletId
string
overview
string[]
inTermsOf
enum<string>
Available options:
EUR,
USD

Response

200 - application/json
totalBalance
number
required
twentyFourHourPercentage
number
required
twentyFourHourChange
number
required
totalBalanceByAssets
object
required