JPMorganChase interview question

How you will design payment gateway