Get account by currency Run in API Explorer
Ask AI
Returns one account belonging to the authenticated API key owner for the requested currency when that currency is enabled in the owner's effective jurisdiction.
GET
/api/v1/accounts/currency/{currency}
curl \
--request GET 'https://api.lumetrade.com/api/v1/accounts/currency/ZAR' \
--header "X-API-KEY: string" \
--header "X-API-SECRET: string"
Response examples (200)
{
"id": "acc_8F4J2N",
"currency": "ZAR",
"balance": 2500,
"lockedBalance": 0
}
Response examples (404)
{
"id": "acc_8F4J2N",
"currency": "ZAR",
"balance": 2500,
"lockedBalance": 0
}