资金划转
描述
划转资金至用户账户
HTTP请求
- POST /fapi/v1/account/transfer
请数参数
| 参数名 | 参数类型 | 是否必须 | 描述 |
|---|---|---|---|
| transferType | String | 是 | 资金划转类型, wallet_to_contract: 现货账户转至合约账户 contract_to_wallet: 合约账户转至现货账户 lever_to_contract: 杠杆账户转至合约账户 contract_to_lever: 合约账户转至杠杆账户 |
| coinSymbol | String | 是 | 币别 |
| amount | String | 是 | 金额 |
| unionId | Integer | 是 | 请求的唯一标识 |
请求示例
http
curl -X POST 'https://futuresopenapi.100ex.com/fapi/v1/account/transfer' \
-H "X-CH-TS:1736156253259" \
-H "X-CH-SIGN:*" \
-H "X-CH-APIKEY:********" \
-H "Content-Type: application/json" \
-d '{"transferType": "wallet_to_contract", "coinSymbol": "USDT", "amount": "50", "unionId": 123456}'返回参数
| 参数名 | 参数类型 | 描述 |
|---|---|---|
返回示例
json
{
"code": "0",
"msg": "suc",
"data": null,
"succ": true
}