Question

Is there an API to get the subscription related information?

Is there an API to get the subscription-related information ( Plan name, Monthly / Annual, Renewal date, Billing card details, Billing emails ) via API in DigitalOcean?


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.

Hi there,

Yes, you can take a look at the billing API documentation here:

https://docs.digitalocean.com/reference/api/api-reference/#tag/Billing

As a side note, all DigitalOcean Droplets are billed hourly, so there are no fixed monthly or annual plans:

All droplets are billed hourly, up until a monthly cap. We have estimated that each month has about 720 hours (30 days). If you use your server for less than 720 during the month, you will be billed for each hour that you used it. If you use your server for more than 720 hours that month, you will be billed at the monthly cost, which is no greater than 720 hours.

Hope that this helps!

Best,

Bobby