Get the cost charges associated with this trip
Security
oAuth2ClientCredentials
GET
import requests
trip_id = "YOUR_trip_id_PARAMETER"
url = "https://api.qargo.com/v1/trips/trip/" + trip_id + "/costs"
headers = {"Authorization": "Bearer <YOUR_TOKEN_HERE>"}
response = requests.get(url, headers=headers)
data = response.json()
print(data)Response
{ "charges": [ {} ] }