Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Backend
Converts a currency amount to its USD equivalent using current exchange rates.
const usdAmount = await sdk.getUsdAmount(100, "MXN", bearerToken);
currencyAmount
number
currency
Currency
"MXN"
bearerToken
string
apiSecretKey
Promise<number>
const usdAmount = await sdk.getUsdAmount(500, "MXN", bearerToken); console.log(`500 MXN = $${usdAmount} USD`);
Was this page helpful?