Integrate With TPAP Pro
Step-by-step guide on how to integrate with TPAP Pro.
Integrate TPAP Pro by following these steps:
Following are the flows available on our TPAP stack:
Customer onboarding is a process of binding and registering the customer device by validating the mobile number. The customer's payment sources are linked to ensure seamless and hassle-free transactions. Additionally, You must create a fingerprint that acts as a unique identifier generated based on various attributes of the device. Know more about
.Create an unique identifier using various attributes of the device. This identifier is used to recognise the specific device during subsequent transactions.
To generate a device fingerprint for the customer:
-
Create a string with the following fields separated by a pipe (|).
SSID|APP.ID|device.UUID|mobile_number|merchantCustomerId|timestamp -
Hash this string using the SHA-256 algorithm.
deviceFingerprintPayload ="<ssid|app.id|device.uuid|mobile_number|customer_reference|timestamp>"MessageDigest digest = MessageDigest.getInstance("SHA-256");byte[] deviceFingerprint = digest.digest(deviceFingerprintPayload.getBytes(StandardCharsets.UTF_8)); -
Send the timestamp within the headers.
The following table lists the different device binding status and their description. Know more about
.Funds and accounts management helps you manage payment sources and providers. The Razorpay APIs let you add more accounts, delete existing accounts and change PINs for accounts for hassle-free transactions. Know more about
.The Payment module enables you to make various transactions using payment APIs. Below are the supported transaction types:
- : Facilitate P2P (peer-to-peer) or P2M (peer-to-merchant) payments. The supported payment transfer types are:
- Pay from a VPA to VPA.
- Pay from a VPA to a payment source.
- Pay from a payment source to a VPA.
- Pay from one payment source to another.
- Scan and Pay (UPI QR & Bharat QR): Customers can QR codes and make payments.
- Intent Payment: Customers can make payment through an intent link.
- Payment to a PSP merchant: Customers can make a payment using the merchant VPA.
- P2P Pay (VPA and Account+IFSC): A person can pay to another person using a TPAP.
- Self Pay: Customers can make transactions between their own accounts.
- : This API lets you collect payments from others.
- : This API lets you approve payment collect requests.
- : This API lets you reject payment collect requests.
You can create and manage mandates using the Razorpay APIs. Know more about
.UPI Mapper provides a 1:1 mapping between VPAs and mobile or UPI numbers, enabling efficient and streamlined identification.
Enable credit card payments via UPI for enhanced flexibility. All features of account management apply to credit cards as well.
Set up automated recurring payments for a variety of use cases, simplifying repeated transactions.
Authorise one-time payments for specific transactions, offering greater flexibility and control.
Enable transactions using pre-approved credit lines, helping users manage finances more effectively.
Support low-value transactions with a simplified process, ensuring quick and seamless payments.
Consider the following steps before taking your integration live.
After confirming if your integration is working successfully, you can take the integration live by switching the Test Mode API Keys with the Live Mode Keys.
Watch this video to know how to generate Live API keys:
Below are the headers you should pass while polling different APIs.
Is this integration guide useful?