The response from the Seamless Debit Callback provides detailed transaction information, focusing on the status, customer data, payment method, and validation hash. The callback URLs (Surl/Furl) are specifically used to notify merchants of transaction outcomes in real time.
Parameter | Description | Example |
---|---|---|
mihpayidmandatory |
Numeric - Unique reference number generated by PayU for tracking. |
1735903830180094 |
modemandatory |
String - Payment category/mode (e.g., CC, DC, NB, EMI). |
CC |
bankcodemandatory |
String - Bank/payment provider code (e.g., VISA, MAST). |
VISA |
statusmandatory |
String - Transaction status: success, failure, pending. |
success |
unmappedstatusmandatory |
String - Internal transaction status in PayU (e.g., dropped, captured). |
captured |
keymandatory |
AlphaNumeric (100) - Merchant key provided by PayU during onboarding. |
KOEfPI |
errormandatory |
AlphaNumeric (100) - Error code in case of transaction failure. |
E000 |
error_messagemandatory |
String - Error description (if applicable). |
No Error |
bank_ref_nummandatory |
Numeric - Bank reference number for the transaction. |
1099 |
txnidmandatory |
AlphaNumeric - Unique transaction ID from the API request. |
ram1234 |
amountmandatory |
Numeric - Transaction amount specified in the request. |
10000 |
discountoptional |
Numeric - Discount applied, if any. |
0.00 |
net_amount_debitmandatory |
Numeric - Net amount debited by the transaction. |
10000 |
addedonmandatory |
Date - Date & time of transaction. |
2025-01-13 18:24:06 |
productinfomandatory |
String - Product description from the API request. |
Product Info |
firstnamemandatory |
String - Customer's first name. |
Ravi |
lastnameoptional |
String - Customer's last name. |
Kumar |
emailoptional |
String - Customer's email address. |
[email protected] |
phoneoptional |
Numeric - Customer's phone number. |
8963478878 |
address1optional |
String - Address line 1 of the customer. |
2, Nehru bazaar |
address2optional |
String - Address continuation (if any). |
Indiranagar |
cityoptional |
String - Customer's city. |
Jaipur |
stateoptional |
String - Customer's state. |
Rajasthan |
countryoptional |
String - Customer's country of residence. |
India |
zipcodeoptional |
Numeric - Customer's postal code. |
345678 |
hashmandatory |
String - Hash to verify the integrity of the JSON data. |
6e64...2b2a |
PG_TYPEmandatory |
String - Payment Gateway information. |
CLW-PG |
udf1 to udf10optional |
String - User-defined fields used for additional custom data. |
- |
payment_sourcemandatory |
String - Seamless debit source: Always payuS2S. |
payuS2S |
offer_keyoptional |
String - Identifier for any applied offers. |
- |
offer_availedoptional |
String - Whether an offer was applied. |
- |
Sample JSON Response
The following JSON illustrates a successful transaction status returned to the merchant's specified callback URLs (Surl/Furl):
{
"mihpayid": "1735903830180094",
"mode": "CLW",
"status": "success",
"key": "KOEfPI",
"txnid": "ram1234",
"amount": "1.00",
"addedon": "2025-01-13 18:24:06",
"productinfo": "Product Info",
"firstname": "Payu-Admin",
"lastname": "",
"address1": "",
"address2": "",
"city": "",
"state": "",
"country": "",
"zipcode": "",
"email": "[email protected]",
"phone": "1234567890",
"udf1": "",
"udf2": "",
"udf3": "",
"udf4": "",
"udf5": "",
"udf6": "",
"udf7": "",
"udf8": "",
"udf9": "",
"udf10": "",
"card_token": "",
"card_no": "",
"field0": "urn",
"field1": "3017",
"field2": "",
"field3": "",
"field4": "",
"field5": "",
"field6": "",
"field7": "00|SUCCESS",
"field8": "",
"field9": "No Error",
"payment_source": "payuS2S",
"PG_TYPE": "CLW-PG",
"error": "E000",
"error_Message": "No Error",
"net_amount_debit": "1",
"discount": "0.00",
"offer_key": "",
"offer_availed": "",
"unmappedstatus": "captured",
"hash": "6e640b16d851b685a45bdda2be3d1dfc5e425594a604b2c5349e22e30aba668d107aba986dc48556a1935b708ee9ad8f390a40893ebf6b5a5958f3a05bed2b2a",
"bank_ref_num": "1099",
"bankcode": "PAY",
"surl": "https://pp1admin.payu.in/test_response",
"curl": "https://pp1admin.payu.in/test_response",
"furl": "https://pp1admin.payu.in/test_response"
}