- Onboarding & offboarding: registering the site & asset with Axle, and assigning responsibility for charging
- Charging: sending information about the user’s requirements, plug-in and plug-out events and charge-now requests, and receiving charging schedules
- Reporting: sending charging session data
View end-to-end flow for smart charging integration
View end-to-end flow for smart charging integration
1. Onboarding & offboarding
Onboard your site and asset
Register the site and EV charger with Axle and enrol them in thefull_asset_schedule_control proposition — the proposition that lets Axle issue full charging schedules to the asset.
Onboard
Create or update a site and its assets, and enrol them in a proposition.
site.email in the onboard payload. A user email is required to process payments through our provider, Stripe. We also send payment-failure notifications and, if enabled, two-factor authentication codes to this address.
As soon as onboarding succeeds, send a plug-in or plug-out event for the charger’s current plug state, along with the user’s tariff and intent. If the EV is already plugged in, Axle can’t schedule this charging session until it gets that plug-in event. See Communicating parameters upon enrolment.
Stop participation
There are two ways to stop a user’s participation. Pick based on what’s actually happening:- Unenrol when the user is opting out of Smart Charging specifically — for example, they turn it off in your app or withdraw consent. The site and assets stay on the platform, any other propositions they’re enrolled in (such as Capacity Market) are unaffected, and they can re-enrol later and still access their payments.
- Offboard when the user is leaving entirely — for example, they’ve moved house, or your support team is removing them. This unenrols from every proposition and deletes the site and its assets per data-retention policies. Payments can no longer be accessed afterwards, so prompt the user to withdraw any outstanding balance first.
Unenrol site
Stop this proposition without deleting the site
Offboard site and assets
Remove the site and its assets
2. Charging
To deliver Smart Charging, we need to know the customer’s tariff, intent, plugin/plugout events, when the user starts or stops a boost, when the user stops charging during the schedule, and when the vehicle refuses charge. We also need you to be able to receive and update charging schedules, and to tell us whether each update was applied. We will issue charging schedules when a user plugs in; when a user updates their tariff or intent; when the charge is not on track to meet the intent; or in response to wider market changes.Sending events
Every event must reach Axle. If a request fails with a network error, a timeout, a429 or a 5xx response, retry it with exponential backoff until it succeeds, keeping the original occurred_at. Don’t retry any other 4xx response: it means the request itself needs fixing.
Send events to Axle as they happen. Axle doesn’t poll your API for them.
Tariff
We need to know the user’s tariff in order to optimise charging. You should send an update whenever the tariff changes.Send tariff
Send or update a user’s tariff
Collect and communicate intent
We need to know how much energy is required and when the vehicle needs to be ready. Together, we refer to this as the user’s intent.Energy requirements
We need to know how much energy is required in kWh. There are different ways to arrive at this number.Ready-by time
We need to know the deadline to deliver the energy requirements. You can collect ready-by with a standard time picker. For more customisation, you can collect separate ready-by times for different:- days of the week
- vehicles
Sending intent
Our recommendation is to communicate intent whenever it changes, to ensure Axle scheduling always uses the most recent values.Send intent
Send or update a user’s charging intent
Plugin and plugout events
Notify Axle when the vehicle plugs in and unplugs, within 1 minute of it happening. A late plug-in delays the first schedule, and a late plug-out leaves Axle planning a charge for a vehicle that has gone.Controlling via car? Axle relies on a “car is home” signal from the car manufacturer before acting on plug-in events — no location or GPS data is needed, only a boolean indicating the vehicle is at home. In practice, this often means your API only forwards plug-in events to Axle when the car is at home; Axle treats every plug-in it receives as a home charge.
Plug-in event
Notify Axle when a vehicle plugs in.
Plug-out event
Notify Axle when a vehicle unplugs.
Charge now (boost)
A charge-now request is often called a boost: the user asks to charge straight away, outside the schedule. Notify Axle whenever a boost starts, whether the user starts it in your app or at the device, and again whenever it ends. Without this, Axle can’t tell a user’s boost apart from a device that isn’t following the schedule, and may send a new schedule that undoes what the user asked for.
Send
charge-now-deleted at the end of every boost, not only when the user cancels it. Axle resumes control of charging when it receives it.
Charge-now event
A boost started.
Charge-now-deleted event
A boost ended.
Stopping charging
Notify Axle whenever the user stops charging during the schedule, whether they do it in your app or at the device. Without this, a stop looks like a charge that’s falling behind, and Axle may send a new schedule that restarts the charging the user just stopped. Sendscheduled-charge-deleted at the moment the user stops charging.
Scheduled-charge-deleted event
The user stopped charging.
Vehicle refusing charge
Notify Axle whenever the device offers power and the vehicle stops drawing it, for any reason. For example, the charge is complete, the vehicle has reached its own charge limit, or it won’t charge for now while its battery is cold. Without this, a vehicle that won’t take more charge looks like a charge that’s falling behind, and Axle may keep scheduling charging it can’t deliver. Sendcharge-refused when it happens. You don’t need to know why the vehicle refused.
Charge-refused event
The vehicle stopped drawing the power the device offers.
Receiving charging schedules
Axle will issue new schedules:- When the user first plugs in
- When the user is already plugged in and one of the following events happens:
- The user’s tariff is updated
- The user’s intent changes
- The charge is not on track to meet the intent, for example because the vehicle is charging more slowly than planned
- Axle reoptimises in response to changes in the wider market
async.
While the vehicle is plugged in, Axle may send an updated schedule as often as every half hour. Your integration should accept a new schedule at any point in the session, and apply each one to the device within 5 minutes of receiving it.
To issue schedules, we need you to make an endpoint available to which we can send API requests.
If you already have an existing API that you think will support smart charging,
we can discuss integrating with that directly. However, our recommendation is
to integrate with our OCPP style request format.
- Specification of charge energy in an industry-standard format
- Stacking of schedules allows fallbacks in case devices go offline. For instance, our schedules should be overlaid upon a “default” schedule which always charges consumers during off-peak times
Charging scenarios
Worked examples showing how different intents and tariffs affect the schedules Axle sends
Schedule status
Provide a way for Axle to check the status of each schedule we send: whether it was applied to the device, rejected or failed, and if it wasn’t applied, why. For example, return an ID when you accept a schedule, and offer an endpoint that returns the status for that ID. Accepting the request may not be enough on its own. A schedule can be accepted by your API and still fail to reach the device, and we need to know so that we can send it again or raise the problem with you.Special case: Communicating parameters upon enrolment
At the time of enrolment, we expect to immediately receive the information we need to schedule a charge. This means you should:- Call either plug-in or plug-out to communicate the plug state of the charger at the moment of enrolment
- Set the user’s tariff
- Set the intent — this can be a default value or the user’s first input
3. Reporting
Send readings
For optimal charging, send energy readings throughout the charging session. Axle uses them to see how fast the vehicle is charging, and adjusts the schedule to best meet the intent by the ready-by time. So the more often we receive data from the device, the better Axle can correct a charge that’s falling behind. While a vehicle is plugged in, the latest reading Axle holds should be no more than 30 minutes old, and we recommend every 5 minutes. The same readings are how Axle verifies delivery and calculates rewards. Smart Charging always needs asset readings, however the site is settled. See the readings reference for which label to use and when to send each reading.Send readings
Notify Axle of asset consumption readings
Next Steps
Payments Overview
How we pay your users and what they see
Payments Integration Guide
Generate payment portal URLs and handle redirects

