//MarkPaymentAsApplied public async Task <dynamic> MarkPaymentAsApplied(PaymentDetailModel model) { Response response = new Response(); SecurityToken token = await GetSecurityToken(); var client = new PaymentGateway.IeBizServiceClient(); var result = await client.MarkPaymentAsAppliedAsync(token, model.invoiceNumber, model.paymentInternalId); return(result); }