OnePay Interview Question

Design a Rate limiter HLD?