When was the first baseball betting scandal?

The first baseball betting scandal was in 1865.

First known betting scandal in Base Ball. Three players on a team called the Mutuals were banned from baseball for taking $100 each to “throw” a game.