Visa Developer Community

Regular Visitor

How can I connect with VISA APIs with Python?

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)

2 REPLIES 2
Frequent Helper

Re: How can I connect with VISA APIs with Python?

Hello, Please download the python sample code from Visa Developer Portal Dashboard ---> Sample Code section and use the same in order to connect to Visa APIs.

 

Thanks,

Jai

Dabbler

Re: How can I connect with VISA APIs with Python?

Download the python sample code from Visa Developer Portal Dashboard --- > Sample Code section and use the same in order to connect to Visa APIs.

 

https://router4.me/