Visa Developer Community

Highlighted
Community Manager

API Announcement: New authentication method for Visa Merchant Purchase Inquiry API

We are updating one of our Visa Developer Center APIs – Visa Merchant Purchase Inquiry. 

 

If you have one or more projects created with this API, please be aware  we are changing its authentication method. Starting in late May, the API's authentication credentials will be changed from Two-Way SSL to X-Pay token.  

 

Project information

 

  • If your project includes ONLY Visa Merchant Purchase Inquiry API with Two-Way SSL authentication method, then you will see credentials for only X-Pay token post this change.
  • If your project includes Visa Merchant Purchase Inquiry API and any other APIs with Two-Way SSL authentication method, then you will see credentials for both X-Pay token and Two-way SSL post this change.
  • If your project includes Visa Merchant Purchase Inquiry API and any other APIs with X-Pay token authentication method, then you will see credentials for only X-Pay token post this change.

 

This should not have any impact or change on the Outbound Configuration and Certificates which is used for Outbound calls (https://developer.visa.com/pages/working-with-visa-apis/outbound-configuration).

 

We hope this is an exciting change for you since we feel this will reduce the friction you have when trying to push your projects live from sandbox through to certification and production.

 

What is needed of you?

 

Nothing. The change will be reflected on your project automatically. You can log into your Visa Developer Center account and visit your project on the Visa Developer dashboard.

 

If you do not have this API in any projects disregard this update.  If there are any questions, reply below or please reach out to developer@visa.com.

Was your question answered? Don't forget to click on "Accept as Solution" to help other devs find the answer to the same question.
2 REPLIES 2
Regular Visitor

Re: API Announcement: New authentication method for Visa Merchant Purchase Inquiry API

I have downloaded the Sample Java code and noticed the code is still asking for username, password and keystore credentials. Please let me know when this code will be updated?

 

public PurchaseInquiryCallbackApiApiTest(){
System.out.println("\nProduct Name: Visa Merchant Purchase Inquiry\nApi Name: Purchase Inquiry Callback API");
ApiClient apiClient = new ApiClient();
// Configure HTTP basic authorization: basicAuth
apiClient.setUsername("YOUR USERNAME");
apiClient.setPassword("YOUR PASSWORD");
apiClient.setKeystorePath("YOUR KEYSTORE PATH");
apiClient.setKeystorePassword("YOUR KEYSTORE PASSWORD");
apiClient.setPrivateKeyPassword("YOUR PRIVATEKEY PASSWORD");
Helper

Re: API Announcement: New authentication method for Visa Merchant Purchase Inquiry API

 same issue also exists it seems for all of the langauges sample code - PHP specifically for me