couponsby La Crypta
ApiMint

Void an unredeemed mint

DELETE/api/coupons/{id}/mints/{nonce}
Authorization<token>

Nostr <base64 of kind 27235 event>. Tags: u, method, optional payload (sha256 hex of body), and a random nonce to avoid replay.

In: header

Path Parameters

id*string
Formatuuid
nonce*string

Response Body

application/json

application/json

application/json

curl -X DELETE "https://example.com/api/coupons/497f6eca-6276-4993-bfeb-53cbbbba6f08/mints/string"
{  "mint": {    "nonce": "string",    "status": "minted",    "mintedBy": "string",    "mintedByNpub": "string",    "mintedAt": 0,    "claimedAt": 0,    "voidedAt": 0  }}