IDFC FIRST Bank Card spend debit SMS format
IDFC_CC_SPENT_V1
Last updated
Quick answer
An IDFC FIRST Bank Card spend debit SMS looks like this: “Transaction Successful! USD 99.99 spent on your IDFC FIRST Bank Credit Card ending XX5678 at NETFLIX on 15-MAR-2025 at 10:00 AM Avbl Limit: INR 25000.00” 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 the available balance or credit limit; everything else is fixed text, so it can be matched with the regex below.
Template
Transaction Successful! currency amount spent on your IDFC FIRST Bank Credit Card ending XXlast_four at merchantName on date at time Avbl Limit: INR limit
Sample SMS
Transaction Successful! USD 99.99 spent on your IDFC FIRST Bank Credit Card ending XX5678 at NETFLIX on 15-MAR-2025 at 10:00 AM Avbl Limit: INR 25000.00
| Field | Extracted value |
|---|---|
| currency | USD |
| amount | 99.99 |
| last_four | 5678 |
| merchantName | NETFLIX |
| date | 15-MAR-2025 |
| time | 10:00 AM |
| limit | 25000.00 |
Compiled regex
^Transaction Successful! \s*(?<currency>[A-Z]{2,4})\s* \s*(?<amount>[\d,]+(?:\.\d{1,2})?)\s* spent on your IDFC FIRST Bank Credit Card ending XX\s*(?<last_four>\d{4})\s* at \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* at \s*(?<time>(?:\d{2}[A-Z]{3}\d{4}|[\dA-Z\-/ :T]{4,32}))\s* Avbl Limit: INR \s*(?<limit>[\s\S]+)\s*JSON/api/templates/idfc-cc-spent-v1
{
"id": "idfc-cc-spent-v1",
"name": "IDFC_CC_SPENT_V1",
"bank": {
"code": "IDFCFIRST",
"name": "IDFC FIRST Bank",
"slug": "idfc-first-bank"
},
"category": "Card spend",
"payment_mode": "CARD",
"direction": "debit",
"keywords": [
"spent on your IDFC FIRST Bank Credit Card"
],
"template": "Transaction Successful! {currency} {amount} spent on your IDFC FIRST Bank Credit Card ending XX{last_four} at {merchantName} on {date} at {time} Avbl Limit: INR {limit}",
"regex": "^Transaction Successful! \\s*(?<currency>[A-Z]{2,4})\\s* \\s*(?<amount>[\\d,]+(?:\\.\\d{1,2})?)\\s* spent on your IDFC FIRST Bank Credit Card ending XX\\s*(?<last_four>\\d{4})\\s* at \\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* at \\s*(?<time>(?:\\d{2}[A-Z]{3}\\d{4}|[\\dA-Z\\-/ :T]{4,32}))\\s* Avbl Limit: INR \\s*(?<limit>[\\s\\S]+)\\s*",
"regex_flags": "i",
"sample": "Transaction Successful! USD 99.99 spent on your IDFC FIRST Bank Credit Card ending XX5678 at NETFLIX on 15-MAR-2025 at 10:00 AM Avbl Limit: INR 25000.00",
"verified": true,
"source": "pennywise"
}Frequently asked questions
What does an IDFC FIRST Bank Card spend debit SMS look like?
Transaction Successful! USD 99.99 spent on your IDFC FIRST Bank Credit Card ending XX5678 at NETFLIX on 15-MAR-2025 at 10:00 AM Avbl Limit: INR 25000.00 — the parts that change are the amount, the last digits of the account or card, the date, the merchant or payee and the available balance or credit limit.
How do I parse an IDFC FIRST Bank Card spend SMS?
First check that the message contains “spent on your IDFC FIRST Bank Credit Card”. Then match it with this case-insensitive regular expression: ^Transaction Successful! \s*(?<currency>[A-Z]{2,4})\s* \s*(?<amount>[\d,]+(?:\.\d{1,2})?)\s* spent on your IDFC FIRST Bank Credit Card ending XX\s*(?<last_four>\d{4})\s* at \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* at \s*(?<time>(?:\d{2}[A-Z]{3}\d{4}|[\dA-Z\-/ :T]{4,32}))\s* Avbl Limit: INR \s*(?<limit>[\s\S]+)\s*. The named groups give you the amount, the last digits of the account or card, the date, the merchant or payee and the available balance or credit limit.
Is this IDFC FIRST 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.