The Get TDR API (get_TDR API) is used to get the Transaction Discount Rate (TDR) value of a transaction with PayU. It is a simple API for which you need to provide the PayU ID of the transaction as input and the TDR value is returned in the output, var1 is Payu id (mihpayid) of the transaction.

Reference information for request parameters

keyFor 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
hashHash logic for this API is:

Response parameters

For the response parameters, refer to Additional Info for General APIs.

To learn more about the possible error codes and their description, refer to Error Codes.

Request parameters

Sample values

Use the following sample values while trying out the API:

  • var1 (Payu ID/mihpayid): 403993715521891555
Click Try It! to start a request and see the response here!