Foreign Exchange Rates Api v1 error

Mazad
Helper

Foreign Exchange Rates Api v1 error

Foreign Exchange Rates Api v1 started to return error: "API Internal Error: 1001. Please contact your Visa Representative."

Tried to create new api key or new project - getting same result

10 REPLIES 10
jenn_kh
Community Moderator

Re: Foreign Exchange Rates Api v1 error

Hi and welcome to the Community, @MazadThanks for reaching out! Our agent is looking into this and will get back to you with a potential solution. If any community members know of a possible solution, please share it here. -Jenn

SLi
Visa Developer Support Specialist
Visa Developer Support Specialist

Re: Foreign Exchange Rates Api v1 error

Hi @Mazad.

 

The sandbox has some issues and our tech team is looking into this. I will get back with an update as soon as I have one. Thanks for your patience.


Best,
Stacey

Was your question answered? Don't forget to click on "Accept as Solution" to help other devs find the answer to the same question.
Mazad
Helper

Re: Foreign Exchange Rates Api v1 error

Hello Support 
 
Problem is not solved yet and we need your kind support ASAP to resolve this issue as soon as possible.
 
Sincerely
 
Naif
SLi
Visa Developer Support Specialist
Visa Developer Support Specialist

Re: Foreign Exchange Rates Api v1 error

Hi @Mazad,

 

There are some issues with certain currency pairs and our tech team is working to resolve the issue on priority. In the meantime, if you just want to test the payloads, you may use the below (USD to KWD) to test in Sandbox for now. I will continue to keep you posted on the progress. Thank you again for your patience, we apologize for any inconvenience caused.

 

Here's a sample working request payload and response:

 

End Point https://sandbox.api.visa.com/forexrates/v1/foreignexchangerates
Method POST
Request
{
"systemsTraceAuditNumber": "350421",
"destinationCurrencyCode": "414",
"markUpRate": "1",
"cardAcceptor": {
"address": {
"country": "RU",
"zipCode": "94404",
"city": "Foster City",
"county": "San Mateo",
"state": "CA"
},
"idCode": "ABCD1234ABCD123",
"name": "ABCD",
"terminalId": "ABCD1234"
},
"sourceAmount": "1000",
"retrievalReferenceNumber": "201010101031",
"sourceCurrencyCode": "840"
}


Response
{
"originalDestnAmtBeforeMarkUp": "10000",
"markUpRateApplied": "1.0",
"conversionRate": "10.00000",
"destinationAmount": "9900"
}


Best,
Stacey

Was your question answered? Don't forget to click on "Accept as Solution" to help other devs find the answer to the same question.
SLi
Visa Developer Support Specialist
Visa Developer Support Specialist

Re: Foreign Exchange Rates Api v1 error

Hi @Mazad,

 

Thank you for your patience. I'm happy to share that the issue has been fixed. Please try the FX API again and you should get a success response. 

The number of currency codes supported in sandbox right now are limited, please test with below currency pairs.

FXCurrencyPairsInSbx.png


Best,
Stacey

Was your question answered? Don't forget to click on "Accept as Solution" to help other devs find the answer to the same question.
Mazad
Helper

Re: Foreign Exchange Rates Api v1 error

Hello Support 

 

The issue described above has not been resolved yet & we need your kind support to resolve this issue ASAP please ?

 

I have requested to move to production account yet I have not received any updates about my Request yet !!

 

Kindly check my request Status & find a prefect resolution to the currency rates conversion that doesn’t work for all selected currencies as per the screen shot attached.

 

Screen Shot 2021-11-08 at 9.15.55 PM.png

 

Awaiting for your Feedback at the earliest convenience to get to move forward.

 

Sincerely ,,

 

Naif ,, 

Mazad
Helper

Re: Foreign Exchange Rates Api v1 error

Hello Support 

 

The issue described above has not been resolved yet & we need your kind support to resolve this issue ASAP please ?

 

I have requested to move to production account yet I have not received any updates about my Request yet !!

 

Kindly check my request Status & find a prefect resolution to the currency rates conversion that doesn’t work for all selected currencies as per the screen shot attached.

Screen Shot 2021-11-08 at 9.15.55 PM.png

 

Awaiting for your Feedback at the earliest convenience to get to move forward.

 

Sincerely ,,

 

Naif ,, 

Mazad
Helper

Re: Foreign Exchange Rates Api v1 error

Hello Support 

 

The issue described above has not been resolved yet & we need your kind support to resolve this issue ASAP please ?

 

I have requested to move to production account yet I have not received any updates about my Request yet !!

 

Kindly check my request Status & find a prefect resolution to the currency rates conversion that doesn’t work for all selected currencies as per the screen shot attached.

 

Screen Shot 2021-11-09 at 3.33.30 PM.png

Awaiting for your Feedback at the earliest convenience to get to move forward.

 

Sincerely ,,

 

Naif ,, 

SLi
Visa Developer Support Specialist
Visa Developer Support Specialist

Re: Foreign Exchange Rates Api v1 error

Hi @Mazad,

 

Apologies for the delayed response. Sandbox environment pulls data from a simulator which has only static, predefined rates. Currently only the following currencies with their respective currency codes can be used while testing in sandbox.

Source currency

· USD (code 840)

· GBP (code 826)

· RUB (code 643)

Destination currency

· INR (code 356)

· USD (code 840)

· GBP (code 826)

· CAD (code 124)

Settlement currency

· USD (code 840)

· INR (code 356)

 

Regarding the status of your request to move to production, please send an email to developer@visa.com and share the name of the project. Once we receive your email, we will check and get back to you with an update. 

 


Best,
Stacey

Was your question answered? Don't forget to click on "Accept as Solution" to help other devs find the answer to the same question.