Change the Language

To change the display language in PayU Hosted Checkout, add the language parameter to the payment request API call. The following video shows how vernacular support can improve your business:

The display_lang parameter should be set to one of the following values (same as corresponding language spelling):

  • English
  • Hindi
  • Tamil
  • Telugu
  • Kannada
  • Gujarati
  • Marathi

Here is an example payment request API call with the display_lang parameter set to Hindi:

curl -X POST "https://test.payu.in/_payment -H "accept: application/json" -H "Content-Type: application/x-www-form-urlencoded" -d "key=JP***g&txnid=PQI6MqpYrjEefU&amount=10.00 &firstname=PayU User&[email protected]&phone=9876543210 &productinfo=iPhone&surl= https://apiplayground-response.herokuapp.com/ &furl=https://apiplayground-response.herokuapp.com/ &display_lang=Hindi&hash=05a397501918ec5c36ae52daa3b3e49b43e986b86940e109d060076e467c3ea7536617df7420e0e6863dced8c5b45f9fff15c13bdf0335512c05f0210b31b072”

The PayU payment page is displayed with the display language as “Hindi” similar to the following screenshot: