No cheat code exists. Assassin's Creed IV: Black Flag has no built-in cheat system for infinite money on any platform.
Combine Fleet missions (passive) with active plundering for millions per hour. No cheats needed.