Direct Connect API & SDKs
Direct Connect provides low-level POS-to-terminal communication via USB, serial, or network connections.
Available SDKs
| Platform | SDK | Notes |
|---|---|---|
| Windows | DirectConnect.dll (C/C#) | Full EMV and contactless support |
| Linux | libdirectconnect.so | C/C++ bindings |
| Any | REST API | For networked terminal connections |
Connection Types
- USB HID — Direct USB to terminal
- Serial (RS-232) — Legacy serial connection
- TCP/IP — Network-connected terminals
C# Quick Example
var terminal = new DirectConnectTerminal(new DirectConnectConfig {
ConnectionType = ConnectionType.USB,
ApiKey = "YOUR_PUBLIC_KEY"
});
terminal.Connect();
var result = terminal.ProcessSale(amount: 29.99m, orderID: "ORDER-789");
Console.WriteLine(result.IsApproved ? "Approved" : "Declined: " + result.ResponseText);