---
title: "Cancel a cash operation"
method: DELETE
path: "/v1/cash_operations/{cash_operation_id}"
tags: ["Cash Operations (Viacash)"]
---

# Cancel a cash operation

`DELETE /v1/cash_operations/{cash_operation_id}`

Cancels the cash operation specified in the request URL. You can only use this endpoint to cancel cash operations with a status of `PENDING` or `CREATED`. This method will trigger the `CASH_OPERATION_STATUS_CHANGED` webhook.

## Path parameters

- `cash_operation_id` string, required

## Response `202`

Cancellation request accepted.

## Other responses

- `400` — The cash operation does not have a status value of `PENDING` or `CREATED` and therefore cannot be canceled.
- `403` — You are not authorized to perform this action.
- `404` — The cash operation cannot be found.
- `500` — Internal server error.

---

[API](https://skmtc.net/solarisgroup/apis/transactions.md) · [All operations](https://skmtc.net/solarisgroup/apis/transactions/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/solarisgroup/transactions/revisions/8df83424e244/schema)
