POST
/
api
/
service
/
data
/
account-balances
/
list
JavaScript
import Ivy from '@getivy/node-sdk';

const client = new Ivy({
  apiKey: 'My API Key',
});

const balances = await client.data.balances.list({ sessionId: 'sessionId' });

console.log(balances.balances);
{
  "balances": [
    {
      "accountId": "<string>",
      "available": "<string>",
      "current": "<string>",
      "currency": "<string>",
      "timestamp": "<any>"
    }
  ]
}

Authorizations

X-Ivy-Api-Key
string
header
required

API key for authentication

Body

application/json

Response

200 - application/json

Returns the list of account balances for the given data session

The response is of type object.