Generate the Bolt checkout hash payload, and receive the Bolt payment postback.
These two pages cover Bolt checkout on the partner layer. Bolt Generate Hash returns the payload passed to bolt.launch. Bolt Payment Callback is the route where PayU receives the checkout postback.
Authentication
| Environment | Base URL |
|---|---|
| Test | https://test-partnerapilayer.payu.in/apilayer |
| Production | https://api.payu.in |
| Page | Route | What the page uses |
|---|---|---|
| Bolt Generate Hash | POST /partner/bolt/generateHash | Authorization, X-PayU-Reseller-UUID, and X-PayU-Merchant-ID |
| Bolt Payment Callback | POST /partner/bolt/paymentCallback | PayU receives the postback. The response is an empty body. |
Generate Hash requires txnid, amount, productinfo, firstname, email, phone, surl, and furl.
Endpoints
These are the Bolt pages.
POST /partner/bolt/generateHash. Returns the bolt.launch payload, not a status wrapper. The hash is the payment hash: key, txnid, amount, productinfo, firstname, email, udf1 to udf5, then the salt.
POST /partner/bolt/paymentCallback. PayU receives the same form postback fields as the standard payment callback and returns an empty body.
How It Works
Generate the hash
Call Bolt Generate Hash with txnid, amount, productinfo, firstname, email, phone, surl, and furl. The 200 body is the payload passed to bolt.launch.
Open Bolt checkout
Pass that payload to bolt.launch. This step uses the response from Bolt Generate Hash.
Receive the postback
PayU receives the checkout result at Bolt Payment Callback and returns an empty body.
