Skip to main content

Getting Consent

When a market requires consent, you'll need to redirect your end-consumer to our consent flow. This guide explains how to handle this process.

Why Consent is Required

Whether consent is required depends on the market and your site's eligibility. Some markets require an explicit consent from the end-consumer to participate, so we can prove this to network operators.

Responsibility

You are responsible for ensuring your end-consumers complete the consent flow. This means:

  1. You must detect when consent is required from the market eligibility response
  2. You must redirect your end-consumers to our consent flow
  3. You must provide a valid redirect URL where end-consumers can return after completing the process

The consent flow cannot be completed without your involvement - it's a critical part of the market activation process.

Details​

When a market requires consent, you'll receive a URL in the market eligibility response. For example:

{
"name": "BE_DSO_FLUVIUS_CONGESTION",
"status": "action_required",
"action": {
"name": "consent_required",
"url": "https://app.powernaut.io/contract/123e4567-e89b-12d3-a456-426614174000/sign"
}
}

Before redirecting your end-consumer to the provided URL, you must append a redirect_url query parameter to specify where end-consumers should be redirected after completing the consent flow.

Required Parameter

The redirect_url query parameter is required. The consent flow will not work without a valid redirect URL where we can send end-consumers after they complete the process.

Example of a properly constructed consent URL:

const consentUrl = new URL(action.url);
consentUrl.searchParams.append("redirect_url", "https://your-app.com/callback");
// Redirect end-consumer to consentUrl.toString()

Our consent flow will:

  1. Guide the end-consumer through the consent process
  2. Explain the market participation details
  3. Capture their consent in a compliant way
  4. Redirect them back to your application using the provided redirect_url
info

After consent is captured, the market status will automatically update to active. You can verify this by querying the markets endpoint again.

Customization​

The consent URL supports several query parameters to customize the experience:

ParameterRequiredDescription
redirect_urlYesURL where end-consumers will be redirected after consent is captured
countryNoISO 3166-1 alpha-2 country code to limit address suggestions
localeNoAn IETF BCP 47 locale code. Supported locales are en, fr, nl.
Portal - Under Construction

The feature to customize the branding of the consent flow (colors, logos, etc.) in the Powernaut Portal is currently under construction.

If you need to set up your branding, please reach out to us.

Examples​

There are several ways to implement the consent flow, depending on your application's needs and user experience preferences:

Native Application​

The most direct approach is to redirect end-consumers within your native mobile application when you detect that consent is required. This works well when:

  • End-consumers are actively engaged in your application
  • You want to maintain the most seamless user experience
  • You have control over the end-consumer's current session

You can use the redirect_url query parameter to redirect the end-consumer to a page in your application.

Email Notification​

Another option is to send a consent link via email, you can just send the consent URL to the end-consumer and let them open it in their browser.

Redirect URL

For an optimal user experience, you should make sure that the redirect_url query parameter of the URL is set to a page in your (web) application that clearly shows a message that they're now active in the market.

Other Channels​

You can also implement the consent flow through other channels such as:

  • Push notifications
  • SMS notifications
  • In-app messages
  • Customer support interactions
  • Physical mail (with QR codes)
Best Practice

Choose the implementation method that best matches your end-consumers' preferences and your application's existing communication channels. The key is to ensure end-consumers can easily access and complete the consent flow.

Next Steps​

Once consent is captured:

  1. Send us your baselines
  2. Start reporting your flexibility, by bidding
  3. Handle activations when the grid needs your flexibility