City Union Bank AutoPay debit SMS format
CUB_UPI_AUTOPAY_V1
Last updated
Quick answer
A City Union Bank AutoPay / mandate debit SMS looks like this: “Your account has been successfully debited with 50.00 on 2026-11-06 towards EXAMPLE TECHNOLOGY PRIVATE LIMITED UPI Autopay,0a1b2c3d4e5f60718293a4b5c6d7e8f9@ybl -CUB” 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
Your account has been successfully debited with amount on date towards merchantName UPI Autopay,skip -CUB
Sample SMS
Your account has been successfully debited with 50.00 on 2026-11-06 towards EXAMPLE TECHNOLOGY PRIVATE LIMITED UPI Autopay,0a1b2c3d4e5f60718293a4b5c6d7e8f9@ybl -CUB
| Field | Extracted value |
|---|---|
| amount | 50.00 |
| date | 2026-11-06 |
| merchantName | EXAMPLE TECHNOLOGY PRIVATE LIMITED |
| skip | 0a1b2c3d4e5f60718293a4b5c6d7e8f9@ybl |
Compiled regex
^Your account has been successfully debited with \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* towards \s*(?<merchantName>[\s\S]+?)\s* UPI Autopay,\s*(?<skip>[\s\S]+?)\s* -CUBJSON/api/templates/cub-upi-autopay-v1
{
"id": "cub-upi-autopay-v1",
"name": "CUB_UPI_AUTOPAY_V1",
"bank": {
"code": "CUB",
"name": "City Union Bank",
"slug": "city-union-bank"
},
"category": "AutoPay / mandate",
"payment_mode": "UPI",
"direction": "debit",
"keywords": [
"successfully debited with",
"UPI Autopay",
"CUB"
],
"template": "Your account has been successfully debited with {amount} on {date} towards {merchantName} UPI Autopay,{skip} -CUB",
"regex": "^Your account has been successfully debited with \\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* towards \\s*(?<merchantName>[\\s\\S]+?)\\s* UPI Autopay,\\s*(?<skip>[\\s\\S]+?)\\s* -CUB",
"regex_flags": "i",
"sample": "Your account has been successfully debited with 50.00 on 2026-11-06 towards EXAMPLE TECHNOLOGY PRIVATE LIMITED UPI Autopay,0a1b2c3d4e5f60718293a4b5c6d7e8f9@ybl -CUB",
"verified": true,
"source": "pennywise"
}Frequently asked questions
What does a City Union Bank AutoPay / mandate debit SMS look like?
Your account has been successfully debited with 50.00 on 2026-11-06 towards EXAMPLE TECHNOLOGY PRIVATE LIMITED UPI Autopay,0a1b2c3d4e5f60718293a4b5c6d7e8f9@ybl -CUB — the parts that change are the amount, the date and the merchant or payee.
How do I parse a City Union Bank AutoPay / mandate SMS?
First check that the message contains “successfully debited with”, “UPI Autopay”, “CUB”. Then match it with this case-insensitive regular expression: ^Your account has been successfully debited with \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* towards \s*(?<merchantName>[\s\S]+?)\s* UPI Autopay,\s*(?<skip>[\s\S]+?)\s* -CUB. The named groups give you the amount, the date and the merchant or payee.
Is this City Union 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.