PENDING operation, and the terminal processes the command in the background. You then poll the operation to see how it finished.
Terminal operations are administrative commands. They do not start a payment. To take a payment on a terminal, see creating a terminal session.
Available operations
Send a command
PENDING.
Idempotency
Pass anIdempotency-Key header to ensure the same command is only executed once, for example when retrying after a network error.
Check that a terminal is reachable
Thepoll_terminal operation pings the terminal without changing anything on the device. Use it to confirm that a terminal is online and responding, for example before you send another operation or when you are investigating a terminal that customers report as unresponsive.
poll_terminal can be sent regardless of the terminal’s status, so you can also use it on a terminal that is not ACTIVE. The operation ends as COMPLETED when the terminal answers, and as TIMEOUT when no answer arrives within the timeout window.
One operation at a time
A terminal processes one operation at a time. If an operation is already pending for the terminal, the API responds with409 Conflict and a Retry-After header indicating how many seconds to wait before retrying.
List operation results
Poll operations to see how a command finished. The endpoint returns operations and supports filtering byterminal_id and operation_id.
id returned when you sent the command.