Activate an Unused card
Hand out a printed card: card_state goes Unused -> Active, optionally with a valid_until date. Until then the card is refused (Invalid). 409 if already Active.
Authentication
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.
Path parameters
token_id
Request
This endpoint expects an object.
valid_until
reason
expected_revision
Response
Successful Response
id
Token id on the gateway.
id_token
RFID UID or idTag the charger sends.
status
Authorization status, e.g. Accepted or Blocked.
id_token_type
OCPP 2.x IdTokenType, e.g. ISO14443.
cache_expiry_date_time
When chargers must stop trusting a cached authorization.
parent_id_tag
OCPP parentIdTag: the token group the token belongs to.
prepaid_balance
Remaining prepaid balance, as a decimal string.
real_time_auth
True when every use must be authorized online.
provider_id
Issuing provider id on the gateway.
description
Free-text notes.
deleted_at
When the token was soft-deleted.
card_number
Number printed on the card.
card_state
Card issuance state; Unused cards are refused by Authorize.
Allowed values:
valid_until
Card validity; past it Authorize answers Expired.
allow_simultaneous_charging
Whether this card may authorize another charge while it has an active transaction.
status_reason
Why the status last changed, e.g. a block reason.
status_changed_at
When the status last changed.
revision
Increases on every change; pass as expected_revision to guard writes.
Errors
401
Unauthorized Error
404
Not Found Error
409
Conflict Error
422
Unprocessable Entity Error
429
Too Many Requests Error
502
Bad Gateway Error
504
Gateway Timeout Error