Skip to main content

Prerequisites

  1. Contact your CSM to enable this feature and get access to:
    1. Get Exchange Accounts Credentials Public Key endpoint
    2. Add an Exchange Account endpoint
  2. Make sure to prepare your workspace and perform all the steps necessary here.
  3. Install all the prerequisites for our TypeScript and Python SDK.

Add an Exchange Account via SDK

You can use the following code to add an exchange account
This endpoint currently only supports the following exchanges INDEPENDENT_RESERVE,BIT, BITHUMB, BITSO, CRYPTOCOM, BYBIT_V2, WHITEBIT , HITBTC, GEMINI, HUOBI, GATEIO, COINHAKO, BULLISH, BITGET, and LUNO
If you’re connecting a sub-account (for example, on exchanges that support account hierarchies), include subAccountId in the credentials object. This field is required for sub-account connections and should be set to your exchange sub-account ID.
Make sure you’re using the correct value for the API base URL for your environment:
  • BasePath.US - for production workspaces
  • BasePath.Sandbox - for sandbox workspaces