ClearLoop for client
-
Delegate funds to exchange
+ POST /platform/orders + Request { "externalOrderId": "720A55C4-30FB-4418-8B73-F12E4AD99AA5", // uniq order id, string. UUID for example "amount": "1", "baseCurrency": "BTC", "orderType": "withdraw", "portfolioId": "Bahng9nai9ieGhaeg8Heasokahshee7A", // from parent Trading Account "toPortfolioId": "oishiphoosaipho9ooTikohk5foo4Wah" // to ClearLoop account }
-
Unlock delegated funds
+ POST /platform/orders + Request { "externalOrderId": "720A55C4-30FB-4418-8B73-F12E4AD99AA5", // uniq order id, string. UUID for example "amount": "1", "baseCurrency": "BTC", "orderType": "withdraw", "portfolioId": "oishiphoosaipho9ooTikohk5foo4Wah", // from ClearLoop account "toPortfolioId": "Bahng9nai9ieGhaeg8Heasokahshee7A" // to parent Trading Account }
-
Get delegated funds
+ GET /platform/wallets?portfolioId={clearLoopPortfolioId} // filter by ClearLoop portfolioId + Response 200 OK { "wallets": [ { "walletId": "ck92vvxyc000a3g5mb74gcdjh", "portfolioId": "oishiphoosaipho9ooTikohk5foo4Wah", "organizationId": "MYORG1" "currency": "BTC", "balance": "13", "reserve": "0", "available": "13" }, { "walletId": "oWou4Queir5eevaezeed6", "portfolioId": "oishiphoosaipho9ooTikohk5foo4Wah", "organizationId": "MYORG1" "currency": "ETH", "balance": "1348.4562", "reserve": "0", "available": "1348.4562" } ] }