Hi,
I am getting this error while requesting merchant locator API.
I am using the following code.
headers = {'Accept': 'application/json'}
resp = requests.post(url='https://sandbox.api.visa.com/merchantlocator/v1/locator',
verify='DigiCertGlobalRootCA.crt',
cert=('cert.pem', 'key_71a99b0e-9a2e-4177-a549-4e0910973d4e.pem'),
headers=headers,
auth=(username, password),
data=data)
please help me out.
Thanks.
Solved! Go to Solution
Hey @kunalanand241,
I'll be happy to help you resolve the issue. Please let me take a look and I'll get back to you soon.
I don't know exactly how that happened but removing the part
verify='DigiCertGlobalRootCA.crt',
worked for me.
I followed the steps from Visa Dev webinar to make an api request using python and got it done.
Hey @kunalanand241,
Excellent! Great to hear, and thanks for sharing how you got it done. Feel free to reach out to us if you have other questions and we'll be happy to help.