import requests
r = requests.post('https://sandbox.api.visa.com/merchantlocator/v1/locator',
verify = ('DigiCertGlobalRootCA.crt'),
cert = ('cert.pem','key_e00282f5-6719-4770-8d73-f8fb00d8236a.pem'),
headers = headers,
auth = ('USERIDXXXXXX', 'PASSWORDXXXXX'),
data = body)
Solved! Go to Solution
Download the python sample code from Visa Developer Portal Dashboard --- > Sample Code section and use the same in order to connect to Visa APIs.