UPI Integration for TPV

Integrate TPV through UPI using the procedure described in this section.

Prerequisites

Merchant Hosted or S2S (Seamless) integration has to be done as per the standard kit. For more information, refer to UPI Integration.

Step 1: List the account numbers

Collect or prepare a list of account numbers that must be posted to PayU for TPV at step 2.


Step 2: Post the parameters to PayU

With the following additional parameters, make the transaction request with the customer’s bank account number to the PayU using the Collect Payment (_payment) API. For more information, refer to Collect Payment API - Merchant Hosted Checkiout.

ParameterDescription
pgIt defines the payment category for which you wish to perform TPV. For Net Banking, pg= ’UPI’.UPI
bankcodeIt defines the bank with which you wish to perform TPV using the bank code.The values can be any one of the following values:
- UPITPV: Used for UPI Collect
- INTTPV: : Used for UPI Intent
- TEJTPV: Used for Google Pay in app transactions only
UPITPV
beneficiarydetailThis is a JSON format text and there should be key named beneficiaryAccountNumber with the list of account numbers and the ifscCode key with the list of corresponding IFSC codes (in the same order as provided in the beneficiaryAccountNumber key). You can post up to five account details in this parameter.{"beneficiaryAccountNumber":"002001600674|00000031957292212|00000035955239352|00000035955239352",
"ifscCode":"KTKB0000046|KTKB0000023|KTKB0000035|KTKB0000035"}
api_versionThe api_version “6” must be passed fro this parameter.6

📘

Note:

PayU recommends you. to verify the transaction details using the Verification Payment API. For more information, For API reference, refer to Verify Payment API.