Skip to main content
GET
/
connect
/
tariff
/
token
Exchange a connect 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

Query Parameters

connect_token
string
Example:

Response

id
string
required
Example:
object
string
required
Example:
live_mode
boolean
required
Example:
location_id
string
required
Example:
location_reference_id
string
required
Example:
is_tariff_processed
boolean
required
time_created
string
required
Example:
time_expiry
string
required
Example:
customer_id
string
Example:
customer_reference_id
string
Example:
complete_action
string
Example: