Store a new device

Endpoint to register a new device in the system

Required Scopes

The API Key calling this endpoint must have one of the following scopes:

  • pcx:devices:*
  • pcx:devices:create
Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required
^\d{12}$

Numeric ID of the account

Body Params

Create a new device record for the account

string | null
^[A-Za-z0-9_\- ]{1,25}$
Defaults to null

The label for the device

string
required
length between 1 and 30
^[a-zA-Z0-9]{1,30}$

The serial number of the device

string | null
^[a-zA-Z0-9]{1,25}$
Defaults to null

The alias for the device

string
enum
required

The type of device used to run a transaction

boolean
Defaults to true

It describes if the status is enabled (true) or not (false)

Responses

Language
Credentials
Basic
base64
:
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json