> ## Documentation Index
> Fetch the complete documentation index at: https://cobo-docs-feature-cobo-cli.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Transfer Among Exchange Account

> <Note>This content applies to WaaS 1.0 only. We highly recommend that you upgrade to [WaaS 2.0](https://www.cobo.com/developers/v2/guides/overview/introduction).</Note> This endpoint allows authenticated traders to transfer funds between their exchange accounts. The request must include the 'from_exchange_account_token', 'to_exchange_account_token', 'coin', 'amount', and 'request_id' parameters. The response includes information about the transfer, such as the requested and estimated amounts, fees, and status.

#### Request

<ParamField body="from_exchange_account_token" type="String" required>from exchange account token (aquire from Web)</ParamField>
<ParamField body="to_exchange_account_token" type="String" required>to exchange account token (aquire from Web)</ParamField>
<ParamField body="coin" type="String" required>Coin code</ParamField>
<ParamField body="amount" type="Int" required>Int amount (e.g. if 1 BTC is to be withdrawn, the amount should be multiplied by 100,000,000 (Satoshis))</ParamField>
<ParamField body="request_id" type="String" required>Request ID (Universally unique ID for each request)</ParamField>

#### Response

<ResponseField name="success" type="bool">request successful or failed</ResponseField>

<ResponseField name="result" type="object">
  <Expandable title="object">
    <ResponseField name="request_id" type="String">Request ID (Universally unique ID for each request)</ResponseField>
    <ResponseField name="coin" type="String">Coin code</ResponseField>
    <ResponseField name="amount" type="Int">Int amount contains decimals (e.g. if 1 BTC is to be deposited, the amount should be multiplied by 100,000,000 (Satoshis))</ResponseField>
    <ResponseField name="abs_amount" type="String">Absolute amount. If you trade 1.5 BTC, then the abs\_amount is 1.5</ResponseField>
    <ResponseField name="status" type="String">Status: ok, pending, failed, human\_check</ResponseField>
    <ResponseField name="fee" type="Int">Fee amount (Note that the value here contains decimals. For example, a BTC value of 100,000,000 here is actually 1 BTC)</ResponseField>
    <ResponseField name="abs_fee" type="String">Absolute fee value. For examle, abs\_cobo\_fee 0.00005 means exactly 0.00005BTC</ResponseField>
    <ResponseField name="estimated_amount_received" type="Int">Estimated amount received (Note that the value here contains decimals. For example, a BTC value of 100,000,000 here is actually 1 BTC)</ResponseField>
  </Expandable>
</ResponseField>

<RequestExample>
  ```python Python
  request(
      "POST",
      "/v1/custody/trading_transfer/",
      {
          "from_exchange_account_token": "from_token",
          "to_exchange_account_token": "to_token",
          "coin": "BTC",
          "amount": "100000000",
          "request_id": "UNIQUE_ID_FOR_TRANSFER"
      },
      api_key, api_secret, host
  )
  ```

  ```javascript JavaScript
  coboFetch('POST', '/v1/custody/trading_transfer/',
          {
              "from_exchange_account_token": "from_token",
              "to_exchange_account_token": "to_token",
              "coin": "BTC",
              "amount": "100000000",
              "request_id": "UNIQUE_ID_FOR_TRANSFER"
          },
          api_key, api_secret, host
      ).then(res => {
          res.json().then((data)=>{
              console.log(JSON.stringify(data, null, 4));
          })
      }).catch(err => {
          console.log(err)
      });
  ```

  ```go Go
  Request("POST", "/v1/custody/trading_transfer/", map[string]string{
      "from_exchange_account_token": "from_token",
      "to_exchange_account_token": "to_token",
      "coin": "BTC",
      "amount": "100000000",
      "request_id": "UNIQUE_ID_FOR_TRANSFER"
  })
  ```
</RequestExample>

<ResponseExample>
  ```json
  {
    "success": true,
    "result": {
      "request_id": "UNIQUE_ID_FOR_TRANSFER",
      "coin": "BTC",
      "amount": 100000000,
      "abs_amount": "1",
      "status": "ok",
      "fee": 500000,
      "abs_fee": "0.0005",
      "estimated_amount_received": "99950000"
    }
  }
  ```
</ResponseExample>
