currency. amount sent from a/c xxlast_four on date to merchantName (UPI Ref: upi_ref). Not you?
Rs. 100 sent from a/c xx2743 on 17-Jun-26 to Hussain Shaikh (UPI Ref: 616851070000). Not you? Call 08048329999 - slice
SLICE_UPI_RECEIVED_V1
Last updated
Quick answer
A slice Small Finance Bank UPI credit SMS looks like this: “Rs. 2,000 received in slice A/c xx2743 on 15-Jun-26 from NASIMUDDIN NAJAMUDDIN SHAIKH via UPI (Ref ID: 212756500000). Avl. Bal. Rs. 2,203.56 - slice” 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, the merchant or payee, a reference number and the available balance or credit limit; everything else is fixed text, so it can be matched with the regex below.
currency. amount received in slice A/c xxlast_four on date from merchantName via UPI (Ref ID: upi_ref). Avl. Bal. currency2. balance - slice
Rs. 2,000 received in slice A/c xx2743 on 15-Jun-26 from NASIMUDDIN NAJAMUDDIN SHAIKH via UPI (Ref ID: 212756500000). Avl. Bal. Rs. 2,203.56 - slice
| Field | Extracted value |
|---|---|
| currency | Rs |
| amount | 2,000 |
| last_four | 2743 |
| date | 15-Jun-26 |
| merchantName | NASIMUDDIN NAJAMUDDIN SHAIKH |
| upi_ref | 212756500000 |
| currency2 | Rs |
| balance | 2,203.56 |
^\s*(?<currency>[A-Z]{2,4})\s*\. \s*(?<amount>[\d,]+(?:\.\d{1,2})?)\s* received in slice A/c xx\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* from \s*(?<merchantName>[\s\S]+?)\s* via UPI \(Ref ID: \s*(?<upi_ref>[A-Za-z0-9\-]{4,32})\s*\)\. Avl\. Bal\. \s*(?<currency2>[A-Z]{2,4})\s*\. \s*(?<balance>[\s\S]+?)\s* - slice/api/templates/slice-upi-received-v1{
"id": "slice-upi-received-v1",
"name": "SLICE_UPI_RECEIVED_V1",
"bank": {
"code": "SLICE",
"name": "slice Small Finance Bank",
"slug": "slice"
},
"category": "UPI",
"payment_mode": "UPI",
"direction": "credit",
"keywords": [
"received in slice A/c",
"via UPI"
],
"template": "{currency}. {amount} received in slice A/c xx{last_four} on {date} from {merchantName} via UPI (Ref ID: {upi_ref}). Avl. Bal. {currency2}. {balance} - slice",
"regex": "^\\s*(?<currency>[A-Z]{2,4})\\s*\\. \\s*(?<amount>[\\d,]+(?:\\.\\d{1,2})?)\\s* received in slice A/c xx\\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* from \\s*(?<merchantName>[\\s\\S]+?)\\s* via UPI \\(Ref ID: \\s*(?<upi_ref>[A-Za-z0-9\\-]{4,32})\\s*\\)\\. Avl\\. Bal\\. \\s*(?<currency2>[A-Z]{2,4})\\s*\\. \\s*(?<balance>[\\s\\S]+?)\\s* - slice",
"regex_flags": "i",
"sample": "Rs. 2,000 received in slice A/c xx2743 on 15-Jun-26 from NASIMUDDIN NAJAMUDDIN SHAIKH via UPI (Ref ID: 212756500000). Avl. Bal. Rs. 2,203.56 - slice",
"verified": true,
"source": "pennywise"
}currency. amount sent from a/c xxlast_four on date to merchantName (UPI Ref: upi_ref). Not you?
Rs. 100 sent from a/c xx2743 on 17-Jun-26 to Hussain Shaikh (UPI Ref: 616851070000). Not you? Call 08048329999 - slice
Rs. 2,000 received in slice A/c xx2743 on 15-Jun-26 from NASIMUDDIN NAJAMUDDIN SHAIKH via UPI (Ref ID: 212756500000). Avl. Bal. Rs. 2,203.56 - slice — the parts that change are the amount, the last digits of the account or card, the date, the merchant or payee, a reference number and the available balance or credit limit.
First check that the message contains “received in slice A/c”, “via UPI”. Then match it with this case-insensitive regular expression: ^\s*(?<currency>[A-Z]{2,4})\s*\. \s*(?<amount>[\d,]+(?:\.\d{1,2})?)\s* received in slice A/c xx\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* from \s*(?<merchantName>[\s\S]+?)\s* via UPI \(Ref ID: \s*(?<upi_ref>[A-Za-z0-9\-]{4,32})\s*\)\. Avl\. Bal\. \s*(?<currency2>[A-Z]{2,4})\s*\. \s*(?<balance>[\s\S]+?)\s* - slice. The named groups give you the amount, the last digits of the account or card, the date, the merchant or payee, a reference number and the available balance or credit limit.
Yes. The template is checked automatically against a real, redacted message on every build, and the build fails if it stops matching.
Yes. slice Small Finance Bank sends 2 different UPI formats catalogued here; banks often keep older wordings alive alongside new ones, so a parser should try all of them.