Visa Developer Community

Ron
Regular Visitor

ATM Locator API

I want to use atm locator api for locat atm at near me.

 

I already pass base 64 encoded userid & password in header and also pass all required field in body and set api type as post api. (run in postman)

 

API :- https://sandbox.api.visa.com/globalatmlocator/v1/localatms/atmsinquiry

when i call api i get following error:

{
  "responseStatus": {
  "status": 400,
  "code": "9124",
  "severity": "ERROR",
  "message": "Expected input credential was not present",
  "info": ""
  }
}

 

 

4 REPLIES 4
Highlighted
Visa Dev Moderator

Re: ATM Locator API

Hi,

 

From the error message, looks like you are not passing in the certificates. Please refer to the below thread for Post Man set up. Kindly set up the certificates and Auth credentials and try agian.

 

https://community.developer.visa.com/t5/Use-Cases/APIs-for-payment-gateway-9124-error/m-p/10448#M113

 

Thanks,

Jai

Ron
Regular Visitor

Re: ATM Locator API

Hi Jai,

 

Thanks for a qiuck reply. I have lost the certificate that I first received when i made the account. How do I retrieve it or redownload?

 

Thanks,

Ron

Visa Dev Moderator

Re: ATM Locator API

Hi,

 

If you have lost the private key , there is no way to redownload it as Visa doesnt store private keys and just provide it to you as a one time download when you create the project. As an alternative, you can create another project with ATM locator API and make sure to download and keep the private key safely.

 

If you are looking for project certificates / public key (cert.pem), you may download it from your VDP Dashboard --> Project ---> Credentials section.

 

Thanks,

Jai

Ron
Regular Visitor

Re: ATM Locator API

Thanks!