Wix Interview Question

How would you implement a Rate Control for a Mailing Service ?