action squareup_list_cash_drawer_shift_events { label: "ListCashDrawerShiftEvents" description: "Provides a paginated list of events for a single cash drawer shift." provider: squareup method: GET path: "/v2/cash-drawers/shifts/{shift_id}/events" encoding: json input: { type: "object" properties: { cursor: { type: "string" } limit: { type: "integer" } location_id: { type: "string" } shift_id: { type: "string" } } required: ["location_id", "shift_id"] additionalProperties: false } output: { type: "object" properties: { cursor: { type: "string" description: "Opaque cursor for fetching the next page. Cursor is not present in\nthe last page of results." } errors: { type: "array" description: "Any errors that occurred during the request." items: { type: "object" description: "Represents an error encountered during a request to the Connect API.\n\nSee [Handling errors](https://developer.squareup.com/docs/build-basics/handling-errors) for more information." required: ["category", "code"] properties: { category: { type: "string" description: "The high-level category for the error." } code: { type: "string" description: "The specific code of the error." } detail: { type: "string" description: "A human-readable description of the error for debugging purposes." } field: { type: "string" description: "The name of the field provided in the original request (if any) that\nthe error pertains to." } } } } events: { type: "array" description: "All of the events (payments, refunds, etc.) for a cash drawer during\nthe shift." items: { type: "object" properties: { created_at: { type: "string" description: "The event time in ISO 8601 format." } description: { type: "string" description: "An optional description of the event, entered by the employee that\ncreated the event." } employee_id: { type: "string" description: "The ID of the employee that created the event." } event_money: { type: "object" description: "Represents an amount of money. `Money` fields can be signed or unsigned.\nFields that do not explicitly define whether they are signed or unsigned are\nconsidered unsigned and can only hold positive amounts. For signed fields, the\nsign of the value indicates the purpose of the money transfer. See\n[Working with Monetary Amounts](https://developer.squareup.com/docs/build-basics/working-with-monetary-amounts)\nfor more information." properties: { amount: { type: "integer" format: "int64" description: "The amount of money, in the smallest denomination of the currency\nindicated by `currency`. For example, when `currency` is `USD`, `amount` is\nin cents. Monetary amounts can be positive or negative. See the specific\nfield description to determine the meaning of the sign in a particular case." } currency: { type: "string" description: "The type of currency, in __ISO 4217 format__. For example, the currency\ncode for US dollars is `USD`.\n\nSee [Currency](https://developer.squareup.com/reference/square_2021-08-18/enums/Currency) for possible values." } } } event_type: { type: "string" description: "The type of cash drawer shift event." } id: { type: "string" description: "The unique ID of the event." } } } } } } }