SBI Card bill payment credit SMS format
SBICARD_PAYMENT_V1
Last updated
Quick answer
An SBI Card bill payment credit SMS looks like this: “Your payment of Rs.1,644.55 has been credited to your SBI Credit Card ending with 5667. Your available limit is Rs.48,355.45.” 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 and the available balance or credit limit; everything else is fixed text, so it can be matched with the regex below.
Template
Your payment of currency.amount has been credited to your SBI Credit Card ending with last_four. Your available limit is currency2.limit.
Sample SMS
Your payment of Rs.1,644.55 has been credited to your SBI Credit Card ending with 5667. Your available limit is Rs.48,355.45.
| Field | Extracted value |
|---|---|
| currency | Rs |
| amount | 1,644.55 |
| last_four | 5667 |
| currency2 | Rs |
| limit | 48,355 |
Compiled regex
^Your payment of \s*(?<currency>[A-Z]{2,4})\s*\.\s*(?<amount>[\d,]+(?:\.\d{1,2})?)\s* has been credited to your SBI Credit Card ending with \s*(?<last_four>\d{4})\s*\. Your available limit is \s*(?<currency2>[A-Z]{2,4})\s*\.\s*(?<limit>[\s\S]+?)\s*\.JSON/api/templates/sbicard-payment-v1
{
"id": "sbicard-payment-v1",
"name": "SBICARD_PAYMENT_V1",
"bank": {
"code": "SBICARD",
"name": "SBI Card",
"slug": "sbi-card"
},
"category": "Card bill payment",
"payment_mode": "CARD",
"direction": "credit",
"keywords": [
"payment of",
"credited to your SBI Credit Card"
],
"template": "Your payment of {currency}.{amount} has been credited to your SBI Credit Card ending with {last_four}. Your available limit is {currency2}.{limit}.",
"regex": "^Your payment of \\s*(?<currency>[A-Z]{2,4})\\s*\\.\\s*(?<amount>[\\d,]+(?:\\.\\d{1,2})?)\\s* has been credited to your SBI Credit Card ending with \\s*(?<last_four>\\d{4})\\s*\\. Your available limit is \\s*(?<currency2>[A-Z]{2,4})\\s*\\.\\s*(?<limit>[\\s\\S]+?)\\s*\\.",
"regex_flags": "i",
"sample": "Your payment of Rs.1,644.55 has been credited to your SBI Credit Card ending with 5667. Your available limit is Rs.48,355.45.",
"verified": true,
"source": "pennywise"
}Frequently asked questions
What does an SBI Card bill payment credit SMS look like?
Your payment of Rs.1,644.55 has been credited to your SBI Credit Card ending with 5667. Your available limit is Rs.48,355.45. — the parts that change are the amount, the last digits of the account or card and the available balance or credit limit.
How do I parse an SBI Card bill payment SMS?
First check that the message contains “payment of”, “credited to your SBI Credit Card”. Then match it with this case-insensitive regular expression: ^Your payment of \s*(?<currency>[A-Z]{2,4})\s*\.\s*(?<amount>[\d,]+(?:\.\d{1,2})?)\s* has been credited to your SBI Credit Card ending with \s*(?<last_four>\d{4})\s*\. Your available limit is \s*(?<currency2>[A-Z]{2,4})\s*\.\s*(?<limit>[\s\S]+?)\s*\.. The named groups give you the amount, the last digits of the account or card and the available balance or credit limit.
Is this SBI Card 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.