Responses

Al
Newbie

Responses

Anybody knows if is there any doc about all the visas errors responses and the json output for Foreign Exchange Rates?

 

For Example: 

 

a) With not valid "sourceCurrencyCode":
400 Bad Request

{
"errorMessage": "API Validation Error: 3001. Mandatory field 'SourceCurrencyCode' is missing or has invalid content."
}

 

b)With not valid auth:

401 Unauthorized

{
"responseStatus": {
"status": 401,
"code": "9124",
"severity": "ERROR",
"message": "Incorrect credentials supplied",
"info": ""
}
}

Thanks a lot,

 

Al

1 REPLY 1
jvenkata
Community Moderator

Re: Responses

Hi,

 

We have a generic Request and Response codes page where you can find the common request and response codes. Please take a look at the same in the below link. I will get back to you regarding the list for FX rates soon.

 

https://developer.visa.com/guides/request_response_codes

 

Thanks,

Jai