normalizing payment response