Two ways to connect
Call the API
For a POS that can make HTTPS requests: send each action to the gateway and read the JSON or XML answer.
Use the Mojo Payments CLI
For an on-premises POS that runs a program and reads a file: the
mojo command does the HTTPS call for it.