static void ValidatePayment() { Configuration.Secret = File.ReadAllText("../../../../../SECRET").Trim(); Configuration.ReceiverId = Int32.Parse(File.ReadAllText("../../../../../RECEIVER_ID").Trim()); String notificationToken = File.ReadAllText("../../../../../NOTIFICATION_TOKEN").Trim(); PaymentsApi a = new PaymentsApi(); try { PaymentsResponse r = a.PaymentsGet(notificationToken); System.Console.WriteLine("PAYMENT_ID: " + r.PaymentId); System.Console.WriteLine("TRANSACTION_ID: " + r.TransactionId); System.Console.WriteLine("AMOUNT: " + r.Amount); System.Console.WriteLine("CURRENCY: " + r.Currency); System.Console.WriteLine("STATUS: " + r.Status); } catch (Exception e) { Console.WriteLine(e); } System.Console.Read(); }