# Consultation payment receipt WhatsApp template

> Confirm payment for a consultation or procedure with the amount and invoice link. Payment confirmation WhatsApp template for healthcare.

- Category: Utility
- Industry: Healthcare
- Use case: Payment confirmation
- Language: en_US
- Approval rate: 92%
- Page: https://template-builder.dev/whatsapp-template/healthcare-payment-receipt
- JSON: https://template-builder.dev/whatsapp-template/healthcare-payment-receipt.json
- Open in the playground: https://template-builder.dev/playground#t=eyJuYW1lIjoiaGVhbHRoY2FyZV9wYXltZW50X3JlY2VpcHQiLCJsYW5ndWFnZSI6ImVuX1VTIiwiY2F0ZWdvcnkiOiJVVElMSVRZIiwiYm9keSI6eyJ0ZXh0IjoiSGkge3tmaXJzdF9uYW1lfX0sIHdlIHJlY2VpdmVkIHlvdXIgcGF5bWVudCBvZiB7e2Ftb3VudH19IGZvciBpbnZvaWNlICp7e2ludm9pY2VfaWR9fSogb24ge3tkYXRlfX0uIFRoYW5rIHlvdS4ifSwiZm9vdGVyIjp7InRleHQiOiJBY21lIEhlYWx0aCBDbGluaWMifSwiYnV0dG9ucyI6W3sidHlwZSI6IlVSTCIsInRleHQiOiJWaWV3IGludm9pY2UiLCJ1cmwiOiJodHRwczovL2FjbWVoZWFsdGguZXhhbXBsZS5jb20vaW52b2ljZXMve3tpbnZvaWNlX2lkfX0ifV0sInZhcmlhYmxlcyI6eyJmaXJzdF9uYW1lIjp7ImV4YW1wbGUiOiJNYXJpYSJ9LCJhbW91bnQiOnsiZXhhbXBsZSI6IiQ0OS45MCJ9LCJpbnZvaWNlX2lkIjp7ImV4YW1wbGUiOiJJTlYtMjA4In0sImRhdGUiOnsiZXhhbXBsZSI6Ik1hcmNoIDE0In19fQ

## How to get it approved

Reference the invoice number, not the treatment. Keeps the message transactional and privacy-friendly.

## Message text

Hi {{first_name}}, we received your payment of {{amount}} for invoice *{{invoice_id}}* on {{date}}. Thank you.
Acme Health Clinic

## Variables

- `{{first_name}}`: Maria
- `{{amount}}`: $49.90
- `{{invoice_id}}`: INV-208
- `{{date}}`: March 14

## Template JSON

```json
{
  "name": "healthcare_payment_receipt",
  "language": "en_US",
  "category": "UTILITY",
  "body": {
    "text": "Hi {{first_name}}, we received your payment of {{amount}} for invoice *{{invoice_id}}* on {{date}}. Thank you."
  },
  "footer": {
    "text": "Acme Health Clinic"
  },
  "buttons": [
    {
      "type": "URL",
      "text": "View invoice",
      "url": "https://acmehealth.example.com/invoices/{{invoice_id}}"
    }
  ],
  "variables": {
    "first_name": {
      "example": "Maria"
    },
    "amount": {
      "example": "$49.90"
    },
    "invoice_id": {
      "example": "INV-208"
    },
    "date": {
      "example": "March 14"
    }
  }
}
```

## 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": "healthcare_payment_receipt",
  "language": "en_US",
  "category": "UTILITY",
  "parameter_format": "NAMED",
  "components": [
    {
      "type": "BODY",
      "text": "Hi {{first_name}}, we received your payment of {{amount}} for invoice *{{invoice_id}}* on {{date}}. Thank you.",
      "example": {
        "body_text_named_params": [
          {
            "param_name": "first_name",
            "example": "Maria"
          },
          {
            "param_name": "amount",
            "example": "$49.90"
          },
          {
            "param_name": "invoice_id",
            "example": "INV-208"
          },
          {
            "param_name": "date",
            "example": "March 14"
          }
        ]
      }
    },
    {
      "type": "FOOTER",
      "text": "Acme Health Clinic"
    },
    {
      "type": "BUTTONS",
      "buttons": [
        {
          "type": "URL",
          "text": "View invoice",
          "url": "https://acmehealth.example.com/invoices/{{1}}",
          "example": [
            "https://acmehealth.example.com/invoices/INV-208"
          ]
        }
      ]
    }
  ]
}'
```
