Access Production Key and Salt

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. For more information on how to toggle between the Live and Test mode on Dashboard, refer to Toggle between Live and Test Mode.

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 Activate Account.

📘

Notes:

  • The API key and Salt will not be visible or accessible for merchants who have not completed onboarding or website was verified by PayU. While onboarding, the website verification takes 1-2 days.
  • The API key and Salt will not be visible for merchants without a website.

Procedure to Access Key and Salt

To generate Salt from the PayU Merchant Dashboard:

  1. Log in to PayU Dashboard using the following log on page:

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

  1. Switch to Live Mode from the toggle option on the menu bar.
  1. Select Developer from the menu on the left-pane and select the API Details tab if required.

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

  • key: The API key that you must use for all payment requests.
  • Salt-32 bit: The Salt, v1 is the 32-character string that you must use to generate a hash and further post the hash along with parameters when posting a payment request with PayU.
  • Salt-256 bit: The Salt, v2 that you must use to generate a hash and further post the hash along with parameters when posting a payment request with PayU.

📘

Note:

Use the Copy Key or Copy Salt button next to each field to copy them to a text file and save them in a confidential location for your perusal. This will avoid any typos with the merchant key.

Regenerate and Activate Key and Salt

To regenerate key and salt and then activate them:

  1. Log in to PayU Dashboard using the following log on page:

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

  1. Switch to Live Mode from the toggle option on the menu bar.
  1. Select Developer from the menu on the left-pane and select the API Details tab if required.
  1. Click the Regenerate Salt button to generate new salt.

    A confirmation pop-up message is displayed similar to the following screenshot:

  1. Click the Regenerate button.

    The Success message is displayed at top-right corner similar to the following screenshot:

  1. Click the Activate button displayed for Salt under the Actions column.

📘

Notes:

  • New Salt expires in 15 days expiry if not activated.
  • If the new Salt not activated within the 15 days, you will require to regenerate another salt.
  • After the new Salt is activated, the new Salt will be updated to replace of Salt version 1.
  • PayU recommends you to activate the regenerated Salt to avoid any payment or API call failures with your customers.