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_V2
Last updated
Quick answer
A Kotak Mahindra Bank UPI debit SMS looks like this: “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” 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 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
| Field | Extracted value |
|---|---|
| currency | Rs |
| amount | 205.00 |
| masked | XXXXXX |
| last_four | 1234 |
| merchantName | ANNAPOORNESWARI K M |
| date | 26/05/2026 |
| upi_ref | 651229267141 |
^Sent \s*(?<currency>[A-Z]{2,4})\s*\.\s*(?<amount>[\d,]+(?:\.\d{1,2})?)\s* from \s*(?<masked>[\s\S]+?)\s*\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 no\. \s*(?<upi_ref>[A-Za-z0-9\-]{4,32})\s*\./api/templates/kotak-upi-sent-v2{
"id": "kotak-upi-sent-v2",
"name": "KOTAK_UPI_SENT_V2",
"bank": {
"code": "KOTAK",
"name": "Kotak Mahindra Bank",
"slug": "kotak-mahindra-bank"
},
"category": "UPI",
"payment_mode": "UPI",
"direction": "debit",
"keywords": [
"Sent",
"UPI ref no.",
"-Kotak"
],
"template": "Sent {currency}.{amount} from {masked}{last_four} to {merchantName} on {date}. UPI ref no. {upi_ref}.",
"regex": "^Sent \\s*(?<currency>[A-Z]{2,4})\\s*\\.\\s*(?<amount>[\\d,]+(?:\\.\\d{1,2})?)\\s* from \\s*(?<masked>[\\s\\S]+?)\\s*\\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 no\\. \\s*(?<upi_ref>[A-Za-z0-9\\-]{4,32})\\s*\\.",
"regex_flags": "i",
"sample": "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",
"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 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 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 — 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”, “UPI ref no.”, “-Kotak”. 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 \s*(?<masked>[\s\S]+?)\s*\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 no\. \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.