A Washington grain terminal will pay nearly a million dollars to settle a lawsuit with the Columbia Riverkeeper, which claimed the terminal failed to get proper permits.