GET
/
exchange
/
exchange
/
swap
/
{id}
{
  "data": {
    "correlation_id": "7da742ea-a1bc-11ee-b907-560f156a658b",
    "created_at": "2021-01-01T00:00:00Z",
    "customer": {
      "email": "customer@email.com",
      "id": "1",
      "name": "User 1",
      "type": "user"
    },
    "id": "7da8e726-a1bc-11ee-80cf-560f156a658b",
    "provider": {
      "email": "provider@email.com",
      "id": "1",
      "name": "Provider 1",
      "type": "provider"
    },
    "source_amount": {
      "amount": 1,
      "currency": "USD"
    },
    "status": "success",
    "symbol": "USD-NGN",
    "target_amount": {
      "amount": 1000,
      "currency": "NGN"
    },
    "updated_at": "2021-01-01T00:00:00Z"
  }
}

Path Parameters

id
string
required

Swap ID

Response

200
application/json
Swap

Response schema for swap

data
object

Swap details

Example:
{
  "correlation_id": "7da742ea-a1bc-11ee-b907-560f156a658b",
  "created_at": "2021-01-01T00:00:00Z",
  "customer": {
    "email": "customer@email.com",
    "id": "1",
    "name": "User 1",
    "type": "user"
  },
  "id": "7da8e726-a1bc-11ee-80cf-560f156a658b",
  "provider": {
    "email": "provider@email.com",
    "id": "1",
    "name": "Provider 1",
    "type": "provider"
  },
  "source_amount": { "amount": 1, "currency": "USD" },
  "status": "success",
  "symbol": "USD-NGN",
  "target_amount": { "amount": 1000, "currency": "NGN" },
  "updated_at": "2021-01-01T00:00:00Z"
}