---
title: "(Sandbox only) Test cash operation process"
method: PATCH
path: "/v1/cash_operations/{cash_operation_id}"
tags: ["Cash Operations (Viacash)"]
---

# (Sandbox only) Test cash operation process

`PATCH /v1/cash_operations/{cash_operation_id}`

This endpoint allows you to manually update the status of a cash operation. You may only use this endpoint on Sandbox. You may only use this endpoint on cash operations with a `status` of `CREATED`, and you may only supply the values `PAID`, `CANCELED`, or `EXPIRED`.

## Path parameters

- `cash_operation_id` string, required

## Request body

- UpdateCashOperationRequest
  - `status` 'PAID' | 'EXPIRED' | 'CANCELLED', required — The status to apply to the cash operation.

## Response `204`

Cash operation patched successfully.

## Other responses

- `400` — The cash operation does not have a status value of `CREATED` and therefore cannot be updated.
- `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)
