As part of the settlement, Amazon will pay $1.5 billion in refunds to customers, who could receive $51 each from the payout.