Returns the conversion rate between 2 currencies.
You can only call this method when authenticated as a Wix app or Wix user identity.
Original currency.
Target currency.
Conversion rate between 2 currencies.
Date and time the conversion rate was last updated.
curl 'https://www.wixapis.com/currency_converter/v1/currencies/rate/USD/convert/EUR' \
-H 'Content-Type: application/json' \
-H 'Authorization: <AUTH>'
{
"rate": {
"value": "9007774509",
"decimalPlaces": 10
},
"rateTimestamp": "2020-03-17T10:00:00.402Z"
}
This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.