GET /ping
/revenue-terminals/ping
Pings the terminal to establish a WebSocket connection.
Parameters should be passed as query parameters.
| The IP address of the terminal |
| The port number of the terminal for the connection |
| An identifier for the terminal |
POST /card-sale
/revenue-terminals/card-sale
Processes a card sale transaction.
Parameters should be passed as query parameters.
| The IP address of the terminal |
---|---|
| The port number of the terminal for the connection |
| The monetary amount of the card sale transaction (in decimal format) |
| An identifier for the terminal |
...
Processes a debit sale transaction.
Parameters should be passed as query parameters.
| The IP address of the terminal |
---|---|
| The port number of the terminal for the connection |
| The monetary amount of the debit sale transaction (in decimal format) |
| The monetary amount of the debit sale transaction (in decimal format) to be added |
| An identifier for the terminal |
cancelSale
Endpoint
Method
Description
Request Example
Respond Example
...
POST /cancel-sale
/revenue-terminals/cancel-sale
Cancels the current sale transaction.
Parameters should be passed as query parameters.
| The IP address of the terminal |
| The port number of the terminal for the connection |
| An identifier for the terminal |
voidSale
Endpoint
Method
Description
...