American Express interview question

Technical Payment query related question