OnePay interview question

Design a Rate limiter HLD?