Authorizations
Body
Connect init session data.
URI or deeplink to redirect customer's session after Connect completes.
"https://app.myapp.com/4623e56fc5c1"
Indicates tariff direction you want to work with. Set to IMPORT or EXPORT.
"IMPORT"
Indicates tariff type you want to work with. Set to COMMODITY or NON_COMMODITY.
"COMMODITY"
URI to redirect the customer’s session at the Handling Callback stage of the Provider login redirect step in the Connect flow. Specify the URI where Connect WebView is hosted, or a deeplink if native app is used.
"myapp://oauth-callback/flatpeak"
Flatpeak customer_id. Connect will add or update the location for the customer ID you specified.
"cus_65e421d1daa4a24082b4f590"
An ID for the customer from your system. Supply when you want to create a customer with this reference.
"CUS0123456789"
Flatpeak location_id. Specify when you want to show the tariff summary to the customer. Connect will return tariff summary route objects enabling your customer to manage tariff connection for that location.
"loc_641b90b758fb8e6293716e40"
An identifier for a location from your system. Use this reference when creating a new location in Flatpeak. You can only supply either location_id or location_reference but not both.
"LOC0123456789"
Flatpeak tariff_id. Specify when you want the customer to update a specific tariff element. Use this parameter after receiving tariff event type webhooks, such as when tariff has expired.
"trf_6597ef46529ab4467502af0b"
Information on the postal address.

