currency amount credited to your A/c XXlast_four via IMPS on date time IMPS Ref no upi_ref Bal:Rs balance -Federal Bank
Federal Bank IMPS debit SMS format
FEDBK_IMPS_DEBIT_V1
Last updated
Quick answer
A Federal Bank IMPS debit SMS follows this pattern: “Your a/c no. {masked}{last_four} is debited for {currency}.{amount} on {date} and a/c {skip} credited (IMPS Ref no. {upi_ref})” 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 and a reference number; everything else is fixed text, so it can be matched with the regex below.
Template
Your a/c no. maskedlast_four is debited for currency.amount on date and a/c skip credited (IMPS Ref no. upi_ref)
Sample SMS
No public sample for this format yet. It comes from a production parser, so it has matched real messages — but there is no redacted copy to show.
Compiled regex
^Your a/c no\. \s*(?<masked>[\s\S]+?)\s*\s*(?<last_four>\d{4})\s* is 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* and a/c \s*(?<skip>[\s\S]+?)\s* credited \(IMPS Ref no\. \s*(?<upi_ref>[A-Za-z0-9\-]{4,32})\s*\)JSON/api/templates/fedbk-imps-debit-v1
{
"id": "fedbk-imps-debit-v1",
"name": "FEDBK_IMPS_DEBIT_V1",
"bank": {
"code": "FEDERALBANK",
"name": "Federal Bank",
"slug": "federal-bank"
},
"category": "IMPS",
"payment_mode": "BANK",
"direction": "debit",
"keywords": [
"Your a/c no.",
"is debited for",
"IMPS Ref no",
"Federal Bank"
],
"template": "Your a/c no. {masked}{last_four} is debited for {currency}.{amount} on {date} and a/c {skip} credited (IMPS Ref no. {upi_ref})",
"regex": "^Your a/c no\\. \\s*(?<masked>[\\s\\S]+?)\\s*\\s*(?<last_four>\\d{4})\\s* is 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* and a/c \\s*(?<skip>[\\s\\S]+?)\\s* credited \\(IMPS Ref no\\. \\s*(?<upi_ref>[A-Za-z0-9\\-]{4,32})\\s*\\)",
"regex_flags": "i",
"sample": null,
"verified": false,
"source": "iris"
}Other Federal IMPS formats
Frequently asked questions
What does a Federal Bank IMPS debit SMS look like?
It follows the pattern “Your a/c no. {masked}{last_four} is debited for {currency}.{amount} on {date} and a/c {skip} credited (IMPS Ref no. {upi_ref})”, where the placeholders in braces are the amount, the last digits of the account or card, the date and a reference number.
How do I parse a Federal Bank IMPS SMS?
First check that the message contains “Your a/c no.”, “is debited for”, “IMPS Ref no”, “Federal Bank”. Then match it with this case-insensitive regular expression: ^Your a/c no\. \s*(?<masked>[\s\S]+?)\s*\s*(?<last_four>\d{4})\s* is 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* and a/c \s*(?<skip>[\s\S]+?)\s* credited \(IMPS Ref no\. \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 and a reference number.
Is this Federal Bank SMS format verified?
It comes from a production SMS parser and matches real messages, but there is no public redacted sample to show yet.
Does Federal Bank use more than one IMPS SMS format?
Yes. Federal Bank sends 2 different IMPS formats catalogued here; banks often keep older wordings alive alongside new ones, so a parser should try all of them.