I need a panel where users buy credits. Each credit entitles you to send a message via whatsapp using my API.
When the user buys credit, he should be given the option to type the text of the message he wants to shoot, upload his image or video, or text and link buttons. The user must upload an excel spreadsheet with the numbers and up to 4 variables. The same can use the variables in the text.
After sending the spreadsheet, it must be verified that the number of numbers is within the credits available to the user. If true, the system should start making POST requests to my Whatsapp API URLs.
Every 5 seconds some requests must be made, with the default json of my API. Containing a number of the user's worksheet and the text, variables and buttons informed by the user.
After each successful request, you must mark the submission in the dashboard and report.
After each request, a parameter is changed to the next url. These parameters are collected in the admin.