---
title: "Get Customer Balance"
method: GET
path: "/v2/customers/my/balance"
tags: ["DigitalOcean-public.v2-new_Billing"]
---

# Get Customer Balance

`GET /v2/customers/my/balance`

To retrieve the balances on a customer's account, send a GET request to `/v2/customers/my/balance`.

## Response `200`

The response will be a JSON object that contains the following attributes

- Balance
  - `month_to_date_balance` string — Balance as of the `generated_at` time. This value includes the `account_balance` and `month_to_date_usage`.
  - `account_balance` string — Current balance of the customer's most recent billing activity. Does not reflect `month_to_date_usage`.
  - `month_to_date_usage` string — Amount used in the current billing period as of the `generated_at` time.
  - `generated_at` string, date-time — The time at which balances were most recently generated.

## Other responses

- `401` — Authentication failed due to invalid credentials.
- `404` — The resource was not found.
- `429` — The API rate limit has been exceeded.
- `500` — There was a server error.
- `default` — There was an unexpected error.

---

[API](https://skmtc.net/digitalocean/apis/digitalocean-api.md) · [All operations](https://skmtc.net/digitalocean/apis/digitalocean-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/digitalocean/digitalocean-api/revisions/cb3bf9b21459/schema)
