post
https://api.connex.trade/api/v1/transfer/apply
Only API keys with Transfer privilege can call this endpoint.
Permission
- Applies to both primary user and trading portfolio's API Key.
- Permission: TRANSFER.
Rate Limit
- no rate limit
Request
| Field name | Type | Necessary | Remarks |
|---|---|---|---|
| fromTradeAccountId | Long | Y | Outgoing Trade account ID (obtained through Trade account list) This field is applicable to Trading Portfolio's ID. |
| toTradeAccountId | Long | Y | Posting Trade account ID (obtained through Trade account list) This field is applicable to Trading Portfolio's ID. |
| fromAccountType | String | Conditional | **fromAccountType(for Trading Portfolio): OKX, BINANCE |
| toAccountType | String | Conditional | **toAccountType(for Trading Portfolio): OKX, BINANCE - When toAccountType is Binance, there may be a delay of 0.5-1 hour due to exchange. |
| currency | String | Y | Currency |
| network | String | N | This field will only take effect in cross-exchange transfers. |
| amount | Double | Y | Quantity (minimum amount :Depend on On-Chain or Exchange Precision Requirements) |
| clientOrderId | String | N | The unique user-defined id |
| rapidTransfer | String | N | true / false . Rapid Transfer only supports USDT currently, which will waive the gas fee for transferring USDT between exchanges, including BINANCE and OKX. |
Response
| Field name | Type | Remarks |
|---|---|---|
| transferId | Long | Transfer ID |
| clientOrderId | String | The unique user-defined id |
Details
1. API Key
| API Key | Permission |
|---|---|
| Primary user’s API Key: | - Supports transfers between all Trading Portfolios under the same primary user. |
| Trading Portfolio API Key: | - Only supports transfers between different exchanges within the API-owned Trading Portfolio. |
2. Account Type
| Exchange | Account type |
|---|---|
| Trading Portfolio | OKX, BINANCE |
3. Network
- This field will only take effect in cross-exchange transfers.
- If you want to select a specific network to transfer, please select according to the following fields.
| Network Field |
|---|
| TRC20, BTC, ERC20, BSC, APT, ADA, ALGO, AVAXC, DOGE, EGLD, ETC, IOTA, KSM, NEO3, ONT, QTUM, THETA, XMR, ZEC, DOT, FTM, MATIC, SOL, OPTIMISM, ARBITRUM, RON, LTC, EOS, XRP, BOBA, FIL, CFX, BCH, NEAR |
