# Ticket payment received WhatsApp template

> Confirm payment received for an event ticket order. Payment confirmation WhatsApp template for event organizers. Free to copy and edit.

- Category: Utility
- Industry: Events
- Use case: Payment confirmation
- Language: en_US
- Approval rate: 70%
- Page: https://template-builder.dev/whatsapp-template/events-ticket-transfer-payment
- JSON: https://template-builder.dev/whatsapp-template/events-ticket-transfer-payment.json
- Open in the playground: https://template-builder.dev/playground#t=eyJuYW1lIjoiZXZlbnRzX3RpY2tldF90cmFuc2Zlcl9wYXltZW50IiwibGFuZ3VhZ2UiOiJlbl9VUyIsImNhdGVnb3J5IjoiVVRJTElUWSIsImJvZHkiOnsidGV4dCI6IkhpIHt7Zmlyc3RfbmFtZX19LCB3ZSByZWNlaXZlZCB5b3VyIHBheW1lbnQgb2Yge3thbW91bnR9fSBmb3Igb3JkZXIgKiN7e29yZGVyX2lkfX0qLiBZb3VyIHRpY2tldHMgd2lsbCBhcnJpdmUgc2hvcnRseS4ifSwiZm9vdGVyIjp7InRleHQiOiJBY21lIEV2ZW50cyJ9LCJidXR0b25zIjpbeyJ0eXBlIjoiVVJMIiwidGV4dCI6IlZpZXcgb3JkZXIiLCJ1cmwiOiJodHRwczovL2FjbWVldmVudHMuZXhhbXBsZS5jb20vb3JkZXJzL3t7b3JkZXJfaWR9fSJ9XSwidmFyaWFibGVzIjp7ImZpcnN0X25hbWUiOnsiZXhhbXBsZSI6Ik1hcmlhIn0sImFtb3VudCI6eyJleGFtcGxlIjoiJDQ5LjkwIn0sIm9yZGVyX2lkIjp7ImV4YW1wbGUiOiI0NTEyIn19fQ

## How to get it approved

Include amount and order number. Avoid add-on offers to keep it utility.

## Message text

Hi {{first_name}}, we received your payment of {{amount}} for order *#{{order_id}}*. Your tickets will arrive shortly.
Acme Events

## Variables

- `{{first_name}}`: Maria
- `{{amount}}`: $49.90
- `{{order_id}}`: 4512

## Template JSON

```json
{
  "name": "events_ticket_transfer_payment",
  "language": "en_US",
  "category": "UTILITY",
  "body": {
    "text": "Hi {{first_name}}, we received your payment of {{amount}} for order *#{{order_id}}*. Your tickets will arrive shortly."
  },
  "footer": {
    "text": "Acme Events"
  },
  "buttons": [
    {
      "type": "URL",
      "text": "View order",
      "url": "https://acmeevents.example.com/orders/{{order_id}}"
    }
  ],
  "variables": {
    "first_name": {
      "example": "Maria"
    },
    "amount": {
      "example": "$49.90"
    },
    "order_id": {
      "example": "4512"
    }
  }
}
```

## 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": "events_ticket_transfer_payment",
  "language": "en_US",
  "category": "UTILITY",
  "parameter_format": "NAMED",
  "components": [
    {
      "type": "BODY",
      "text": "Hi {{first_name}}, we received your payment of {{amount}} for order *#{{order_id}}*. Your tickets will arrive shortly.",
      "example": {
        "body_text_named_params": [
          {
            "param_name": "first_name",
            "example": "Maria"
          },
          {
            "param_name": "amount",
            "example": "$49.90"
          },
          {
            "param_name": "order_id",
            "example": "4512"
          }
        ]
      }
    },
    {
      "type": "FOOTER",
      "text": "Acme Events"
    },
    {
      "type": "BUTTONS",
      "buttons": [
        {
          "type": "URL",
          "text": "View order",
          "url": "https://acmeevents.example.com/orders/{{1}}",
          "example": [
            "https://acmeevents.example.com/orders/4512"
          ]
        }
      ]
    }
  ]
}'
```
