Visa Developer Community

Highlighted
Regular Visitor

Do I get the different results between when I use the sandbox API and production API??

 

Hi, I have a question about Foreign Exchange Rates API. 

Do I get the different results between when I use the sandbox API and production API??

 

I've tried the sandbox API here https://developer.visa.com/products/foreign_exchange/reference , but I haven't tried the production API yet because I was not sure if I'll be able to get the "correct" result.

 

For example, if I POST with this body like below, I get "31.37" as "destinationAmount". But it should be around "56" RUB for 1 USD at this time (26 Apr, 2017).

 

 

```

{
"destinationCurrencyCode": "643",
"sourceAmount": "1",
"sourceCurrencyCode": "840"
}

```

 

 

If I request promotion of my app to productionuse, and use the production API, could I get the appropriate result?? I'd appreciate your help, Thank you.

1 REPLY 1
Highlighted
Frequent Helper

Re: Do I get the different results between when I use the sandbox API and production API??

Hello,

 

Yes! Since sandbox has limited data, it is not accurate rates as well as limited data to test. 

In Production, we will have current and comprehensive data.

 

Thanks

Sanobar

Tags (1)