Get Account Credit
requires auth
Account
Endpoint to retrieve account credit information.
GET /api/v1/accounting/account/{accountId}/portfolioPath Parameters:
Path
Type
Description
accountId*
string
your account ID
Example
GET /api/v1/accounting/account/NNCV3kWoo0Se_bUUl_8yRg/portfolio{
"account": {
"accountId": "NNCV3kWoo0Se_bUUl_8yRg",
"type": "client",
"name": "test-client-account",
"balances": {
"USD": {
"availableToTrade": 2100.0,
"totalFunds": 100.0,
"availableFunds": 100.0,
"lockedFunds": 0.0,
"totalCredit": 2000.0,
"availableCredit": 2000.0,
"usedCredit": 0.0
},
"USDT": {
"availableToTrade": 1000.0,
"totalFunds": 0.0,
"availableFunds": 0.0,
"lockedFunds": 0.0,
"totalCredit": 1000.0,
"availableCredit": 1000.0,
"usedCredit": 0.0
},
"BTC": {
"availableToTrade": 1.23,
"totalFunds": 1.23,
"availableFunds": 1.23,
"lockedFunds": 0.0,
"totalCredit": 0.0,
"availableCredit": 0.0,
"usedCredit": 0.0
}
}
},
"status": "ok",
"httpStatusCode": 200
}Last updated
