All versions ->

Copy link to request setupRun requestRun
POST/v2/devices/codes

Create device code

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

Sign in
SandboxProduction

Access Tokens

Sign in to populate your access tokens from the developer dashboard Sign in

Link to section

Body

idempotency_key

string

Required

A string that contains no characters. In an API request this value will appear as ''. Can be used to remove a field's value.

Generate

device_code

Required

POST /v2/devices/codes

Response

// No response received yet.