PayZen interview question

Rate limiter implementation and promises