Misc
Foreign currencies
Foreign Currencies
You might be looking to get a list of only foreign currencies, in that case, use this endpoint:
Endpoint
{{baseurl}}/currencies/foreign
Method: GET
You should get this response if successful:
{
"success": true,
"statusCode": 200,
"message": "Foreign currencies fetched",
"data": {
"success": true,
"statusCode": 200,
"message": "Foreign currencies fetched successfully",
"data": [
{
"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": "$"
},
{
"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": 4,
"icon": "https://res.cloudinary.com/stefanpgr/image/upload/v1681066857/country-logo/EUR.svg",
"currency": "EUR",
"countryCode": "EU",
"name": "Euro",
"country": "Germany",
"symbol": "€"
}
]
}
}