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
KOTAK_UPI_RECEIVED_V1
Last updated
Quick answer
A Kotak Mahindra Bank UPI credit SMS looks like this: “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” 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 and a reference number; everything else is fixed text, so it can be matched with the regex below.
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
| Field | Extracted value |
|---|---|
| currency | Rs |
| amount | 250.00 |
| last_four | 3333 |
| merchantName | john.doe@oksbi |
| date | 14-10-25 |
| upi_ref | 2222222222 |
^Received \s*(?<currency>[A-Z]{2,4})\s*\.\s*(?<amount>[\d,]+(?:\.\d{1,2})?)\s* in your Kotak Bank AC X\s*(?<last_four>\d{4})\s* from \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-received-v1{
"id": "kotak-upi-received-v1",
"name": "KOTAK_UPI_RECEIVED_V1",
"bank": {
"code": "KOTAK",
"name": "Kotak Mahindra Bank",
"slug": "kotak-mahindra-bank"
},
"category": "UPI",
"payment_mode": "UPI",
"direction": "credit",
"keywords": [
"Received",
"in your Kotak Bank AC",
"UPI Ref"
],
"template": "Received {currency}.{amount} in your Kotak Bank AC X{last_four} from {merchantName} on {date}.UPI Ref {upi_ref}.",
"regex": "^Received \\s*(?<currency>[A-Z]{2,4})\\s*\\.\\s*(?<amount>[\\d,]+(?:\\.\\d{1,2})?)\\s* in your Kotak Bank AC X\\s*(?<last_four>\\d{4})\\s* from \\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": "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",
"verified": true,
"source": "pennywise"
}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
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
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 — 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 “Received”, “in your Kotak Bank AC”, “UPI Ref”. Then match it with this case-insensitive regular expression: ^Received \s*(?<currency>[A-Z]{2,4})\s*\.\s*(?<amount>[\d,]+(?:\.\d{1,2})?)\s* in your Kotak Bank AC X\s*(?<last_four>\d{4})\s* from \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.