> 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`). > - Top-level index of all portals: https://dev.wix.com/docs/llms.txt > - Full concatenated docs: https://dev.wix.com/docs/llms-full.txt # Method name: listCurrencies() # Method package: wixEcomV2 # Method menu location: wixEcomV2 --> currencies --> listCurrencies # Method Link: https://dev.wix.com/docs/velo/apis/wix-ecom-v2/currencies/list-currencies.md # Method Description: Returns an array of currencies. The array lists all currencies for which Wix supports conversion and their symbols. # Method Code Examples: *** Note: do not assume any prop names or enum values other than the ones in the example. ## Get all supported currencies (dashboard page code) ```javascript import { currencies } from 'wix-ecom.v2'; currencies.listCurrencies() .then((listOfAllCurrencies) => { const firstCurrencyCode = listOfAllCurrencies[0].code; const firstCurrencyCSymbol = listOfAllCurrencies[0].symbol; }); /* * Promise resolves to: * { * "currencies": [ * {"code": "EUR", "symbol": "€"}, * {"code": "USD", "symbol": "$"}, * {"code": "JPY", "symbol": "¥"} * ] * } */ ``` ## Get all supported currencies (export from backend code) ```javascript import { Permissions, webMethod } from 'wix-web-module'; import { currencies } from 'wix-ecom.v2'; export const listCurrencies = webMethod(Permissions.Anyone, async () => { try { const listOfAllCurrencies = await currencies.listCurrencies(); const firstCurrencyCode = listOfAllCurrencies[0].code; const firstCurrencyCSymbol = listOfAllCurrencies[0].symbol; return listOfAllCurrencies; } catch (error) { console.error(error); // Handle the error } }); listCurrencies() .then((listOfAllCurrencies) => { const firstCurrencyCode = listOfAllCurrencies[0].code; const firstCurrencyCSymbol = listOfAllCurrencies[0].symbol; }); /* * Promise resolves to: * { * "currencies": [ * {"code": "EUR", "symbol": "€"}, * {"code": "USD", "symbol": "$"}, * {"code": "JPY", "symbol": "¥"} * ] * } */ ``` ---