Can we get billing information using APIs or any other way. is it possible
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.
+1 for extending the API and doctl to include basic credit and usage information, e.g. something like:
{ “account”: { “droplet_limit”: 25, “email”: “sammy@digitalocean.com”, “uuid”: “b6fr89dbf6d9156cace5f3c78dc9851d957381ef”, “email_verified”: true, “currency”: “USD”, “credit”: 32.30, “usage”: 17.10 } }
+2 for option to have more detailed information also …
This is now possible with https://docs.digitalocean.com/reference/api/api-reference/#tag/Billing
+1 for pdf’s download via API,
If you have lots of teams it is very annoying process to log and save the PDF invoice files…
You can view the billing related information here: https://cloud.digitalocean.com/settings/billing.
Using the API, you can only get basic account information such as the droplet limit and the email address:
{
"account": {
"droplet_limit": 25,
"email": "sammy@digitalocean.com",
"uuid": "b6fr89dbf6d9156cace5f3c78dc9851d957381ef",
"email_verified": true
}
}
Click below to sign up and get $100 of credit to try our products over 60 days!
+1 To collect invoices is annoying.
The PDF does not come as an e-mail attachment and as there is no API to download it, one is forced to visit the web app and download it from here.
+1 to get invoices in PDF through the API.