> ## Documentation Index
> Fetch the complete documentation index at: https://docs.juicyway.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Create a Swap Configuration

> Create a Swap Configuration

Endpoint

```json theme={null}
POST /exchange/swap-configurations
```

#### **Request Body:**

**Content Type:** `application/json`
**Sample Request Body:**

```json theme={null}
{
  "symbol": "USD-NGN",
  "ttl": 10,
  "type": "buy"
}
```

#### **Responses:**

* **`201`** - Swap Configuration Created

  **Sample:**

```json theme={null}
{
  "data": {
    "id": "string",
    "order_type": "sell",
    "symbol": "string",
    "ttl": 0
  }
}
```

* 422 - Unprocessable Entity
