Tell customers a subscription payment failed on WhatsApp, with next retry date and a link to update their card. Utility template.
Share of submissions of this template that Meta approved.
✳Approval tip
State the amount, last 4 digits and retry date. A single update-card link is all you need.
Payment failed
Hi {{first_name}}, we could not process your *{{amount}}* payment for {{plan}} using the card ending in {{last4}}. We will try again on {{retry_date}}. Update your card to avoid interruption.
Lumen Billing{{first_name}}Ben{{amount}}$49.00{{plan}}Lumen Pro{{last4}}4242{{retry_date}}Nov 8{{ref}}acct_1021</>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_invoice_payment_failed.json
{
"name": "saas_invoice_payment_failed",
"language": "en_US",
"category": "UTILITY",
"header": {
"type": "TEXT",
"text": "Payment failed"
},
"body": {
"text": "Hi {{first_name}}, we could not process your *{{amount}}* payment for {{plan}} using the card ending in {{last4}}. We will try again on {{retry_date}}. Update your card to avoid interruption."
},
"footer": {
"text": "Lumen Billing"
},
"buttons": [
{
"type": "URL",
"text": "Update card",
"url": "https://lumen.app/billing/{{ref}}"
}
],
"variables": {
"first_name": {
"example": "Ben"
},
"amount": {
"example": "$49.00"
},
"plan": {
"example": "Lumen Pro"
},
"last4": {
"example": "4242"
},
"retry_date": {
"example": "Nov 8"
},
"ref": {
"example": "acct_1021"
}
}
}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_invoice_payment_failed",
"language": "en_US",
"category": "UTILITY",
"parameter_format": "NAMED",
"components": [
{
"type": "HEADER",
"format": "TEXT",
"text": "Payment failed"
},
{
"type": "BODY",
"text": "Hi {{first_name}}, we could not process your *{{amount}}* payment for {{plan}} using the card ending in {{last4}}. We will try again on {{retry_date}}. Update your card to avoid interruption.",
"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": "last4",
"example": "4242"
},
{
"param_name": "retry_date",
"example": "Nov 8"
}
]
}
},
{
"type": "FOOTER",
"text": "Lumen Billing"
},
{
"type": "BUTTONS",
"buttons": [
{
"type": "URL",
"text": "Update card",
"url": "https://lumen.app/billing/{{1}}",
"example": [
"https://lumen.app/billing/acct_1021"
]
}
]
}
]
}'+Related