HSBC India Card spend debit SMS format
HSBC_DEBIT_CARD_V1
Last updated
Quick answer
An HSBC India Card spend debit SMS looks like this: “HSBC: Thank you for using HSBC Debit Card XXXXX71xx for INR 305.00 on 15-Dec-25 at IKEA INDIA .” It is a debit (money spent or sent) alert. The parts that change in each message are the amount, the date and the merchant or payee; everything else is fixed text, so it can be matched with the regex below.
Template
HSBC: Thank you for using HSBC Debit Card skip for currency amount on date at merchantName .
Sample SMS
HSBC: Thank you for using HSBC Debit Card XXXXX71xx for INR 305.00 on 15-Dec-25 at IKEA INDIA .
| Field | Extracted value |
|---|---|
| skip | XXXXX71xx |
| currency | INR |
| amount | 305.00 |
| date | 15-Dec-25 |
| merchantName | IKEA INDIA |
Compiled regex
^HSBC: Thank you for using HSBC Debit Card \s*(?<skip>[\s\S]+?)\s* for \s*(?<currency>[A-Z]{2,4})\s* \s*(?<amount>[\d,]+(?:\.\d{1,2})?)\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* \.JSON/api/templates/hsbc-debit-card-v1
{
"id": "hsbc-debit-card-v1",
"name": "HSBC_DEBIT_CARD_V1",
"bank": {
"code": "HSBC",
"name": "HSBC India",
"slug": "hsbc-india"
},
"category": "Card spend",
"payment_mode": "CARD",
"direction": "debit",
"keywords": [
"HSBC Debit Card",
"Thank you for using"
],
"template": "HSBC: Thank you for using HSBC Debit Card {skip} for {currency} {amount} on {date} at {merchantName} .",
"regex": "^HSBC: Thank you for using HSBC Debit Card \\s*(?<skip>[\\s\\S]+?)\\s* for \\s*(?<currency>[A-Z]{2,4})\\s* \\s*(?<amount>[\\d,]+(?:\\.\\d{1,2})?)\\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* \\.",
"regex_flags": "i",
"sample": "HSBC: Thank you for using HSBC Debit Card XXXXX71xx for INR 305.00 on 15-Dec-25 at IKEA INDIA .",
"verified": true,
"source": "pennywise"
}Frequently asked questions
What does an HSBC India Card spend debit SMS look like?
HSBC: Thank you for using HSBC Debit Card XXXXX71xx for INR 305.00 on 15-Dec-25 at IKEA INDIA . — the parts that change are the amount, the date and the merchant or payee.
How do I parse an HSBC India Card spend SMS?
First check that the message contains “HSBC Debit Card”, “Thank you for using”. Then match it with this case-insensitive regular expression: ^HSBC: Thank you for using HSBC Debit Card \s*(?<skip>[\s\S]+?)\s* for \s*(?<currency>[A-Z]{2,4})\s* \s*(?<amount>[\d,]+(?:\.\d{1,2})?)\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* \.. The named groups give you the amount, the date and the merchant or payee.
Is this HSBC India 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.