Development
  • Guides
  • API Reference
  • API Explorer
  • SDKs
  • Sample apps
  • System status
Support
  • Developer forums
  • Developer blog
  • YouTube
  • X
More
  • Square Home
  • Square Developer
  • App Marketplace
  • Partner with Square
  • Solutions Partner Program
  • Pricing
  • Sales

© 2026 Square, Inc.

  • Developer terms of service
  • Developer Integration and Marketing Agreement
  • Privacy policy
  • Partnerships
  • Sign In
  • Sign In

    Devices

  • List devices

  • List device codes

  • Create device code

  • Get device code

  • Get device

  • Webhooks

  • device.code.paired

  • device.created

<- Devices API

Devices API

All versions ->

List devicesBeta

GET

 /v2/devices

List devices associated with the merchant.

Currently, only Terminal API devices are supported.

Permissions:DEVICES_READ
Try in API Explorer
Link to section

Query parameters

Example code

Link to section

cursor

string

A pagination cursor returned by a previous call to this endpoint. Provide this cursor to retrieve the next set of results for the original query. See Pagination for more information.

Link to section

sort_order

string

The order in which results are listed.

  • ASC - Oldest to newest.
  • DESC - Newest to oldest (default).
Link to section

limit

integer(32-bit)

The number of results to return in a single page.

Link to section

location_id

string

If present, only returns devices at the target location.

Link to section

Response fields

Link to section

errors

Information about errors that occurred during the request.

Link to section

devices

The requested list of Device objects.

Link to section

cursor

string

The pagination cursor to be used in a subsequent request. If empty, this is the final response. See Pagination for more information.

Link to section

Examples

All versions ->

GET /v2/devices
curl https://connect.squareup.com/v2/devices \ -H 'Square-Version: 2026-11-18' \ -H 'Authorization: Bearer ACCESS_TOKEN' \ -H 'Content-Type: application/json'

Response JSON

{ "devices": [ { "id": "device:995CS397A6475287", "attributes": { "type": "TERMINAL", "manufacturer": "Square", "model": "Square Terminal (1st Gen, v2)", "name": "Square Terminal 5287", "manufacturers_id": "995CS397A6475287", "updated_at": "2025-08-19T13:04:56.335762883Z", "version": "5.57.0067", "merchant_token": "MLCHNZCBWFDZB" }, "components": [ { "type": "APPLICATION", "application_details": { "application_type": "TERMINAL_API", "version": "6.77", "session_location": "LMN2K7S3RTOU3" } }, { "type": "CARD_READER", "card_reader_details": { "version": "4.1.51" } }, { "type": "BATTERY", "battery_details": { "visible_percent": 77, "external_power": "AVAILABLE_CHARGING" } }, { "type": "WIFI", "wifi_details": { "active": true, "ssid": "Staff Network", "ip_address_v4": "10.0.0.7", "secure_connection": "WPA/WPA2 PSK", "signal_strength": { "value": 2 } } }, { "type": "ETHERNET", "ethernet_details": { "active": false } } ], "status": { "category": "AVAILABLE" } }, { "id": "device:998WS21803L03559", "attributes": { "type": "HANDHELD", "manufacturer": "Square", "model": "Square Handheld (1st Gen, v1)", "name": "Square Terminal 3559", "manufacturers_id": "998WS21803L03559", "updated_at": "2025-08-19T12:39:56.335742073Z", "version": "7.21.0017", "merchant_token": "MLCHXZCBWFGDW" }, "components": [ { "type": "APPLICATION", "application_details": { "application_type": "TERMINAL_API", "version": "6.77", "session_location": "LMN2K7S3RTOU3" } }, { "type": "CARD_READER", "card_reader_details": { "version": "4.5.58" } }, { "type": "BATTERY", "battery_details": { "visible_percent": 22, "external_power": "AVAILABLE_CHARGING" } }, { "type": "WIFI", "wifi_details": { "active": true, "ssid": "Staff Network", "ip_address_v4": "10.0.0.7", "secure_connection": "WPA/WPA2 PSK", "signal_strength": { "value": 2 } } }, { "type": "ETHERNET", "ethernet_details": { "active": false } } ], "status": { "category": "NEEDS_ATTENTION" } } ], "cursor": "GcXjlV2iaizH7R0fMT6wUDbw6l4otigjzx8XOOspUKHo9EPLRByM" }