Skip to content

Exchange Rates

RubenGeo edited this page Jan 16, 2025 · 6 revisions

The 121 Platform automatically and daily retrieves the exchange rates of all currencies used (configured) in Programs. These exchange rates can for example be used to calculate for any payment the equivalent money spent in Euro.

The exchange rates are stored as value to Euro from this publicly available API:

https://fxds-public-exchange-rates-api.oanda.com/cc-api/currencies?base=EUR&quote=USD&data_type=general_currency_pair&start_date=2024-01-23&end_date=2024-01-24

The values for average_bid and close_time are stored in the table exchange_rate. This data can be retrieved using <121-base-url>/api/exchange-rates and Admin permissions.

Clone this wiki locally