Use Foreing Exchange Rates API
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Use Foreing Exchange Rates API
We are making use of the Foreing Exchange Rates API as we thought it behaved just like the functionality it offers from its website at "https://www.visaeurope.com/making-payments/exchange-rates".
The fact is that we are getting very strange results.
If my target currency is EUR and USD origin, the result obtained in the service query is not real. Please tell us how to use your API correctly.
Request
{
"destinationCurrencyCode": "EUR",
"markUpRate": "3",
"sourceAmount": "100",
"sourceCurrencyCode": "USD"
}
Response
{
"conversionRate": "0.7701",
"destinationAmount": "74.69",
"markUpRateApplied": "3.0",
"originalDestnAmtBeforeMarkUp": "77.01"
}
It has no logic result.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Use Foreing Exchange Rates API
Is it possible that I always return those values because we are in Sandbox?
I hope when promo works
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Use Foreing Exchange Rates API
Hi,
Your understanding is correct that Sandbox does not output real/upto date exchange rates.
In production environment you can expect up to date actual and correct rates.
Best
Lakshan