Digital Ocean Billing API
The billing endpoints allow you to retrieve your account balance, invoicesand billing history.**Balance:** By sending requests to the `/v2/customers/my/balance` endpoint, you canretrieve the balance information for the requested customer account.**Invoices:** [Invoices](https://docs.digitalocean.com/platform/billing/invoices/)are generated on the first of each month for every DigitalOceancustomer. An invoice preview is generated daily, which can be accessedwith the `preview` keyword in place of `$INVOICE_UUID`. To interact withinvoices, you will generally send requests to the invoices endpoint at`/v2/customers/my/invoices`.**Billing History:** Billing history is a record of billing events for your account.For example, entries may include events like payments made, invoicesissued, or credits granted. To interact with invoices, youwill generally send requests to the invoices endpoint at`/v2/customers/my/billing_history`.
Digital Ocean Billing API is one of 37 APIs that Digital Ocean publishes on the APIs.io network, described by a machine-readable OpenAPI specification.
Tagged areas include Billing. The published artifact set on APIs.io includes an OpenAPI specification and API documentation.
This API exposes 7 operations across 7 paths, and defines 21 schemas. It is described by OpenAPI 3.0.0, at version 2.0.
Requests are made against a single base URL, https://api.digitalocean.com.
Metadata
The identity and technical contract details declared by the specification.
Authentication & Security 1
Digital Ocean Billing API declares
1 security scheme
for authenticating requests.
It accepts HTTP bearer tokens (bearer_auth).
By default, every request must be authenticated.
bearer_auth— OAuth Authentication In order to interact with the DigitalOcean API, you or your application must authenticate. The DigitalOcean API handles this through OAuth…
Paths & Operations 7
Across 7 paths, the API surfaces 7 operations — 7 GET. Each is listed below with its method, path, parameters, and response codes.
The billing endpoints allow you to retrieve your account balance, invoices and billing history. Balance: By sending requests to the /v2/customers/my/balance endpoint, you can retr…
Schemas 21
The contract defines 21 schemas that model the data the API accepts and returns. The most detailed are invoice_summary (12 properties), invoice_item (11 properties), billing_address (8 properties), billing_history (6 properties). Each schema is shown below with its type and property counts.
Specification
The full machine-readable OpenAPI contract behind this narrative.
Source
More from Digital Ocean 12
Other APIs Digital Ocean publishes across the network.
This is an independent, third-party profile of Digital Ocean Billing API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.
The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.
Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.
info@apievangelist.com
·
Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and
you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.