Amazon customers had a pleasant surprise in their email inbox this morning: credits from a settlement between some of the largest U.S. book publishers and a coalition of state attorneys general.

People who purchased ebooks between April 1, 2010 and May 21, 2012 are entitled to a credit of $3.17 per New York Times bestseller and $0.73 for other books.

See also: Amazon Knows What You Want Before You Buy It

The case claimed that five major publishers — Hachette, HarperCollins, Simon & Schuster, Macmillan and Penguin — and Apple colluded to artificially inflate the price of ebooks. Only the publishers have agreed to a settlement, while Apple continues to fight the case.

Apple recently appealed a judge's ruling that found the company had violated antitrust laws in this matter.

As people opened their emails, they also took to Twitter to discuss their settlements.

$39.21 Amazon credit for the state attorneys general book pricing settlement in the US. Mixed feelings. — John Gapper (@johngapper) March 25, 2014

$34.35 in Kindle credits. Thanks, State Attorneys General and Class Plaintiffs! — Matt Yglesias (@mattyglesias) March 25, 2014