Connection Models
| Model | Transport | Creation method | Typical use | Key consideration |
|---|---|---|---|---|
| SDK — USB / Serial | Direct physical link (serial) | CreateUsb | POS next to automation system; no or limited network | Cable disconnect drops the channel; re-establish required |
| SDK — Network (HTTP) | Wi-Fi or Ethernet (HTTP) | CreateHttp | Same local network; most common deployment | Network stability and reconnection logic matter |
| Cloud2Cloud | Cloud-mediated (remote) | CreateCloud | Remote or distributed terminals; no local network access | Depends on an external cloud service; handle latency and reconnection |
SDK Mode (USB / HTTP)
The SDK mode connects to a terminal on the same local network or cable. It offers two transports.
USB / Serial Connection
CreateUsb to initialize the connection. USB connections are sensitive to physical interruptions—if the cable is disconnected, the channel is lost and must be re-established.Network Connection (HTTP)
CreateHttp to establish the connection, allowing flexible placement of devices. Network stability is critical; temporary interruptions may require reconnection logic, especially when setup parameters are involved.Cloud2Cloud Connection
CreateCloud to open the channel; no hostname or port is required, because the cloud routes each command to the registered terminal. This mode suits remote or distributed deployments where the terminal and the automation system run in different locations. Cloud connections depend on an external service, so plan for latency and reconnection.Unified Connector Abstraction
Regardless of the connection model used, a Connector instance is always returned, the same device operation functions are available, business logic remains unchanged, and the communication lifecycle is identical. This abstraction allows partners to switch connection models without refactoring payment logic.
Choosing a Connection Model
The choice depends on physical deployment constraints, network availability and reliability, security and operational requirements, and scalability needs. All models are fully compliant with the Integrated POS specification and supported equally by the integration libraries.
For full parameter details and examples per connection type, see the specific connection guides.
Next Steps
- See Integrated POS Architecture for how the Connector fits into the overall flow.
- Follow the Quick Start to run your first payment using HTTP or another model.
On this page