Skip to main content
GET
TypeScript

Path Parameters

mainExchangeAccountId
string
required

The id of the main exchange account for which the requested collateral account is associated with

Response

An ExchangeAccount object

id
string
type
enum<string>

Exchange account's type

Available options:
INDEPENDENT_RESERVE,
ENCLAVE_MARKETS,
BIT,
COINFLEX,
KUCOIN,
PXS,
LIQUID,
BITHUMB,
BITFINEX,
BITSO,
BITSTAMP,
KRAKEN,
KRAKENINTL,
BINANCE,
BINANCEUS,
CRYPTOCOM,
BYBIT_V2,
COINBASEPRO,
COINBASEPRIME,
COINBASEINTERNATIONAL,
WHITEBIT,
COINBASEEXCHANGE,
KORBIT,
HITBTC,
GEMINI,
CIRCLE,
BITMEX,
HUOBI,
DERIBIT,
OKCOIN_V5,
OKEX,
COINMETRO,
GATEIO,
SCRYPT,
COINHAKO,
LIGHTBIT,
BULLISH,
CANVAS_CONNECT,
BITGET,
LUNO,
BIT_GENERA,
TRANSFERO
name
string

Display name of the exchange account

status
string
assets
object[]
success
boolean

Did succeed in retrieve balance data

tradingAccounts
object[]
isSubaccount
boolean

True if the account is a subaccount in an exchange

mainAccountId
string

if the account is a sub-account, the ID of the main account