Bartering is a subskill under Intelligence, which affects both the prices a player pays to a NPC for items and the cash received when the player sells items to a NPC.