Yes Bank Card spend debit SMS format
YES_CC_UPI_SPENT_V1
Last updated
Quick answer
A Yes Bank Card spend debit SMS looks like this: “INR 404.36 spent on YES BANK Card X3349 @UPI_C N S FUEL PORT 24-08-2025 06:17:25 pm. Avl Lmt INR 211,476.24. SMS BLKCC 3349 to 9840909000 if not you” It is a debit (money spent or sent) 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 the available balance or credit limit; everything else is fixed text, so it can be matched with the regex below.
Template
currency amount spent on YES BANK Card Xlast_four @UPI_merchantName date time. Avl Lmt INR limit.
Sample SMS
INR 404.36 spent on YES BANK Card X3349 @UPI_C N S FUEL PORT 24-08-2025 06:17:25 pm. Avl Lmt INR 211,476.24. SMS BLKCC 3349 to 9840909000 if not you
| Field | Extracted value |
|---|---|
| currency | INR |
| amount | 404.36 |
| last_four | 3349 |
| merchantName | C |
| date | N S FUEL PORT 24-08-2025 |
| time | 06:17:25 pm |
| limit | 211,476 |
Compiled regex
^\s*(?<currency>[A-Z]{2,4})\s* \s*(?<amount>[\d,]+(?:\.\d{1,2})?)\s* spent on YES BANK Card X\s*(?<last_four>\d{4})\s* @UPI_\s*(?<merchantName>[\s\S]+?)\s* \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*\. Avl Lmt INR \s*(?<limit>[\s\S]+?)\s*\.JSON/api/templates/yes-cc-upi-spent-v1
{
"id": "yes-cc-upi-spent-v1",
"name": "YES_CC_UPI_SPENT_V1",
"bank": {
"code": "YESBANK",
"name": "Yes Bank",
"slug": "yes-bank"
},
"category": "Card spend",
"payment_mode": "CARD",
"direction": "debit",
"keywords": [
"spent on YES BANK Card",
"@UPI_"
],
"template": "{currency} {amount} spent on YES BANK Card X{last_four} @UPI_{merchantName} {date} {time}. Avl Lmt INR {limit}.",
"regex": "^\\s*(?<currency>[A-Z]{2,4})\\s* \\s*(?<amount>[\\d,]+(?:\\.\\d{1,2})?)\\s* spent on YES BANK Card X\\s*(?<last_four>\\d{4})\\s* @UPI_\\s*(?<merchantName>[\\s\\S]+?)\\s* \\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*\\. Avl Lmt INR \\s*(?<limit>[\\s\\S]+?)\\s*\\.",
"regex_flags": "i",
"sample": "INR 404.36 spent on YES BANK Card X3349 @UPI_C N S FUEL PORT 24-08-2025 06:17:25 pm. Avl Lmt INR 211,476.24. SMS BLKCC 3349 to 9840909000 if not you",
"verified": true,
"source": "pennywise"
}Frequently asked questions
What does a Yes Bank Card spend debit SMS look like?
INR 404.36 spent on YES BANK Card X3349 @UPI_C N S FUEL PORT 24-08-2025 06:17:25 pm. Avl Lmt INR 211,476.24. SMS BLKCC 3349 to 9840909000 if not you — the parts that change are the amount, the last digits of the account or card, the date, the merchant or payee and the available balance or credit limit.
How do I parse a Yes Bank Card spend SMS?
First check that the message contains “spent on YES BANK Card”, “@UPI_”. Then match it with this case-insensitive regular expression: ^\s*(?<currency>[A-Z]{2,4})\s* \s*(?<amount>[\d,]+(?:\.\d{1,2})?)\s* spent on YES BANK Card X\s*(?<last_four>\d{4})\s* @UPI_\s*(?<merchantName>[\s\S]+?)\s* \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*\. Avl Lmt INR \s*(?<limit>[\s\S]+?)\s*\.. The named groups give you the amount, the last digits of the account or card, the date, the merchant or payee and the available balance or credit limit.
Is this Yes 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.