Admin Settings: Exchange Rates
Create a new exchange rate
Creates a target_currency → rate mapping. Composite uniqueness is enforced on target_currency (one exchange rate per currency).
post/settings/exchange-rates
Request
- Base URLhttp://localhost:8000/api/admin
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"target_currency": 2,
"rate": 1.085
}Response
Exchange rate created.
Changes
No recorded changes to this operation across all 8 revisions of this API.