Skip to main content

Transfer between user business systems

POST

/az/spot/balance/transfer

Parameters​

ParameterTypeMandatoryDefaultDescriptionRanges
bizIdstringtrueUnique id for idempotent processing. Only letters, numbers, '-' and '' are allowed (regex ^[A-Za-z0-9-]+$)Maximum length is 128
fromenumtrueFund transfer out account. from and to must not be equal (FUND_015), out-of-range value reports FUND_021SPOT / FUTURES_U
toenumtrueFund transfer in account. from and to must not be equal (FUND_015), out-of-range value reports FUND_021SPOT / FUTURES_U
currencystringtrueCurrency name must be all lowercase (usdt,btc). Reports FUND_017 if the currency does not exist
amountbigDecimaltrueTransfer amount. Must be a positive number; trailing zeros are stripped and precision is bounded by the currency maxPrecision (lower bound 10)

Response

{
"rc": 0,
"mc": "SUCCESS",
"ma": [],
"result": 123456 //The returned unique id of the transfer, it is recommended to store it for reconciliation
}