Skip to main content
square.createDeviceCode creates a DeviceCode that can be used to login to a Square Terminal device to enter the connected terminal mode.

Example

automations/square-create-device-code.automation.ts

Inputs

Every input accepts a compatible signal. It requires DEVICE_CREDENTIAL_MANAGEMENT. Use the official CreateDeviceCode reference for provider field semantics and limits.

Output

Returns the official Square.CreateDeviceCodeResponse response as a codec-safe object. Square integer money amounts remain bigint values.