Federal Bank IMPS credit SMS format

FEDBK_CREDIT_V1

Last updated

Federal Bank·IMPSBANKCreditNo sample

Quick answer

A Federal Bank IMPS credit SMS follows this pattern: “{currency} {amount} credited to your A/c XX{last_four} via IMPS on {date} {time} IMPS Ref no {upi_ref} Bal:Rs {balance} -Federal 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 date, 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

currency amount credited to your A/c XX via IMPS on date time IMPS Ref no upi_ref Bal:Rs balance -Federal Bank

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

flags: i
^\s*(?<currency>[A-Z]{2,4})\s* \s*(?<amount>[\d,]+(?:\.\d{1,2})?)\s* credited to your A/c XX\s*(?<last_four>\d{4})\s* via IMPS 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*(?<time>(?:\d{2}[A-Z]{3}\d{4}|[\dA-Z\-/ :T]{4,32}))\s* IMPS Ref no \s*(?<upi_ref>[A-Za-z0-9\-]{4,32})\s* Bal:Rs \s*(?<balance>[\s\S]+?)\s* -Federal Bank
JSON/api/templates/fedbk-credit-v1
{
  "id": "fedbk-credit-v1",
  "name": "FEDBK_CREDIT_V1",
  "bank": {
    "code": "FEDERALBANK",
    "name": "Federal Bank",
    "slug": "federal-bank"
  },
  "category": "IMPS",
  "payment_mode": "BANK",
  "direction": "credit",
  "keywords": [
    "Federal",
    "credited"
  ],
  "template": "{currency} {amount} credited to your A/c XX{last_four} via IMPS on {date} {time} IMPS Ref no {upi_ref} Bal:Rs {balance} -Federal Bank",
  "regex": "^\\s*(?<currency>[A-Z]{2,4})\\s* \\s*(?<amount>[\\d,]+(?:\\.\\d{1,2})?)\\s* credited to your A/c XX\\s*(?<last_four>\\d{4})\\s* via IMPS 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*(?<time>(?:\\d{2}[A-Z]{3}\\d{4}|[\\dA-Z\\-/ :T]{4,32}))\\s* IMPS Ref no \\s*(?<upi_ref>[A-Za-z0-9\\-]{4,32})\\s* Bal:Rs \\s*(?<balance>[\\s\\S]+?)\\s* -Federal Bank",
  "regex_flags": "i",
  "sample": null,
  "verified": false,
  "source": "iris"
}

Other Federal IMPS formats

FEDBK_IMPS_DEBIT_V1IMPSDebitNo sample

Your a/c no. is debited for currency.amount on date and a/c skip credited (IMPS Ref no. upi_ref)

Frequently asked questions

What does a Federal Bank IMPS credit SMS look like?

It follows the pattern “{currency} {amount} credited to your A/c XX{last_four} via IMPS on {date} {time} IMPS Ref no {upi_ref} Bal:Rs {balance} -Federal Bank”, where the placeholders in braces are the amount, the last digits of the account or card, the date, a reference number and the available balance or credit limit.

How do I parse a Federal Bank IMPS SMS?

First check that the message contains “Federal”, “credited”. Then match it with this case-insensitive regular expression: ^\s*(?<currency>[A-Z]{2,4})\s* \s*(?<amount>[\d,]+(?:\.\d{1,2})?)\s* credited to your A/c XX\s*(?<last_four>\d{4})\s* via IMPS 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*(?<time>(?:\d{2}[A-Z]{3}\d{4}|[\dA-Z\-/ :T]{4,32}))\s* IMPS Ref no \s*(?<upi_ref>[A-Za-z0-9\-]{4,32})\s* Bal:Rs \s*(?<balance>[\s\S]+?)\s* -Federal Bank. The named groups give you the amount, the last digits of the account or card, the date, a reference number and the available balance or credit limit.

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.

Federal Bank IMPS credit SMS format (FEDBK_CREDIT_V1) | Iris SMS Templates