CorebanqCorebanq Developer Docs
Accountsv3

Get unified accounts balance (grouped) - V3 (POST variant)

Handler: GetAccountsBalanceV3Handler (same as GET). NOTE: this POST route maps to the same read-only balance handler; see task item on whether it should exist.

POST
/v3/accounts/balance

Response Body

application/json

application/json

application/json

curl -X POST "https://example.com/v3/accounts/balance"
{
  "total": {
    "posted": {
      "amount": "123456",
      "currency": "EUR",
      "precision": 2
    },
    "available": {
      "amount": "123456",
      "currency": "EUR",
      "precision": 2
    },
    "pending": {
      "amount": "123456",
      "currency": "EUR",
      "precision": 2
    }
  },
  "fiat": {
    "posted": {
      "amount": "123456",
      "currency": "EUR",
      "precision": 2
    },
    "available": {
      "amount": "123456",
      "currency": "EUR",
      "precision": 2
    },
    "pending": {
      "amount": "123456",
      "currency": "EUR",
      "precision": 2
    }
  },
  "crypto": {
    "posted": {
      "amount": "123456",
      "currency": "EUR",
      "precision": 2
    },
    "available": {
      "amount": "123456",
      "currency": "EUR",
      "precision": 2
    },
    "pending": {
      "amount": "123456",
      "currency": "EUR",
      "precision": 2
    }
  }
}
{
  "status": 400,
  "message": "string",
  "code": "transfers_m.account_not_found",
  "class": "validation",
  "retryable": false,
  "details": [
    {
      "field": "amount",
      "rule": "gt",
      "param": "0",
      "message": "amount must be greater than 0"
    }
  ]
}
{
  "status": 400,
  "message": "string",
  "code": "transfers_m.account_not_found",
  "class": "validation",
  "retryable": false,
  "details": [
    {
      "field": "amount",
      "rule": "gt",
      "param": "0",
      "message": "amount must be greater than 0"
    }
  ]
}