Currencies & providers
currencies(query?, requestOptions?)
Section titled “currencies(query?, requestOptions?)”Maps to GET /v2/currencies.
const currencies = await client.currencies();const allCurrencies = await client.currencies({ scope: "all" });Returns Promise<Currency[]>. A Currency includes iso_code, name, and optional iso_numeric, symbol, start_date, and end_date.
providers(requestOptions?)
Section titled “providers(requestOptions?)”Maps to GET /v2/providers.
const providers = await client.providers();Returns Promise<Provider[]>. A Provider includes key, name, base, optional start_date / end_date, and currencies (list of ISO codes).