Stop 04 of 08 · OCPI modules

How does a token reach the charger?

About 7 min · 3 questions ·

Thursday
The situation

The driver taps the card. The Austrian charger has never seen it before.

Two seconds later: accepted.

The questionHow did the charger know this card, and what if the provider had been offline?

OCPI whitelist typesFour ways to authorise a token
Cached listReal-time checkIf the eMSP is offline
ALWAYScached onlyallowed
ALLOWEDoperator choosesoperator decides
ALLOWED_OFFLINEreal-time firstoffline onlyallowed
NEVERreal-time onlynot allowed

The eMSP sets the whitelist type for each token it shares.

Speed against control

A cached is fast: the operator already knows it and can accept it at once. A real-time check gives the provider control, for example over a blocked card, but it takes longer, which notes can mean a less pleasant wait at the charger.

  • ALLOWED_OFFLINE combines both: normally a real-time check, but when the provider cannot be reached, the operator lets the token charge.
  • For app users and users, OCPI recommends NEVER, real-time only.

From the list to the charger

The operator's backend receives the tokens through OCPI and can pass them to its chargers as a local list, so a charger can accept a card even when its own connection is briefly lost. The tap at the charger then travels as shown in EV charging fundamentals, stop 03: charger to backend over , backend to provider over OCPI where needed.

Check your understanding

3 questions. Answer all of them to complete this stop. Each answer explains itself.

01Question 1 of 3

A token has whitelist type NEVER. What does the operator have to do?

02Question 2 of 3

What does ALLOWED_OFFLINE mean?

03Question 3 of 3

Why might a provider choose cached tokens?

  1. EVRoaming Foundation: OCPI 2.3.0, Tokens module: whitelist types and real-time authorisation. https://github.com/ocpi/ocpi/blob/2.3.0/release/core/mod_tokens.asciidoc. Checked 09 Oct 2026.
  2. EVRoaming Foundation: OCPI 2.3.0, Tokens module: whitelist types and real-time authorisation. https://github.com/ocpi/ocpi/blob/2.3.0/release/core/mod_tokens.asciidoc. Checked 09 Oct 2026.
  3. EVRoaming Foundation: OCPI 2.3.0, Tokens module: whitelist types and real-time authorisation. https://github.com/ocpi/ocpi/blob/2.3.0/release/core/mod_tokens.asciidoc. Checked 09 Oct 2026.
  4. EVRoaming Foundation: OCPI 2.3.0, Tokens module: whitelist types and real-time authorisation. https://github.com/ocpi/ocpi/blob/2.3.0/release/core/mod_tokens.asciidoc. Checked 09 Oct 2026.
Was this helpful?