Send a payment receipt on WhatsApp after a subscription charge, with amount, plan and invoice number. Utility template. Copy it and adapt the brand.
Share of submissions of this template that Meta approved.
✳Approval tip
Keep it purely a receipt with an invoice ID; no upsell.
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{{first_name}}Ben{{amount}}$49.00{{plan}}Lumen Pro{{date}}Nov 1{{invoice_id}}INV-30291{{ref}}INV30291</>For developers
The template as JSON for @talqui-oss/template-builder, and the Cloud API request that creates it. Replace the $ variables with your account values.
saas_payment_receipt_subscription.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 with the Meta Cloud API
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"
]
}
]
}
]
}'+Related