JSON API: Balance requests
Refer to the balance schema for a formal definition of the request and the balance response schema for a definition of the response.
Routes: balance/get and balance/query
Note that if both a code
and a uuid
are provided, they must refer to the same account.
{
"code": "1120",
"currency": "CAD",
"domain": "CORP"
}
Either the errors or balance attribute will be present, not both.
{
"balance": {
"account": {
"code": "1120",
"uuid": "c5638e29-6cf6-4fa3-beaf-825accf58b5f"
},
"amount": "-3000.00",
"currency": "CAD",
"domain": {
"code": "CORP",
"uuid": "9ffbb60a-ae31-410b-a9e6-c913613d8daa"
}
},
"time": "2021-12-28T07:35:48.056256Z"
}