I implemented MessageBird WhatsApp Integration. but my problem is how to build a logic where I can calculate the remaining sms limit and reset it after 24hrs.
total limit is 1000 per day in 24 hrs
if I send 500 sms at 2 pm and the remaining 500 at 5 pm, so next day at 2 pm I will get 500 limits and the remaining 500 at 5pm.
can someone help me to build this logic so that the API can send the accurate remaing limit for sending sms for that time period.