flagsmith icon indicating copy to clipboard operation
flagsmith copied to clipboard

Show users their pricing plan & limits

Open dabeeeenster opened this issue 3 years ago • 2 comments

We should show our users that they are API call limited. Get the total API calls made in the last 30 days for the organisation (as per the Org usage graph) and show it in the top banner if the calls are within 30% of the limit, so:

"45k out of 50k API calls" with a CTA to upgrade

pls it should be different from other buttons

image

dabeeeenster avatar Dec 22 '21 17:12 dabeeeenster

Can we get better requirements on this ticket @dabeeeenster

kyle-ssg avatar Jan 06 '22 11:01 kyle-ssg

We need to hard code the API call limits for each chargebee plan-id into the back end, and then present that info to the Front end so it can make the appropriate calculations.

dabeeeenster avatar Jan 07 '22 09:01 dabeeeenster