REST API
UserInput
POST/v2/Common/UserInput

UserInput prompts the customer to enter a value on the terminal screen. All the responses have GeneralResponse section that informs about successful result or error. See Error Codes and Messages.

Body Parameters

Title*
string
Timeout
number
MaxLength*
number
HiddenInput
boolean
Type*
enum
Tpn
string
RegisterId
string
Authkey*
string
SPInProxyTimeout
number
CustomFields
object
POST/v2/Common/UserInput
1curl --location 'https://test.spinpos.net/v2/Common/UserInput' \
2--header 'Content-Type: application/json' \
3--data '{
4 "Title": "",
5 "Timeout": "",
6 "MaxLength": "",
7 "HiddenInput": false,
8 "Type": "Number",
9 "Tpn": "",
10 "RegisterId": "",
11 "Authkey": "",
12 "SPInProxyTimeout": "",
13 "CustomFields": {}
14}'
Response

// Awaiting response…

Sample response
{
  "InputedString": "",
  "GeneralResponse": {
    "ResultCode": "0",
    "StatusCode": "0000",
    "Message": "",
    "DetailedMessage": "",
    "DelayBeforeNextRequest": null
  }
}