NewDash Dots are hereMini apps in Dash, with payments built inLearn more

Payment Code

Delete Payment Code

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

DELETE
/v1/payment-codes/{id}

Authorization

Authorizationstringheaderrequired

Bearer HTTP authentication specified with the header Authorization: Bearer <access_token>

Headers

Monime-Versionstring | nulloptional

Specifies which version of the Monime API will handle this request.

Available options:caph.2025-08-23caph.2025-06-20
Monime-Space-Idstringrequired

The value is the tenancy parameter that Monime uses to determine which space the request is intended for.

Match:^spc-.*$
Length:length <= 64

Path Parameters

idstringrequired

Unique identifier of the payment code to delete.

Match:^pmc-.*$

Response

200 - application/json

OK

successbooleanoptional

Represents the status of the query operation, confirming if it was successful. This field is always true

messagesarray<unknown>optional

Contains a list of messages providing relevant information or feedback related to the query or operation