Currency Data

In a case where you want to get details on all the currencies available, use this endpoint:

Endpoint

{{baseurl}}/currencies

Method: GET

You should get this response if successful:

{
  "success": true,
  "statusCode": 200,
  "message": "Currency pairs fetched",
  "data": {
    "success": true,
    "statusCode": 200,
    "message": "Currency pairs fetched successfully",
    "data": [
      {
        "id": 3,
        "icon": "https://res.cloudinary.com/stefanpgr/image/upload/v1681066857/country-logo/GBP.svg",
        "currency": "GBP",
        "countryCode": "GB",
        "name": "British Pound",
        "country": "United Kingdom",
        "symbol": "£"
      },
      {
        "id": 1,
        "icon": "https://res.cloudinary.com/stefanpgr/image/upload/v1681066857/country-logo/USD.svg",
        "currency": "USD",
        "countryCode": "US",
        "name": "US Dollars",
        "country": "United States of America",
        "symbol": "$"
      }
    ]
  }
}