The Seamless Debit Transaction API allows you to debit funds from a wallet seamlessly through PayU payment gateway. This API provides a smooth user experience by handling the payment flow without redirecting the customer away from your application.
Environment
Environment
URL
Test
https://test.payu.in/_payment
Production
https://secure.payu.in/_payment
HTTP Method: POST
Request Headers
Parameter
Description
Content-Type mandatory
String application/x-www-form-urlencoded
Request Parameters
Body Parameters
The request body contains both encrypted and decrypted parameters.
Encrypted
Parameter
Description
encdata mandatory
String Encrypted request body containing all the decrypted parameters
Decrypted
Parameter
Description
Example
txnId mandatory
Alphanumeric(25) Unique transaction ID generated by the merchant
56882
key mandatory
Alphanumeric(50) Merchant key provided by PayU during onboarding
KPQwN8
productinfo mandatory
Alphanumeric(100) Brief description of the product
iPhone
Customer_id optional
Numeric(50) Unique ID for the customer (merchant's identifier)
89342546
walleturn optional
Numeric(11) Wallet URN generated by the system
70000000008
firstName mandatory
String(60) Customer's first name (only characters and single spaces)
Sourav
lastName optional
String(60) Customer's last name
Mishra
phone mandatory
Numeric(15) Customer's phone number including ISD code