Skip to content

Update the exchange rates of a currency pair

PUT
/config/currency/exchange-rates/{sourceCurrencyCode}/{targetCurrencyCode}
Required scope: exchangerate:update

Removes, modifies and adds exchange rates of a currency pair in one transaction, in that order. A modified rate replaces all fields of the stored rate and may change its start date. A rate is valid from its start date until the next rate of the pair starts, or forever if no later rate exists, so rates of a pair never overlap and leave no gaps. The stored end dates of the pair are recomputed from the result, so removing a rate extends the previous one. A rate on the reverse currency pair (target to source) suppresses the derived inverse rates of this pair in the exchange rate cache. Refreshes the exchange rate cache once.

Parameters ​

Path parameters

sourceCurrencyCode  string
The three letter ISO code of the source currency. Case-insensitive.
targetCurrencyCode  string
The three letter ISO code of the target currency. Case-insensitive.

Request body ​

Response ​

The exchange rates were updated successfully.