Adyen interview question

Technical and design question. Adyen formula.