[lightMode]
List Currencies
GET
/currencies[updatedIn] 2 months ago
This endpoint allows you to fetch a list of all currencies alongside their details, such as name
, code
, symbol
and status
.
Request
Request samples
[api.label.responses]
Success(200)
HTTP Code: 200
Content Type : JSONapplication/json
[response.label.jsonSchema]
status
number
optional
Response status code, a numeric or alphanumeric identifier used to convey the outcome or status of a request, operation, or transaction in various systems and applications, typically indicating whether the action was successful, encountered an error, or resulted in a specific condition.
success
boolean
optional
Response flag, boolean indicator used to signal a particular condition or state in the response of a system or application, often representing the presence or absence of certain conditions or outcomes.
data
array[object (Currencies) {4}]
optional
name
string
required
Name of the currency
Example:
ريال سعودي
code
string
required
Code of the currency
Example:
SAR
symbol
string
required
Symbol of the currency
Example:
ر.س
status
enum<string>
required
Status of the currency. The value is either Enabled
or Disabled
Allowed values:
enableddisabled
Example:
disabled
[api.label.example]Example
{
"status": 200,
"success": true,
"data": [
{
"name": "ريال سعودي",
"code": "SAR",
"symbol": "ر.س",
"status": "disabled"
},
{
"name": "درهم اماراتي",
"code": "AED",
"symbol": " د.إ",
"status": "enabled"
},
{
"name": "جنيه مصري",
"code": "EGP",
"symbol": "ج.م",
"status": "enabled"
},
{
"name": "دولار أمريكي",
"code": "USD",
"symbol": "$",
"status": "enabled"
}
]
}
[updatedIn] 2 months ago