Self-service forfeit of a free ticket (release the seat) #28
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Follow-up from the free-ticket work.
Free tickets have no payment barrier, so holders are much more likely to "flake". Give a holder a way to forfeit a ticket they know they won't use so the seat returns to inventory.
Shape
POST /tickets/{ticket_id}/forfeit), authorized byuser_idmatch (the buyer).release_ticketservice = the inverse ofset_ticket_paid: under the per-event lock, decrementevent.sold, incrementevent.amount_tickets, mark the ticketextra.canceled/forfeited, and republish the NIP-52 event so connected clients see the freed capacity.api_event_register_ticketand theevents_ticket_registerNostr RPC. Otherwise a released seat could still be scanned in.Notes
refund_ticketsvia LNURLrefund_address+sats_paid, event-level/admin-driven); self-service buyer refunds of paid tickets are a separate policy question, out of scope here.