Transaction Templates
Four production-ready templates for e-commerce and payment notifications.
Starter Tier: Use sendTypedTemplate
If you're on Starter tier, use the SDK's sendTypedTemplate() method or the /v1/messages/send-template API endpoint. These examples show template rendering only - see Using Templates for complete sending examples.
Allowed on Starter Tier
All Transaction templates are approved for Starter tier shared numbers (Customer Care campaign type).
Order Confirmed
Confirm order placement with tracking link.
Code
Variables:
company(string) - Your store nameorderNumber(string) - Order IDitemCount(number) - Number of itemsamount(string) - Total amount (formatted)url(string) - Order tracking URL
Best for: E-commerce order confirmations
Order Shipped
Notify when order has shipped.
Code
Variables:
company(string) - Your company nameorderNumber(string) - Order IDdate(string) - Expected delivery date (short format, e.g., "Oct 15")url(string) - Shipment tracking URL
Best for: Shipping notifications, delivery updates
Payment Confirmed
Confirm successful payment received.
Code
Variables:
company(string) - Your company or service nameamount(string) - Payment amount (do not include $ symbol)transactionId(string) - Transaction or receipt ID
Best for: Payment confirmations, receipt notifications
Payment Failed
Alert when payment has failed.
Code
Variables:
company(string) - Your company or service nameamount(string) - Failed payment amount (do not include $ symbol)url(string) - Link to payment update page
Best for: Failed payment alerts, billing issues
Next Steps: