Account Bulk Balance Query

The GET /account/balances method is used to query the balances of multiple accounts simultaneously, including the consolidated balance in currencies of the queried accounts.

Example of querying balances in batch:

GET /account/balances

{
    account_ids: [
        "19720852-be40-489a-a3b3-985f51a0458c"
    ]
}

Response example:

{
  "data" [
    {
      "account_id": "19720852-be40-489a-a3b3-985f51a0458c",
      "balances" : [
        {
          "id": "a6eec3a6-682b-4701-a139-8cfcdb07769e",
          "currency": "brl",
          "type": "available",
          "amount": 500,
          "seq_num": 15
        }
      ]
    {
  ]
}

Last updated