public async Task <dynamic> SearchRecurringPayments(RecurringDetailModel model) { SecurityToken token = await GetSecurityToken(); var client = new PaymentGateway.IeBizServiceClient(); Customer customer = await client.GetCustomerAsync(token, "409", ""); dynamic response = await client.SearchRecurringPaymentsAsync(token, model.scheduledPaymentInternalId, model.customerId, model.customerInternalId, model.fromDateTime, model.toDateTime, model.start, model.limit, model.sort); return(response); }