How to run the Hello World Project

shameem
Visa Employee

How to run the Hello World Project

In this tutorial we will show you how to run the “Hello World” Project using Hello World API using the 2 methods of authentication, namely:

 

  • 2-Way (Mutual SSL) with Basic Authentication
  • X-Pay-Token (API Key and Shared Secret) Authentication

 

The Hello World API is a simple API for testing the connectivity with the Visa Network.

 

The endpoint for the Hello World API is https://sandbox.api.visa.com/vdp/helloworld

 

The sample code of the “Hello World” project can be downloaded from the Visa Developer Portal Dashboard under General Assets and are available in the following programming languages: Java, Python, PHP, Ruby, C#, Node JS, Go and testing tools such as Postman and Soap UI.

 

2020-11-23_10-40-01.png

 

Once downloaded, extract the visa_helloworld_api_1.0.0.zip to a folder.

 

The extracted folder will have the following directory structure.

 

2020-11-23_10-46-40.png

 

 

Important links:

 

Please refer to the articles below which explain step by step how to run "Hello World" sample code:

 

  • Java 

Mutual SSL:

https://community.developer.visa.com/t5/Developer-Tools/HelloWorld-java-How-to-run-Java-Sample-Code-...

 

X-Pay-Token:

https://community.developer.visa.com/t5/Two-way-SSL-X-Pay-Token/HelloWorld-java-How-to-run-Java-Samp...

 

  • C#

Mutual SSL:

https://community.developer.visa.com/t5/Two-way-SSL-X-Pay-Token/HelloWorld-cs-How-to-run-CSharp-Samp...

 

X-Pay-Token:

https://community.developer.visa.com/t5/Two-way-SSL-X-Pay-Token/HelloWorld-cs-How-to-run-CSharp-Samp...

 

  • Python

Mutual SSL:

https://community.developer.visa.com/t5/Two-way-SSL-X-Pay-Token/helloworld-py-How-to-run-Python-Samp...

 

X-Pay-Token:

https://community.developer.visa.com/t5/Two-way-SSL-X-Pay-Token/helloworld-py-How-to-run-Python-Samp...

 

  • PHP 

Mutual SSL:

https://community.developer.visa.com/t5/Two-way-SSL-X-Pay-Token/helloworld-php-How-to-run-PHP-Sample...

 

X-Pay-Token:

https://community.developer.visa.com/t5/Two-way-SSL-X-Pay-Token/helloworld-php-How-to-run-PHP-Sample...

 

  • GoLang

Mutual SSL:

https://community.developer.visa.com/t5/Two-way-SSL-X-Pay-Token/helloworld-go-How-to-run-GoLang-Samp...

 

X-Pay-Token:

https://community.developer.visa.com/t5/Two-way-SSL-X-Pay-Token/helloworld-go-How-to-run-GoLang-Samp...

 

  • Ruby:

Mutual SSL:

https://community.developer.visa.com/t5/Two-way-SSL-X-Pay-Token/helloworld-rb-How-to-run-Ruby-Sample...

 

X-Pay-Token:

https://community.developer.visa.com/t5/Two-way-SSL-X-Pay-Token/helloworld-rb-How-to-run-Ruby-Sample...

 

 

  • Node JS

Mutual SSL:

https://community.developer.visa.com/t5/Two-way-SSL-X-Pay-Token/helloworld-js-How-to-run-Node-JS-Sam...

 

X-Pay-Token:

https://community.developer.visa.com/t5/Two-way-SSL-X-Pay-Token/helloworld-js-How-to-run-Node-JS-Sam...

 

  • Postman

Mutual SSL:

https://community.developer.visa.com/t5/Two-way-SSL-X-Pay-Token/How-to-run-the-Hello-World-API-with-...

 

X-Pay-Token:

https://community.developer.visa.com/t5/Two-way-SSL-X-Pay-Token/How-to-run-the-Hello-World-API-with-...

 

  • SOAP UI

Mutual SSL:

https://developer.visa.com/pages/working-with-visa-apis/two-way-ssl#section3

 

X-Pay-Token:

https://developer.visa.com/pages/working-with-visa-apis/x-pay-token#testing_xpaytoken_connectivity_u...