Skip to main content

SubAccountTransferRequest

walletSrcTypestringrequired

Source wallet type

Possible values: [SPOT, CROSS, ISOLATED]

walletSrcstring

Required when walletSrcType is ISOLATED

walletDestTypestringrequired

Destination wallet type

Possible values: [SPOT, CROSS, ISOLATED]

walletDeststring

Required when walletDestType is ISOLATED

fromUserstringrequired

Source username

receiverstringrequired

Receiver username

apiWallets object[]required

Transfer details

  • Array [
  • currencystringrequired

    Currency

    allBalancebooleanrequired

    Whether to transfer entire balance. When true, balance is ignored

    balancenumber

    Amount to transfer (e.g. 10). Required when allBalance is false

  • ]
  • SubAccountTransferRequest
    {
    "walletSrcType": "SPOT",
    "walletSrc": "string",
    "walletDestType": "SPOT",
    "walletDest": "string",
    "fromUser": "string",
    "receiver": "string",
    "apiWallets": [
    {
    "currency": "string",
    "allBalance": true,
    "balance": 0
    }
    ]
    }