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.
INDUSIND_UPI_CREDIT_V1
Last updated
Quick answer
An IndusInd Bank UPI credit SMS looks like this: “A/C *XX1234 credited by Rs 25000.00 from xxxx.yyyy@ybl. RRN:510048508040. Avl Bal:105502.12. Not you? Call 18602677777 - IndusInd bank.” It is a credit (money received) alert. The parts that change in each message are the amount, the last digits of the account or card, the merchant or payee, a reference number and the available balance or credit limit; everything else is fixed text, so it can be matched with the regex below.
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.
| Field | Extracted value |
|---|---|
| last_four | 1234 |
| currency | Rs |
| amount | 25000.00 |
| merchantName | xxxx.yyyy@ybl |
| upi_ref | 510048508040 |
| balance | 105502.12 |
^A/C \*XX\s*(?<last_four>\d{4})\s* credited by \s*(?<currency>[A-Z]{2,4})\s* \s*(?<amount>[\d,]+(?:\.\d{1,2})?)\s* from \s*(?<merchantName>[\s\S]+?)\s*\. RRN:\s*(?<upi_ref>[A-Za-z0-9\-]{4,32})\s*\. Avl Bal:\s*(?<balance>[\s\S]+?)\s*\. Not you\?/api/templates/indusind-upi-credit-v1{
"id": "indusind-upi-credit-v1",
"name": "INDUSIND_UPI_CREDIT_V1",
"bank": {
"code": "INDUSIND",
"name": "IndusInd Bank",
"slug": "indusind-bank"
},
"category": "UPI",
"payment_mode": "UPI",
"direction": "credit",
"keywords": [
"credited by",
"RRN",
"IndusInd"
],
"template": "A/C *XX{last_four} credited by {currency} {amount} from {merchantName}. RRN:{upi_ref}. Avl Bal:{balance}. Not you?",
"regex": "^A/C \\*XX\\s*(?<last_four>\\d{4})\\s* credited by \\s*(?<currency>[A-Z]{2,4})\\s* \\s*(?<amount>[\\d,]+(?:\\.\\d{1,2})?)\\s* from \\s*(?<merchantName>[\\s\\S]+?)\\s*\\. RRN:\\s*(?<upi_ref>[A-Za-z0-9\\-]{4,32})\\s*\\. Avl Bal:\\s*(?<balance>[\\s\\S]+?)\\s*\\. Not you\\?",
"regex_flags": "i",
"sample": "A/C *XX1234 credited by Rs 25000.00 from xxxx.yyyy@ybl. RRN:510048508040. Avl Bal:105502.12. Not you? Call 18602677777 - IndusInd bank.",
"verified": true,
"source": "pennywise"
}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.
A/C *XX1234 credited by Rs 25000.00 from xxxx.yyyy@ybl. RRN:510048508040. Avl Bal:105502.12. 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, a reference number and the available balance or credit limit.
First check that the message contains “credited by”, “RRN”, “IndusInd”. Then match it with this case-insensitive regular expression: ^A/C \*XX\s*(?<last_four>\d{4})\s* credited by \s*(?<currency>[A-Z]{2,4})\s* \s*(?<amount>[\d,]+(?:\.\d{1,2})?)\s* from \s*(?<merchantName>[\s\S]+?)\s*\. RRN:\s*(?<upi_ref>[A-Za-z0-9\-]{4,32})\s*\. Avl Bal:\s*(?<balance>[\s\S]+?)\s*\. Not you\?. The named groups give you the amount, the last digits of the account or card, the merchant or payee, a reference number and the available balance or credit limit.
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.