Skip to main content
square.getDeviceCode retrieves DeviceCode with the associated ID.

Example

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

Inputs

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

Output

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