GET /api/v1/accounts

Returns accounts belonging to the authenticated API key owner for currencies enabled in the owner's effective jurisdiction.

Headers

  • X-API-KEY string Required

    Public API key issued from the Lumetrade API key management flow.

  • X-API-SECRET string Required

    API secret paired with the public API key.

Responses

  • 200 application/json

    Accounts returned successfully

    Hide response attributes Show response attributes object
    • id string

      Account id used by external account endpoints.

    • currency string

      Account currency.

    • balance number

      Available account balance.

    • lockedBalance number

      Locked account balance.

GET /api/v1/accounts
curl \
 --request GET 'https://api.lumetrade.com/api/v1/accounts' \
 --header "X-API-KEY: string" \
 --header "X-API-SECRET: string"
Response examples (200)
[
  {
    "id": "acc_8F4J2N",
    "currency": "ZAR",
    "balance": 2500,
    "lockedBalance": 0
  }
]