Skip to main content
The getUserInput method prompts the user for a numeric or alphanumeric input on the payment terminal. This is typically used to collect an ID, amount, or any free-form entry required for the transaction or flow. See also the abortGetUserInput method to cancel a pending input request.

Request

JSON-RPC 2.0All methods in TweezerComm follow a JSON-RPC 2.0 structure. See Get Started for more details on how the requests are structured and sent.
To invoke this method, set the method field to getUserInput, and include the service name and parameters as shown below.

Request Parameters

The table below describes the parameters of the request:

Response

A successful request will return the following response:

Response Parameters

The table below describes the response parameters for this method: