Skip to main content

Test connectivity using Postman

Test Visa APIs using Postman.

Overview

Postman is a free and open source API development and testing solution. With an easy-to-use graphical user interface, Postman allows client developers the ability to rapidly create and execute RESTful API functional tests.

In this guide, you will learn how to:

  • Configure Postman settings for Two-Way SSL
  • Create a Hello World REST project
  • Configure the Helloworld API request
  • Test the connection

Before you begin

Before using Postman, confirm that:

  • You have a Visa Developer account and project, as described in the quick start
  • You have selected and configured at least one authentication method
  • You have available your Two-Way SSL client certificate, private key, and Basic Authentication credentials
  • You have downloaded and installed Postman from https://www.getpostman.com/

Test Two-Way SSL connectivity

Follow the steps below to test Two-Way SSL connectivity with Postman:

Step 1: Configure Postman Two-Way SSL settings

  1. From Postman, go to File > Settings. 
  2. From the Certificates tab, select Add Certificate.
  3. Add the client certificate and private key.
  4. Select Add.
Add certificate settings screenshot Zoom

Step 2: Create a HelloWorld REST project

  1. In Postman, select Collections > New Collection.
  2. Provide a name and select the Authorization tab.
  3. Select Basic Auth for the TYPE.
  4. Provide the HTTP Basic Authentication username and password that you copied from Onboarding Dashboard > Credentials > Two-Way SSL > Inbound. 
  5. Select Create.
create new collection screenshot Zoom

Step 3: Configure the Helloworld API request and test the connection

  1. Expand the newly created collection and select Add requests.
  2. Provide and select the request name to open it.
  3. Enter the helloworld URL for the environment you are testing in:
    • Sandbox: https://sandbox.api.visa.com/helloworld
    • Certification: https://cert.api.visa.com/helloworld
    • Production: https://api.visa.com/helloworld
  4. Select Send to test your connection.
configure request screenshot Zoom

Tutorial

Watch this tutorial to learn how to configure Two‑Way SSL using OpenSSL and test your setup in Postman.

thumbnail for video tutorial

Need help?

Find answers in our FAQs or get support from a Visa Developer expert.