Skip to main content
POST
Create a new token

Authorizations

Authorization
string
header
required

OAuth2 Client Credentials Flow

Body

application/json
isValid
boolean
required
type
enum<string>
required
Available options:
AD_HOC_USER,
APP_USER,
OTHER,
PAYMENT_TERMINAL,
AD_HOC_PAYMENT_TERMINAL,
RFID,
ROAMING_PARTNER,
VEHICLE
whitelistType
enum<string>
required
Available options:
ALWAYS,
ALLOWED,
ALLOWED_OFFLINE,
NEVER
value
string

A value can optionally be provided when creating a token. For example to register a VEHICLE token you would create a token with the "value" being the VID. For example VID:A1B2C3D4

paymentTerminalId
string
driverId
string
network
string
name
string
expiresAt
string<date-time>

The ISO date time when the token will expire. If not provided, the token will not expire.

Response

A new token has been created.

data
object
required