Session Flow
Requested Session:
- A session is created via API call to the central system with an
autoStart
value offalse
orundefined
. This may also be done via a mobile app or other remote system. - The session is in the
INITIALIZED
status. The central system will then exchange communication with the station to start a charge. - The station acknowledges the request to start a charge. The session status changes to
CONFIRMED
. - The station starts the charge. The session status changes to
ACTIVE
. If the station denies the request or does not start a charge within two minutes of the session being created, the session status changes toDENIED
. - The active session collects meter readings at regular intervals.
- The station stops the transaction. The session enters the
PROCESSING
stage. - The central system calculates the total cost of the session using the meter readings collected during the
ACTIVE
stage. - The session is marked for
Manual Review
if it fails any of the validations or checks. Otherwise, it enters theSANITY CHECK
stage. - In the
SANITY CHECK
stage, the session is validated for validity of the various components, such as the total session cost and energy. If the session fails any of the sanity checks, it is flagged forManual Review
. - In the
MANUAL REVIEW
stage, the session is manually reviewed by a support specialist to determine the cause of the failure and to correct the session's cost and energy values. Once the session has been reviewed, it transitions to theCOMPLETE
stage. - The session reaches the
COMPLETE
stage once it has been successfully processed and has passed all the validations and checks. This phase indicates that the session is ready to be billed.
Auto Start Session:
- A session is created via API call to the central system with an
autoStart
value oftrue
. This is typically done by the station itself. - The session is initialized in the
ACTIVE
state. - The active session collects meter readings at regular intervals.
- The station stops the transaction. The session enters the
PROCESSING
stage. - The central system calculates the total cost of the session using the meter readings collected during the
ACTIVE
stage. - The session is marked for
Manual Review
if it fails any of the validations or checks. Otherwise, it enters theSANITY CHECK
stage. - In the
SANITY CHECK
stage, the session is validated for validity of the various components, such as the total session cost and energy. If the session fails any of the sanity checks, it is flagged forManual Review
. - In the
MANUAL REVIEW
stage, the session is manually reviewed by a support specialist to determine the cause of the failure and to correct the session's cost and energy values. Once the session has been reviewed, it transitions to theCOMPLETE
stage. - The session reaches the
COMPLETE
stage once it has been successfully processed and has passed all the validations and checks. This phase indicates that the session is ready to be billed.