cURL
curl --request GET \ --url https://api.example.com/trips/{id}
{ "success": true, "message": "Trip retrieved successfully", "data": { "id": "123e4567-e89b-12d3-a456-426614174000", "passengerId": "passenger-uuid-123", "passengerName": "John Doe", "passengerPhone": "+1234567890", "driverId": "driver-uuid-456", "vehicleId": "vehicle-uuid-789", "orderId": null, "requestedVehicleCategoryId": "cat-uuid-auto", "requestedVehicleCategoryName": "Auto", "requestedServiceClassId": "class-uuid-standard", "requestedServiceClassName": "Standard", "currentStatus": "in_progress", "paymentMode": "card", "pickupPoint": { "lat": 40.7580, "lng": -73.9855 }, "pickupAddress": "Times Square, New York, NY", "stops": [ { "seq": 1, "point": { "lat": 40.7614, "lng": -73.9776 }, "address": "Grand Central Terminal, New York, NY", "notes": "Wait at main entrance", "plannedArrivalAt": null, "arrivedAt": null, "completedAt": null } ], "fareEstimatedTotal": 15.50, "fareTotal": null, "fareFinalCurrency": "USD", "fareDistanceKm": null, "fareDurationMin": null, "fareSurgeMultiplier": 1.0, "fareBreakdown": null, "requestedAt": "2025-09-20T14:30:00Z", "acceptedAt": "2025-09-20T14:32:00Z", "pickupEtaAt": "2025-09-20T14:42:00Z", "arrivedPickupAt": "2025-09-20T14:41:00Z", "startedAt": "2025-09-20T14:45:00Z", "completedAt": null, "canceledAt": null, "createdAt": "2025-09-20T14:30:00Z", "updatedAt": "2025-09-20T14:45:00Z" } }
Retrieve detailed information about a specific trip
pending
assigning
accepted
arriving
in_progress
completed
cancelled
no_drivers_found
cash
card
wallet
curl https://api.rodando.com/trips/123e4567-e89b-12d3-a456-426614174000
curl https://api.rodando.com/trips/passengers/passenger-uuid-123/active-trip
curl https://api.rodando.com/trips/drivers/driver-uuid-456/active-trip