public string GetPayment(string paymentId) { var mp = new MP(ConfigurationManager.AppSettings["MPAccessToken"]); var paymentInfo = mp.getPayment(paymentId); var response = JsonConvert.SerializeObject(paymentInfo["response"]); return(response); }
public string GetPayment(string paymentId) { var mp = new MP(ConfigurationManager.AppSettings["MPAccessToken"]); var paymentInfo = mp.getPayment(paymentId); var response = JsonConvert.SerializeObject(paymentInfo["response"]); return(response); }