public string C2BPaymentConfirmationRequest(string TransType, string TransID,
                                             string TransTime, string TransAmount, string BusinessShortCode, string BillRefNumber,
                                             string InvoiceNumber, string OrgAccountBalance, string ThirdPartyTransID,
                                             string MSISDN, KYCInfo KYCInfo, KYCInfo KYCinfo)
 {
     //save to your db and return success
     return("Success?");
 }
        public C2BPaymentValidationResult C2BPaymentValidationRequest(string TransType, string TransID,
                                                                      string TransTime, string TransAmount, string BusinessShortCode, string BillRefNumber,
                                                                      string InvoiceNumber, string MSISDN, KYCInfo KYCInfo, KYCInfo KYCinfo)
        {
            var dx = "";//dx is just a var showing you how to verify, perhaps pull row from your db using TransID

            if (dx != null)
            {
                return(new C2BPaymentValidationResult
                {
                    ResultCode = "0",
                    ResultDesc = "Service processing successful",
                    //ThirdPartyTransID = dx.ThirdPartyTransID
                });
            }
            else
            {
                return(new C2BPaymentValidationResult
                {
                    ResultCode = "1",
                    ResultDesc = "Service processing unsuccessful",
                    ThirdPartyTransID = ""
                });
            }
        }