For AI agents: visit https://docs.payu.in/llms.txt for an index of all pages formatted in Markdown and endpoints in OpenAPI. Append .md to any documentation page URL to get its markdown version.
The Load and Pay Transaction API is designed to handle wallet transactions where the wallet balance is insufficient. It enables users to first load money into their wallet and then directly proceed with the payment (debiting the wallet) in a single streamlined transaction.
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
Parameter
Description
Example
key mandatory
String Merchant key provided by PayU during onboarding
KOEfPI
txnid mandatory
Alphanumeric Unique transaction ID generated for each load and pay transaction
ram1234
amount mandatory
Numeric Transaction amount in implied decimals (₹41.00 → 4100)
4100
productinfo mandatory
String Description and details about the product being purchased
eCommerce
firstname mandatory
String Customer's first name
John
lastname optional
String Customer's last name
Doe
email mandatory
String Email ID associated with the customer wallet/account