For the longest time, I thought it was some kind of lottery system -- pay X gold for a minor chance of a much larger gold payout (buying a piece of junk from a customer that turns out to be a rare artifact).
Yeah, a lottery would be simpler. I'd be fun to code a little slot-machine. =)