Retrieve All Terminals

Lists the terminals registered to a location, returning device details, status, and the most recent transaction time for each.

Request Headers

HeaderRequiredDescription
AuthorizationYesBearer YOUR_ACCESS_TOKEN

Request Parameters

Path Parameters:

ParameterTypeRequiredDescription
location_idintegerYesLocation whose terminals are listed.

A user_id may be supplied to identify the acting user.

cURL Example

curl --request GET \
  --url https://sandbox-api.softpoint.io/interface/v1/locations/65924/terminals \
  --header "Authorization: Bearer YOUR_ACCESS_TOKEN"

Success Response

{
  "terminals": {
    "current_page": 1,
    "data": [
      {
        "id": 8372,
        "id_external": "mfk672",
        "status": 1,
        "location_id": 65924,
        "location_name": "Granite Peak Cafe",
        "serial_number": "xgfrg7t",
        "name": "Front Counter",
        "global_manufacturer_terminal": "Verifone VX 820",
        "global_terminal_mode": "Counter Service",
        "global_tip": "Pay at the Counter",
        "last_transaction": "2023-04-21 13:45:03",
        "app_version": "8.1.14",
        "revenue_center_name": "Main Counter",
        "connected_reader": 1
      }
    ],
    "per_page": 100,
    "last_page": 3,
    "total": 250
  }
}

Response Fields

FieldTypeDescription
terminalsobjectPaginator wrapper.
terminals.dataarrayTerminal records.
data[].idintegerTerminal ID.
data[].serial_numberstringDevice serial number.
data[].namestringFriendly name.
data[].statusintegerStatus.
data[].global_manufacturer_terminalstringDevice make/model.
data[].global_terminal_modestringOperating mode.
data[].last_transactionstringTimestamp of the last transaction.
data[].connected_readerintegerWhether a reader is attached.
data[].revenue_center_namestringAssociated revenue center.

Error Responses

Unauthorized / Token Expired

{
  "error": {
    "code": 10759,
    "message": "Operation timed out. Please try again.",
    "details": { "Exception": "Token has expired" }
  }
}

Status Codes

CodeDescription
200Terminals returned
401Token missing, expired, or invalid

Workflow Placement

A read used to inventory devices at a location and select a terminal_id for payments.

Notes

  • The paginator is nested under a terminals key; iterate pages for large fleets.

Common Mistakes

  • Reading data at the top level instead of under terminals.
Responses

Language
Credentials
Bearer
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
text/plain