Fiserv interview question

How would you create an API