For the complete documentation index, see llms.txt. This page is also available as Markdown.

Customer Input

API for retrieving input from consumer using SensePass Tags and EMV devices.

API Interface

Get customer input

POST https://api.sensepass.com/api/transactions/customer-input

For terminal agent invoke use this endpoint: http://localhost:8003/api/transactions/customer-input

Request Body

Name
Type
Description

deviceId*

string

unique device ID provided by SensePass

inputs*

array

See Transactions entity schema: Transaction Model

{
  "success": true,
  "error": null,
  "results": [
    {
      "type": "email",
      "question": "Please input your email address",
      "input": "a@b.com"
    },
    {
      "type": "phone",
      "minimumLength": 10,
      "question": "Please input your phone number",
      "input": "1234567890"
    }
  ]
}    
{
    // Response
}

Example - Simple Questions

Example - Yes/No Questions

Clear all questions on device

Clear customer input

POST https://api.sensepass.com/api/transactions/customer-input/reset

For terminal agent invoke use this endpoint:

http://localhost:8003/api/transactions/customer-input/reset

Request Body

Name
Type
Description

deviceId*

string

unique device ID provided by SensePass

Last updated

Was this helpful?