GET
/
connect
/
tariff
/
token
curl --request GET \
  --url https://api.flatpeak.com/connect/tariff/token \
  --header 'Authorization: Bearer <token>'
{
  "id": "cot_65e0839faca22517d5d51cd5",
  "object": "connect_token",
  "live_mode": true,
  "customer_id": "cus_65e421d1daa4a24082b4f590",
  "customer_reference_id": "CUS0123456789",
  "location_id": "loc_641b90b758fb8e6293716e40",
  "location_reference_id": "LOC0123456789",
  "is_tariff_processed": true,
  "complete_action": "SAVE",
  "time_created": "2023-05-05T18:37:27Z",
  "time_expiry": "2023-12-28T03:00:00Z"
}

Authorizations

Authorization
string
header
required

Authenticate with bearer_token you obtained from /login endpoint.

Query Parameters

connect_token
string

FlatPeak Connect completion token.

Example:

"cot_65e0839faca22517d5d51cd5"

Response

200
application/json

Example response

The response is of type object.