What is the origin of the idiom put your money where your mouth is?

when people play poker and they bluff or something like that, if the other person thinks they are bluffing, they say "put your money where your mouth is" which they meant that they wanted you to put in a alot of money to prove he wasnt bluffing.