Linked to the ticket. Loaded online or at a till, spent on mobile scanners.
Cash at a festival is slow at the bar and risky in a tent. Putting the balance on the ticket speeds up every transaction and leaves a record of each one.
The same ticket that got the guest in carries their balance. Nothing extra to lose.
Top up before the event from a phone, or at a till on the day with cash.
Vendors take payment on a handheld. No card machine, no signal dependency at the bar.
Who spent what, where and when — settled to vendors against the same record.