用户业务系统间划转
POST: /v1/spot/balance/transfer
Parameters
| Parameter | Type | mandatory | Default | Description | Ranges |
|---|---|---|---|---|---|
| bizId | string | true | 唯一 id 用作重复请求幂等 | 最大长度为 128 | |
| from | enum | true | 划出业务账户 | bizType enum | |
| to | enum | true | 划入业务账户 | bizType enum | |
| currency | string | true | 币种名称必须全部小写(usdt,btc) | ||
| symbol | string | false | 划转交易对必须全部小写(划入划出有一方是杠杆此字段必传) | ||
| amount | bigDecimal | true | 划转的数量 | ||
| remark | string | false | max 256 | ||
| toRemark | string | false | max 100 |
Java
public String transferPost(){
}
Response
{
"code": 200,
"msg": "SUCCESS",
"msgInfo": [],
"data": 123456 //返回的划转唯一id 建议存储用来对账
}