Kotak Mahindra Bank Card spend debit SMS format
KOTAK_CC_SPENT_V1
Last updated
Quick answer
A Kotak Mahindra Bank Card spend debit SMS looks like this: “INR 20 spent on Kotak Credit Card x5236 on 23-JAN-2026 at UPI-638903921672-CORN. Avl limit INR 73733.02 Fraud? https://www.kotak.bank.in/KBANKT/querytxn” 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 Kotak Credit Card xlast_four on date at merchantName. Avl limit INR limit Fraud?
Sample SMS
INR 20 spent on Kotak Credit Card x5236 on 23-JAN-2026 at UPI-638903921672-CORN. Avl limit INR 73733.02 Fraud? https://www.kotak.bank.in/KBANKT/querytxn
| Field | Extracted value |
|---|---|
| currency | INR |
| amount | 20 |
| last_four | 5236 |
| date | 23-JAN-2026 |
| merchantName | UPI-638903921672-CORN |
| limit | 73733.02 |
Compiled regex
^\s*(?<currency>[A-Z]{2,4})\s* \s*(?<amount>[\d,]+(?:\.\d{1,2})?)\s* spent on Kotak Credit Card x\s*(?<last_four>\d{4})\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* at \s*(?<merchantName>[\s\S]+?)\s*\. Avl limit INR \s*(?<limit>[\s\S]+?)\s* Fraud\?JSON/api/templates/kotak-cc-spent-v1
{
"id": "kotak-cc-spent-v1",
"name": "KOTAK_CC_SPENT_V1",
"bank": {
"code": "KOTAK",
"name": "Kotak Mahindra Bank",
"slug": "kotak-mahindra-bank"
},
"category": "Card spend",
"payment_mode": "CARD",
"direction": "debit",
"keywords": [
"spent on Kotak Credit Card"
],
"template": "{currency} {amount} spent on Kotak Credit Card x{last_four} on {date} at {merchantName}. Avl limit INR {limit} Fraud?",
"regex": "^\\s*(?<currency>[A-Z]{2,4})\\s* \\s*(?<amount>[\\d,]+(?:\\.\\d{1,2})?)\\s* spent on Kotak Credit Card x\\s*(?<last_four>\\d{4})\\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* at \\s*(?<merchantName>[\\s\\S]+?)\\s*\\. Avl limit INR \\s*(?<limit>[\\s\\S]+?)\\s* Fraud\\?",
"regex_flags": "i",
"sample": "INR 20 spent on Kotak Credit Card x5236 on 23-JAN-2026 at UPI-638903921672-CORN. Avl limit INR 73733.02 Fraud? https://www.kotak.bank.in/KBANKT/querytxn",
"verified": true,
"source": "pennywise"
}Frequently asked questions
What does a Kotak Mahindra Bank Card spend debit SMS look like?
INR 20 spent on Kotak Credit Card x5236 on 23-JAN-2026 at UPI-638903921672-CORN. Avl limit INR 73733.02 Fraud? https://www.kotak.bank.in/KBANKT/querytxn — 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 Kotak Mahindra Bank Card spend SMS?
First check that the message contains “spent on Kotak Credit Card”. 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 Kotak Credit Card x\s*(?<last_four>\d{4})\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* at \s*(?<merchantName>[\s\S]+?)\s*\. Avl limit INR \s*(?<limit>[\s\S]+?)\s* Fraud\?. 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 Kotak Mahindra 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.