Request Details

  • Parameters: None

  • Accept Header: application/json

GET /exchange/rates

Description of Key Fields

  • accepted_at: Timestamp when the rate was accepted.

  • correlation_id: Unique identifier for correlating requests.

  • entity: Contains the entity’s id and type (e.g., “business”).

  • price: Exchange rate in minor units.

  • symbol: The currency pair (e.g., “USD-NGN”).

  • status: Status of the rate (e.g., “filled”).

  • trades: Details of the trades executed for the rate, including price, size, and associated order IDs.

Sample Response

  • Status Code: 200

  • Description: Returns a list of rates with detailed information about each rate and related trades.

{
  "data": [
    {
      "accepted_at": "2023-12-23T17:55:42.919523",
      "correlation_id": "7da742ea-a1bc-11ee-b907-560f156a658b",
      "created_at": "2023-12-23T17:55:42.911",
      "entity": {
        "id": "6ebe0a0f-bb8f-49be-80ea-c6b72c348fea",
        "type": "business"
      },
      "expires_at": null,
      "id": "7da75a46-a1bc-11ee-9a32-560f156a658b",
      "min_qty": null,
      "min_quote_qty": null,
      "percent_filled": 10000,
      "price": 80000,
      "price_type": "market",
      "qty": 1,
      "quote_qty": null,
      "status": "filled",
      "symbol": "USD-NGN",
      "time_in_force": "gtc",
      "trades": [
        {
          "buy_order_id": "7da75a46-a1bc-11ee-9a32-560f156a658b",
          "commission": 0,
          "correlation_id": "7da742ea-a1bc-11ee-b907-560f156a658b",
          "created_at": "2023-12-23T17:55:42.921",
          "id": "7da8e726-a1bc-11ee-80cf-560f156a658b",
          "price": 80000,
          "sell_order_id": "7d97c0b8-a1bc-11ee-b240-560f156a658b",
          "size": 1,
          "symbol": "USD-NGN"
        }
      ],
      "type": "buy",
      "updated_at": "2023-12-23T17:55:42.911"
    }
  ]
}