Skip to content

Latest commit

 

History

History
33 lines (25 loc) · 1.47 KB

cash-drawer-shift-event.md

File metadata and controls

33 lines (25 loc) · 1.47 KB

Cash Drawer Shift Event

Structure

Cash Drawer Shift Event

Fields

Name Type Tags Description
id string Optional The unique ID of the event.
employee_id string Optional The ID of the employee that created the event.
event_type str (Cash Drawer Event Type) Optional The types of events on a CashDrawerShift.
Each event type represents an employee action on the actual cash drawer
represented by a CashDrawerShift.
event_money Money Optional Represents an amount of money. Money fields can be signed or unsigned.
Fields that do not explicitly define whether they are signed or unsigned are
considered unsigned and can only hold positive amounts. For signed fields, the
sign of the value indicates the purpose of the money transfer. See
Working with Monetary Amounts
for more information.
created_at string Optional The event time in ISO 8601 format.
description string Optional An optional description of the event, entered by the employee that
created the event.

Example (as JSON)

{
  "id": "id0",
  "employee_id": "employee_id0",
  "event_type": "OTHER_TENDER_CANCELLED_PAYMENT",
  "event_money": {
    "amount": 148,
    "currency": "HTG"
  },
  "created_at": "created_at2"
}