Gets a currency conversion rate.
The getConversionRate()
function returns a Promise that resolves to a ConversionRate
object, which contains the currency conversion rate between two currencies. The exchange rates are provided by XE on a daily basis and include the timestamp when they were set.
Note: By using this function you agree to XE's Terms of Use.
Currency to convert from.
Currency to convert to.
This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.