Skip to content

Create an in-console charging intent

POST
/api/charging-intents/create/in-console

Post /api/charging-intents/create/in-console

Request Body required

object
chargerId
required
string
connectorId
required
integer
> -9007199254740991 <= 9007199254740991

Responses

200

Response for status ok

object
success
required
boolean
chargingIntent
required
object
id
required
string format: uuid
idTag
required
string
<= 20 characters
chargerId
required
string
connectorId
integer
<= 9007199254740991
chargingSessionId
string
userId
string
type
required
string
Allowed values: InApp PersonalKeycard PlugNCharge InConsole GenericKeycard InfostarKeycard InfostarRoom AutoCharge Unknown
startType
required
string
Allowed values: Remote Local
details
object
pushNotificationPreferences
object
afterEnergy
number
>= -9007199254740991 <= 9007199254740991
afterDuration
number
>= -9007199254740991 <= 9007199254740991
afterPrice
string
createdAt
required
string format: date-time
updatedAt
required
string format: date-time

400

Response for status badRequest

object
success
required
boolean
message
required
string

403

Response for status forbidden

object
success
required
boolean
message
required
string

404

Response for status notFound

object
success
required
boolean
message
required
string

500

Response for status internalServerError

object
success
required
boolean
message
required
string