Skip to main content
POST
https://api.dev.cobo.com
/
v1
/
custody
/
trading_deposit
request(
    "POST",
    "/v1/custody/trading_deposit/",
    {
        "exchange_account_token": "token",
        "coin": "BTC",
        "amount": "100000000",
        "request_id": "UNIQUE_ID_FOR_DEPOSIT"
    },
    api_key, api_secret, host
)
{
  "success": true,
  "result": {
    "request_id": "UNIQUE_ID_FOR_DEPOSIT",
    "coin": "BTC",
    "amount": 100000000,
    "abs_amount": "1",
    "status": "ok",
    "fee": 500000,
    "abs_fee": "0.0005",
    "estimated_amount_received": "99950000"
  }
}

Request

exchange_account_token
String
required
to exchange account token (aquire from Web)
coin
String
required
Coin code
amount
Int
required
Int amount (e.g. if 1 BTC is to be withdrawn, the amount should be multiplied by 100,000,000 (Satoshis))
request_id
String
required
Request ID (Universally unique ID for each request)

Response

success
bool
request successful or failed
result
object
request(
    "POST",
    "/v1/custody/trading_deposit/",
    {
        "exchange_account_token": "token",
        "coin": "BTC",
        "amount": "100000000",
        "request_id": "UNIQUE_ID_FOR_DEPOSIT"
    },
    api_key, api_secret, host
)
{
  "success": true,
  "result": {
    "request_id": "UNIQUE_ID_FOR_DEPOSIT",
    "coin": "BTC",
    "amount": 100000000,
    "abs_amount": "1",
    "status": "ok",
    "fee": 500000,
    "abs_fee": "0.0005",
    "estimated_amount_received": "99950000"
  }
}