Skip to content

Square: Cash drawers schemas

7 Square schemas with complete fields and constraints.

← Cash drawers operations · All schemas

List Cash Drawer Shift Events — response body

FieldTypePresenceDescription and constraints
$objectRoot
cash_drawer_shift_eventsarrayOptionalAll of the events (payments, refunds, etc.) for a cash drawer during
the shift.
cash_drawer_shift_events[]ModelEach itemExpand List Cash Drawer Shift Events — response body — cash drawer shift events item
cursorstringOptionalOpaque cursor for fetching the next page. Cursor is not present in
the last page of results.
errorsarrayOptionalAny errors that occurred during the request.
errors[]ModelEach itemExpand Get Shift — response body — errors item

Referenced models: List Cash Drawer Shift Events — response body — cash drawer shift events item, Get Shift — response body — errors item

List Cash Drawer Shift Events — response body — cash drawer shift events item

FieldTypePresenceDescription and constraints
$objectRoot
created_atstringOptionalThe event time in RFC 3339 format.
Read only: true
descriptionJSONOptional
description (anyOf 1)stringAlternativeAn optional description of the event, entered by the employee that
created the event.
description (anyOf 2)nullAlternative
event_moneyJSONOptional
event_money (anyOf 1)ModelAlternativeExpand Pay Order — response body — order total money
The amount of money that was added to or removed from the cash drawer
in the event. The amount can be positive (for added money)
or zero (for other tender type payments). The addition or removal of money can be determined by
by the event type.
event_money (anyOf 2)nullAlternative
event_typeJSONOptional
event_type (anyOf 1)stringAlternativeThe types of events on a CashDrawerShift.
Each event type represents an employee action on the actual cash drawer
represented by a CashDrawerShift.
The type of cash drawer shift event.
See [CashDrawerEventType](#type-cashdrawereventtype) for possible values
Known values: NO_SALE, CASH_TENDER_PAYMENT, OTHER_TENDER_PAYMENT, CASH_TENDER_CANCELLED_PAYMENT, OTHER_TENDER_CANCELLED_PAYMENT, CASH_TENDER_REFUND, OTHER_TENDER_REFUND, PAID_IN, PAID_OUT
event_type (anyOf 2)nullAlternative
idstringOptionalThe unique ID of the event.
team_member_idstringOptionalThe ID of the team member that created the event.
Read only: true

Referenced models: Pay Order — response body — order total money

List Cash Drawer Shifts — response body

FieldTypePresenceDescription and constraints
$objectRoot
cash_drawer_shiftsarrayOptionalA collection of CashDrawerShiftSummary objects for shifts that match
the query.
cash_drawer_shifts[]ModelEach itemExpand List Cash Drawer Shifts — response body — cash drawer shifts item
cursorstringOptionalOpaque cursor for fetching the next page of results. Cursor is not
present in the last page of results.
errorsarrayOptionalAny errors that occurred during the request.
errors[]ModelEach itemExpand Get Shift — response body — errors item

Referenced models: List Cash Drawer Shifts — response body — cash drawer shifts item, Get Shift — response body — errors item

List Cash Drawer Shifts — response body — cash drawer shifts item

FieldTypePresenceDescription and constraints
$objectRootThe summary of a closed cash drawer shift.
This model contains only the money counted to start a cash drawer shift, counted
at the end of the shift, and the amount that should be in the drawer at shift
end based on summing all cash drawer shift events.
closed_atJSONOptional
closed_at (anyOf 1)stringAlternativeThe shift close time in ISO 8601 format.
closed_at (anyOf 2)nullAlternative
closed_cash_moneyJSONOptional
closed_cash_money (anyOf 1)ModelAlternativeExpand Pay Order — response body — order total money
The amount of money found in the cash drawer at the end of the shift by
an auditing employee. The amount must be greater than or equal to zero.
closed_cash_money (anyOf 2)nullAlternative
created_atstringOptionalThe shift start time in RFC 3339 format.
Read only: true
descriptionJSONOptional
description (anyOf 1)stringAlternativeAn employee free-text description of a cash drawer shift.
description (anyOf 2)nullAlternative
ended_atJSONOptional
ended_at (anyOf 1)stringAlternativeThe shift end time in ISO 8601 format.
ended_at (anyOf 2)nullAlternative
expected_cash_moneyJSONOptional
expected_cash_money (anyOf 1)ModelAlternativeExpand Pay Order — response body — order total money
The amount of money that should be in the cash drawer at the end of the
shift, based on the cash drawer events on the shift.
The amount is correct if all shift employees accurately recorded their
cash drawer shift events. Unrecorded events and events with the wrong amount
result in an incorrect expected_cash_money amount that can be negative.
expected_cash_money (anyOf 2)nullAlternative
idstringOptionalThe shift unique ID.
location_idstringOptionalThe ID of the location the cash drawer shift belongs to.
Read only: true
opened_atJSONOptional
opened_at (anyOf 1)stringAlternativeThe shift start time in ISO 8601 format.
opened_at (anyOf 2)nullAlternative
opened_cash_moneyJSONOptional
opened_cash_money (anyOf 1)ModelAlternativeExpand Pay Order — response body — order total money
The amount of money in the cash drawer at the start of the shift. This
must be a positive amount.
opened_cash_money (anyOf 2)nullAlternative
stateJSONOptional
state (anyOf 1)stringAlternativeThe current state of a cash drawer shift.
The shift current state.
See [CashDrawerShiftState](#type-cashdrawershiftstate) for possible values
Known values: OPEN, ENDED, CLOSED
state (anyOf 2)nullAlternative
updated_atstringOptionalThe shift updated at time in RFC 3339 format.
Read only: true

Referenced models: Pay Order — response body — order total money

Retrieve Cash Drawer Shift — response body

FieldTypePresenceDescription and constraints
$objectRoot
cash_drawer_shiftModelOptionalExpand Retrieve Cash Drawer Shift — response body — cash drawer shift
The cash drawer shift queried for.
errorsarrayOptionalAny errors that occurred during the request.
errors[]ModelEach itemExpand Get Shift — response body — errors item

Referenced models: Retrieve Cash Drawer Shift — response body — cash drawer shift, Get Shift — response body — errors item

Retrieve Cash Drawer Shift — response body — cash drawer shift

FieldTypePresenceDescription and constraints
$objectRootThis 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.
cash_paid_in_moneyJSONOptional
cash_paid_in_money (anyOf 1)ModelAlternativeExpand Pay Order — response body — order total money
The amount of money added to the cash drawer for reasons other than cash
payments. It is computed by summing the events of type PAID_IN. The amount is
always greater than or equal to zero.
cash_paid_in_money (anyOf 2)nullAlternative
cash_paid_out_moneyJSONOptional
cash_paid_out_money (anyOf 1)ModelAlternativeExpand Pay Order — response body — order total money
The amount of money removed from the cash drawer for reasons other than
cash refunds. It is computed by summing the events of type PAID_OUT. The amount
is always greater than or equal to zero.
cash_paid_out_money (anyOf 2)nullAlternative
cash_payment_moneyJSONOptional
cash_payment_money (anyOf 1)ModelAlternativeExpand Pay Order — response body — order total money
The amount of money added to the cash drawer from cash payments.
This is computed by summing all events with the types CASH_TENDER_PAYMENT and
CASH_TENDER_CANCELED_PAYMENT. The amount is always greater than or equal to
zero.
cash_payment_money (anyOf 2)nullAlternative
cash_refunds_moneyJSONOptional
cash_refunds_money (anyOf 1)ModelAlternativeExpand Pay Order — response body — order total money
The amount of money removed from the cash drawer from cash refunds.
It is computed by summing the events of type CASH_TENDER_REFUND. The amount
is always greater than or equal to zero.
cash_refunds_money (anyOf 2)nullAlternative
closed_atJSONOptional
closed_at (anyOf 1)stringAlternativeThe time when the shift was closed, in ISO 8601 format.
closed_at (anyOf 2)nullAlternative
closed_cash_moneyJSONOptional
closed_cash_money (anyOf 1)ModelAlternativeExpand Pay Order — response body — order total money
The amount of money found in the cash drawer at the end of the shift
by an auditing employee. The amount should be positive.
closed_cash_money (anyOf 2)nullAlternative
closing_team_member_idstringOptionalThe ID of the team member that closed the cash drawer shift by auditing
the cash drawer contents.
Read only: true
created_atstringOptionalThe shift start time in RFC 3339 format.
Read only: true
descriptionJSONOptional
description (anyOf 1)stringAlternativeThe free-form text description of a cash drawer by an employee.
description (anyOf 2)nullAlternative
deviceJSONOptional
device (anyOf 1)ModelAlternativeExpand Retrieve Cash Drawer Shift — response body — cash drawer shift device id, name
The device running Square Point of Sale that was connected to the cash drawer.
device (anyOf 2)nullAlternative
ended_atJSONOptional
ended_at (anyOf 1)stringAlternativeThe time when the shift ended, in ISO 8601 format.
ended_at (anyOf 2)nullAlternative
ending_team_member_idstringOptionalThe ID of the team member that ended the cash drawer shift.
Read only: true
expected_cash_moneyJSONOptional
expected_cash_money (anyOf 1)ModelAlternativeExpand Pay Order — response body — order total money
The amount of money that should be in the cash drawer at the end of the
shift, based on the shift's other money amounts.
This can be negative if employees have not correctly recorded all the events
on the cash drawer.
cash_paid_out_money is a summation of amounts from cash_payment_money (zero
or positive), cash_refunds_money (zero or negative), cash_paid_in_money (zero
or positive), and cash_paid_out_money (zero or negative) event types.
expected_cash_money (anyOf 2)nullAlternative
idstringOptionalThe shift unique ID.
location_idstringOptionalThe ID of the location the cash drawer shift belongs to.
Read only: true
opened_atJSONOptional
opened_at (anyOf 1)stringAlternativeThe time when the shift began, in ISO 8601 format.
opened_at (anyOf 2)nullAlternative
opened_cash_moneyJSONOptional
opened_cash_money (anyOf 1)ModelAlternativeExpand Pay Order — response body — order total money
The amount of money in the cash drawer at the start of the shift.
The amount must be greater than or equal to zero.
opened_cash_money (anyOf 2)nullAlternative
opening_team_member_idstringOptionalThe ID of the team member that started the cash drawer shift.
Read only: true
stateJSONOptional
state (anyOf 1)stringAlternativeThe current state of a cash drawer shift.
The shift current state.
See [CashDrawerShiftState](#type-cashdrawershiftstate) for possible values
Known values: OPEN, ENDED, CLOSED
state (anyOf 2)nullAlternative
team_member_idsarrayOptionalThe IDs of all team members that were logged into Square Point of Sale at any
point while the cash drawer shift was open.
Read only: true
team_member_ids[]stringEach item
updated_atstringOptionalThe shift updated at time in RFC 3339 format.
Read only: true

Referenced models: Retrieve Cash Drawer Shift — response body — cash drawer shift device id, name, Pay Order — response body — order total money

Retrieve Cash Drawer Shift — response body — cash drawer shift device id, name

FieldTypePresenceDescription and constraints
$objectRoot
idstringOptionalThe device Square-issued ID
nameJSONOptional
name (anyOf 1)stringAlternativeThe device merchant-specified name.
name (anyOf 2)nullAlternative

Report an issue with this page

Necessary

Required for sign-in, security, authorization, and remembering your choices.

Always active

Analytics

Helps us understand how our website, product, and documentation are used.

Performance diagnostics

Uses performance tracing and privacy-masked session replay to diagnose problems.

Advertising

Shares visits and sign-ups with Meta, Reddit, and X so we can measure which of our ads work.

You can change these choices at any time from Cookie settings.