Transfer Between Accounts
Transfer assets between different account types (Spot, Futures, Lending, Staking).
HTTP Request
POST /api/v1/spot/account/transfer
Request Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| from | string | Yes | Source account: "FUSD", "SPOT", "LENDING", "STAKING" |
| to | string | Yes | Destination account: "FUSD", "SPOT", "LENDING", "STAKING" |
| symbol | string | Yes | Coin symbol to transfer (e.g., USDT) |
| quantity | string | Yes | Transfer amount |
Request Example
curl -X POST "https://open-api.bydoxe.com/api/v1/spot/account/transfer" \
-H "ACCESS-KEY: your-api-key" \
-H "ACCESS-SIGN: your-signature" \
-H "ACCESS-PASSPHRASE: your-passphrase" \
-H "ACCESS-TIMESTAMP: 1659076670000" \
-H "Content-Type: application/json" \
-d '{
"from": "SPOT",
"to": "FUSD",
"symbol": "USDT",
"quantity": "100.00"
}'
Response Parameters
| Parameter | Type | Description |
|---|---|---|
| code | string | Response code |
| msg | string | Response message |
| requestTime | number | Request timestamp in milliseconds |
| data | object | Transfer result data |
| > type | string | Transfer type |
| > symbol | string | Coin symbol |
| > quantity | string | Transfer amount |
| > cTime | string | Creation time in milliseconds |
Response Example
Success Response
{
"code": "00000",
"msg": "success",
"requestTime": 1732000000000,
"data": {
"type": "SPOT_TO_FUSD",
"symbol": "USDT",
"quantity": "100.00",
"cTime": "1763459280833"
}
}
Error Codes
| Code | Message |
|---|---|
| 40002 | Unauthorized |
| 40004 | Fee more than request quantity |
| 40005 | Insufficient balance |
| 40006 | Unsupported transfer type: from -> to |
| 40007 | Lock amount error |
| 40034 | Coin not found: symbol |
| 50000 | System error |
| 50002 | Failed to expire FUSD position coupon |