How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

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.

7 operations 7 paths 21 schemas 7 GET

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.0.0
API Version
2.0
Base URL
https://api.digitalocean.com/v2
Authentication
HTTP Bearer
License
Terms of Service
Resource Areas
1

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.

Billing 7

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…

GET
/v2/customers/my/balance
Get Customer Balance
balance_get → 200401404429500default
GET
/v2/customers/my/billing_history
List Billing History
billingHistory_list → 200401404429500default
GET
/v2/customers/my/invoices
List All Invoices
invoices_list 2 params → 200401429500default
GET
/v2/customers/my/invoices/{invoice_uuid}
Retrieve an Invoice by UUID
invoices_get_byUUID 3 params → 200401404429500default
GET
/v2/customers/my/invoices/{invoice_uuid}/csv
Retrieve an Invoice CSV by UUID
invoices_get_csvByUUID 1 param → 200401404429500default
GET
/v2/customers/my/invoices/{invoice_uuid}/pdf
Retrieve an Invoice PDF by UUID
invoices_get_pdfByUUID 1 param → 200401404429500default
GET
/v2/customers/my/invoices/{invoice_uuid}/summary
Retrieve an Invoice Summary by UUID
invoices_get_summaryByUUID 1 param → 200401404429500default

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.

balance
object
4 properties
link_to_prev_page
object
1 property
link_to_last_page
object
1 property
page_links
object
1 property
invoice_preview
object
The invoice preview.
5 properties
billing_address
object
8 properties
simple_charge
object
2 properties
forward_links
billing_history
object
6 properties
invoice_summary
object
12 properties
pagination
object
1 property
invoice_item
object
11 properties
link_to_first_page
object
1 property
error
object
3 properties 2 required
backward_links
meta_properties
object
Information about the response itself.
1 property
meta
object
1 property 1 required
product_usage_charges
object
3 properties
product_charge_item
object
3 properties
link_to_next_page
object
1 property
meta_optional_total
object
1 property 1 required

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

digital-ocean-billing-api-openapi.yml Raw ↑

Other APIs Digital Ocean publishes across the network.

Digital Ocean 1-Click Applications API
Digital Ocean Account API
Digital Ocean Actions API
Digital Ocean Apps API
Digital Ocean Block Storage Actions API
Digital Ocean Block Storage API
Digital Ocean CDN Endpoints API
Digital Ocean Certificates API
Digital Ocean Container Registry API
Digital Ocean Databases API
Digital Ocean Domain Records API
Digital Ocean Domains API
Where this information came from

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.