What is the origin of "You owe me a Coke?"

When I was a kid, you had to do this.

two people say same thing at the same time

Me: Jinx!

(Other person can’t talk now)

Me: (saying) Pinch pinches the other person, Poke pokes the other person, you owe me a coke!

Now they have to get me a coke before they are allowed to talk again or they get pinched/poked again.