Post terminal operation
Send a command to a payment terminal.
The response is returned immediately after the command is dispatched to the terminal. The terminal’s response is processed asynchronously.
scopes:
- admin:checkout
- write:checkout:/admin/terminals
Authorizations
Bearer authentication (token authentication) should be used for accessing the API.
Use Get Token to get an access token for client credentials. Pass the token in the request header:
Authorization: Bearer {access_token}
where the access_token is JSON Web Tokens (JWT).
Headers
Optional idempotency key to ensure the operation is only executed once.
Body
Response
Terminal operation created
- end_of_day
- send_logs
- check_update
Terminal operation. The shape depends on the operation field.
Unique identifier for the terminal operation.
Identifier of the terminal the operation was sent to.
end_of_day, send_logs, check_update Status of the terminal operation.
PENDING: Operation has been dispatched to the terminal and is awaiting a response.COMPLETED: Terminal has responded and the operation finished successfully.FAILED: Terminal responded but reported a failure.TIMEOUT: No response was received from the terminal within the timeout window. A new operation can be dispatched.
PENDING, COMPLETED, FAILED, TIMEOUT When the operation was created.
Identity of the user or system that created the operation.
When the operation was last updated.
Identity of the user or system that last updated the operation.
Account identifier the operation belongs to.
Parameters of the operation.
Present when status is COMPLETED.