跳转到主要内容

Documentation Index

Fetch the complete documentation index at: https://developer.wooxpro.com/llms.txt

Use this file to discover all available pages before exploring further.

子划转到主(主账户适用)(SIGNED)

子账户的合约账户向主账户的合约账户划转(主账户适用)

请求URL

POST https://cloud-api.wooxpro.com/account/contract/sub-account/main/v1/sub-to-main

请求限制

参见 速率限制详细

请求参数

请求
curl
 -H 'X-BM-KEY:{{AccessKey}}'
 -H 'X-BM-TIMESTAMP:{{currentTime}}'
 -H 'X-BM-SIGN:{{SIGN}}' 
 -X POST -d '{
    "requestNo":"4e2adcff-2122-1ce7-2557-4f65d2ce1ca2",
    "amount":"1",
    "currency":"USDT",
    "subAccount":"subAccountName@xxx.com"
}'
https://cloud-api.wooxpro.com/account/contract/sub-account/main/v1/sub-to-main`
字段类型是否必填描述
requestNoStringuuid或其他通用唯一标识符, 支持长度64
amountString划转数量
currencyString当前仅支持USDT
subAccountString子账户用户名

响应详情

响应
{
  "message": "OK",
  "code": 1000,
  "trace": "c1e4e99ff0ec452f8b8bc5f1eb38d733.76.16861960436563119",
  "data": {}
}
code 返回 1000 表示划转成功。