2025-02-12
- Added new parameters
Parameter | Type | Description |
---|---|---|
notionalUsdForBorrow | String | Notional value for Borrow in USDApplicable to Spot mode /Multi-currency margin /Portfolio margin |
notionalUsdForSwap | String | Notional value of positions for Perpetual Futures in USDApplicable to Multi-currency margin /Portfolio margin |
notionalUsdForFutures | String | Notional value of positions for Expiry Futures in USDApplicable to Multi-currency margin /Portfolio margin |
notionalUsdForOption | String | Notional value of positions for Option in USDApplicable to Spot mode /Multi-currency margin /Portfolio margin |
2025-01-14
Withdrawal API adjustment for EEA entity users
Due to compliance requirements, EEA entity users need to pass in the field rcvrInfo
when making on-chain/lightning withdrawal.
Parameters | Type | Required | Description |
---|---|---|---|
rcvrInfo | Object | Conditional | Recipient information For the specific entity users to do on-chain withdrawal/lightning withdrawal, this information is required. |
> walletType | String | Yes | Wallet Typeexchange : Withdraw to exchange walletIf withdrawal to the exchange wallet, relevant information about the recipient must be provided. For the exchange wallet belongs to business recipient, rcvrFirstName may input the company name, rcvrLastName may input "N/A" |
> exchId | String | Conditional | Exchange ID You can query supported exchanges through the endpoint of Get exchange list (public) If the exchange is not in the exchange list, fill in '0' in this field. |
> rcvrFirstName | String | Conditional | Receiver's first name, e.g. Bruce |
> rcvrLastName | String | Conditional | Receiver's last name, e.g. Wayne |
Withdraw assets to the exchange wallet
If users withdraw assets to the exchange wallet, they need to provide recipient information.
- Users under the EEA entity need to pass in the following field information of the recipient (rcvrFirstName, rcvrLastName). For the exchange wallet belongs to business recipient,
rcvrFirstName
may input the company name,rcvrLastName
may input "N/A". The examples are as follows:
Withdraw assets to the private wallet
You can't withdraw to a private wallet via API. Please withdraw via our app or website instead.
Other API adjustment
- Added new response parameters
Parameter | Type | Description |
---|---|---|
note | String | Withdrawal note |
- Added new enumerations
Parameter | Type | Description |
---|---|---|
state | String | 17 : Pending response from Travel Rule vendor |
Newly added error code
Error code | Error Message |
---|---|
58239 | You can't withdraw to a private wallet via API. Please withdraw via our app or website instead. |
2024-12-30
2024-09-19
- Added new response parameters
Parameter | Type | Description |
---|---|---|
enableSpotBorrow | Boolean | Whether borrow is allowed or not in Spot mode true : Enabledfalse : Disabled |
spotBorrowAutoRepay | Boolean | Whether auto-repay is allowed or not in Spot mode true : Enabledfalse : Disabled |
- Added new response parameters
Parameter | Type | Description |
---|---|---|
ccy | String | Currency |
- Added new response parameters
Parameter | Type | Description |
---|---|---|
isTradeBorrowMode | String | Whether borrowing currency automatically true false Only applicable to trigger order , trailing order and twap order |