Diamond Foods will pay a fine of US$5m to settle charges related to an accounting scandal that saw the company delay recording payments to walnut growers in order to inflate profits.