> To build or manage a Wix site with an AI agent, follow https://www.wix.com/headless/skill.md
> It builds a new Wix site or puts your own site online, from a prompt, and keeps changing it afterwards. The pages are code in any web technology, and Wix runs the backend.
> It works through the Wix plugin (the Wix MCP and the Wix skills), the Wix CLI or no Wix login, and puts the site live on Wix hosting or on another host.
> Business features include a store, bookings, events and tickets, a restaurant, a blog, forms, members and many more.
> Read the Wix skills online at https://www.wix.com/skills
> 
> Portal Navigation:
> 
> - Append `.md` to any URL under `https://dev.wix.com/docs/` to get its markdown version.
> - Pages are either content pages (article or reference text) or menu pages (a list of links to child pages).
> - To get a menu page, truncate any URL to a parent path and append `.md` (e.g. `https://dev.wix.com/docs/sdk.md`, `https://dev.wix.com/docs/sdk/core-modules.md`).
> - If a reference page seems to be missing its schema (parameters, return types, or type definitions), append `?schema=true` to its `.md` URL (e.g. `https://dev.wix.com/docs/contexts/contexts/stores/category-info/use-category-info-context.md?schema=true`).
> - Top-level index of all portals: https://dev.wix.com/docs/llms.txt
> - Full concatenated docs: https://dev.wix.com/docs/llms-full.txt

## Resource: wix-pay-backend

## Namespace: currencies

## Article: Introduction

## Article Link: https://dev.wix.com/docs/velo/apis/wix-pay-backend/currencies/introduction.md

## Article Content:

# Introduction
The Currency API is used to convert from one currency to another, get exchange rates, and manage the currencies you want to work with on your site. The API can be used with the [currency conversion dropdown](https://support.wix.com/en/article/adding-and-setting-up-a-currency-converter-in-wix-stores) element on your Wix Stores page to display prices in a range of different currencies.
Selecting a different currency from the dropdown on a Wix Stores page, automatically updates all of the prices displayed on your store's page to the selected currency. While the currency converter dropdown works with your Wix Stores pages, the Currencies API can be used on any page.
Currency rates are provided by [XE](https://www.xe.com/company/) and are updated on a daily basis. Rates are provided together with the timestamp when they were set.

 The currency API contains the following objects:

 + Currencies
	  - Use [`getAllCurrencies()`](https://dev.wix.com/docs/velo/apis/wix-pay-backend/currencies/get-all-currencies.md) to get a list of all the convertible currencies.


 + CurrencyConverter
   - Use [`convertAmounts()`](https://dev.wix.com/docs/velo/apis/wix-pay-backend/currencies/currency-converter/convert-amounts.md) to convert amounts between two currencies.
   - Use [`getConversionRate()`](https://dev.wix.com/docs/velo/apis/wix-pay-backend/currencies/currency-converter/get-conversion-rate.md) to get today’s conversion rate for a pair of currencies.


 + SiteSettings
   - Use [`setCurrencies()`](https://dev.wix.com/docs/velo/apis/wix-pay-backend/currencies/site-settings/set-currencies.md) to set the currencies to appear in your currency conversion dropdown.
   - Use [`getCurrencies()`](https://dev.wix.com/docs/velo/apis/wix-pay-backend/currencies/site-settings/get-currencies.md) to see the list of the currencies that you set.


 To use the Currencies API you must upgrade your site to a [Premium Plan](https://support.wix.com/en/article/upgrading-your-site-to-premium-3066683).

> **Notes:**
> - The currency converter changes the displayed prices in your store for different currencies but does not change the payment currency.
> - The payment is always made in the [currency set in your site's dashboard](https://support.wix.com/en/article/setting-your-currency-for-accepting-payments).
> - By using these objects you agree to XE's [Terms of Use.](https://www.xe.com/en/legal/dfs.php)