Endpoint

PUT /exchange/swap-configurations/{id}

Path Parameters:

  • id (string, required): Swap Configuration ID.

Request Body:

Content Type: application/json Sample:

{
  "symbol": "USD-NGN",
  "ttl": 10,
  "type": "buy"
}

Responses

201 - Swap Configuration Updated

Sample

{
  "data": {
    "id": "string",
    "order_type": "sell",
    "symbol": "string",
    "ttl": 0
  }
}

422 - Unprocessable Entity