Endpoints¶
Attention
To consume the API, the user must be authenticated.
GET /exchanges/{from}/{to}
Get the current exchange rate from one currency to another. E.g. GET /exchanges/USD/EUR.
The {from} and {to} path parameters are ISO 4217 currency codes. The
response is produced from the configured third-party provider and should
include a timestamp for the rate used. Unsupported currencies should
return 422 (unprocessable entity); provider failures should return an
explicit 502 (bad gateway) or equivalent service-unavailable response.