Receive request
connect_token
is a unique, time-limited token used to authenticate the session.Obtain session context
account
object contains FlatPeak customer details, including links to their logo, Terms of Service, Support and Privacy Policy. Use this information on your Sharing Consent screen, as described later in this article.The redirect_uri
field contains your authentication URI to which the user was redirected. It is included for audit purposes.The connect_web_uri
field conlains URI where you will redirect customer’s session after they completed interaction with your service.Identify your customer
Login screen
Obtain tariff sharing consent
account
object from the Session Context response to populate this consent screen.Consent screen
Submit session status to FlatPeak API
Redirect customer back to FlatPeak
connect_web_uri
provided in the Session Context response, append the connect_token
.auth_data
object to authenticate requests.
This request shall retrieve the customer’s tariff, and we expect the response to include the following objects (in your own format):