Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion backend/internal/catalog/content/rules.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
"sender_emails": ["alerts@hdfcbank.bank.in", "alerts@hdfcbank.net"],
"subject_contains": "UPI txn",
"amount_regex": "Rs\\.\\s*([\\d,]+(?:\\.\\d+)?)",
"merchant_regex": "VPA \\S+\\s+(?:\\(([^)]*)\\)|(.*?))\\s+on\\s",
"merchant_regex": "(?:to\s+\S+\s+(.+?)\s+on\s+\d{2}-\d{2}-\d{2}|Paid to\s*<b>([^.@<]+)|VPA\s+\S+\s+(?:\(([^)]*)\)|(.*?))\s+on\b)",
"currency_regex": "",
"source": { "type": "UPI", "label": "HDFC UPI", "bank": "HDFC" }
},
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
---
rule: "HDFC UPI"
sender: "alerts@hdfcbank.net"
subject: "❗ You have done a UPI txn. Check details!"
expected:
amount: "40.00"
merchant: "Redacted Merchant"
currency: "<optional>"
---
Dear Customer,<br><br>
Rs.40.00 has been debited from your HDFC Bank RuPay Credit Card XX0000
to redacted@upi Redacted Merchant on 19-01-26.
Your UPI transaction reference number is REDACTED.<br><br>

If you did not authorize this transaction, please report it immediately by calling REDACTED Or SMS BLOCK CC XXXX to REDACTED.<br><br>

Warm Regards,<br>
HDFC Bank
Loading