Skip to main content

Spot/Futures Transfer

Transfer funds between the spot account and the futures account.

API Information

Request Parameters (Body)

ParameterTypeRequiredDescription
assetstringYesAsset type, e.g. USDT
amountstringYesTransfer amount
from_accountintegerYesSource account: 1=spot, 2=futures
to_accountintegerYesDestination account: 1=spot, 2=futures

Request Example

{
"asset": "USDT",
"amount": "1000.00",
"from_account": 1,
"to_account": 2
}

Response Fields

FieldTypeDescription
codeintegerStatus code
messagestringResponse message
data.idintegerTransfer ID
data.assetstringAsset type
data.amountstringTransfer amount
data.from_accountintegerSource account
data.to_accountintegerDestination account
data.statusintegerStatus: 1=processing, 2=completed, 3=failed
data.fail_reasonstringFailure reason
data.created_atintegerCreation time (milliseconds)

Response Example

{
"code": 0,
"message": "success",
"data": {
"id": 123456,
"asset": "USDT",
"amount": "1000.00",
"from_account": 1,
"to_account": 2,
"status": 2,
"fail_reason": "",
"created_at": 1711929600000
}
}