# Suspicious transaction alert WhatsApp template

> Alert customers about an unusual card transaction on WhatsApp and let them confirm or block it in one tap. Utility fraud alert template.

- Category: Utility
- Industry: Finance and banking
- Use case: Account alert
- Language: en_US
- Approval rate: 81%
- Page: https://template-builder.dev/whatsapp-template/finance-suspicious-transaction-alert
- JSON: https://template-builder.dev/whatsapp-template/finance-suspicious-transaction-alert.json
- Open in the playground: https://template-builder.dev/playground#t=eyJuYW1lIjoiZmluYW5jZV9zdXNwaWNpb3VzX3RyYW5zYWN0aW9uX2FsZXJ0IiwibGFuZ3VhZ2UiOiJlbl9VUyIsImNhdGVnb3J5IjoiVVRJTElUWSIsImhlYWRlciI6eyJ0eXBlIjoiVEVYVCIsInRleHQiOiJVbnVzdWFsIGNhcmQgYWN0aXZpdHkifSwiYm9keSI6eyJ0ZXh0IjoiSGkge3tmaXJzdF9uYW1lfX0sIHdlIG5vdGljZWQgYSB0cmFuc2FjdGlvbiBvZiAqe3thbW91bnR9fSogYXQge3ttZXJjaGFudH19IG9uIHlvdXIgY2FyZCBlbmRpbmcgaW4ge3tsYXN0NH19LiBXYXMgdGhpcyB5b3U_In0sImZvb3RlciI6eyJ0ZXh0IjoiTHVtZW4gQmFuayBTZWN1cml0eSJ9LCJidXR0b25zIjpbeyJ0eXBlIjoiUVVJQ0tfUkVQTFkiLCJ0ZXh0IjoiWWVzLCBpdCB3YXMgbWUifSx7InR5cGUiOiJRVUlDS19SRVBMWSIsInRleHQiOiJObywgYmxvY2sgbXkgY2FyZCJ9XSwidmFyaWFibGVzIjp7ImZpcnN0X25hbWUiOnsiZXhhbXBsZSI6IlByaXlhIn0sImFtb3VudCI6eyJleGFtcGxlIjoiJDQ4OS45OSJ9LCJtZXJjaGFudCI6eyJleGFtcGxlIjoiR2xvYmV4IEVsZWN0cm9uaWNzIn0sImxhc3Q0Ijp7ImV4YW1wbGUiOiI0NDE3In19fQ

## How to get it approved

Never ask for a PIN, password or full card number in the message. Quick replies like It was me / Not me give a fast, safe response path.

## Message text

Unusual card activity
Hi {{first_name}}, we noticed a transaction of *{{amount}}* at {{merchant}} on your card ending in {{last4}}. Was this you?
Lumen Bank Security

## Variables

- `{{first_name}}`: Priya
- `{{amount}}`: $489.99
- `{{merchant}}`: Globex Electronics
- `{{last4}}`: 4417

## Template JSON

```json
{
  "name": "finance_suspicious_transaction_alert",
  "language": "en_US",
  "category": "UTILITY",
  "header": {
    "type": "TEXT",
    "text": "Unusual card activity"
  },
  "body": {
    "text": "Hi {{first_name}}, we noticed a transaction of *{{amount}}* at {{merchant}} on your card ending in {{last4}}. Was this you?"
  },
  "footer": {
    "text": "Lumen Bank Security"
  },
  "buttons": [
    {
      "type": "QUICK_REPLY",
      "text": "Yes, it was me"
    },
    {
      "type": "QUICK_REPLY",
      "text": "No, block my card"
    }
  ],
  "variables": {
    "first_name": {
      "example": "Priya"
    },
    "amount": {
      "example": "$489.99"
    },
    "merchant": {
      "example": "Globex Electronics"
    },
    "last4": {
      "example": "4417"
    }
  }
}
```

## Create it with the Meta Cloud API

```sh
curl -X POST "https://graph.facebook.com/v26.0/$WABA_ID/message_templates" \
  -H "Authorization: Bearer $META_ACCESS_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
  "name": "finance_suspicious_transaction_alert",
  "language": "en_US",
  "category": "UTILITY",
  "parameter_format": "NAMED",
  "components": [
    {
      "type": "HEADER",
      "format": "TEXT",
      "text": "Unusual card activity"
    },
    {
      "type": "BODY",
      "text": "Hi {{first_name}}, we noticed a transaction of *{{amount}}* at {{merchant}} on your card ending in {{last4}}. Was this you?",
      "example": {
        "body_text_named_params": [
          {
            "param_name": "first_name",
            "example": "Priya"
          },
          {
            "param_name": "amount",
            "example": "$489.99"
          },
          {
            "param_name": "merchant",
            "example": "Globex Electronics"
          },
          {
            "param_name": "last4",
            "example": "4417"
          }
        ]
      }
    },
    {
      "type": "FOOTER",
      "text": "Lumen Bank Security"
    },
    {
      "type": "BUTTONS",
      "buttons": [
        {
          "type": "QUICK_REPLY",
          "text": "Yes, it was me"
        },
        {
          "type": "QUICK_REPLY",
          "text": "No, block my card"
        }
      ]
    }
  ]
}'
```
