Date: 2026-10-22 23:37:08 --- 1. INITIATE SALE REQUEST URL --- https://pgpay.icicibank.com/pg/api/v2/initiateSale --- 1. INITIATE SALE REQUEST PAYLOAD (RAW JSON) --- { "merchantId": "100000000443911", "aggregatorID": "100000000443910", "merchantTxnNo": "DEBUG1792705028192", "amount": "10.00", "currencyCode": "356", "payType": "0", "customerEmailID": "test@gymkhana.com", "transactionType": "SALE", "returnURL": "https://app.chemburgymkhana.in:4343/callback.php", "txnDate": "20261022233708", "customerMobileNo": "9999999999", "customerName": "Test User", "addlParam1": "AppPayment", "addlParam2": "", "secureHash": "1b8a82fd4d77c10a26aa12762c3a52fa7870893d11451b27e76b5914339cee87" } --- 1. INITIATE SALE RESPONSE (CURL RETURN) --- { "success": true, "http_code": 200, "data": { "responseCode": "R1000", "merchantId": "100000000443911", "aggregatorID": "100000000443910", "merchantTxnNo": "DEBUG1792705028192", "redirectURI": "https://pgpay.icici.bank.in/pg/api/v2/authRedirect", "showOTPCapturePage": "N", "generateOTPURI": null, "verifyOTPURI": null, "authorizeURI": null, "tranCtx": "R01a1658b-e1db-7480-a0d2-87710c6eb408", "secureHash": "c304b4be2231c27690e10298284cddef053446e928b9e6c65404697324797c2f" } } --- 2. STATUS CHECK REQUEST URL --- https://pgpay.icicibank.com/pg/api/command --- 2. STATUS CHECK REQUEST PAYLOAD (RAW JSON) --- { "merchantId": "100000000443911", "aggregatorID": "100000000443910", "merchantTxnNo": "STAT179270502840", "transactionType": "STATUS", "originalTxnNo": "DEBUG1792705028192", "secureHash": "afb4ca370e00a5665638e7b8cb83aed36b08031e96b3851e4d1560fc6e7ca54c" } --- 2. STATUS CHECK RESPONSE (CURL RETURN) --- { "success": true, "http_code": 200, "data": { "secureHash": "710a265c86b39dc014dffead95a60d1bb908fc9d7a7c07755a3dd7695514010b", "merchantId": "100000000443911", "respDescription": "Awaiting user action", "merchantTxnNo": "DEBUG1792705028192", "aggregatorID": "100000000443910", "oth_charge": false, "responseCode": "P0030" } } --- 2. STATUS CHECK HASH VALIDATION --- { "receivedHash": "710a265c86b39dc014dffead95a60d1bb908fc9d7a7c07755a3dd7695514010b", "calculatedHash": "710a265c86b39dc014dffead95a60d1bb908fc9d7a7c07755a3dd7695514010b", "isValid": true }