Skip to main content

Unified Transfer

Unified Transfer

Transfer funds between accounts. The transfer type is determined by type. Consolidates internal (same UID), UID-to-UID, and subaccount transfer endpoints.

Request URL

POST /deepcoin/v2/asset/unified-transfer

Common Request Parameters

Field NameRequiredTypeDescription
typetruestringTransfer type: internal / uid / subaccount
ccytruestringCurrency
amttruestringAmount
clientIdfalsestringClient idempotency ID
internalfalseobjectRequired when type=internal. See internal parameters below
uidfalseobjectRequired when type=uid. See uid parameters below
subaccountfalseobjectRequired when type=subaccount. See subaccount parameters below

type=internal (Same UID Account Transfer)

internal parameters:

Field NameRequiredTypeDescription
uidtrueint64User UID, must match the API Key owner
fromAcctTypetrueintSource account type: 1=Spot 2=Wallet 3=Rebate 5=Inverse Swap 7=Linear Swap 10=Trial Fund
toAcctTypetrueintDestination account type, same enum as above

Request example:

{
"type": "internal",
"ccy": "USDT",
"amt": "100",
"clientId": "transfer_20260528_001",
"internal": {
"uid": 36020176,
"fromAcctType": 7,
"toAcctType": 1
}
}

type=uid (UID-to-UID Transfer)

Support adding recipient UIDs to the address book.

uid parameters:

Field NameRequiredTypeDescription
fromtrueint64Source UID, must match the API Key owner
totrueint64Destination UID
receiverAccountfalsestringReceiver account
receiverAccountTypefalsestringReceiver account type: email / phone

Request example:

{
"type": "uid",
"ccy": "USDT",
"amt": "100",
"clientId": "transfer_20260528_002",
"uid": {
"from": 36023126,
"to": 36023127,
"receiverAccount": "user@example.com"
}
}

type=subaccount (Subaccount Transfer)

subaccount parameters:

Field NameRequiredTypeDescription
fromtruestringSource UID
totruestringDestination UID
fromAcctTypetruestringSource account type
toAcctTypetruestringDestination account type

Request example:

{
"type": "subaccount",
"ccy": "USDT",
"amt": "100",
"clientId": "transfer_20260528_003",
"subaccount": {
"from": "36023126",
"to": "36023128",
"fromAcctType": "7",
"toAcctType": "1"
}
}

Response Parameters

Field NameTypeDescription
transferIdstringTransfer ID
clientIdstringClient idempotency ID
statusstringTransfer status
cTimestringCreation time

Response Example

{
"transferId": "40ce50f2-a96d-4efc-8168-148fd82df25f",
"clientId": "transfer_20260528_001",
"status": "success",
"cTime": "1739263130000"
}