• Sign In
  • Sign In
  • Home

  • Payments

  • Terminal

  • Orders

  • Subscriptions

  • Invoices

  • Catalog

  • Inventory

  • Customers

  • Loyalty

  • Gift Cards

  • Bookings

  • Business

    • Merchants

    • Merchant Custom Attributes

    • Locations

    • Location Custom Attributes

    • Devices

    • Cash Drawers

    • Vendors

  • Team

  • Financials

  • Online

  • Auth

  • Webhook Subscriptions

  • Objects & Enums

  • Webhook Events

  • Deprecated

  • SDKs

<- Square API

Square API

Devices

Manages a pairing between a third-party Point of Sale application and a Square Terminal in a seller location.

  • Endpoints

  • Webhooks

List device codes

GET/v2/devices/codes

Lists all DeviceCodes associated with the merchant.

Create device code

POST/v2/devices/codes

Creates a DeviceCode that can be used to login to a Square Terminal device to enter the connected terminal mode.

Get device code

GET/v2/devices/codes/{id}

Retrieves DeviceCode with the associated ID.

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

© 2023 Square, Inc.

  • Developer terms of service
  • Privacy policy