Terminal Gateway
Terminal Gateway is the companion application that manages physical payment terminal connections for Xendit’s In-Person Payment platform. It acts as a bridge between your POS system (via the Terminal API) and physical payment devices, handling device communication, transaction orchestration, and status monitoring.What Terminal Gateway does
Terminal Gateway provides essential infrastructure for terminal payment processing:- Device Management: Connect and manage multiple physical payment terminals from various providers (BRI, NTT (previously GHL), CashUp, SHC)
- Transaction Orchestration: Route payment sessions from the Terminal API to the appropriate terminal device
- Real-time Monitoring: Track terminal status, connectivity, and transaction progress
- Connection Modes: Support both host-to-host (cloud-based) and client-to-client (local network) integration patterns
- Multi-device Support: Orchestrate concurrent payment sessions across different terminals
Terminal Gateway works alongside the Terminal API (H2H) to provide complete in-person payment functionality. The Terminal API creates payment sessions while Terminal Gateway manages the physical terminal connections and executes the transactions.
Integration architecture
Platform availability
Terminal Gateway is available as:Connection modes
Terminal Gateway supports two integration patterns:Host-to-Host (Recommended)
Your POS system connects to Xendit’s Terminal API in the cloud, which routes payment sessions to Terminal Gateway running on your device. This centralizes management and scaling. Use when:- Managing multiple locations or devices
- Need centralized monitoring and reporting
- Want simplified network configuration
Client-to-Client
Your POS system connects directly to Terminal Gateway over the local network using the RESTful API. Gateway handles all terminal communication independently. Use when:- Running fully local POS systems
- Need offline-capable terminals (internet still required for payment processing)
- Bundling POS and terminals for retail distribution
Getting started
Configure connection
Set up your client key, choose connection mode (host-to-host or client-to-client), and configure terminal providers
Connect terminals
Pair your physical payment terminals with Terminal Gateway following provider-specific instructions