Admin Settings: Exchange Rates
List exchange rates
Paginated, filterable, sortable list of currency exchange rates. Returns the standard { data, meta } admin envelope.
get/settings/exchange-rates
Request
- Base URLhttp://localhost:8000/api/admin
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
pageinteger
Example:1
Page number (1-based).
per_pageinteger
Example:10
Items per page (default 10, max 50).
target_currencyinteger
Example:2
Filter by target currency ID.
rate_fromnumber
Example:0.5
Minimum rate (inclusive).
rate_tonumber
Example:2
Maximum rate (inclusive).
sort'id' | 'target_currency' | 'rate'
Example:id
Sort column.
order'asc' | 'desc'
Example:desc
Sort direction.
Response
Paginated list in the { data, meta } envelope.
Example response
[
{
"id": 1,
"targetCurrency": 2,
"targetCurrencyCode": "EUR",
"targetCurrencyName": "Euro",
"rate": 0.92,
"createdAt": "2026-05-25T08:15:00+00:00",
"updatedAt": "2026-05-25T08:20:00+00:00",
"message": "Exchange rate deleted successfully."
}
]Changes
No recorded changes to this operation across all 8 revisions of this API.