Punjab National Bank UPI credit SMS format

PNB_UPI_CREDIT_V2

Last updated

Punjab National Bank·UPICreditVerified

Quick answer

A Punjab National Bank UPI credit SMS looks like this: “A/c X0000 credited INR 125.00 From Example Shop Ltd/UPI:000000000003. Bal INR 9000.00-PNB” 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 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

A/c credited currency amount From merchantName/UPI:upi_ref. Bal INR balance-PNB

Sample SMS

Template matches this sample

A/c credited INR 125.00 From Example Shop Ltd/UPI:000000000003. Bal INR 9000.00-PNB

FieldExtracted value
X
0000
currencyINR
amount125.00
merchantNameExample Shop Ltd
upi_ref000000000003
balance9000.00

Compiled regex

flags: i
^A/c \s*(?<masked>[\s\S]+?)\s*\s*(?<acct_tail>[\s\S]+?)\s* credited \s*(?<currency>[A-Z]{2,4})\s* \s*(?<amount>[\d,]+(?:\.\d{1,2})?)\s* From \s*(?<merchantName>[\s\S]+?)\s*/UPI:\s*(?<upi_ref>[A-Za-z0-9\-]{4,32})\s*\. Bal INR \s*(?<balance>[\s\S]+?)\s*-PNB
JSON/api/templates/pnb-upi-credit-v2
{
  "id": "pnb-upi-credit-v2",
  "name": "PNB_UPI_CREDIT_V2",
  "bank": {
    "code": "PNB",
    "name": "Punjab National Bank",
    "slug": "pnb"
  },
  "category": "UPI",
  "payment_mode": "UPI",
  "direction": "credit",
  "keywords": [
    "credited",
    "From",
    "/UPI:",
    "-PNB"
  ],
  "template": "A/c {masked}{acct_tail} credited {currency} {amount} From {merchantName}/UPI:{upi_ref}. Bal INR {balance}-PNB",
  "regex": "^A/c \\s*(?<masked>[\\s\\S]+?)\\s*\\s*(?<acct_tail>[\\s\\S]+?)\\s* credited \\s*(?<currency>[A-Z]{2,4})\\s* \\s*(?<amount>[\\d,]+(?:\\.\\d{1,2})?)\\s* From \\s*(?<merchantName>[\\s\\S]+?)\\s*/UPI:\\s*(?<upi_ref>[A-Za-z0-9\\-]{4,32})\\s*\\. Bal INR \\s*(?<balance>[\\s\\S]+?)\\s*-PNB",
  "regex_flags": "i",
  "sample": "A/c X0000 credited INR 125.00 From Example Shop Ltd/UPI:000000000003. Bal INR 9000.00-PNB",
  "verified": true,
  "source": "pennywise"
}

Other PNB UPI formats

PNB_UPI_CREDIT_V1UPICreditVerified

Ac Credited with currency.amount date time thru UPI . Aval Bal currency2.balance CR. (UPI Ref ID:upi_ref)

Ac Credited with Rs.4750.00 11-07-2025 08:53:21 thru UPI . Aval Bal Rs.82431.67 CR. (UPI Ref ID:714628305917) Helpline 18001800/18002021-PNB

PNB_UPI_DEBIT_V1UPIDebitVerified

A/c debited currency amount Dt date time to merchantName thru UPI:upi_ref.

A/c debited INR 250.00 Dt 02-01-26 12:00:00 to Swiggy Ltd thru UPI:000000000002.Bal INR 8750.00-PNB

Frequently asked questions

What does a Punjab National Bank UPI credit SMS look like?

A/c X0000 credited INR 125.00 From Example Shop Ltd/UPI:000000000003. Bal INR 9000.00-PNB — the parts that change are the amount, the last digits of the account or card, the merchant or payee, a reference number and the available balance or credit limit.

How do I parse a Punjab National Bank UPI SMS?

First check that the message contains “credited”, “From”, “/UPI:”, “-PNB”. Then match it with this case-insensitive regular expression: ^A/c \s*(?<masked>[\s\S]+?)\s*\s*(?<acct_tail>[\s\S]+?)\s* credited \s*(?<currency>[A-Z]{2,4})\s* \s*(?<amount>[\d,]+(?:\.\d{1,2})?)\s* From \s*(?<merchantName>[\s\S]+?)\s*/UPI:\s*(?<upi_ref>[A-Za-z0-9\-]{4,32})\s*\. Bal INR \s*(?<balance>[\s\S]+?)\s*-PNB. The named groups give you the amount, the last digits of the account or card, the merchant or payee, a reference number and the available balance or credit limit.

Is this Punjab National 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 Punjab National Bank use more than one UPI SMS format?

Yes. Punjab National Bank sends 3 different UPI formats catalogued here; banks often keep older wordings alive alongside new ones, so a parser should try all of them.

Punjab National Bank UPI credit SMS format (PNB_UPI_CREDIT_V2) | Iris SMS Templates