DO Ideas 2

Provide Billing Details in the API

In order to fairly share actual cost with partners, it would be very helpful to provide the billing details currently available as a PDF in the API. Alternatively have it downloadable in a more machine readable format from the web site.

The reason is that the cost for droplets run only for a couple of hours should be charged to the partner using that droplet (based on internal logging) and not be split equally.

  • f69m
  • Sep 11 2018
  • Sep 11, 2018

    Admin Response

    We've been working on our new API v2 which also has OAuth support. We've delayed adding some requested features to v1 of our API as we've been working on v2 so after we launch v2 we will begin on adding additional functionality such as monitoring account balances and also exposing more billing and pricing information via the API as well. Thanks, Moisey
  • Attach files
  • Colin Mitchell commented
    September 11, 2018 18:34

    Would love to see this happen!

  • Matthew commented
    September 11, 2018 18:34

    I have servers with DO and Vultr, and the only thing missing from DO is the billing info. Vultr provides basic balance info in regards to an account:

    "balance": "-5519.11",
    "pending_charges": "57.03",
    "last_payment_date": "2014-07-18 15:31:01",
    "last_payment_amount": "-1.00"

    I am a little surprised that after 5 years of asking for something (even basic info like Vultr provides, has not yet been added.

  • Nickolaj Madsen commented
    September 11, 2018 18:34

    This functionality would be great for stats and such.
    It could be added as (/billing) or something in those lines.

  • Kirill K commented
    September 11, 2018 18:34

    Can't find words to say how much I desire to look after these digits near $-sign through API.

    This feature would be a saviour due to my daily check-the-finance-manually task.

    Droplets count changes rapidly. So afraid to reach zero or even negative balance.

    3 instavotes!

  • Dave Jansen commented
    September 11, 2018 18:34

    Adding my vote here for billing API endpoint(s), it would be super helpful. Thank you!

  • Wiwid commented
    September 11, 2018 18:34

    I use Paypal for payment, and I must keep my balance positive.

    Last time I check (and also already ask the support), DO still not have a way to check balance / credit instead login to control panel.

    API for that is really useful.

  • Anonymous commented
    September 11, 2018 18:34

    I'd like to have access to my billing-info via an API-call, but it seems to be non-existent.

    I'd like make that a feature-request. for that.

    One thing is the monthly bills as shown in the history, another is the details on the invoice. They could also be nice to be able to extract thru the API.


  • Frederik Denkens commented
    September 11, 2018 18:34

    Within 1 account we manage various instances for multiple customers. We need to be able to charge-back to these customers. So a machine-readable way to parse the invoice would be great (without us having to write a scraper). Even better, make it available through the API.

  • Luke Granger-Brown commented
    September 11, 2018 18:34

    At present the only real account-specific information you can view is your droplet_limit - it would be really useful if you could also view how much credit you have on your account.

  • Alex commented
    September 11, 2018 18:34
  • Steven commented
    September 11, 2018 18:34

    Just adding my voice this - would save manually tracking between /create and /destroy API calls / scraping the Billing html.

  • Marek Jalovec commented
    September 11, 2018 18:34

    The sizes already have prices, can you please add /user (or something like that...) call with current account ballance (and possibly more user information)?

  • Rafael commented
    September 11, 2018 18:34

    This would e wonderful.
    We really need more support for API and billing stuff.

  • Peter Sobot commented
    September 11, 2018 18:34

    Another API endpoint (/billing?) would be wonderful for this, even if to just get the exact same info that's on the current /billing page. I'd much rather use an API than build a scraper to grab that info for my stats dashboard.