> ## Documentation Index
> Fetch the complete documentation index at: https://devzone.nayax.com/llms.txt
> Use this file to discover all available pages before exploring further.

# stopCardDetect

> Deactivate the terminal reader and cancel the card detection phase.

The `stopCardDetect` method is a utility command used to manually deactivate the terminal's reader. This serves to maintain control over the user experience when a transaction is abandoned or a different workflow is required.

Use this method to:

* Terminate the detection phase if a customer cancels the operation at the pump or POS.
* Close the reader safely if a locally managed timeout is reached without user interaction.
* Clear the reader state to prepare the terminal for a different command or a return to the idle screen.

Example of the stop detection screen on a Nayax device:

<Frame>
  <img src="https://mintcdn.com/nayax-44d6e37b/m67OpFNtnK3NuGDB/images/stop-card-detect.jpg?fit=max&auto=format&n=m67OpFNtnK3NuGDB&q=85&s=dde554bc1cc4b76fc3327b37d3c7eaea" alt="stopCardDetect" width="232" height="391" data-path="images/stop-card-detect.jpg" />
</Frame>

## Requests

This request is a simple trigger and does not require a `data` object. You must provide the standard `command` and a unique `requestId`.

The following example shows a typical request:

```json theme={null}
{
"command": "stopCardDetect",
"requestId": "req-004"
}
```

### Parameter definitions

The table below describes the required fields for the stop request:

| Name          | Type   | Required | Description                                    |
| :------------ | :----- | :------- | :--------------------------------------------- |
| **command**   | string | Yes      | Set to `"stopCardDetect"`.                     |
| **requestId** | string | Yes      | A unique identifier for tracking the response. |

## Responses

The terminal acknowledges the command once the reader has been successfully disabled.

The following example shows a typical response:

```json theme={null}
{
"requestId": "req-004"
}
```

### Response parameters

The response confirms the termination of the detection session:

| Name          | Type   | Description                                           |
| :------------ | :----- | :---------------------------------------------------- |
| **requestId** | string | Echoes the unique identifier of the original request. |
