DigitalOcean-public.v2-new_Billing
List Billing History
To retrieve a list of all billing history entries, send a GET request to /v2/customers/my/billing_history.
get/v2/customers/my/billing_history
Response
The response will be a JSON object that contains the following attributes
Example response
{
"billing_history": [
{
"description": "Invoice for May 2018",
"amount": "12.34",
"invoice_id": "123",
"invoice_uuid": "example-uuid",
"date": "2018-06-01T08:44:38Z",
"type": "Invoice"
},
{
"description": "Payment (MC 2018)",
"amount": "-12.34",
"date": "2018-06-02T08:44:38Z",
"type": "Payment"
}
],
"links": {
"pages": {
"next": "https://api.digitalocean.com/v2/customers/my/billing_history?page=2&per_page=2",
"last": "https://api.digitalocean.com/v2/customers/my/billing_history?page=3&per_page=2"
}
},
"meta": {
"total": 5
}
}