Every ticket carries a badge derived from the Square order:
Dine in: an open ticket from Square for Restaurants.
To go: the same, when the ticket name contains "to go", "togo", "takeout", or "pickup". Square does not expose its dining option to apps, so the ticket name is the available signal.
Counter: a quick sale rung and paid in one step.
Pickup: online pickup, with the scheduled time and a curbside flag when set.
Delivery: Square-handled delivery.
A second amber badge names third-party channels such as DoorDash.