# Get FX Swap

Retrieve a single FX swap by ID for the authenticated business.

## Request

**Endpoint:**

```
GET `/api/v1/fx/swap/{swapId}`
```

**Authorization:**

BearerAuth

AuthorizationBearer <token>

In: `header`

## Path Parameters

- **swapId** `string`  
  FX swap unique identifier  
  Format `uuid`

## Response Body

### Success Responses

#### 200 application/json

```json
{
  "requestId": "fe40f562-cf9d-46df-9a87-2df34f177605",
  "requestTimestamp": "2026-04-21 14:16:50",
  "message": "FX swap fetched successfully.",
  "statusCode": 200,
  "data": {
    "id": "01966f94-0ea8-7309-80e2-4a8676e8d5e2",
    "destinationCurrency": "USD",
    "sourceCurrency": "NGN",
    "status": "pending",
    "reference": "TRX_6WZSIYEK43",
    "sourceReference": "SRC_FX_20260421_001",
    "negotiatedRate": 1585.5,
    "createdAt": "2026-04-21T14:08:27+00:00"
  }
}
```

### Error Responses

- **400**
- **401**
- **500**

## cURL Example

```bash
curl -X GET "https://atlas.tryduplo.com/api/v1/fx/swap/01966f94-0ea8-7309-80e2-4a8676e8d5e2" \
  -H "Authorization: Bearer "
```

---

**How is this guide?**  
Good / Bad

**Last updated on 5/27/2026**
