Refund Card
//Build Request Object
BackOffice.CardRefundRequest req = new BackOffice.CardRefundRequest();
req.Token.TerminalID = "00000000-0000-0000-0000-000000000000";
req.Token.TerminalKey = "1234567";
req.TestMode = "true";
req.TransactionID = "27e24ebb-b2f0-4fdd-a113-0c43ac926cbf"; // Required Field
req.CreditAmount = "1.00"; // Required Field
req.CustomFields.Field_1 = "Order# 96317";
req.CustomFields.Field_2 = "Customer# A987654";
req.CustomFields.Field_3 = "Rewards# A123456";
req.CustomFields.Field_4 = "";
req.CustomFields.Field_5 = "";
req.CustomFields.Field_6 = "";
req.CustomFields.Field_7 = "";
req.CustomFields.Field_8 = "";
req.CustomFields.Field_9 = "";
req.CustomFields.Field_10 = "";
//Get Response Object
BackOffice.CardRefundResponse resp = conn.RefundCardTransaction(req);
ShowMessage("Transaction ID", resp.TransactionID);
ShowMessage("Response Code", resp.ResponseCode);
ShowMessage("Date/Time Stamp", resp.DateTimeStamp);
ShowMessage("Message", resp.Message);