Generate Test Merchant Key and Salt

Before starting Web Checkout integration or integrating your website with PayU products for the Test environment, you need to get your API key and Salt for your test merchant from the PayU Merchant Dashboard. This section includes the following:

Toggle between Test-Live accounts

Before you Begin

You need to register for a merchant account with PayU. For more information, refer to Register for a Merchant 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 generate test merchant API key and Salt:

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

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

🚧

This feature is only available for merchants who has signed up with PayU after 23rd August, 2023.

This feature allows you to collect the test key and salt from you merchant dashboard without creating any test account.

To generate test merchant API key and Salt:

  1. Login to https://onboarding.payu.in/app/account/signin.
  2. Switch to Test Mode from the toggle option on the menu bar.
  1. Select Payment Gateway under Collect Payments from the menu on the left-pane and Scroll down to Key Salt Details section.

The Payment Gateway 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:

  • Merchant Key: The API key that you must use for all payment requests.
    • Merchant Salt (Version 1): 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.
    • Merchant Salt (Version 2): 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 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.

Create a Test account

To create a test account:

🚧

This procedure is applicable for merchants who had signed up with PayU before 23rd August, 2023.

  1. Sign up for a test account using the following Test acccount registration page:

https://uat-onepayuonboarding.payu.in/app/account/signup

  1. You may skip the KYC details and Navigate to Payment Gateway.
  2. Copy your Test Key and Test salt from the Key Salt Details section of the Payment Gateway page.