I'm currently looking to integrate Visa Global ATM Locator API into my localhost php webpage for testing purposes using AJAX POST REQUEST, JSON.
However, I'm confused over the documentation showed.
It states under the //Header, Authorization via base64 encoded userid : password.
Am I supposed to do a base64 encryption on the userID and Password provided with the API itself or just use the userid and password given?
If so, does it require both userid and password to be encrypted as one string or seperate.
It would be great if you could provide any links to documentations / guides specific to AJAX PUSH REQUEST, JSON for the Visa API integration.
Looking forward to hearing from you soon.
Both userid and password should be base 64 encoded in one string à Base64Encode(userid : password)
I hope this is helpful.