API Playground

Welcome to the API Playground

PayU APIs provide a simple and flexible way to initiate, authorise and complete online payments.This API playground provides information on available endpoints and how to interact with them in real time and integrate with your products. Please select API group/name for more.

Payment Simulator Demos

PayU Hosted

This flow allows you to hand over the entire control of the checkout process to PayU's inbuilt UIs for payments.

View parameters

Merchant Hosted

Merchant needs to collect the payment details on their own platform and post them to PayU.

View parameters

Server-to-Server

Merchant needs to collect the payment details on their platform & decode base64 for bank page.

View parameters

Request

curl -X POST "https://test.payu.in/merchant/postservice?form=2"

-H "accept: application/json" -H "Content-Type: application/x-www-form-urlencoded" -d

"key=

&command=

&var1=

&hash=

"

Response