---
title: "Delete a refund by ID"
method: DELETE
path: "/v1/refund/{id}"
tags: ["Refund"]
---

# Delete a refund by ID

`DELETE /v1/refund/{id}`

## Request

- Base URL: `https://api.finalpos.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.finalpos.com/v1/refund/{id}`
- Auth: API key in header `x-api-key`

Deletes a refund by its unique identifier.

## Path parameters

- `id` string, required

## Response `200`

The refund has been successfully deleted.

- DeleteResponseDto
  - `statusCode` number, required: HTTP status code
  - `message` string, required: Message describing the result of the operation

## Other responses

- `400`: Bad request. Returns validation errors or other request-related errors.
- `404`: The refund was not found.

---

[API](https://skmtc.dev/finalpos/apis/final-pos-public-api.md) · [All operations](https://skmtc.dev/finalpos/apis/final-pos-public-api/llms.txt) · [OpenAPI document](https://skmtc.dev/finalpos/apis/final-pos-public-api/revisions/6a6842dcb479?raw)
