Question

Billing API - Service Overage Amount

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] (https://docs.digitalocean.com/reference/api/api-reference/#operation/get_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.

Thanks, Christopher.


Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

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!

https://www.digitalocean.com/support/

Hope that helps! Alex