curl --request POST \
--url https://api.flatpeak.com/connect/tariff/token \
--header 'Authorization: Bearer <bearer_token>' \
--header 'Content-Type: application/json' \
--data '{
"type": "COMMODITY",
"location_id": "loc_641b90b758fb8e6293716e40",
"connect_web_uri": "http://localhost:7070",
"callback_uri": "<any service that can receive webhooks>",
"postal_address": {
"address_line1": "1-3",
"address_line2": "Strand",
"city": "London",
"state": "Greater London",
"post_code": "WC2N 5EH",
"country_code": "GB"
}
}'