Test Browser Redirect

Simulates a portal (e.g. process.esign.online) creating a form redirect to /Gateway/Pay.aspx.

Defaults to this page so you see the callback immediately.
How the Flow Works
  1. Client signs parameters with sha512(SecretKey|app_id|txnid|amount|return_url).
  2. Client forwards customer to https://shop.sanjivanimt.com/Gateway/Pay.aspx.
  3. Gateway prepares PayU hash and opens PayU Hosted Checkout.
  4. Customer pays ₹1.00 via UPI, QR, Card, or Net Banking.
  5. PayU returns to Gateway /Gateway/Response.aspx which checks reverse checksum.
  6. Gateway auto-submits signed response back to your return_url.
Zero database changes needed on shop.sanjivanimt.com. All data is carried dynamically in parameters.
Call Initiate API

Send a REST API request to /Gateway/Api/Initiate.ashx to create a session and obtain a payment checkout URL.

Live JSON Response
Raw response returned by Initiate.ashx:
// Click "Send Initiate API Request" to see live JSON response...
Query PayU Live Status

Query /Gateway/Api/Verify.ashx with a transaction ID to get verified status directly from PayU's server.

PayU Verification Result
Real-time JSON response from PayU server:
// Enter a txnid and click Query to check PayU status...
Ready-to-Use Code Snippets
1. C# / ASP.NET HttpClient Example
var payload = new {
    app_id = "cashsetu",
    txnid = "ORD_" + DateTime.UtcNow.Ticks,
    amount = "100.00",
    productinfo = "Wallet Recharge",
    firstname = "Customer",
    email = "customer@example.com",
    phone = "9876543210",
    return_url = "https://your-domain.com/Wallet/Callback",
    udf1 = "1054",
    signature = ComputeSha512($"{secretKey}|cashsetu|{txnid}|100.00|{returnUrl}")
};

var client = new HttpClient();
var response = await client.PostAsJsonAsync("https://shop.sanjivanimt.com/Gateway/Api/Initiate.ashx", payload);
var json = await response.Content.ReadAsStringAsync();
// Redirect customer to json.payment_url
                    
2. JavaScript / Fetch API Example
const res = await fetch("https://shop.sanjivanimt.com/Gateway/Api/Initiate.ashx", {
    method: "POST",
    headers: { "Content-Type": "application/json" },
    body: JSON.stringify(orderData)
});
const data = await res.json();
if (data.success) {
    window.location.href = data.payment_url;
}
                    
3. Inbound Callback Verification Formula
string expectedSig = ComputeSha512($"{secretKey}|{status}|{txnid}|{amount}|{mihpayid}|{udf1}");
if (expectedSig.Equals(receivedSignature, StringComparison.OrdinalIgnoreCase) && status == "success") {
    // Credit local wallet table
}