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.
string Merchant key provided by PayU. Reference: For more information on how to generate the Key and Salt, refer to any of the following: Production: Generate Production Merchant Key and Sat. Test: Generate Test Merchant Key and Salt.
Your Test Key
command mandatory
string The parameter must contain the name of the web service.
cancel_qr_payment
hash mandatory
string This parameter must contain the hash value to be calculated at your end. The string used for calculating the hash is mentioned below: sha512(key|command|var1|salt. sha512 is the encryption method used here.
var1 mandatory
json This parameter is in JSON format. For the description of fields in JSON Format, refer to the next table.
The var1 parameter is in a JSON format and the fields are described in the following table:
Field
Description
Sample
transactionId mandatory
String This is the transactionId with which initial transaction is initiated.
cancel1234
product_type optional
String This parameter can be used to indicate the product if merchant has initiated multiple in progress transactions with same txnid.