Billing API - Service Overage Amount

Posted May 12, 2021 244 views

In short, my question is whether or not "amount" field returned from the Invoice By UUID endpoint includes any overage fee caused by that service.

In long, I’ve been looking into selling preconfigured Droplets through my own website and would like to know if the Billing endpoint provide through your API includes the Overages for a given resource(s) possible overages.

I know that you have a total Droplet Transfer pool allowance based on some factors such as how long a Droplet is active and the service tier. I do assume however that if you had a single service (such as a Droplet) that did, say 2TB of transfer but had only a 1TB allowance it would simply roll over into whatever remaining allowance you had. In the case that this exceeds the allowance pool, you end up with an overage, which is where I am trying see if there is a way to determine which service is being billed for the overage, or if the overage is just applied separately.

I also know that I could install a utility on the Droplet to track its bandwidth but would like to know if there is a way to see where an overage is coming from before moving forward with that idea.

I do see that the Invoice Summary by UUID endpoint does provide an "overages" field, however it looks to be a running total and not per service.

This is where I’ve been instead looking at the Invoice By UUID endpoint which does give finer details per service but does not tell me if the "amount" field within the "invoice_items" array also includes the overage amount for that service.


These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
1 answer

Hey @ounces,

In our public community, we aim to answer open questions about anything SysAdmin, DigitalOcean and beyond. However, we make every attempt to keep personal information safe and so don’t ever access personal account information here. This means we can’t provide help with any account or billing-related issues.

Please reach out to our amazing support team who will be more than happy to assist you with your account querry!

Hope that helps!