Skip to content

Latest commit

 

History

History
27 lines (19 loc) · 826 Bytes

create-device-code-request.md

File metadata and controls

27 lines (19 loc) · 826 Bytes

Create Device Code Request

Structure

CreateDeviceCodeRequest

Fields

Name Type Tags Description
idempotencyKey string Required 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.
Constraints: Minimum Length: 1, Maximum Length: 128
deviceCode DeviceCode Required -

Example (as JSON)

{
  "device_code": {
    "location_id": "B5E4484SHHNYH",
    "name": "Counter 1",
    "product_type": "TERMINAL_API"
  },
  "idempotency_key": "01bb00a6-0c86-4770-94ed-f5fca973cd56"
}