UPI Collect - S2Spost https://test.payu.in/_paymentForm DatakeyconstenumrequiredDefaults to JPM7FgThe merchant key is a unique identifier for a merchant account in PayU's database. It is provided by PayU and use your Test key here.JPM7FgAllowed:JPM7FgtxnidstringrequiredDefaults to aso6787The transaction ID is a reference number for a specific order that is generated by the merchant. It is used to track the order and must be unique. PayU's system will not accept duplicate transaction IDs.amountstringrequiredDefaults to 10.00This field should contain the payment amount for the transaction.productinfostringrequiredDefaults to Table LampThis field should be a string containing a brief description of the product.firstnamestringrequiredDefaults to AshishThe first name of the customer.emailstringrequiredDefaults to [email protected]The email address of the customer.phonenumberrequiredDefaults to 9999999999The phone number of the customer.surlstringrequiredDefaults to https://apiplayground-response.herokuapp.com/The "surl" field is the success URL, which is the page PayU will redirect to if the transaction is successful. The merchant can handle the response at this URL after the customer is redirected there.furlstringrequiredDefaults to https://apiplayground-response.herokuapp.com/The "furl" field is the Failure URL, which is the page PayU will redirect to if the transaction is failed. The merchant can handle the response at this URL after the customer is redirected there.hashstringrequiredIt is used to avoid the possibility of transaction tampering. The format for calculating the hash: sha512(key|txnid|amount|productinfo|firstname|email|udf1|udf2|udf3|udf4|udf5||||||SALT)notifyurlstringDefaults to https://apiplayground-response.herokuapp.com/It is used to send response regarding current transaction to notify about the current transaction done in merchant site.lastnamestringLast name of the customer (must only contains alphabets).pgconstenumrequiredDefaults to CCThe pg parameter determines which payment tabs will be displayed on the PayU page. UPI must be specified for UPI.CCUPIAllowed:CCUPIbankcodeconstenumrequiredDefaults to CCEach payment option is identified with a unique bank code at PayU. Post UPI as bankcode for UPI.CCUPIAllowed:CCUPIvpaconstenumrequiredDefaults to anything@payuVirtual Private Address. VPA can first be validated using VPA validate web service. Also, add regex where ‘@’ exists. This needs to be passed in case of collect flow of UPI only.anything@payuAllowed:anything@payuudf1stringUser-defined fields (udf) are used to store any information corresponding to a particular transaction. You can use up to five udfs in the post designated as udf1, udf2, udf3, udf4, udf5.udf2stringUser-defined fields (udf) are used to store any information corresponding to a particular transaction. You can use up to five udfs in the post designated as udf1, udf2, udf3, udf4, udf5.udf3stringUser-defined fields (udf) are used to store any information corresponding to a particular transaction. You can use up to five udfs in the post designated as udf1, udf2, udf3, udf4, udf5.udf4stringUser-defined fields (udf) are used to store any information corresponding to a particular transaction. You can use up to five udfs in the post designated as udf1, udf2, udf3, udf4, udf5.udf5stringUser-defined fields (udf) are used to store any information corresponding to a particular transaction. You can use up to five udfs in the post designated as udf1, udf2, udf3, udf4, udf5.txn_s2s_flowconstenumrequiredDefaults to 4This parameter must be passed with the value as 4 for Legacy Decoupled flow.44Allowed:44s2s_client_ipstringrequiredDefaults to 123.123.123.123This parameter must have the source IP of the customer.s2s_device_infostringrequiredDefaults to Mozilla BrowserThis parameter must have the customer agent's device.HeadersContent-TypeconstenumrequiredDefaults to application/x-www-form-urlencodedapplication/x-www-form-urlencodedAllowed:application/x-www-form-urlencodedResponse 200Updated about 1 month ago Related TopicsUPI Collection S2S Integration