> ## Documentation Index
> Fetch the complete documentation index at: https://docs.automate.ax/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> Automate.ax automations are TypeScript programs.
> Use Bun for installation and command examples.
> Use Automate.ax for the product name and automate.ax for the package, CLI, and domain.
> Treat documented public APIs as current; do not invent transitional or deprecated names.

# List Cash Drawer Shift Events

> Provides a paginated list of events for a single cash drawer shift.

`square.listCashDrawerShiftEvents` provides a paginated list of events for a single cash drawer shift.

## Example

```ts automations/square-list-cash-drawer-shift-events.automation.ts theme={null}
import { automation, onDashboardRun } from "automate.ax"
import { square } from "automate.ax/square"

export default automation("List Square Cash Drawer Shift Events", () => {
  onDashboardRun({ title: "List Square Cash Drawer Shift Events" })

  square.listCashDrawerShiftEvents({
    shiftId: "shift_id",
    locationId: "location_id",
    limit: 1,
    cursor: "cursor",
  })
})
```

## Inputs

Every input accepts a compatible signal. It requires `CASH_DRAWER_READ`.

| Field        | Type             | Required | Default | Description                                                                         |
| ------------ | ---------------- | -------- | ------- | ----------------------------------------------------------------------------------- |
| `shiftId`    | `string`         | Yes      | —       | The shift ID.                                                                       |
| `locationId` | `string`         | Yes      | —       | The ID of the location to list cash drawer shifts for.                              |
| `limit`      | `number \| null` | No       | —       | Number of resources to be returned in a page of results (200 by default, 1000 max). |
| `cursor`     | `string \| null` | No       | —       | Opaque cursor for fetching the next page of results.                                |

Use the official [ListCashDrawerShiftEvents reference](https://developer.squareup.com/reference/square/cash-drawers-api/list-cash-drawer-shift-events) for provider field semantics and limits.

## Output

Returns the official `Square.ListCashDrawerShiftEventsResponse` response as a codec-safe object. Square integer money amounts remain `bigint` values.
