Developers
Introduction
Welcome to the Vapulus third-party API reference.
This document instructs third-party applications in how to access our API in order to make and schedule transactions on behalf of users.
Use our API to get the most out of Vapulus.
There are two ways to Integrate with Vapulus API
Hosted Session
Please use Hosted Session Integration Module
Direct API
For PCI DSS certified Merchant, there are two options for process payment for repeat customer follow
1- Add Card
2- Validate OTP
3- Make Payment
4- Validate OTP send transaction
For one step payment call Make Transaction
Available Operations
1-Add Card
Allows the third-party app to add card and returns IDs for card and user for subsequent requests.
2-Resend code
Use it to get another OTP, in case you forget it or lost it.
3-Validate OTP
After adding card, user receives OTP via SMS. The OTP must be validated before operations with the card can proceed.
After make payment, user receives OTP via SMS. The OTP must be validated before processing transaction.
4-Make Payment
Make transactions using User and Card IDs.
5-Make Transaction
Add user and Make transactions using User Data and Card Data.
6-Card Info
Get truncated card number and expiry date for the specified card.
7-Transactions List
Get all transactions.
8-Transaction Info
Get all information of a successfull transaction.
9-User Info
Get user’s card list and task list.
10-Session Retrieve
Get information stored in session.
11-Session Pay
Make transaction using hosted session.
12-Transaction Status
Get Transaction status.
13-Transaction Request
Create new transaction request.
Sample Code
We have included sample code in NODE.js and PHP!. For testing, you can use CURL.
You can view code examples in the dark area on the right side of this window. Use the tabs on the top right to switch programming languages.
Authentication
Vapulus requires authentication before allowing API access. You can register a new merchant account though our merchant portal to begin using our API.
< script src=“https://www.paypal.com/sdk/js?client-id=sb”>< /script>
< script>paypal.Buttons().render(‘body‘);< /script>