Visa FX API not work for rateProductCode='B'

AMA_Visa
New Contributor

Visa FX API not work for rateProductCode='B'

Hi, Visa team,

 

I just onboarded prod stage of FX API as https://developer.visa.com/capabilities/foreign_exchange/reference#tag/Foreign-Exchange-Rates-API/op....

 

When I use the following as request:

 

{
"rateProductCode": "B",
"destinationCurrencyCode": 826,
"sourceCurrencyCode": "840",
"sourceAmount": "1"
}

 

I get the following error:

{"errorResponse":{"status":401,"reason":"Unauthorized","message":"401 UNAUTHORIZED","details":[]}}

 

Below are some traces you can use.

X-CORRELATION-ID: 1684978206_880_260880093_b2-677f647-5h8_VDP_WS, X-ERROR-ORIGIN: 9900, X-APP-STATUS: 401

 

But if I change "rateProductCode" to "A", then it works.........I am wondering am I missing any client setup? 

 

Thanks for help!

3 REPLIES 3
kh-gary
Regular Contributor

Re: Visa FX API not work for rateProductCode='B'

Thank you for your question, @AMA_Visa. An agent will get back to you as soon as possible. In the meantime, if any community member knows the solution, please reply to this thread!

AMA_Visa
New Contributor

Re: Visa FX API not work for rateProductCode='B'

Hi, @kh-gary, thanks for follow-up.

I have another question (as follow-up supplement of this question): when I use rateProductCode='A'. I can get the rate but it seems only change per day. I tried to call the API around 10:00am and 3:00pm, but get the same rate. So, does that mean the rate will only change once per day?
API_Products
Visa Developer Support Specialist

Re: Visa FX API not work for rateProductCode='B'

Hi @AMA_Visa,

 

Since you're using the Foreign Exchange Rates API in the Production environment, please send this inquiry via email to developer@visa.com. Let developer@visa.com know you're in the Production environment and which region you are located in. An API specialist in your region will be assigned to help you.




Thanks,

Diana



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