curl --request GET \
--url https://api.easierprop.com/api/accounts/{id}/summary \
--header 'X-API-Key: <api-key>'{
"ok": true,
"data": {
"balance": 10000,
"credit": 0,
"currency": "USD",
"equity": 10142.5,
"freeMargin": 9642.5,
"isInvestor": false,
"leverage": 100,
"margin": 500,
"marginLevel": 2028.5,
"method": "Exchange",
"profit": 142.5,
"type": "Hedging"
}
}Returns balance, equity, margin, profit, leverage, currency, credit, type, method, and investor flag.
curl --request GET \
--url https://api.easierprop.com/api/accounts/{id}/summary \
--header 'X-API-Key: <api-key>'{
"ok": true,
"data": {
"balance": 10000,
"credit": 0,
"currency": "USD",
"equity": 10142.5,
"freeMargin": 9642.5,
"isInvestor": false,
"leverage": 100,
"margin": 500,
"marginLevel": 2028.5,
"method": "Exchange",
"profit": 142.5,
"type": "Hedging"
}
}