API Playground

POST

https://test.payu.in/merchant/postservice?form=2

The API playground retrieves the responses of the selected API.
Your Merchant Key
Command of API
var1 of API
Hash to Run the API
Hash to Run the API
Hash to Run the API

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=

"

curl -X POST "https://test.payu.in/_payment"

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

"key=

&txnid=

&amount=

&firstname=

&email=

&phone=

&productinfo=

&surl=

&furl=

&hash=

"

curl -X POST "https://test.payu.in/_payment

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

"key=

&txnid=

&amount=

&firstname=

&email=

&phone=

&productinfo=

&pg=

&bankcode=

&surl=

&furl=

&hash=

"

curl -X POST "https://test.payu.in/_payment

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

"key=

&txnid=

&amount=

&firstname=

&email=

&phone=

&productinfo=

&pg=

&bankcode=

&surl=

&furl=

&ccnum=

&ccexpmon=

&ccexpyr=

&ccvv=

&ccname=

&hash=

"

curl -X POST "https://test.payu.in/_payment

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

"key=

&txnid=

&amount=

&firstname=

&email=

&phone=

&productinfo=

&pg=

&bankcode=

&surl=

&furl=

&hash=

"

curl -X POST "https://test.payu.in/_payment

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

"key=

&txnid=

&amount=

&firstname=

&email=

&phone=

&productinfo=

&pg=

&bankcode=

&txn_s2s_flow=

&surl=

&furl=

&hash=

"

curl -X POST "https://test.payu.in/_payment

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

"key=

&txnid=

&amount=

&firstname=

&email=

&phone=

&productinfo=

&pg=

&txn_s2s_flow=

&bankcode=

&surl=

&furl=

&hash=

"

curl -X POST "https://test.payu.in/_payment

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

"key=

&txnid=

&amount=

&firstname=

&email=

&phone=

&productinfo=

&pg=

&bankcode=

&surl=

&furl=

&ccnum=

&ccexpmon=

&ccexpyr=

&ccvv=

&ccname=

&txn_s2s_flow=

&hash=

"

curl -X POST "https://test.payu.in/_payment

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

"key=

&txnid=

&amount=

&firstname=

&email=

&phone=

&productinfo=

&pg=

&bankcode=

&surl=

&furl=

&ccnum=

&ccexpmon=

&ccexpyr=

&ccvv=

&ccname=

&txn_s2s_flow=

&hash=

"

curl -X POST "https://test.payu.in/_payment

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

"key=

&txnid=

&amount=

&firstname=

&email=

&phone=

&productinfo=

&pg=

&bankcode=

&vpa=

&surl=

&furl=

&hash=

"

curl -X POST "https://test.payu.in/_payment

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

"key=

&txnid=

&amount=

&firstname=

&email=

&phone=

&productinfo=

&pg=

&bankcode=

&vpa=

&txn_s2s_flow=

&surl=

&furl=

&hash=

"

curl -X POST "https://test.payu.in/_payment

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

"key=

&txnid=

&amount=

&firstname=

&email=

&phone=

&productinfo=

&pg=

&bankcode=

&surl=

&furl=

&api_version=

&beneficiarydetail=

&hash=

"

curl -X POST "https://test.payu.in/_payment

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

"key=

&txnid=

&amount=

&firstname=

&email=

&phone=

&productinfo=

&pg=

&bankcode=

&surl=

&furl=

&api_version=

&beneficiarydetail=

&hash=

"

curl -X POST "https://test.payu.in/_payment

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

"key=

&txnid=

&amount=

&firstname=

&email=

&phone=

&productinfo=

&pg=

&bankcode=

&surl=

&furl=

&api_version=

&beneficiarydetail=

&hash=

"

curl -X POST "https://test.payu.in/_payment

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

"key=

&txnid=

&amount=

&firstname=

&email=

&phone=

&productinfo=

&pg=

&bankcode=

&surl=

&furl=

&api_version=

&beneficiarydetail=

&hash=

"

curl -X POST "https://test.payu.in/_payment

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

"key=

&txnid=

&amount=

&firstname=

&email=

&phone=

&productinfo=

&pg=

&bankcode=

&surl=

&furl=

&api_version=

&beneficiarydetail=

&hash=

"

Response