ICICI Bank AutoPay debit SMS format

ICICI_AUTOPAY_DEBIT_V1

Last updated

ICICI Bank·AutoPay / mandateBANKDebitVerified

Quick answer

An ICICI Bank AutoPay / mandate debit SMS looks like this: “Your account has been debited with Rs 649.00 towards Netflix Entertainment Ser for AutoPay MERCHANTMANDATE. RRN 421723106963. Avl Bal Rs 10,000.00-ICICI Bank” It is a debit (money spent or sent) alert. The parts that change in each message are the amount, 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.

Template

Your account has been debited with currency amount towards merchantName for AutoPay skip. RRN ref. Avl Bal currency2 balance-ICICI Bank

Sample SMS

Template matches this sample

Your account has been debited with Rs 649.00 towards Netflix Entertainment Ser for AutoPay MERCHANTMANDATE. RRN 421723106963. Avl Bal Rs 10,000.00-ICICI Bank

FieldExtracted value
currencyRs
amount649.00
merchantNameNetflix Entertainment Ser
skipMERCHANTMANDATE
ref421723106963
currency2Rs
balance10,000.00

Compiled regex

flags: i
^Your account has been debited with \s*(?<currency>[A-Z]{2,4})\s* \s*(?<amount>[\d,]+(?:\.\d{1,2})?)\s* towards \s*(?<merchantName>[\s\S]+?)\s* for AutoPay \s*(?<skip>[\s\S]+?)\s*\. RRN \s*(?<ref>[\s\S]+?)\s*\. Avl Bal \s*(?<currency2>[A-Z]{2,4})\s* \s*(?<balance>[\s\S]+?)\s*-ICICI Bank
JSON/api/templates/icici-autopay-debit-v1
{
  "id": "icici-autopay-debit-v1",
  "name": "ICICI_AUTOPAY_DEBIT_V1",
  "bank": {
    "code": "ICICI",
    "name": "ICICI Bank",
    "slug": "icici-bank"
  },
  "category": "AutoPay / mandate",
  "payment_mode": "BANK",
  "direction": "debit",
  "keywords": [
    "has been debited",
    "AutoPay",
    "ICICI Bank"
  ],
  "template": "Your account has been debited with {currency} {amount} towards {merchantName} for AutoPay {skip}. RRN {ref}. Avl Bal {currency2} {balance}-ICICI Bank",
  "regex": "^Your account has been debited with \\s*(?<currency>[A-Z]{2,4})\\s* \\s*(?<amount>[\\d,]+(?:\\.\\d{1,2})?)\\s* towards \\s*(?<merchantName>[\\s\\S]+?)\\s* for AutoPay \\s*(?<skip>[\\s\\S]+?)\\s*\\. RRN \\s*(?<ref>[\\s\\S]+?)\\s*\\. Avl Bal \\s*(?<currency2>[A-Z]{2,4})\\s* \\s*(?<balance>[\\s\\S]+?)\\s*-ICICI Bank",
  "regex_flags": "i",
  "sample": "Your account has been debited with Rs 649.00 towards Netflix Entertainment Ser for AutoPay MERCHANTMANDATE. RRN 421723106963. Avl Bal Rs 10,000.00-ICICI Bank",
  "verified": true,
  "source": "pennywise"
}

Frequently asked questions

What does an ICICI Bank AutoPay / mandate debit SMS look like?

Your account has been debited with Rs 649.00 towards Netflix Entertainment Ser for AutoPay MERCHANTMANDATE. RRN 421723106963. Avl Bal Rs 10,000.00-ICICI Bank — the parts that change are the amount, the merchant or payee, a reference number and the available balance or credit limit.

How do I parse an ICICI Bank AutoPay / mandate SMS?

First check that the message contains “has been debited”, “AutoPay”, “ICICI Bank”. Then match it with this case-insensitive regular expression: ^Your account has been debited with \s*(?<currency>[A-Z]{2,4})\s* \s*(?<amount>[\d,]+(?:\.\d{1,2})?)\s* towards \s*(?<merchantName>[\s\S]+?)\s* for AutoPay \s*(?<skip>[\s\S]+?)\s*\. RRN \s*(?<ref>[\s\S]+?)\s*\. Avl Bal \s*(?<currency2>[A-Z]{2,4})\s* \s*(?<balance>[\s\S]+?)\s*-ICICI Bank. The named groups give you the amount, the merchant or payee, a reference number and the available balance or credit limit.

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.

ICICI Bank AutoPay debit SMS format (ICICI_AUTOPAY_DEBIT_V1) | Iris SMS Templates