Utils
Get Currencies
API Documentation
- Getting Started
- Customer
- Product
- ProductLimit
- Wallet
- WalletGroup
- Payout
Utils
Get Currencies
The endpoint retrieves a list of available currencies.
GET
/
utilities
/
currencies
/
get
curl --request GET \
--url https://waas-staging.cafeone.ng/api/v1/utilities/currencies/get \
--header 'x-api-key: <api-key>'
Response
{
"code": "00",
"success": true,
"message": "Retrieved Successfully",
"data": [
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"name": "USD",
"shortName": "USD"
},
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa7",
"name": "EUR",
"shortName": "EUR"
}
// Additional currencies here
]
}
❌ Error Responses
Status Code: 401 Unauthorized
{
"code": "401",
"success": false,
"message": "Invalid Key for admin APIs",
"data": null
}
Status Code: 500 Internal Server Error
{
"code": "500",
"success": false,
"message": "An unexpected error occurred",
"data": null
}
curl --request GET \
--url https://waas-staging.cafeone.ng/api/v1/utilities/currencies/get \
--header 'x-api-key: <api-key>'