Authentication template for sending one-time passcodes to verify a banking login or transaction on WhatsApp. Copy-code button included.
Share of submissions of this template that Meta approved.
✳Approval tip
Authentication templates take no custom text; Meta writes the body. Set a short expiry (5 to 10 minutes) for banking flows.
One-time verification code with a copy button.
</>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.
finance_login_verification_code.json
{
"name": "finance_login_verification_code",
"language": "en_US",
"category": "AUTHENTICATION",
"body": {
"addSecurityRecommendation": true
},
"footer": {
"codeExpirationMinutes": 10
},
"button": {
"type": "OTP",
"otpType": "COPY_CODE"
}
}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": "finance_login_verification_code",
"language": "en_US",
"category": "AUTHENTICATION",
"components": [
{
"type": "BODY",
"add_security_recommendation": true
},
{
"type": "FOOTER",
"code_expiration_minutes": 10
},
{
"type": "BUTTONS",
"buttons": [
{
"type": "OTP",
"otp_type": "COPY_CODE"
}
]
}
]
}'+Related