Find Near by ATMs return 403 error

fridric
New Contributor

Find Near by ATMs return 403 error

Dear Support Team,

 

I am encountering a 403 Forbidden error when making a request to the Totals Inquiry API in the Visa Global ATM Locator (Sandbox Environment). However, I can successfully make requests to the Geocode Inquiry API using the same credentials.

 

I have already verified that the Totals Inquiry API is included in my project settings, and my authentication setup is correct, as two-way SSL is working without any issues. The request method I am using is POST, and the request body follows the API documentation. Additionally, there are no regional restrictions that should prevent access, and other API calls, such as Geocode Inquiry, are functioning properly with the same credentials.

 

Below is the cURL request I am using:

 

curl --location --request POST 'https://sandbox.api.visa.com/globalatmlocator/v3/localatms/atmsinquiry' \
--header 'Content-Type: application/json' \
--header 'Authorization: Basic

[REDACTED]

' \
--data '{
"requestData": {
"culture": "en-US",
"options": {
"sort": {
"primary": "distance",
"direction": "asc"
},
"range": {
"count": 10,
"start": 0
},
"findFilters": [
{
"filterName": "string",
"filterVaule": "string"
}
],
"operationName": "or",
"useFirstAmbiguous": true
},
"distance": 20,
"location": {
"address": {},
"geocodes": {
"latitude": "30.26759000000004",
"longitude": "-97.74298999999996"
},
"placeName": "Austin"
},
"distanceUnit": "mi",
"metaDataOptions": 0
},
"wsRequestHeaderV2": {
"userId": "CDISIUserID",
"userBid": "10000108",
"requestTs": "2021-04-14T20:28:16.000Z",
"applicationId": "VATMLOC",
"correlationId": "909420141104053819420",
"requestMessageId": "rohuang-001"
}
}'

 

 

 

1 REPLY 1
SyedSa
Community Moderator

Re: Find Near by ATMs return 403 error

Hi @fridric, Thank you for reaching out. An agent will get back to you as soon as possible. Until then, if any community member knows a solution, feel free to reply in this thread.