Link

OTC orders

  1. Ask counterparty to send you their portfolioId

  2. Create order using create order API with these parameters:

     + POST /platform/orders
        
     + Request (application/json)
       {
         "externalOrderId": "F7FCCFD3-B61B-4467-B456-B0FC27CE4494",
         "orderType": "buy", // or sell
         "baseCurrency": "BTC",
         "quoteCurrency": "USD",
         "amount": "5",
         "portfolioId": "46",
         "limitType": "otc",
         "priceLimit": "3300",
         "counterpartyPortfolio": "53453", // recieved counterparty portfolioId
         "daysToSettle": "3"
       }