Lloyds Banking Group interview question

Code how will you test API given some JSON response