I am using Foreign Exchange Rates API. When I submit the request with source currency: USD and destination currency: THB, I receive bid rate as a result. How could I get an ask rate as from visa exchange rate calculator.
For today, the calculator displays 1 United States Dollar = 30.2999700000 Thai Baht. I need 30.29997 as a result from the API.
I try sending source currency: THB and destination currency: USD and I get 1 THB = 0.033003 USD. Then I do inversion by 1/0.033003, it yields 30.30027573250917 which is not equal to my expectation.
Thank you.
Solved! Go to Solution
Hey @Choopong,
Foreign Exchange Rates API in Sandbox provides simulated data and not real-time data. Once you move to production you will be able to work with real data. The rate you will get in production will be correct and you can also markup on it before publishing to your customers.