Skip to content

Latest commit

 

History

History
63 lines (55 loc) · 1.6 KB

retrieve-cash-drawer-shift-response.md

File metadata and controls

63 lines (55 loc) · 1.6 KB

Retrieve Cash Drawer Shift Response

Structure

RetrieveCashDrawerShiftResponse

Fields

Name Type Tags Description
cashDrawerShift CashDrawerShift | undefined Optional This model gives the details of a cash drawer shift.
The cash_payment_money, cash_refund_money, cash_paid_in_money,
and cash_paid_out_money fields are all computed by summing their respective
event types.
errors Error[] | undefined Optional Any errors that occurred during the request.

Example (as JSON)

{
  "cash_drawer_shift": {
    "cash_paid_in_money": {
      "amount": 10000,
      "currency": "USD"
    },
    "cash_paid_out_money": {
      "amount": -10000,
      "currency": "USD"
    },
    "cash_payment_money": {
      "amount": 100,
      "currency": "USD"
    },
    "cash_refunds_money": {
      "amount": -100,
      "currency": "USD"
    },
    "closed_at": "2019-11-22T00:44:49.000Z",
    "closed_cash_money": {
      "amount": 9970,
      "currency": "USD"
    },
    "closing_employee_id": "",
    "description": "Misplaced some change",
    "device": {
      "name": "My iPad"
    },
    "ended_at": "2019-11-22T00:44:49.000Z",
    "ending_employee_id": "",
    "expected_cash_money": {
      "amount": 10000,
      "currency": "USD"
    },
    "id": "DCC99978-09A6-4926-849F-300BE9C5793A",
    "opened_at": "2019-11-22T00:42:54.000Z",
    "opened_cash_money": {
      "amount": 10000,
      "currency": "USD"
    },
    "opening_employee_id": "",
    "state": "CLOSED"
  }
}