Last updated 2 months ago
Retrieve account balances by accountId.
The account ID
Successful response
"-39592.01"
"USD"
Date-time in ISO 8601 format
"2024-08-01T18:44:05Z"
const response = await fetch('https://cams.aquanow.com/api/v1/accounts/{accountId}/balances', { method: 'GET', headers: {}, }); const data = await response.json();
{ "accountId": "123e4567-e89b-12d3-a456-426614174000", "mtm": "-39592.01", "mtmCurrency": "USD", "lastUpdatedAt": "2024-08-01T18:44:05Z", "credit": { "creditCurrency": "USD", "creditLimit": "40000", "utilizedCredit": "39592.01", "unutilizedCredit": "407.99" }, "assets": [ { "asset": "BTC", "tradeBalance": "0", "custodyBalance": "0", "pendingSettlement": "0", "open": "0", "availableToWithdraw": "0" } ] }