Skip to content

Currencies

List of Currencies

Endpoint: GET /api/currencies

Retrieve a list of currencies available to the employer.

URL

http
GET https://portal.innfinn.com/api/currencies

Response Schema

  • code (string) Currency code.
  • name (string) The name of the currency.
  • decimals (string) The number of decimal places to display when formatting amounts.

Example Response

json
{
    "response": [
        {
            "code": "AED",
            "name": "Dirhams",
            "decimals": 2
        },
        {
            "code": "SAR",
            "name": "Saudi Riyal",
            "decimals": 2
        }
        // More currencies can be listed here
    ]
}

Note on decimals

The decimals field should be used to format amounts returned in other API responses. Since amounts are provided in the smallest currency unit (e.g., cents, fils), you should use this field to display the correct number of decimal places when presenting values.