Skip to content

Currencies & providers

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.

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).