Bolt Interview Question

Design a payment distributor algorithm