4D Payments SDK 2016 .NET Edition
4D Payments SDK 2016 .NET Edition
Questions / Feedback?

DeactivateDevice Method

Deactivates a POS terminal.

Syntax

[VB.NET]
Public Sub DeactivateDevice()
[C#]
public void DeactivateDevice();

Remarks

DeactivateDevice is used to deactivate a previously activated terminal identified by GenKey.

The following Merchant fields are applicable when calling this method:

The following additional properties are also applicable:

After calling this method check Code and confirm it is "A3" to indicate the deactivation succeeded. The following Response fields are populated:

DeactivateDevice Example:

TSYSTerminalMgr1.Merchant.BankId = "999999";
TSYSTerminalMgr1.Merchant.CategoryCode = "9999";
TSYSTerminalMgr1.Merchant.Name = "TESTMERCHANT";
TSYSTerminalMgr1.Merchant.Number = "888000002447";
TSYSTerminalMgr1.Merchant.StoreNumber = "5999";
TSYSTerminalMgr1.Merchant.TerminalNumber = "1234";
TSYSTerminalMgr1.Merchant.Zip = "27516";
TSYSTerminalMgr1.Merchant.ServicePhone = "6023337807";
TSYSTerminalMgr1.TransactionNumber = 1234;
TSYSTerminalMgr1.GenKey = "MY_GEN_KEY";
TSYSTerminalMgr1.DeactivateDevice();

if (TSYSTerminalMgr1.Response.Code == "A3") //deactivated
  //...

 
 
Copyright (c) 2020 4D Payments Inc. - All rights reserved.
4D Payments SDK 2016 .NET Edition - Version 16.0 [Build 7422]