Kerala Gramin Bank UPI credit SMS format

KGB_UPI_CREDIT_V1

Last updated

Kerala Gramin Bank·UPICreditVerified

Quick answer

A Kerala Gramin Bank UPI credit SMS looks like this: “Dear Customer, Account XXXX123 is credited with INR 3000 on 20-10-2025 08:15:26 from 7025784485@upi. UPI Ref. no. 529807237409-Kerala Gramin 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, the merchant or payee and a reference number; everything else is fixed text, so it can be matched with the regex below.

Template

Dear Customer, Account is credited with currency amount on date time from merchantName. UPI Ref. no. upi_ref-Kerala Gramin Bank

Sample SMS

Template matches this sample

Dear Customer, Account is credited with INR 3000 on 20-10-2025 08:15:26 from 7025784485@upi. UPI Ref. no. 529807237409-Kerala Gramin Bank

FieldExtracted value
X
XXX123
currencyINR
amount3000
date20-10-2025
time08:15:26
merchantName7025784485@upi
upi_ref529807237409

Compiled regex

flags: i
^Dear Customer, Account \s*(?<masked>[\s\S]+?)\s*\s*(?<acct_tail>[\s\S]+?)\s* is credited with \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*(?<time>(?:\d{2}[A-Z]{3}\d{4}|[\dA-Z\-/ :T]{4,32}))\s* from \s*(?<merchantName>[\s\S]+?)\s*\. UPI Ref\. no\. \s*(?<upi_ref>[A-Za-z0-9\-]{4,32})\s*-Kerala Gramin Bank
JSON/api/templates/kgb-upi-credit-v1
{
  "id": "kgb-upi-credit-v1",
  "name": "KGB_UPI_CREDIT_V1",
  "bank": {
    "code": "KERALAGRAMIN",
    "name": "Kerala Gramin Bank",
    "slug": "kerala-gramin-bank"
  },
  "category": "UPI",
  "payment_mode": "UPI",
  "direction": "credit",
  "keywords": [
    "is credited with",
    "UPI Ref. no",
    "Kerala Gramin Bank"
  ],
  "template": "Dear Customer, Account {masked}{acct_tail} is credited with {currency} {amount} on {date} {time} from {merchantName}. UPI Ref. no. {upi_ref}-Kerala Gramin Bank",
  "regex": "^Dear Customer, Account \\s*(?<masked>[\\s\\S]+?)\\s*\\s*(?<acct_tail>[\\s\\S]+?)\\s* is credited with \\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*(?<time>(?:\\d{2}[A-Z]{3}\\d{4}|[\\dA-Z\\-/ :T]{4,32}))\\s* from \\s*(?<merchantName>[\\s\\S]+?)\\s*\\. UPI Ref\\. no\\. \\s*(?<upi_ref>[A-Za-z0-9\\-]{4,32})\\s*-Kerala Gramin Bank",
  "regex_flags": "i",
  "sample": "Dear Customer, Account XXXX123 is credited with INR 3000 on 20-10-2025 08:15:26 from 7025784485@upi. UPI Ref. no. 529807237409-Kerala Gramin Bank",
  "verified": true,
  "source": "pennywise"
}

Other KGB UPI formats

KGB_UPI_DEBIT_V1UPIDebitVerified

Your a/c no. is debited for currency.amount on date time and credited to a/c no. skip (UPI Ref no upi_ref)-Kerala Gramin Bank

Your a/c no. is debited for Rs.1,250.50 on 01/8/25 03:15 PM and credited to a/c no. XXXXX11111 (UPI Ref no 987654321098)-Kerala Gramin Bank

Frequently asked questions

What does a Kerala Gramin Bank UPI credit SMS look like?

Dear Customer, Account XXXX123 is credited with INR 3000 on 20-10-2025 08:15:26 from 7025784485@upi. UPI Ref. no. 529807237409-Kerala Gramin Bank — 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 a Kerala Gramin Bank UPI SMS?

First check that the message contains “is credited with”, “UPI Ref. no”, “Kerala Gramin Bank”. Then match it with this case-insensitive regular expression: ^Dear Customer, Account \s*(?<masked>[\s\S]+?)\s*\s*(?<acct_tail>[\s\S]+?)\s* is credited with \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*(?<time>(?:\d{2}[A-Z]{3}\d{4}|[\dA-Z\-/ :T]{4,32}))\s* from \s*(?<merchantName>[\s\S]+?)\s*\. UPI Ref\. no\. \s*(?<upi_ref>[A-Za-z0-9\-]{4,32})\s*-Kerala Gramin Bank. 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 Kerala Gramin 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.

Does Kerala Gramin Bank use more than one UPI SMS format?

Yes. Kerala Gramin 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.

Kerala Gramin Bank UPI credit SMS format (KGB_UPI_CREDIT_V1) | Iris SMS Templates