Login | Register   
LinkedIn
Google+
Twitter
RSS Feed
Download our iPhone app
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   FORUMS  |   TIP BANK
Browse DevX
Sign up for e-mail newsletters from DevX


 
 

Payments Made Easy with the New Visa API

Posted by Sandeep Chanda on Feb 19, 2016

Visa just announced to the developer community the general availability of the largest payment network in the form of a developer API ecosystem called Visa Developer. The Visa Developer API is a one-stop-shop for all your payment needs and would serve you in three specific categories:

  1. Payment Methods - the payment methods (named CyberSource) API lets you do secure payments, simple and easy checkouts, and also do Visa Direct fund transfers.
  2. General Services - under this section the API allows you to perform generic queries, like figuring out FOREX rates, fetch key attributes of a payment account, locate Visa supported ATMs across the globe, and, of course, validate payment accounts.
  3. Risk and Fraud - this is the final category in the API sub system that allows you to build payment systems that can protect consumers from fraudulent transactions. It uses geolocation intelligence to locate phone numbers involved in transactions. You can also get instant alerts on the transactions and there is a token service to reduce the risk of fraud using tokens.

There is also a Trial category where Visa would plan to publish APIs only available on the Visa Developer sandbox platform and are not generally available. You can use APIs under this category for experimental purposes and provide feedback to Visa. There is a Micro Transactions API available in the sandbox that you can use to experiment with virtual currency commerce.

You can register with the Visa Developer program to get the API Key and the Shared Secret. You can then use the sandbox to test payment processing. For example, if you are trying to use the CyberSource API to authorize a test payment transaction, you can fire an HTTPS POST against the following URI:



https://sandbox.api.visa.com/cybersource/payments/v1/authorizations?apikey=[your API_KEY].

In the POST message, you can form a JSON using amount, currency, payment, and the cardNumber attributes. You also need to add an x-pay-token header which could be generated using your shared secret, the current timestamp, the API URI, the query string parameter, and the POST body.

An important aspect to note is that this code most likely will execute in your backend, so you will have to get your servers PCI compliant to run them.

TAGS:

secure payment, CyberSource, APIs, Visa Development Center, Enterprise Application Integration, payment options


Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

Recent Entries

Sitemap
Thanks for your registration, follow us on our social networks to keep up-to-date