billing_history
Creates, updates, deletes, gets or lists a billing_history
resource.
Overview
Name | billing_history |
Type | Resource |
Id | digitalocean.billing.billing_history |
Fields
Name | Datatype | Description |
---|---|---|
description | string | Description of the billing history entry. |
amount | string | Amount of the billing history entry. |
date | string | Time the billing history entry occurred. |
invoice_id | string | ID of the invoice associated with the billing history entry, if applicable. |
invoice_uuid | string | UUID of the invoice associated with the billing history entry, if applicable. |
type | string | Type of billing history entry. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
billing_history_list | SELECT |
| To retrieve a list of all billing history entries, send a GET request to /v2/customers/my/billing_history . |
SELECT
examples
To retrieve a list of all billing history entries, send a GET request to /v2/customers/my/billing_history
.
SELECT
description,
amount,
date,
invoice_id,
invoice_uuid,
type
FROM digitalocean.billing.billing_history
;