UPI Refund and Credit webhook response
These can come in 2 cases:
UPI Refund: In case Merchant refunds against particular previous payments.
UPI User Credit: In case User receive money/credit from other sources thru UPI
UPI Refund Notification/ UPI User Credit
{
"user_id": "usr_4a33eea0234e4f558",
"txn_logs": [
{
"entry_id": "ent_b3c8475d76b346b5b47d62a0fe329bc5",
"txn_log_id": "txn_b3c8475d76b346b5b47d62a0fe329bc5",
"account_id": "acc_db7ca20c268045f6bcdb27af064c19c4",
"txn_date": "2018-02-28T10:30:38+05:30",
"txn_type": "UPI_FUND",
"txn_code": "UPI_PAYMENT",
"txn_indicator": "Debit",
"txn_amount": 100,
"txn_currency": {
"alpha_code": "INR",
"numeric_code": 356
},
"remarks": "Paying for Groceries",
"rrn": "493dceaf-17c3-44dd-8414-be0ce6635d1a"
}
],
"status": "success",
"rrn": "g23eg32878723eh329e8923",
"merchant_vpa": "amazon@okhdfc",
"merchant_name": "amazon",
"mcc": "1234",
"upi_merchant_id": "upi_txn_id361639163861",
}Field Name
Data Type
Required (O/M)
Description
rrn
String
M
Retrieval Reference Number
status
String
M
Status of the UPI Payments. Possible Values: “success”, “pending” and “failed”
upi_merchant_id
String
M
UPI Merchant Id against which payment happend
merchant_vpa
String
O
VPA of the merchant
merchant_name
String
O
Name of the merchant
mcc
String
O
Merchant Category Code
entry_id
String
M
Unique reference to the entry of the transaction
account_id
String
M
Account Id of the user
txn_type
String
M
Refer below for more details
txn_log_id
String
M
Unique reference to the transaction
txn_code
String
M
Code of Transaction
txn_indicator
String
M
Define Credit or Debit
txn_date
String
M
Transaction Date time stamp
remarks
String
O
txn_amount
Numeric
M
Transaction Amount
txn_currency
String
M
Transaction Currency
target_account_balance
List
O
funding_account_balance
List
O
Last updated
