The firm revealed in January of last year that hackers had breached its payment systems in an incident which took place two years ago and subsequently stole confidential details belonging to customers and clients.
According to reports, the payments firm set aside $140 million to cover the cost of damages paid out to firms whose data had been compromised.
In a statement, Heartlands explained that the $5 million was the final payment to be made and would resolve âall issues related to the 2008 intrusionâ.
Bob Carr, Heartland's chairman and chief executive officer, said: âWe are pleased to have reached an equitable settlement with Discover.
"This settlement marks our final agreement with a card brand related to the intrusion."
Other payments included $59.3 million in to banks issuing Visa cards, $41.4 million to MasterCard Worldwide and an estimated $3.5 million to American Express.
A gang of hackers led by Albert Gonzalez is believed to have been responsible for the crime.
By Jim Ottewill