Quick answer
An ICICI Bank UPI debit SMS looks like this: “ICICI Bank Acct XX051 debited for Rs 180.00 on 10-Nov-25; DINDUGAL ORIGIN credited. UPI:568069174081. Call 18002662 for dispute. SMS BLOCK 051 to 9215676766. 06:33 PM” 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 date, the merchant or payee and a reference number; everything else is fixed text, so it can be matched with the regex below.
Template
ICICI Bank Acct XXacct_tail debited for currency amount on date; merchantName credited. UPI:upi_ref.
Sample SMS
ICICI Bank Acct XX051 debited for Rs 180.00 on 10-Nov-25; DINDUGAL ORIGIN credited. UPI:568069174081. Call 18002662 for dispute. SMS BLOCK 051 to 9215676766. 06:33 PM
| Field | Extracted value |
|---|---|
| acct_tail | 051 |
| currency | Rs |
| amount | 180.00 |
| date | 10-Nov-25 |
| merchantName | DINDUGAL ORIGIN |
| upi_ref | 568069174081 |
Compiled regex
^ICICI Bank Acct XX\s*(?<acct_tail>[\s\S]+?)\s* debited for \s*(?<currency>[A-Z]{2,4})\s* \s*(?<amount>[\d,]+(?:\.\d{1,2})?)\s* on \s*(?<date>(?:\d{2}-[A-Z]{3}-\d{2,4}|\d{2}[A-Z]{3}\d{4}|[\dA-Z\-/ :T]{4,32}))\s*; \s*(?<merchantName>[\s\S]+?)\s* credited\. UPI:\s*(?<upi_ref>[A-Za-z0-9\-]{4,32})\s*\.JSON/api/templates/icici-upi-debit-v1
{
"id": "icici-upi-debit-v1",
"name": "ICICI_UPI_DEBIT_V1",
"bank": {
"code": "ICICI",
"name": "ICICI Bank",
"slug": "icici-bank"
},
"category": "UPI",
"payment_mode": "UPI",
"direction": "debit",
"keywords": [
"ICICI Bank Acct",
"debited for",
"credited. UPI"
],
"template": "ICICI Bank Acct XX{acct_tail} debited for {currency} {amount} on {date}; {merchantName} credited. UPI:{upi_ref}.",
"regex": "^ICICI Bank Acct XX\\s*(?<acct_tail>[\\s\\S]+?)\\s* debited for \\s*(?<currency>[A-Z]{2,4})\\s* \\s*(?<amount>[\\d,]+(?:\\.\\d{1,2})?)\\s* on \\s*(?<date>(?:\\d{2}-[A-Z]{3}-\\d{2,4}|\\d{2}[A-Z]{3}\\d{4}|[\\dA-Z\\-/ :T]{4,32}))\\s*; \\s*(?<merchantName>[\\s\\S]+?)\\s* credited\\. UPI:\\s*(?<upi_ref>[A-Za-z0-9\\-]{4,32})\\s*\\.",
"regex_flags": "i",
"sample": "ICICI Bank Acct XX051 debited for Rs 180.00 on 10-Nov-25; DINDUGAL ORIGIN credited. UPI:568069174081. Call 18002662 for dispute. SMS BLOCK 051 to 9215676766. 06:33 PM",
"verified": true,
"source": "pennywise"
}Frequently asked questions
What does an ICICI Bank UPI debit SMS look like?
ICICI Bank Acct XX051 debited for Rs 180.00 on 10-Nov-25; DINDUGAL ORIGIN credited. UPI:568069174081. Call 18002662 for dispute. SMS BLOCK 051 to 9215676766. 06:33 PM — the parts that change are the amount, the last digits of the account or card, the date, the merchant or payee and a reference number.
How do I parse an ICICI Bank UPI SMS?
First check that the message contains “ICICI Bank Acct”, “debited for”, “credited. UPI”. Then match it with this case-insensitive regular expression: ^ICICI Bank Acct XX\s*(?<acct_tail>[\s\S]+?)\s* debited for \s*(?<currency>[A-Z]{2,4})\s* \s*(?<amount>[\d,]+(?:\.\d{1,2})?)\s* on \s*(?<date>(?:\d{2}-[A-Z]{3}-\d{2,4}|\d{2}[A-Z]{3}\d{4}|[\dA-Z\-/ :T]{4,32}))\s*; \s*(?<merchantName>[\s\S]+?)\s* credited\. UPI:\s*(?<upi_ref>[A-Za-z0-9\-]{4,32})\s*\.. The named groups give you the amount, the last digits of the account or card, the date, the merchant or payee and a reference number.
Is this ICICI Bank SMS format verified?
Yes. The template is checked automatically against a real, redacted message on every build, and the build fails if it stops matching.