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.
This step is returned when Connect cannot automatically determine the customer’s tariff region.
This typically happens when:
- The property sits near the boundary between two tariff regions.
- An incomplete
postal_address was provided earlier in the flow.
The customer must select their region before the connection process can continue.
{
"connect_token": "cot_6587fa4362341be5b524de3b",
"route": "region_select",
"direction": "IMPORT",
"type": "COMMODITY",
"live_mode": false,
"actions": [
"BACK"
],
"data": {
"provider": {
"id": "prv_65de3024be51ded101a3a555",
"display_name": "EDF",
"logo_url": "https://s.flatpeak.com/1ded101a3a555.png"
},
"regions": [
"CORS",
"FR"
]
}
}
Actions
Following actons are supported when responding to Connect on this route:| Action | Result |
|---|
BACK | Returns previous page. |
CLOSE | Returns callback_url you specified when creating the Connect token. |
Errors
When you POST your response to Connect, the following validation errors may be returned:| Error Code | Error Description |
|---|
data_json_invalid | Data does not conform to the JSON schema. |