#2528-Template Restriction API (Wallet Enforcement)
Maxs
Hi Team,
Since we have received credit line for WhatsApp accounts (prepaid wallet model), we need a small control mechanism to prevent financial exposure when a user's wallet balance is exhausted.
Currently, we're designing wallet system bridge between BS and our Wallet system.
But we have found even wallet is low BS will allows template broadcasting because wallet not designed by BS. This creates postpaid risk for us because credit line is billed at WABA level.
To resolve this cleanly (without affecting inbound messages), we request a minimal API-based restriction mechanism.
Objective :
Allow our system to temporarily restrict template message sending (broadcast + template API) for a specific user when wallet balance is low, while keeping:
Inbound messages working
24-hour service replies working
Webhooks functioning normally
Only outbound template sending should be restricted.
Required API :
Endpoint
POST /api/v1/user/restrict-template
Payload
{
"user_id": 114,
"restricted": true
}
Expected Behavior
If restricted = true:
Block:
Template sending API
Broadcast campaigns
Return error if attempted:
{
"status": "0",
"message": "Template sending restricted by system."
}
If restricted = false:
Restore normal sending ability.
request you to implement this on Priority so we can secure stable system.
Thanks
Yes it is needed in priority , we are getting lot's issue in card details adding option , so we need to implement the credit line as quick, for that kindly consider and provide this feature in priority
Yes, please provide this as soon as possible. Many users are unable to add their cards because their cards are not supported, which prevents them from sending templates. With this option, we can provide a credit line to users.