Union Convert
Rate limits: 1 time/1s (uid)
Description
Union margin exchange
HTTP Request
- POST /api/v2/mix/account/union-convert
Request
curl -X POST "https://api.bitget.com/api/v2/mix/account/union-convert" \
-H "ACCESS-KEY:*******" \
-H "ACCESS-SIGN:*" \
-H "ACCESS-PASSPHRASE:*" \
-H "ACCESS-TIMESTAMP:1659076670000" \
-H "locale:en-US" \
-H "Content-Type: application/json" \
-d '{"coin": "BTC","amount": "1"}'
Request Parameters
Parameter | Type | Required | Description |
---|---|---|---|
coin | String | Yes | Coin Name E.g., BTC |
amount | String | Yes | Exchange Quantity Unit: Exchange Currency |
Response
{
"code": "00000",
"msg": "success",
"requestTime": 1627293357336,
"data": {
"usdtAmount": "1"
}
}
Response Parameters
Parameter | Type | Description |
---|---|---|
usdtAmount | String | Exchanged USDT Quantity |