> ## 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/v1/transfer-contract`

#### 请求限制

参见 [速率限制详细](/cn/rate-limit)

#### 请求参数

> 请求

```shell theme={null}
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
```

| 参数           | 类型     | 是否必填 | 描述                                                                 |
| :----------- | :----- | :--- | :----------------------------------------------------------------- |
| currency     | String | 必填   | 币种, 如 `USDT` (当前只支持USDT)                                           |
| amount       | String | 必填   | 划转金额，取值范围\[0.01,10000000000]                                       |
| transferType | String | 必填   | 划转方向<br />-`spot_to_contract`=现货到合约<br />-`contract_to_spot`=合约到现货 |

#### 响应详情

> 响应

```json theme={null}
{
  "message":"Ok",
  "code":1000,
  "data":{}
}
```

| 字段       | 类型     | 描述      |
| :------- | :----- | :------ |
| currency | String | 币种      |
| amount   | String | 成功划转的金额 |

<aside class="success">
  code 返回 1000 表示划转成功。
</aside>
