Skip to main content
GET
/
v1
/
billing
/
charges
listBillingCharges
import { Vercel } from "@vercel/sdk";

const vercel = new Vercel({
  bearerToken: "<YOUR_BEARER_TOKEN_HERE>",
});

async function run() {
  await vercel.billing.listBillingCharges({
    from: "2025-01-01T00:00:00.000Z",
    to: "2025-01-31T00:00:00.000Z",
    teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
    slug: "my-team-url-slug",
  });


}

run();

Authorizations

Authorization
string
header
required

Default authentication mechanism

Query Parameters

from
string
required

Inclusive start of the date range as an ISO 8601 date-time string in UTC.

Example:

"2025-01-01T00:00:00.000Z"

to
string
required

Exclusive end of the date range as an ISO 8601 date-time string in UTC.

Example:

"2025-01-31T00:00:00.000Z"

teamId
string

The Team identifier to perform the request on behalf of.

Example:

"team_1a2b3c4d5e6f7g8h9i0j1k2l"

slug
string

The Team slug to perform the request on behalf of.

Example:

"my-team-url-slug"

Response

One of the provided values in the request query is invalid.