slice Small Finance Bank Card spend debit SMS format

SLICE_CC_UPI_SPENT_V1

Last updated

Quick answer

A slice Small Finance Bank Card spend debit SMS looks like this: “Rs. 124 spent on your credit card xx1234 at Sample Merchant on 18-Jun-26 (UPI Ref: 100000000000). Not you? Call 080-0000-0000 - slice” 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.

Template

currency. amount spent on your credit card xx at merchantName on date (UPI Ref: upi_ref). Not you?

Sample SMS

Template matches this sample

Rs. 124 spent on your credit card xx at Sample Merchant on 18-Jun-26 (UPI Ref: 100000000000). Not you? Call 080-0000-0000 - slice

FieldExtracted value
currencyRs
amount124
1234
merchantNameSample Merchant
date18-Jun-26
upi_ref100000000000

Compiled regex

flags: i
^\s*(?<currency>[A-Z]{2,4})\s*\. \s*(?<amount>[\d,]+(?:\.\d{1,2})?)\s* spent on your credit card 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* \(UPI Ref: \s*(?<upi_ref>[A-Za-z0-9\-]{4,32})\s*\)\. Not you\?
JSON/api/templates/slice-cc-upi-spent-v1
{
  "id": "slice-cc-upi-spent-v1",
  "name": "SLICE_CC_UPI_SPENT_V1",
  "bank": {
    "code": "SLICE",
    "name": "slice Small Finance Bank",
    "slug": "slice"
  },
  "category": "Card spend",
  "payment_mode": "CARD",
  "direction": "debit",
  "keywords": [
    "spent on your credit card",
    "UPI Ref",
    "slice"
  ],
  "template": "{currency}. {amount} spent on your credit card xx{last_four} at {merchantName} on {date} (UPI Ref: {upi_ref}). Not you?",
  "regex": "^\\s*(?<currency>[A-Z]{2,4})\\s*\\. \\s*(?<amount>[\\d,]+(?:\\.\\d{1,2})?)\\s* spent on your credit card 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* \\(UPI Ref: \\s*(?<upi_ref>[A-Za-z0-9\\-]{4,32})\\s*\\)\\. Not you\\?",
  "regex_flags": "i",
  "sample": "Rs. 124 spent on your credit card xx1234 at Sample Merchant on 18-Jun-26 (UPI Ref: 100000000000). Not you? Call 080-0000-0000 - slice",
  "verified": true,
  "source": "pennywise"
}

Frequently asked questions

What does a slice Small Finance Bank Card spend debit SMS look like?

Rs. 124 spent on your credit card xx1234 at Sample Merchant on 18-Jun-26 (UPI Ref: 100000000000). Not you? Call 080-0000-0000 - slice — 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.

How do I parse a slice Small Finance Bank Card spend SMS?

First check that the message contains “spent on your credit card”, “UPI Ref”, “slice”. Then match it with this case-insensitive regular expression: ^\s*(?<currency>[A-Z]{2,4})\s*\. \s*(?<amount>[\d,]+(?:\.\d{1,2})?)\s* spent on your credit card 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* \(UPI Ref: \s*(?<upi_ref>[A-Za-z0-9\-]{4,32})\s*\)\. Not you\?. 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.

Is this slice Small Finance 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.

slice Small Finance Bank Card spend debit SMS format (SLICE_CC_UPI_SPENT_V1) | Iris SMS Templates