Skip to content

Latest commit

 

History

History
41 lines (33 loc) · 925 Bytes

create-device-code-response.md

File metadata and controls

41 lines (33 loc) · 925 Bytes

Create Device Code Response

Structure

Create Device Code Response

Fields

Name Type Tags Description
errors List Error Optional Any errors that occurred during the request.
device_code Device Code Optional -

Example (as JSON)

{
  "device_code": {
    "code": "EBCARJ",
    "created_at": "2020-02-06T18:44:33.000Z",
    "id": "B3Z6NAMYQSMTM",
    "location_id": "B5E4484SHHNYH",
    "name": "Counter 1",
    "pair_by": "2020-02-06T18:49:33.000Z",
    "product_type": "TERMINAL_API",
    "status": "UNPAIRED",
    "status_changed_at": "2020-02-06T18:44:33.000Z",
    "device_id": "device_id0"
  },
  "errors": [
    {
      "category": "MERCHANT_SUBSCRIPTION_ERROR",
      "code": "INVALID_EXPIRATION",
      "detail": "detail6",
      "field": "field4"
    }
  ]
}