Question

Billing API - Service Overage Amount

Posted May 12, 2021 71 views
APIBilling

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.

Thanks,
Christopher.

Submit an answer

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