generate-api-key-and-salt

Generate Merchant Key and Salt on PayU Dashboard

Before starting Web Checkout integration or integrating your website with PayU products, you need to generate your API key and Salt using the PayU Merchant Dashboard.

Before you Begin

You need to activate your account with PayU to get the key and salt details on PayU Dashboard. You account gets activated only if you had submitted all the basic documents while onboarding. For more information, refer to Complete your KYC.

Procedure

To generate API key and Salt from the PayU Merchant Dashboard:

  1. Navigate to the following URL and log in to Merchant Dashboard.:

https://onboarding.payu.in/app/account

  1. Select Payment Gateway under Collect Payments from the menu on the left-pane.

The Payment Gateway page is displayed similar to the following screenshot.

  1. Scroll down to Key Salt Details section.

The values for the following fields are generated automatically (for the first time) and displayed similar to the following screenshot:

  • Merchant Key: The API key that you must use for all the payment requests.
  • Merchant Salt (Version 1): The Salt, v1 is the 16-character string that you must use to generate hash and further post the hash along with parameters when posting a payment request with PayU.
  • Merchant Salt (Version 2): The Salt, v2 that you must use to generate hash and further post the hash along with parameters when posting a payment request with PayU.

Note 1: Use the copy button next to each field to copy them to a text file and save themin a confidential location for your perusal. This will avoid any typo with the merchant key.

Note 2: You can generate API key and Salt only once from Merchant Dashboard. If you wish to reset the API key or Salt, you need to contact PayU Support.