Kotak Mahindra Bank ATM withdrawal debit SMS format
KOTAK_ATM_V1
Last updated
Quick answer
A Kotak Mahindra Bank ATM withdrawal debit SMS looks like this: “Rs.1900.00 withdrawn via Kotak Debit Card XX01111 on 15/10/2026 at S1BN000000001. Avl Bal Rs.5000.27 Not you?Tap https://kotak.bank.in/KBANKT/Fraud” 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 withdrawn via Kotak Debit Card maskedlast_four on date at merchantName. Avl Bal currency2.balance Not you?
Sample SMS
Rs.1900.00 withdrawn via Kotak Debit Card XX01111 on 15/10/2026 at S1BN000000001. Avl Bal Rs.5000.27 Not you?Tap https://kotak.bank.in/KBANKT/Fraud
| Field | Extracted value |
|---|---|
| currency | Rs |
| amount | 1900.00 |
| masked | XX0 |
| last_four | 1111 |
| date | 15/10/2026 |
| merchantName | S1BN000000001 |
| currency2 | Rs |
| balance | 5000.27 |
Compiled regex
^\s*(?<currency>[A-Z]{2,4})\s*\.\s*(?<amount>[\d,]+(?:\.\d{1,2})?)\s* withdrawn via Kotak Debit Card \s*(?<masked>[\s\S]+?)\s*\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 Bal \s*(?<currency2>[A-Z]{2,4})\s*\.\s*(?<balance>[\s\S]+?)\s* Not you\?JSON/api/templates/kotak-atm-v1
{
"id": "kotak-atm-v1",
"name": "KOTAK_ATM_V1",
"bank": {
"code": "KOTAK",
"name": "Kotak Mahindra Bank",
"slug": "kotak-mahindra-bank"
},
"category": "ATM withdrawal",
"payment_mode": "ATM",
"direction": "debit",
"keywords": [
"withdrawn via Kotak Debit Card"
],
"template": "{currency}.{amount} withdrawn via Kotak Debit Card {masked}{last_four} on {date} at {merchantName}. Avl Bal {currency2}.{balance} Not you?",
"regex": "^\\s*(?<currency>[A-Z]{2,4})\\s*\\.\\s*(?<amount>[\\d,]+(?:\\.\\d{1,2})?)\\s* withdrawn via Kotak Debit Card \\s*(?<masked>[\\s\\S]+?)\\s*\\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 Bal \\s*(?<currency2>[A-Z]{2,4})\\s*\\.\\s*(?<balance>[\\s\\S]+?)\\s* Not you\\?",
"regex_flags": "i",
"sample": "Rs.1900.00 withdrawn via Kotak Debit Card XX01111 on 15/10/2026 at S1BN000000001. Avl Bal Rs.5000.27 Not you?Tap https://kotak.bank.in/KBANKT/Fraud",
"verified": true,
"source": "pennywise"
}Frequently asked questions
What does a Kotak Mahindra Bank ATM withdrawal debit SMS look like?
Rs.1900.00 withdrawn via Kotak Debit Card XX01111 on 15/10/2026 at S1BN000000001. Avl Bal Rs.5000.27 Not you?Tap https://kotak.bank.in/KBANKT/Fraud — 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 ATM withdrawal SMS?
First check that the message contains “withdrawn via Kotak Debit Card”. Then match it with this case-insensitive regular expression: ^\s*(?<currency>[A-Z]{2,4})\s*\.\s*(?<amount>[\d,]+(?:\.\d{1,2})?)\s* withdrawn via Kotak Debit Card \s*(?<masked>[\s\S]+?)\s*\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 Bal \s*(?<currency2>[A-Z]{2,4})\s*\.\s*(?<balance>[\s\S]+?)\s* Not you\?. 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.