AltaPay interview question

How would you optimise existing solution within a short timeframe?