Introduction

 

The Currencies API is used to convert from one currency to another and get exchange rates.

Currency rates are provided by XE and are updated on a daily basis. Rates are provided together with the timestamp when they were set. By using the Currencies API you agree to XE's Terms of Use.

The Currencies API provides these functions:

Before you begin

  • To use the Currencies API you must upgrade your site to a Premium Plan.

  • The currency converter changes the displayed prices on your site for different currencies but does not change the payment currency. The payment is always made in the currency set in your site's Dashboard.

  • The currency codes used must exist in the array of supported currencies returned by the listCurrencies() function.

Terminology

Was this helpful?
Yes
No