The scrolling display feature allows the client to show a scrolling list of line items on the PIN pad, along with a running subtotal, tax, and total.
The feature is used through the POST /api/v1/scrollingDisplay
endpoint, which accepts one line item and the three amounts mentioned above.
The client is responsible for keeping track of the running totals, so they must be provided with each request to add a line item to the display. The client
is also responsible for formatting each line item and the totals. (i.e. "lineItem":"Cookies......$3.99", "subtotal":"$3.99", "tax":"$0.28", "total":"$4.27"
).
The suggested flow is to make a call to the POST /api/v1/scrollingDisplay
endpoint as each item is scanned. Then, submit a request for the sale, which will clear the display.
To cancel the scrolling display screen, send a request to the POST /api/v1/idle
endpoint to reset the PIN pad.
When sending a request to the endpoint, all of the fields must be present and contain non-whitespace-only content. The number of characters that can fit in the scrolling display box depends on the device,
so perform some testing to make sure your line items fit as expected in the display.