There are two reliable, ban-free ways to build up gold in Wizard101. The first is to get genuinely good at the game's minigames, since strong scores translate into a steady flow of gold over time.
The second is to farm the Kraken repeatedly for its gear drops, then sell that equipment in the Bazaar. Keep in mind that reaching the Kraken takes a fair amount of questing in the Triton Avenue area first, so it's more of a mid-game strategy. Both methods are completely legitimate, which means you never have to worry about your account being flagged.