A/C *XXlast_four credited by currency amount from merchantName. RRN:upi_ref. Avl Bal:balance. Not you?
A/C *XX1234 credited by Rs 25000.00 from xxxx.yyyy@ybl. RRN:510048508040. Avl Bal:105502.12. Not you? Call 18602677777 - IndusInd bank.
Quick answer
An IndusInd Bank UPI debit SMS looks like this: “A/c *XX1234 debited by Rs 1234.00 towards xxxx.yyyy@icici. RRN: 510048508040. Not You? call 18602677777- IndusInd Bank.” It is a debit (money spent or sent) alert. The parts that change in each message are the amount, the last digits of the account or card, the merchant or payee and a reference number; everything else is fixed text, so it can be matched with the regex below.
A/c *XXlast_four debited by currency amount towards merchantName. RRN: upi_ref. Not You?
A/c *XX1234 debited by Rs 1234.00 towards xxxx.yyyy@icici. RRN: 510048508040. Not You? call 18602677777- IndusInd Bank.
| Field | Extracted value |
|---|---|
| last_four | 1234 |
| currency | Rs |
| amount | 1234.00 |
| merchantName | xxxx.yyyy@icici |
| upi_ref | 510048508040 |
^A/c \*XX\s*(?<last_four>\d{4})\s* debited by \s*(?<currency>[A-Z]{2,4})\s* \s*(?<amount>[\d,]+(?:\.\d{1,2})?)\s* towards \s*(?<merchantName>[\s\S]+?)\s*\. RRN: \s*(?<upi_ref>[A-Za-z0-9\-]{4,32})\s*\. Not You\?/api/templates/indusind-upi-debit-v1{
"id": "indusind-upi-debit-v1",
"name": "INDUSIND_UPI_DEBIT_V1",
"bank": {
"code": "INDUSIND",
"name": "IndusInd Bank",
"slug": "indusind-bank"
},
"category": "UPI",
"payment_mode": "UPI",
"direction": "debit",
"keywords": [
"debited by",
"towards",
"RRN",
"IndusInd"
],
"template": "A/c *XX{last_four} debited by {currency} {amount} towards {merchantName}. RRN: {upi_ref}. Not You?",
"regex": "^A/c \\*XX\\s*(?<last_four>\\d{4})\\s* debited by \\s*(?<currency>[A-Z]{2,4})\\s* \\s*(?<amount>[\\d,]+(?:\\.\\d{1,2})?)\\s* towards \\s*(?<merchantName>[\\s\\S]+?)\\s*\\. RRN: \\s*(?<upi_ref>[A-Za-z0-9\\-]{4,32})\\s*\\. Not You\\?",
"regex_flags": "i",
"sample": "A/c *XX1234 debited by Rs 1234.00 towards xxxx.yyyy@icici. RRN: 510048508040. Not You? call 18602677777- IndusInd Bank.",
"verified": true,
"source": "pennywise"
}A/C *XXlast_four credited by currency amount from merchantName. RRN:upi_ref. Avl Bal:balance. Not you?
A/C *XX1234 credited by Rs 25000.00 from xxxx.yyyy@ybl. RRN:510048508040. Avl Bal:105502.12. Not you? Call 18602677777 - IndusInd bank.
A/c *XX1234 debited by Rs 1234.00 towards xxxx.yyyy@icici. RRN: 510048508040. Not You? call 18602677777- IndusInd Bank. — the parts that change are the amount, the last digits of the account or card, the merchant or payee and a reference number.
First check that the message contains “debited by”, “towards”, “RRN”, “IndusInd”. Then match it with this case-insensitive regular expression: ^A/c \*XX\s*(?<last_four>\d{4})\s* debited by \s*(?<currency>[A-Z]{2,4})\s* \s*(?<amount>[\d,]+(?:\.\d{1,2})?)\s* towards \s*(?<merchantName>[\s\S]+?)\s*\. RRN: \s*(?<upi_ref>[A-Za-z0-9\-]{4,32})\s*\. Not You\?. The named groups give you the amount, the last digits of the account or card, the merchant or payee and a reference number.
Yes. The template is checked automatically against a real, redacted message on every build, and the build fails if it stops matching.
Yes. IndusInd Bank sends 2 different UPI formats catalogued here; banks often keep older wordings alive alongside new ones, so a parser should try all of them.