Skip to main content

Sub Transfer

Rate limit: 10 req/sec/UID

Description

The types of transfers supported by this interface include

  • Parent account transfer to sub-accounts (only parent account APIKey has access)
  • Sub-accounts to parent account (only parent account APIKey has access)
  • Sub-accounts transfer to sub-accounts (only the parent account APIKey has access and the sub-accounts belong to same parent account)
  • Sub-account inner accounts transfer, e.g. spot to futures(only the parent account APIKey has access, and the fromUserId & toUserId should be same)

Only the parent account API Key can use this endpoint, and the API Key must bind IP

HTTP Request

  • POST /api/v2/spot/wallet/subaccount-transfer
Request Example
curl -X POST "https://api.bitget.com/api/v2/spot/wallet/transfer" \
-H "ACCESS-KEY:*******" \
-H "ACCESS-SIGN:*******" \
-H "ACCESS-PASSPHRASE:*****" \
-H "ACCESS-TIMESTAMP:1659076670000" \
-H "locale:en-US" \
-H "Content-Type: application/json" \
-d '{"fromUserId":"1","toUserId":"2","fromType":"spot","toType":"spot","amount":"10","coin":"USDT","clientOid":"1"}'

Request Parameter

ParameterTypeRequiredDescription
fromTypeStringYesAccount type
spot: Spot account
p2p: P2P/Funding account
coin_futures: Coin-M futures account
usdt_futures: USDT-M futures account
usdc_futures: USDC-M futures account
cross_margin: Cross margin account
isolated_margin: Isolated margin account
toTypeStringYesAccount type
spot: Spot account
p2p: P2P/Funding account
coin_futures: Coin-M futures account
usdt_futures: USDT-M futures account
usdc_futures: USDC-M futures account
cross_margin: Cross margin account
isolated_margin: Isolated margin account
amountStringYesAmount to transfer
coinStringYesCurrency of transfer
symbolStringNoSymbol name(Required in Isolated margin (spot) transferring)
clientOidStringNoCustom order ID
fromUserIdStringYesOutgoing Account UID
toUserIdStringYesIncoming Account UID
Response Example
{
"code": "00000",
"msg": "success",
"requestTime": 1683875302853,
"data": {
"transferId": "123456",
"clientOid": "x123"
}
}

Response Parameter

ParameterTypeDescription
transferIdStringTransfer ID
clientOidStringCustom order ID

How was your Reading Experience with us?