Creates a DeviceCode that can be used to login to a Square Terminal device to enter the connected terminal mode.
Open in API Reference
The device code to create.
The targeting product type of the device code.
A string that contains no characters. In an API request this value will appear as ''. Can be used to remove a field’s value.
''
The location assigned to this code.
An optional user-defined name for the device code.
A unique string that identifies this CreateDeviceCode request. Keys can be any valid string but must be unique for every CreateDeviceCode request.
See Idempotency keys for more information.
// No response received yet.