Transfer between user business systems
POST: /v1/spot/balance/transfer
Parameters
Parameter | Type | mandatory | Default | Description | Ranges |
---|---|---|---|---|---|
bizId | string | true | Unique id for idempotent processing | Maximum length is 128 | |
from | enum | true | Fund transfer out account | bizType enum | |
to | enum | true | Fund transfer in account | bizType enum | |
currency | string | true | Currency name must be all lowercase (usdt,btc) | ||
symbol | string | false | The transfer symbol must be all lowercase (this field must be passed if one of the transfer-in and transfer-out parties is leverage) | ||
amount | bigDecimal | true | Transfer amount | ||
remark | string | false | max 256 | ||
toRemark | string | false | max 100 |
Java
public String transferPost(){
}
Response
{
"code": 200,
"msg": "SUCCESS",
"msgInfo": [],
"data": 123456 //The returned unique id of the transfer, it is recommended to store it for reconciliation
}