---
title: "Delete Payment Code"
method: DELETE
path: "/v1/payment-codes/{id}"
tags: ["Payment Code"]
---

# Delete Payment Code

`DELETE /v1/payment-codes/{id}`

Deletes a payment code by ID. This operation is only allowed if the code hasn't been used.

## Path parameters

- `id` string, required — Unique identifier of the payment code to delete.

## Headers

- `Monime-Version` 'caph.2025-08-23' | 'caph.2025-06-20', nullable — Specifies which version of the Monime API will handle this request.
- `Monime-Space-Id` string, required — The value is the tenancy parameter that Monime uses to determine which space the request is intended for.

## Response `200`

OK

- object
  - `success` boolean — Represents the status of the query operation, confirming if it was successful. This field is always true
  - `messages` unknown[] — Contains a list of messages providing relevant information or feedback related to the query or operation
    - unknown

---

[API](https://skmtc.net/monime/apis/monime-api.md) · [All operations](https://skmtc.net/monime/apis/monime-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/monime/monime-api/versions/bd7f875ea428/schema)
