Karnataka Bank UPI credit SMS format

KARNATAKA_UPI_CREDIT_V1

Last updated

Karnataka Bank·UPICreditVerified

Quick answer

A Karnataka Bank UPI credit SMS looks like this: “Your a/c XX1111 is credited by Rs.20.00 from TEST PAYER on 19-10-26 (UPI Ref no 600000000001)-Karnataka 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

Your a/c XX is credited by currency.amount from merchantName on date (UPI Ref no upi_ref)-Karnataka Bank

Sample SMS

Template matches this sample

Your a/c XX is credited by Rs.20.00 from TEST PAYER on 19-10-26 (UPI Ref no 600000000001)-Karnataka Bank

FieldExtracted value
1111
currencyRs
amount20.00
merchantNameTEST PAYER
date19-10-26
upi_ref600000000001

Compiled regex

flags: i
^Your a/c XX\s*(?<last_four>\d{4})\s* is credited by \s*(?<currency>[A-Z]{2,4})\s*\.\s*(?<amount>[\d,]+(?:\.\d{1,2})?)\s* from \s*(?<merchantName>[\s\S]+?)\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* \(UPI Ref no \s*(?<upi_ref>[A-Za-z0-9\-]{4,32})\s*\)-Karnataka Bank
JSON/api/templates/karnataka-upi-credit-v1
{
  "id": "karnataka-upi-credit-v1",
  "name": "KARNATAKA_UPI_CREDIT_V1",
  "bank": {
    "code": "KARNATAKABANK",
    "name": "Karnataka Bank",
    "slug": "karnataka-bank"
  },
  "category": "UPI",
  "payment_mode": "UPI",
  "direction": "credit",
  "keywords": [
    "is credited by",
    "UPI Ref no",
    "Karnataka Bank"
  ],
  "template": "Your a/c XX{last_four} is credited by {currency}.{amount} from {merchantName} on {date} (UPI Ref no {upi_ref})-Karnataka Bank",
  "regex": "^Your a/c XX\\s*(?<last_four>\\d{4})\\s* is credited by \\s*(?<currency>[A-Z]{2,4})\\s*\\.\\s*(?<amount>[\\d,]+(?:\\.\\d{1,2})?)\\s* from \\s*(?<merchantName>[\\s\\S]+?)\\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* \\(UPI Ref no \\s*(?<upi_ref>[A-Za-z0-9\\-]{4,32})\\s*\\)-Karnataka Bank",
  "regex_flags": "i",
  "sample": "Your a/c XX1111 is credited by Rs.20.00 from TEST PAYER on 19-10-26 (UPI Ref no 600000000001)-Karnataka Bank",
  "verified": true,
  "source": "pennywise"
}

Other KBL UPI formats

KARNATAKA_UPI_DEBIT_V1UPIDebitVerified

Your a/c XX debited for currency.amount on date trf to merchantName. UPI:upi_masked.For dispute

Your a/c XX debited for Rs.500.00 on 06-10-26 trf to Test Distributor. UPI:6*********39.For dispute SMS BLOCK 1111 to 1800000000 -KarnatakaBank

Frequently asked questions

What does a Karnataka Bank UPI credit SMS look like?

Your a/c XX1111 is credited by Rs.20.00 from TEST PAYER on 19-10-26 (UPI Ref no 600000000001)-Karnataka 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 Karnataka Bank UPI SMS?

First check that the message contains “is credited by”, “UPI Ref no”, “Karnataka Bank”. Then match it with this case-insensitive regular expression: ^Your a/c XX\s*(?<last_four>\d{4})\s* is credited by \s*(?<currency>[A-Z]{2,4})\s*\.\s*(?<amount>[\d,]+(?:\.\d{1,2})?)\s* from \s*(?<merchantName>[\s\S]+?)\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* \(UPI Ref no \s*(?<upi_ref>[A-Za-z0-9\-]{4,32})\s*\)-Karnataka 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 Karnataka 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 Karnataka Bank use more than one UPI SMS format?

Yes. Karnataka 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.

Karnataka Bank UPI credit SMS format (KARNATAKA_UPI_CREDIT_V1) | Iris SMS Templates