The Collect Payment API (_payment API) is used to collect payments for all the Web Checkout integration.
API Reference Limitation
Currently, you can check only the response for the API calls made with PayU Hosted Checkout integration on this page, so you cannot open the simulator of PayU Hosted Checkout page. For the sample simulator page, navigate to the following URL and click Submit:
For the character limit of each parameter, refer to Additional Info for Payment APIs.
|key||For more information on how to generate the Key and Salt, refer to any of the following:|
- Production: Generate Merchant Key and Salt
- Test: Generate Test Merchant Key and Salt
|hash||Hash logic for _payment API is:|
Collecting the information for the following parameters from customers is helpful when it comes to issues related to fraud detection and chargebacks. Hence, it is must to provide the correct information:
For the response parameters, refer to Additional Info for Payment APIs
A list of error_message with corresponding error code and reason for the error is listed in Error Codes. PayU recommends you to handle these errors when you process the transactions.