public void findReports() { string url = "https://staging-api.payhub.com/api/v2/"; string oauth = "107d74ab-4a18-4713-88ff-69bd05710086"; Merchant merchant = new Merchant(); merchant.organization_id = 10127; merchant.terminal_id = 215; TransactionSearchParameters tsp = new TransactionSearchParameters(); tsp.AmountFrom = "1"; tsp.AmountTo = "1002"; tsp.CardLast4Digits = "4507"; tsp.BatchIdFrom = "1300"; tsp.BatchIdTo = "1320"; tsp.Email = "marrighi"; tsp.TransactionType = "Sale"; tsp.ResponseCode = "00"; tsp.FirstName = "First"; tsp.LastName = "Cont"; tsp.PhoneNumber = "(415) 479 1349"; tsp.TrnDateFrom = "2015-04-01 00:00:00"; tsp.TrnDateTo = "2015-04-30 00:00:00"; tsp.CardType = "MasterCard"; tsp.CardToken = "9999000000001853"; tsp.Swiped = "true"; tsp.Source = "3rd Party API"; TransactionManager transaction = new TransactionManager(url, oauth, merchant); List<TransactionReportInformation> tri = transaction.findTransactions(tsp); Console.Write(tri.ElementAt(0).CustomerName); }