Endpoint

POST /exchange/swap-configurations

Request Body:

Content Type: application/json Sample Request Body:

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

Responses:

  • 201 - Swap Configuration Created

    Sample:

{
  "data": {
    "id": "string",
    "order_type": "sell",
    "symbol": "string",
    "ttl": 0
  }
}
  • 422 - Unprocessable Entity