# Subscription payment receipt WhatsApp template

> Send a payment receipt on WhatsApp after a subscription charge, with amount, plan and invoice number. Utility template. Copy it and adapt the brand.

- Category: Utility
- Industry: SaaS and software
- Use case: Payment confirmation
- Language: en_US
- Approval rate: 96%
- Page: https://template-builder.dev/whatsapp-template/saas-payment-receipt-subscription
- JSON: https://template-builder.dev/whatsapp-template/saas-payment-receipt-subscription.json
- Open in the playground: https://template-builder.dev/playground#t=eyJuYW1lIjoic2Fhc19wYXltZW50X3JlY2VpcHRfc3Vic2NyaXB0aW9uIiwibGFuZ3VhZ2UiOiJlbl9VUyIsImNhdGVnb3J5IjoiVVRJTElUWSIsImJvZHkiOnsidGV4dCI6IlRoYW5rcywge3tmaXJzdF9uYW1lfX0hIFdlIGNoYXJnZWQgKnt7YW1vdW50fX0qIGZvciB5b3VyIHt7cGxhbn19IHN1YnNjcmlwdGlvbiBvbiB7e2RhdGV9fS4gWW91ciBpbnZvaWNlIG51bWJlciBpcyB7e2ludm9pY2VfaWR9fSwgYW5kIHlvdSBjYW4gZG93bmxvYWQgdGhlIGZ1bGwgaW52b2ljZSBhbnkgdGltZSB1c2luZyB0aGUgYnV0dG9uIGJlbG93LiJ9LCJmb290ZXIiOnsidGV4dCI6Ikx1bWVuIEJpbGxpbmcifSwiYnV0dG9ucyI6W3sidHlwZSI6IlVSTCIsInRleHQiOiJEb3dubG9hZCBpbnZvaWNlIiwidXJsIjoiaHR0cHM6Ly9sdW1lbi5hcHAvaW52b2ljZXMve3tyZWZ9fSJ9XSwidmFyaWFibGVzIjp7ImZpcnN0X25hbWUiOnsiZXhhbXBsZSI6IkJlbiJ9LCJhbW91bnQiOnsiZXhhbXBsZSI6IiQ0OS4wMCJ9LCJwbGFuIjp7ImV4YW1wbGUiOiJMdW1lbiBQcm8ifSwiZGF0ZSI6eyJleGFtcGxlIjoiTm92IDEifSwiaW52b2ljZV9pZCI6eyJleGFtcGxlIjoiSU5WLTMwMjkxIn0sInJlZiI6eyJleGFtcGxlIjoiSU5WMzAyOTEifX19

## How to get it approved

Keep it purely a receipt with an invoice ID; no upsell.

## Message text

Thanks, {{first_name}}! We charged *{{amount}}* for your {{plan}} subscription on {{date}}. Your invoice number is {{invoice_id}}, and you can download the full invoice any time using the button below.
Lumen Billing

## Variables

- `{{first_name}}`: Ben
- `{{amount}}`: $49.00
- `{{plan}}`: Lumen Pro
- `{{date}}`: Nov 1
- `{{invoice_id}}`: INV-30291
- `{{ref}}`: INV30291

## Template JSON

```json
{
  "name": "saas_payment_receipt_subscription",
  "language": "en_US",
  "category": "UTILITY",
  "body": {
    "text": "Thanks, {{first_name}}! We charged *{{amount}}* for your {{plan}} subscription on {{date}}. Your invoice number is {{invoice_id}}, and you can download the full invoice any time using the button below."
  },
  "footer": {
    "text": "Lumen Billing"
  },
  "buttons": [
    {
      "type": "URL",
      "text": "Download invoice",
      "url": "https://lumen.app/invoices/{{ref}}"
    }
  ],
  "variables": {
    "first_name": {
      "example": "Ben"
    },
    "amount": {
      "example": "$49.00"
    },
    "plan": {
      "example": "Lumen Pro"
    },
    "date": {
      "example": "Nov 1"
    },
    "invoice_id": {
      "example": "INV-30291"
    },
    "ref": {
      "example": "INV30291"
    }
  }
}
```

## 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": "saas_payment_receipt_subscription",
  "language": "en_US",
  "category": "UTILITY",
  "parameter_format": "NAMED",
  "components": [
    {
      "type": "BODY",
      "text": "Thanks, {{first_name}}! We charged *{{amount}}* for your {{plan}} subscription on {{date}}. Your invoice number is {{invoice_id}}, and you can download the full invoice any time using the button below.",
      "example": {
        "body_text_named_params": [
          {
            "param_name": "first_name",
            "example": "Ben"
          },
          {
            "param_name": "amount",
            "example": "$49.00"
          },
          {
            "param_name": "plan",
            "example": "Lumen Pro"
          },
          {
            "param_name": "date",
            "example": "Nov 1"
          },
          {
            "param_name": "invoice_id",
            "example": "INV-30291"
          }
        ]
      }
    },
    {
      "type": "FOOTER",
      "text": "Lumen Billing"
    },
    {
      "type": "BUTTONS",
      "buttons": [
        {
          "type": "URL",
          "text": "Download invoice",
          "url": "https://lumen.app/invoices/{{1}}",
          "example": [
            "https://lumen.app/invoices/INV30291"
          ]
        }
      ]
    }
  ]
}'
```
