Kotak Mahindra Bank Refund credit SMS format
KOTAK_CC_REFUND_V1
Last updated
Quick answer
A Kotak Mahindra Bank Refund / reversal credit SMS looks like this: “INR 2 from Airport Lounge refunded to your Kotak Credit Card x8848 on 17-Jul-2026. Opted for EMI? Please call 18602662666 to cancel.” 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 and the merchant or payee; everything else is fixed text, so it can be matched with the regex below.
Template
currency amount from merchantName refunded to your Kotak Credit Card xlast_four on date.
Sample SMS
INR 2 from Airport Lounge refunded to your Kotak Credit Card x8848 on 17-Jul-2026. Opted for EMI? Please call 18602662666 to cancel.
| Field | Extracted value |
|---|---|
| currency | INR |
| amount | 2 |
| merchantName | Airport Lounge |
| last_four | 8848 |
| date | 17-Jul-2026 |
Compiled regex
^\s*(?<currency>[A-Z]{2,4})\s* \s*(?<amount>[\d,]+(?:\.\d{1,2})?)\s* from \s*(?<merchantName>[\s\S]+?)\s* refunded to your 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*\.JSON/api/templates/kotak-cc-refund-v1
{
"id": "kotak-cc-refund-v1",
"name": "KOTAK_CC_REFUND_V1",
"bank": {
"code": "KOTAK",
"name": "Kotak Mahindra Bank",
"slug": "kotak-mahindra-bank"
},
"category": "Refund / reversal",
"payment_mode": "CARD",
"direction": "credit",
"keywords": [
"refunded to your Kotak Credit Card"
],
"template": "{currency} {amount} from {merchantName} refunded to your Kotak Credit Card x{last_four} on {date}.",
"regex": "^\\s*(?<currency>[A-Z]{2,4})\\s* \\s*(?<amount>[\\d,]+(?:\\.\\d{1,2})?)\\s* from \\s*(?<merchantName>[\\s\\S]+?)\\s* refunded to your 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*\\.",
"regex_flags": "i",
"sample": "INR 2 from Airport Lounge refunded to your Kotak Credit Card x8848 on 17-Jul-2026. Opted for EMI? Please call 18602662666 to cancel.",
"verified": true,
"source": "pennywise"
}Frequently asked questions
What does a Kotak Mahindra Bank Refund / reversal credit SMS look like?
INR 2 from Airport Lounge refunded to your Kotak Credit Card x8848 on 17-Jul-2026. Opted for EMI? Please call 18602662666 to cancel. — the parts that change are the amount, the last digits of the account or card, the date and the merchant or payee.
How do I parse a Kotak Mahindra Bank Refund / reversal SMS?
First check that the message contains “refunded to your 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* from \s*(?<merchantName>[\s\S]+?)\s* refunded to your 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*\.. The named groups give you the amount, the last digits of the account or card, the date and the merchant or payee.
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.