protected void lbCancelCard_Click(object sender, EventArgs e) { string merchantId = ConfigurationManager.AppSettings["MerchantID"]; string account = ConfigurationManager.AppSettings["Account"]; string sharedSecret = ConfigurationManager.AppSettings["SharedSecret"]; Merchant merchant = new Merchant(merchantId, account, sharedSecret); Address address = new Address("", "", "", "", "", "", "", ""); PhoneNumbers numbers = new PhoneNumbers("", "", "", ""); Payer payer = new Payer("Business", "test", "", "First", "Second", "", address, numbers, "", new ArrayList()); string cardRef = "card1"; string timestamp = Common.GenerateTimestamp(); RealVaultTransactionResponse resp = RealVault.CardCancelCard(timestamp, cardRef, merchant, payer); lblErrorCode.Text = resp.ResultCode.ToString(); lblResult.Text = resp.Message; }