//ReceivedPayment public async Task <dynamic> ReceivedPayment(PaymentDetailModel model) { Response response = new Response(); SecurityToken token = await GetSecurityToken(); var client = new PaymentGateway.IeBizServiceClient(); var result = await client.GetPaymentsAsync(token, model.customerId, model.customerInternalId, model.fromDateTime, model.toDateTime, model.start, model.limit, model.sort); return(result); }