Received currency.amount in your Kotak Bank AC Xlast_four from merchantName on date.UPI Ref upi_ref.
Received Rs.250.00 in your Kotak Bank AC X3333 from john.doe@oksbi on 14-10-25.UPI Ref 2222222222. Not you, https://kotak.com/KBANKT/Fraud
KOTAK_UPI_SENT_V1
Last updated
Quick answer
A Kotak Mahindra Bank UPI debit SMS looks like this: “Sent Rs.15.00 from Kotak Bank AC X1234 to paytmqr288005050101t74afkchmxjd@paytm on 14-10-25.UPI Ref 1234567890. Not you, https://kotak.com/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 a reference number; everything else is fixed text, so it can be matched with the regex below.
Sent currency.amount from Kotak Bank AC Xlast_four to merchantName on date.UPI Ref upi_ref.
Sent Rs.15.00 from Kotak Bank AC X1234 to paytmqr288005050101t74afkchmxjd@paytm on 14-10-25.UPI Ref 1234567890. Not you, https://kotak.com/KBANKT/Fraud
| Field | Extracted value |
|---|---|
| currency | Rs |
| amount | 15.00 |
| last_four | 1234 |
| merchantName | paytmqr288005050101t74afkchmxjd@paytm |
| date | 14-10-25 |
| upi_ref | 1234567890 |
^Sent \s*(?<currency>[A-Z]{2,4})\s*\.\s*(?<amount>[\d,]+(?:\.\d{1,2})?)\s* from Kotak Bank AC X\s*(?<last_four>\d{4})\s* to \s*(?<merchantName>[\s\S]+?)\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*\.UPI Ref \s*(?<upi_ref>[A-Za-z0-9\-]{4,32})\s*\./api/templates/kotak-upi-sent-v1{
"id": "kotak-upi-sent-v1",
"name": "KOTAK_UPI_SENT_V1",
"bank": {
"code": "KOTAK",
"name": "Kotak Mahindra Bank",
"slug": "kotak-mahindra-bank"
},
"category": "UPI",
"payment_mode": "UPI",
"direction": "debit",
"keywords": [
"Sent",
"from Kotak Bank AC",
"UPI Ref"
],
"template": "Sent {currency}.{amount} from Kotak Bank AC X{last_four} to {merchantName} on {date}.UPI Ref {upi_ref}.",
"regex": "^Sent \\s*(?<currency>[A-Z]{2,4})\\s*\\.\\s*(?<amount>[\\d,]+(?:\\.\\d{1,2})?)\\s* from Kotak Bank AC X\\s*(?<last_four>\\d{4})\\s* to \\s*(?<merchantName>[\\s\\S]+?)\\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*\\.UPI Ref \\s*(?<upi_ref>[A-Za-z0-9\\-]{4,32})\\s*\\.",
"regex_flags": "i",
"sample": "Sent Rs.15.00 from Kotak Bank AC X1234 to paytmqr288005050101t74afkchmxjd@paytm on 14-10-25.UPI Ref 1234567890. Not you, https://kotak.com/KBANKT/Fraud",
"verified": true,
"source": "pennywise"
}Received currency.amount in your Kotak Bank AC Xlast_four from merchantName on date.UPI Ref upi_ref.
Received Rs.250.00 in your Kotak Bank AC X3333 from john.doe@oksbi on 14-10-25.UPI Ref 2222222222. Not you, https://kotak.com/KBANKT/Fraud
Sent currency.amount from maskedlast_four to merchantName on date. UPI ref no. upi_ref.
Sent Rs.205.00 from XXXXXX1234 to ANNAPOORNESWARI K M on 26/05/2026. UPI ref no. 651229267141. Not you? Tap https://kotk.in/KOTAKD/E7LzzX to report -Kotak
Sent Rs.15.00 from Kotak Bank AC X1234 to paytmqr288005050101t74afkchmxjd@paytm on 14-10-25.UPI Ref 1234567890. Not you, https://kotak.com/KBANKT/Fraud — the parts that change are the amount, the last digits of the account or card, the date, the merchant or payee and a reference number.
First check that the message contains “Sent”, “from Kotak Bank AC”, “UPI Ref”. Then match it with this case-insensitive regular expression: ^Sent \s*(?<currency>[A-Z]{2,4})\s*\.\s*(?<amount>[\d,]+(?:\.\d{1,2})?)\s* from Kotak Bank AC X\s*(?<last_four>\d{4})\s* to \s*(?<merchantName>[\s\S]+?)\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*\.UPI Ref \s*(?<upi_ref>[A-Za-z0-9\-]{4,32})\s*\.. The named groups give you the amount, the last digits of the account or card, the date, the merchant or payee and a reference number.
Yes. The template is checked automatically against a real, redacted message on every build, and the build fails if it stops matching.
Yes. Kotak Mahindra 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.