Attach refresh to an exchange rate
scope · settings:write
Creates a new refresh attached to the given exchange rate.
Scope: settings:write
Endpoint: POST /api/exchange-rates/refresh
Example request
curl -X POST "https://guliel.com/api/exchange-rates/refresh" \
-H "Authorization: Bearer $GULIEL_API_KEY"Request body
Response (200/201)
messagereqstringdatereqstringISO date of the FX snapshot that's now active.ratesCountreqintegerHow many currency pairs were refreshed.
Error responses
400 | Validation |
401 | Unauthenticated |
403 | Forbidden |
429 | RateLimit |
500 | Internal |