---
title: "Where the video time went"
method: GET
path: "/wallet/ledger"
tags: ["wallet"]
---

# Where the video time went

`GET /wallet/ledger`

## Request

- Base URL: `https://api.gogoscreen.com/api/v1`
- URL: `https://api.gogoscreen.com/api/v1/wallet/ledger`
- Auth: one of:
  - HTTP bearer
  - HTTP bearer

Every movement of this account's seconds, newest first: grants, reservations, charges and releases, each with the row it was for. Joined to a render or an export by `refType` + `refId`; the ledger is the record of what was spent, and no other count of seconds is authoritative.

## Query parameters

- `limit` integer
- `cursor` string

## Response `200`

Where the video time went

- object
  - `data` object[], required
    - `balanceAfter` object, nullable, required: The whole wallet as it stood after this row, so a statement reads down the page without re-summing.
    - `bucket` string, nullable, required
    - `createdAt` string, date-time, required
    - `id` union, required
      - string
      - number
    - `kind` string, required: What happened: a grant, a reservation, a charge, a release, an expiry.
    - `note` string, nullable, required
    - `refId` string, nullable, required
    - `refType` string, nullable, required: What the row is about — `render`, `marketing_export` — and `refId` is that row's id.
    - `seconds` number, required: Signed: negative took time away.
  - `nextCursor` string, nullable, required: Pass as `cursor` for the next page; null on the last page.

## Other responses

- `400`: `validation_failed` — That request is not valid. · `invalid_cursor` — That page cursor is not valid.
- `401`: `unauthorized` — Authentication is required.
- `403`: `forbidden_scope` — This credential does not carry the scope this operation needs.
- `404`: `not_found` — No such resource.
- `429`: `rate_limited` — Too many requests. Try again shortly.
- `500`: `internal_error` — Something went wrong. Try again.

---

[API](https://skmtc.dev/gogoscreen/apis/gogoscreen-api.md) · [All operations](https://skmtc.dev/gogoscreen/apis/gogoscreen-api/llms.txt) · [OpenAPI document](https://skmtc.dev/gogoscreen/apis/gogoscreen-api/revisions/2fd812319d75?raw)
