Visa FX API not work for rateProductCode='B'

AMA_Visa
Occasional Visitor

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!

2 REPLIES 2
kh-gary
Community Moderator

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
Occasional Visitor

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?