Punjab & Sind Bank UPI credit SMS format
PSB_CREDIT_V1
Last updated
Quick answer
A Punjab & Sind Bank UPI credit SMS looks like this: “PSB000000000000003 A/c No **2222 Credited with Rs 5500--UPI/CR/121888265852/JOHN/HDFC/00000000000000/U (CLR BAL 30987.99CR)(13-04-2026 17:22:34)-Punjab&Sind 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, 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
ref A/c No **last_four Credited with currency amount--merchantName (CLR BAL balanceCR)(date time)-Punjab&Sind Bank
Sample SMS
PSB000000000000003 A/c No **2222 Credited with Rs 5500--UPI/CR/121888265852/JOHN/HDFC/00000000000000/U (CLR BAL 30987.99CR)(13-04-2026 17:22:34)-Punjab&Sind Bank
| Field | Extracted value |
|---|---|
| ref | PSB000000000000003 |
| last_four | 2222 |
| currency | Rs |
| amount | 5500 |
| merchantName | UPI/CR/121888265852/JOHN/HDFC/00000000000000/U |
| balance | 30987.99 |
| date | 13-04-2026 |
| time | 17:22:34 |
Compiled regex
^\s*(?<ref>[\s\S]+?)\s* A/c No \*\*\s*(?<last_four>\d{4})\s* Credited with \s*(?<currency>[A-Z]{2,4})\s* \s*(?<amount>[\d,]+(?:\.\d{1,2})?)\s*--\s*(?<merchantName>[\s\S]+?)\s* \(CLR BAL \s*(?<balance>[\s\S]+?)\s*CR\)\(\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*\)-Punjab&Sind BankJSON/api/templates/psb-credit-v1
{
"id": "psb-credit-v1",
"name": "PSB_CREDIT_V1",
"bank": {
"code": "PUNJABSIND",
"name": "Punjab & Sind Bank",
"slug": "punjab-and-sind-bank"
},
"category": "UPI",
"payment_mode": "BANK",
"direction": "credit",
"keywords": [
"Credited with",
"CLR BAL",
"Punjab&Sind Bank"
],
"template": "{ref} A/c No **{last_four} Credited with {currency} {amount}--{merchantName} (CLR BAL {balance}CR)({date} {time})-Punjab&Sind Bank",
"regex": "^\\s*(?<ref>[\\s\\S]+?)\\s* A/c No \\*\\*\\s*(?<last_four>\\d{4})\\s* Credited with \\s*(?<currency>[A-Z]{2,4})\\s* \\s*(?<amount>[\\d,]+(?:\\.\\d{1,2})?)\\s*--\\s*(?<merchantName>[\\s\\S]+?)\\s* \\(CLR BAL \\s*(?<balance>[\\s\\S]+?)\\s*CR\\)\\(\\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*\\)-Punjab&Sind Bank",
"regex_flags": "i",
"sample": "PSB000000000000003 A/c No **2222 Credited with Rs 5500--UPI/CR/121888265852/JOHN/HDFC/00000000000000/U (CLR BAL 30987.99CR)(13-04-2026 17:22:34)-Punjab&Sind Bank",
"verified": true,
"source": "pennywise"
}Frequently asked questions
What does a Punjab & Sind Bank UPI credit SMS look like?
PSB000000000000003 A/c No **2222 Credited with Rs 5500--UPI/CR/121888265852/JOHN/HDFC/00000000000000/U (CLR BAL 30987.99CR)(13-04-2026 17:22:34)-Punjab&Sind Bank — the parts that change are the amount, the last digits of the account or card, the date, the merchant or payee, a reference number and the available balance or credit limit.
How do I parse a Punjab & Sind Bank UPI SMS?
First check that the message contains “Credited with”, “CLR BAL”, “Punjab&Sind Bank”. Then match it with this case-insensitive regular expression: ^\s*(?<ref>[\s\S]+?)\s* A/c No \*\*\s*(?<last_four>\d{4})\s* Credited with \s*(?<currency>[A-Z]{2,4})\s* \s*(?<amount>[\d,]+(?:\.\d{1,2})?)\s*--\s*(?<merchantName>[\s\S]+?)\s* \(CLR BAL \s*(?<balance>[\s\S]+?)\s*CR\)\(\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*\)-Punjab&Sind Bank. The named groups give you the amount, the last digits of the account or card, the date, the merchant or payee, a reference number and the available balance or credit limit.
Is this Punjab & Sind 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.