Creates a DeviceCode that can be used to login to a Square Terminal device to enter the connected terminal mode.
POST
/v2/devices/codes
Creates a DeviceCode that can be used to login to a Square Terminal device to enter the connected terminal mode.
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.