Skip to main content

Create Internal Transfer

Create the internal transfer between different account types under the same UID.

tip

HTTP Request

POST /v5/asset/transfer/inter-transfer

Request Parameters

ParameterRequiredTypeComments
transferIdtruestringUUID. Please manually generate a UUID
cointruestringCoin, uppercase only
amounttruestringAmount
fromAccountTypetruestringFrom account type
toAccountTypetruestringTo account type

Response Parameters

ParameterTypeComments
transferIdstringUUID
statusstringTransfer status
  • STATUS_UNKNOWN
  • SUCCESS
  • PENDING
  • FAILED

  • Request Example

    POST v5/asset/transfer/inter-transfer HTTP/1.1
    Host: api-testnet.bybit.com
    X-BAPI-API-KEY: XXXXX
    X-BAPI-TIMESTAMP: 1670986690556
    X-BAPI-RECV-WINDOW: 50000
    X-BAPI-SIGN: XXXXX
    Content-Type: application/json
    {
    "transferId": "42c0cfb0-6bca-c242-bc76-4e6df6cbcb16",
    "coin": "BTC",
    "amount": "0.05",
    "fromAccountType": "UNIFIED",
    "toAccountType": "CONTRACT"
    }

    Response Example

    {
    "retCode": 0,
    "retMsg": "success",
    "result": {
    "transferId": "42c0cfb0-6bca-c242-bc76-4e6df6cbab16",
    "status": "SUCCESS"
    },
    "retExtInfo": {},
    "time": 1670986962783
    }