v2

latestOpenAPI 3.0.12026-07-26334612609.5 KB
SDK

Transfer funds from an exchange account to an external address or another Coinbase account

post/sdk/{environmentId}/exchange/{exchangeKey}/accounts/{accountId}/transfer

Path parameters

environmentIdstring required
Example:95b11417-f18f-457f-8804-68e361f9164f

ID of the environment

exchangeKey'coinbase' | 'kraken' required

Source exchange identifier

Exchange identifier

accountIdstring required
Example:95b11417-f18f-457f-8804-68e361f9164f

UUID of an exchange account

Request body

tostring required
amountnumber required

the amount to transfer

currencystring required
networkstring
idstring
descriptionstring
mfaCodestring

Example request

{
  "to": "An example name",
  "currency": "An example name",
  "network": "An example name",
  "networkObject": {
    "networkId": "An example name"
  },
  "id": "95b11417-f18f-457f-8804-68e361f9164f",
  "description": "An example name",
  "mfaCode": "An example name"
}

Response

Transfer created successfully

idstring required
exchangeAccountIdstring
statusstring

Current status of the transaction

amountnumber required

the amount to transfer

currencystring required

Chain symbol that funds are to be transferred in.

createdAtstring date-time

Example response

{
  "id": "95b11417-f18f-457f-8804-68e361f9164f",
  "exchangeAccountId": "95b11417-f18f-457f-8804-68e361f9164f"
}