Canceling the current action

When the POS needs to stop the in-progress action, use the /v1/device/cancel endpoint. The welcome screen is shown after the cancellation is complete.

Prerequisites

  • The POS is connected to the device using a network or cloud connection

Steps

  1. Send an empty POST request to the /v1/device/cancel endpoint. Be sure to include the required headers for the request you are making.

The action in progress is displayed. An empty JSON object is also returned.

  1. See Showing the welcome screen for instructions on displaying the default idle screen, or take the action that is appropriate for your situation.

Did this page help you?