Documentation Index
Fetch the complete documentation index at: https://docs.flatpeak.com/llms.txt
Use this file to discover all available pages before exploring further.
When Connect is unable to access the customer’s tariff, it will return to this page.
{
"connect_token": "cot_6587fa4362341be5b524de3b",
"route": "connection_failed",
"direction": "IMPORT",
"type": "COMMODITY",
"live_mode": false,
"actions": [
"EDIT",
"DISCONNECT",
"BACK"
],
"data": {
"connection_type": "DIRECT",
"provider": {
"id": "prv_65b78bbdd8e83b06a60e38c2",
"display_name": "Octopus Energy",
"logo_url": "https://s.flatpeak.com/83b06a60e38c2.png"
}
}
}
Connect may return any of the following request validation errors:| Error Code | Error Description |
|---|
action_missing | Action parameter is required. |
action_invalid | Action parameter XX is not supported. |
Supported actions:
| Action | Result |
|---|
EDIT | Restarts the flow from the Provider Selection page. |
DISCONNECT | Disconnects the tariff and completes the session. |
BACK | Returns previous page. |
CLOSE | Returns callback_url you specified when creating the Connect token. |