List exchange rates
Admin only. Returns every filed rate for one ordered pair, oldest first. Both directions are stored separately, so USD to UGX is not returned for UGX to USD.
GET
/api/v1/currency/ratesAuthorization
AuthorizationBearer token (JWT) · headerrequiredJWT from POST /api/v1/auth/login sent as Authorization Bearer.
Query parameters
basestringrequiredThe currency being converted from, three letters.
quotestringrequiredThe currency being converted to, three letters.
Responses
200
The rates filed for this pair
itemsobject[]requiredShow propertiesHide properties
Array of
objectidstringrequiredbase_codestringrequiredquote_codestringrequiredratenumberrequiredsourcestringrequiredeffective_atstringrequiredcreated_atstringrequired400
base or quote is missing
detailstringrequired401
Not authenticated
detailstringrequired403
Caller is not an admin
detailstringrequired