Toys like this have been popular since Pigs in Clover (also spelled Pigs-in-clover) was invented by Charles Martin Crandall and then patented on September 10, 1889.
The game was a craze in the United States from mid-February to May 1889, at 8 000 puzzles being produced daily according to The Waverly Free Press.
[1][2][3][4][5] In some versions, a wooden labyrinth is tilted using two knobs and the ball has to be navigated past a series of holes and obstacles.
[2] Another version, usually molded in transparent plastic, uses the ball as a key to opening an internal compartment by manipulating the ball into position, and then operating a sliding mechanism that releases an access door.
They are sometimes called "Money Maze" banks or puzzle boxes.