Appearance
Terminal Register
Request Example
The PosId is always required. Either a SerialNumber or TerminalId is required to return the device token. If the SerialNumber is used but not found, a new device token will be issued for approval by the POS. If a TokenId is used, it will be looked up and the existing device token will be returned.
POST to endpoint /terminal
sh
curl -sS https://f1ysoj9np6.execute-api.us-west-2.amazonaws.com/dev/terminal \
-H "Content-Type: application/json" \
-H "Authorization: <APIToken>" \
-d '
{
"PosId": "",
"SerialNumber": "",
"TerminalId": ""
}
'
Response Example
json
{
"PosId": "",
"TerminalId": "",
"Token": "",
"Approved": true,
"ResponseText": "Approved"
}