LimeChain interview question

how would you design a payment api?