Applies to: Terminal API
Learn how to customize how buyers interact with the Square Terminal through screen workflows.
In addition to processing checkouts and refunds, the Terminal API allows you to configure buyer-facing screen interactions for the Square Terminal and build non-payment-related workflows that collect buyer information. You can configure these custom screen workflows using Terminal actions.
Display screens with Terminal actions
With the CreateTerminalAction endpoint, you can send action requests that trigger the Square Terminal to display a screen. In the request, you can customize the screen text and how the buyer provides their information on the screen's input fields.
In a Terminal action request, you specify the action type in the request body for a given screen. The Terminal API provides the following Terminal action types:
- Confirmation screen - Allows you to collect a buyer's confirmation decision to the terms displayed on the screen.
- Signature capture - Allows you to capture a buyer's signature for their records.
- Data collection - Allows you to collect contact information from the buyer, such as a phone number and email address.
- Menu select - Allows you to display a list of options for the buyer to select.
- QR code display - Allows you to display a QR code for buyers to scan.
Important
After 30 days, Square deletes any buyer data that you captured from custom workflows and are returned from completed actions. If required, you must store the buyer data within the 30-day period.
Choose a type of buyer screen engagement to set up for the Square Terminal:
You can also link multiple screens to display in sequence for a given screen workflow and dismiss actions. For more information, see Link and Dismiss Terminal Actions.