1. Home
  2. Docs
  3. API
  4. getUserInput

getUserInput

This method will prompt the user in front of a terminal to enter some information. The “Title” field is used as the prompt, i.e., Enter the tip amount or enter your phone number.  On Pax devices, the value of the title field has to match predefined options specified by Pax. Please contact us for a current list.

The type is the allowed entry characters:
c=currency (Response will NOT have a decimal place included)
n=numeric only
a=alpha only
an=alphanumeric

maxlength=number of characters to limit the user entry to

HTTP Request

1
https://velox360.com/services/api.asmx/getUserInput?key={Key}&password={pwd}&terminalId={Id}&title=Enter%20Tip%20Amount&type=c&maxLength=5

JSON Response (standard transaction response fields)

1
2
3
4
5
6
{
"TerminalID":1082,
"UserInput":"200",
"ResultCode":"Success",
"Message":"Success"
}