Welcome to the Candy Crush Saga Community
Do you have a question or need help with your game? Ask the Community.
Unfortunately if you accidentally buy anything in the game with gold bars there is no way to get your gold back. In fact it is far too easy to misclick on anything and the game never asks for confirmation, which is very annoying. The only advice I'd give be extra careful where you click in future. If you accidentally make a purchase with real money then follow the advice given by the moderator and contact Support.