---
title: "Opens the specified cash drawer"
method: POST
path: "/v1/device/cash-drawer/open"
tags: ["DEVICE"]
---

# Opens the specified cash drawer

`POST /v1/device/cash-drawer/open`

## Request

- Base URL: `https://deviceIpOrHost:12346/connect`
- URL: `https://deviceIpOrHost:12346/connect/v1/device/cash-drawer/open`
- Auth: HTTP bearer

Sends a signal to open the specified cash drawer attached to a Clover device.

## Headers

- `User-Agent` string, required
- `X-Clover-Device-Id` string, required
- `X-POS-Id` string, required
- `X-Clover-Timeout` integer

## Request body

- OpenCashDrawerRequest
  - `cashDrawerId` string: An id obtained from the list of ids in the retrieve cash drawers call, or null for default.
  - `reason` string: The reason for opening the cash drawer

## Response `200`

A response from a Clover device indicating whether or not the cash drawer may have opened.

- OpenCashDrawerResponse
  - `cashDrawerId` string: The id of the cash drawer that was signaled to open. Note that a successful response actually indicates that the the cash drawer likely opened, but could have failed due to mechanical/electrical issues or because that cash drawer is not actually connected, or it may simply be locked.

## Other responses

- `209`: Operation was canceled.
- `400`: The request is invalid, and subsequent calls will continue to fail; do not repeat the call.
- `401`: An invalid bearer token has been provided. The call may be repeated if the provided bearer token is updated.
- `415`: The request is invalid, and contains request data in an unsupported format. This call may be repeated if the content is changed to a supported format.
- `500`: The request processing failed with an unknown error, and the processing state of the operation is indeterminate. Do not repeat the call without additional analysis.
- `501`: The device does not have the ability to respond to the requested operation; do not repeat the call.
- `503`: The device is not available because it is currently servicing another call. This can be repeated at a later time, or cancel may be called to end the current operation.
- `504`: The Device did not respond in a timely manner. This can be repeated at a later time.

---

[API](https://skmtc.dev/clover/apis/clover-card-present-rest-api.md) - [All operations](https://skmtc.dev/clover/apis/clover-card-present-rest-api/llms.txt) - [OpenAPI document](https://skmtc.dev/clover/apis/clover-card-present-rest-api/revisions/5f7829c5114f?raw)
