Skip to main content
If you want to use Terminal API requests to retrieve transaction totals of a terminal or reconcile balance mismatches, you must first make a Terminal API request to log in to the terminal. This login request can additionally mark events like a change of operator or the start of a new shift, so that you can get the totals by operator or shift. The login request does not authenticate the operator.

Requirements

Before you begin, take into account the following requirements.

Log in to the terminal

  1. Make a Terminal API login request, specifying:
    • The standard SaleToPOIRequest.MessageHeader object, with MessageClass set to Service and MessageCategory set to Login.

    JSON

    Java

  2. In the LoginResponse, check the following:
    • Response.Result: Success indicates that you logged in to the terminal.
    • POIStatus: Indicates if the terminal is ready for use.
After logging in, the terminal saves the provided values. The values remain in effect until a new login request is processed for the same terminal, or until you log out from this terminal.

Log out from the terminal

  1. Make a Terminal API logout request, specifying:
    • The standard SaleToPOIRequest.MessageHeader object, with MessageClass set to Service and MessageCategory set to Logout.

    JSON

    Java

  2. In the LogoutResponse, check the following:
    • Response.Result: Success indicates that you logged out from the terminal.

See also