Skip to content

Denominations

List Denominations

Returns all available voucher denominations and their values.

Endpoint: GET /denominations

Request

No request body required. Just the Authorization header.

bash
curl -X GET https://api.academia.ly/api/v1/reseller/denominations \
  -H "Authorization: Bearer {token}"

Response

Success (200):

json
{
  "data": [
    { "id": 1, "name": "30 LYD", "value": 30 },
    { "id": 2, "name": "50 LYD", "value": 50 },
    { "id": 3, "name": "100 LYD", "value": 100 }
  ]
}
FieldTypeDescription
data[].idintegerDenomination ID --- use this when generating vouchers
data[].namestringHuman-readable denomination name
data[].valuenumberValue in LYD

Errors

StatusMeaning
401Invalid or expired token
403IP not whitelisted

TIP

Cache the denominations list on your side and refresh periodically. Denominations rarely change.

Academia API Integration Documentation