Last updated 2 months ago
Retrieve a list of accounts with optional filtering and pagination.
OK
The token of the last item in the response
The total number of items in the entire filtered data set
"1"
const response = await fetch('https://cams.aquanow.com/api/v1/accounts', { method: 'GET', headers: {}, }); const data = await response.json();
{ "after": "text", "totalCount": "1", "items": [ { "accountId": "123e4567-e89b-12d3-a456-426614174000", "accountStatus": "ACTIVE", "accountType": "CREDIT", "createDate": "2024-12-21T13:19:44.121Z", "credit": { "creditCurrency": "USD", "creditLimit": "40000", "utilizedCredit": "39592.01", "unutilizedCredit": "407.99" }, "assets": [ { "asset": "BTC", "tradeBalance": "0", "custodyBalance": "0", "pendingSettlement": "0", "open": "0", "availableToWithdraw": "0" } ], "recentCreditHistory": [ { "creditLimitRequested": "10000.00", "newCreditLimit": "10000.00", "action": "INCREASE", "updatedAt": "2024-08-01T18:44:05Z" } ] } ] }