跳转到主要内容
现货账户与合约账户之间的划转

请求URL

POST https://cloud-api.wooxpro.com/account/v1/transfer-contract

请求限制

参见 速率限制详细

请求参数

请求
curl 
 -H 'X-API-KEY:{{AccessKey}}'
 -H 'X-API-TIMESTAMP:{{currentTime}}'
 -H 'X-API-SIGN:{{SIGN}}' 
 -X POST -d '{
  "currency":"USDT",
  "amount":"10",
  "transferType":"spot_to_contract"
}'
https://cloud-api.wooxpro.com/account/v1/transfer-contract
参数类型是否必填描述
currencyString必填币种, 如 USDT (当前只支持USDT)
amountString必填划转金额,取值范围[0.01,10000000000]
transferTypeString必填划转方向
-spot_to_contract=现货到合约
-contract_to_spot=合约到现货

响应详情

响应
{
  "message":"Ok",
  "code":1000,
  "data":{}
}
字段类型描述
currencyString币种
amountString成功划转的金额