Moneris Interview Question

API related questions, Java, SQL based query