---
title: "Cancel a Terminal Request"
method: POST
path: "/shop/terminal-requests/{terminalRequestId}/cancel"
tags: ["TerminalRequests"]
---

# Cancel a Terminal Request

`POST /shop/terminal-requests/{terminalRequestId}/cancel`

This endpoint cancels a Terminal Request.

## Response `200`

The Terminal Request was successfully retrieved

- object
  - `data` TerminalRequest, required
    - `id` string, object-id, required — The ID of the request.
    - `site_id` string, uuid, required — The ID of the site the request is associated with.
    - `terminal_id` string, required — The serial number of the terminal associated with the request.
    - `service_id` string, required — The ID of the service the request is associated with.
    - `status` 'pending' | 'succeeded' | 'failed', required — The status of the request.
    - `amount` integer, nullable, required — The amount being sent to the terminal in the request.
    - `succeeded_at` string, date-time, nullable, required — The date and time the request was successfully completed.
    - `failed_at` string, date-time, nullable, required — The date and time the request failed.
    - `processor_data` object, required — An object of key-value pairs containing the response from the terminal operation.

## Other responses

- `401` — The user is unauthenticated
- `403` — The authenticated user does not have permission.
- `404` — The resource couldn't be found

---

[API](https://skmtc.dev/try/apis/trybe-api.md) · [All operations](https://skmtc.dev/try/apis/trybe-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/try/trybe-api/revisions/f37f92702da5/schema)
