title: Can I do transfer between portfolios with withdraw and deposit APIs? [coinbase-api]
body: <p>We cannot use the following APIs to do transfer between portfolios.</p>
  <ol>
  <li>“POST /withdrawals/coinbase-account&quot; (url:<a href="https://api-public.sandbox.pro.coinbase.com/withdrawals/coinbase-account" rel="nofollow noreferrer">https://api-public.sandbox.pro.coinbase.com/withdrawals/coinbase-account</a>)</li>
  <li>“POST /deposits/coinbase-account”   (url:<a href="https://api-public.sandbox.pro.coinbase.com/deposit/coinbase-account" rel="nofollow noreferrer">https://api-public.sandbox.pro.coinbase.com/deposit/coinbase-account</a>)</li>
  </ol>
  <p>The error msg is as follows:
  ApiError(status 403 code=): Invalid scope COINBASE args({'data': '{&quot;amount&quot;: 0.1, &quot;currency&quot;: &quot;BTC&quot;, &quot;coinbase_account_id&quot;: &quot;4b08d5e5-fe77-4249-b017-301e8890652a&quot;}', 'headers': {'Content-type': 'application/json', 'CB-ACCESS-KEY': 'XXXXXXXXXXXX', 'CB-ACCESS-SIGN': 'xxxxxxxxxxxxxxxxxxxxxxxxx, 'CB-ACCESS-TIMESTAMP': '1594280190.878908', 'CB-ACCESS-PASSPHRASE': 'xxxxxxxxxxx'}, 'timeout': 30.0})</p>
  <p>Let us know if these 2 APIs are for transfer between portfolios or not. However, if the API is ok, could you please demonstrate on the url and request payload for the following 2 use cases:</p>
  <ol>
  <li>If I want to do transfer from profile A to profile B, using A's API keys(with transfer access) and A.withdrawals(asset, amount, coinbase_id = B)</li>
  <li>If I want to do transfer from profile B to profile A, using A's API keys(with transfer access) and A.deposits(asset, amount, coinbase_id = B)</li>
  </ol>
  <p>Especially, Does the coinbase_id stands for profile(potfolio) id or account(asset) id? How to obtain this id by API?</p>