https://www.rewardscards.com/calculateminimumdue.asp
How do major credit-card issuers calculate minimum-due payments each month?