<- Devices webhooks

Devices webhooks

device code paired

EVENT

 device.code.paired

Published when a Square Terminal has been paired with a Terminal API client and the device_id of the paired Square Terminal is available.

Permissions:DEVICE_CREDENTIAL_MANAGEMENT
Link to section

Event payload

Example code

Link to section

merchant_id

string

The ID of the target merchant associated with the event.

Link to section

location_id

string

The ID of the target location associated with the event.

Link to section

type

string

The type of event this represents, "device.code.paired".

Link to section

event_id

string

A unique ID for the event.

Link to section

created_at

string

Read only RFC 3339 timestamp of when the event was created.

Examples for January 25th, 2020 6:25:34pm Pacific Standard Time:

UTC: 2020-01-26T02:25:34Z

Pacific Standard Time with UTC offset: 2020-01-25T18:25:34-08:00

Link to section

data

Data associated with the event.