BookingDetailsResponse
Normalised booking details.
Outcome of the lookup: ok or failed. The booking status is booking_details.booking.status.
okbooking_details object
The normalised booking: the same keys for every provider.
Version of this structure: "3".
3booking objectrequired
Booking identity and status.
tp_booking_ref objectrequired
Your internal_reference.
- string
- null
healthyprovider objectrequired
Provider.
- string
- null
healthysupplier_booking_id objectrequired
Provider booking id.
- string
- null
healthysupplier_confirmation_number objectrequired
Provider confirmation number. Show it on the voucher.
- string
- null
healthyBooking status.
Possible values: [confirmed, pending, cancellation_pending, cancelled, failed, unknown]
confirmedsupplier: live provider lookup. book_reference: status recorded at book time. null when status is unknown.
Possible values: [supplier, book_reference]
book_referencesupplier_status objectrequired
Provider's own status word.
- string
- null
healthybooked_at objectrequired
Booking time, ISO 8601 UTC.
- string
- null
healthytrip objectrequired
The ride.
transfer_type objectrequired
airport, point_to_point or hourly.
- string
- null
healthydirection objectrequired
arrival, departure, outbound, return or round_trip.
- string
- null
healthypickup objectrequired
A pickup or drop-off location.
airport or address.
Possible values: [airport, address]
airportiata objectrequired
Airport IATA code.
- string
- null
healthyname objectrequired
Place or airport name.
- string
- null
healthyterminal objectrequired
Terminal.
- string
- null
healthyaddress objectrequired
Address.
- string
- null
healthyLatitude.
18.9217Longitude.
72.8332dropoff objectrequired
A pickup or drop-off location.
airport or address.
Possible values: [airport, address]
airportiata objectrequired
Airport IATA code.
- string
- null
healthyname objectrequired
Place or airport name.
- string
- null
healthyterminal objectrequired
Terminal.
- string
- null
healthyaddress objectrequired
Address.
- string
- null
healthyLatitude.
18.9217Longitude.
72.8332pickup_datetime objectrequired
Pickup, ISO 8601 local time with offset when known.
- string
- null
healthytimezone objectrequired
IANA time zone of the pickup.
- string
- null
healthyflight objectrequired
Flight.
airline objectrequired
Airline.
- string
- null
healthynumber objectrequired
Flight number.
- string
- null
healthyTerminal.
healthydatetime objectrequired
Flight time, local.
- string
- null
healthyReturn pickup, for a round trip booked as one leg.
healthyBooked hours (hourly hire).
4Where the addresses come from.
Possible values: [supplier, book_snapshot, mixed]
book_snapshotfalse: the provider's route differs from what was booked. null: not comparable.
truepassengers objectrequired
Passengers.
lead objectrequired
Lead passenger.
name objectrequired
Name.
- string
- null
healthyemail objectrequired
Email.
- string
- null
healthyphone objectrequired
Phone.
- string
- null
healthyAdults.
2Children.
0Infants.
0Total passengers.
2vehicle objectrequired
Vehicle.
category objectrequired
Provider's category, free text.
- string
- null
healthymodel objectrequired
Example model.
- string
- null
healthyAlways true.
trueSeats.
3Suitcases.
3Number of vehicles.
1image_url objectrequired
Picture.
- string
- null
healthyservice objectrequired
Service and meeting the driver.
type objectrequired
Provider's service type.
- string
- null
healthyRide time, or booked duration (hourly).
45Driver waits inside with a name sign.
falseWaiting time included.
33meeting_point objectrequired
Where to meet the driver.
- string
- null
healthypickup_instructions objectrequired
Provider instructions for the passenger; multi-line.
- string
- null
healthyChild seats booked.
0Booster seats booked.
0Code the passenger gives the driver.
healthypackage objectrequired
Package included.
Hours.
4Kilometres.
100Days.
Package code.
healthyLabel.
healthyextra_charges objectrequired
Charges beyond the package.
extra_km_rate objectrequired
Per extra km.
- Money
- null
An amount in the requested currency.
Amount.
18ISO 4217 currency: the requested currency.
INRextra_hour_rate objectrequired
Per extra hour.
- Money
- null
An amount in the requested currency.
Amount.
18ISO 4217 currency: the requested currency.
INRnight_charge objectrequired
Night charge.
- Money
- null
An amount in the requested currency.
Amount.
18ISO 4217 currency: the requested currency.
INRdriver_allowance objectrequired
Driver allowance.
- Money
- null
An amount in the requested currency.
Amount.
18ISO 4217 currency: the requested currency.
INRdriver objectrequired
Driver; usually known shortly before pickup.
Name.
healthyPhone.
healthyPhoto.
healthyNumber plate.
healthysupplier_contact objectrequired
Provider customer contact.
name objectrequired
Name.
- string
- null
healthyphone objectrequired
Phone.
- string
- null
healthyemail objectrequired
Email.
- string
- null
healthysupport_phone objectrequired
Support phone.
- string
- null
healthyprice objectrequired
Price.
Booked price.
2509.96currency objectrequired
ISO 4217.
- string
- null
healthyAmount in the booking currency (the search's currency), when the provider reports it.
2509.96cancellation objectrequired
Cancellation terms and outcome.
free_cancellation_until objectrequired
Last moment for free cancellation, ISO 8601 (local with offset when known).
- string
- null
healthyFree cancellation up to this many hours before pickup.
0policy_text objectrequired
Policy in words.
- string
- null
healthyrules object[]required
Refund steps.
Hours before pickup.
4Refund in percent of the price.
100true once cancelled.
falsecancelled_at objectrequired
Cancellation time, ISO 8601 UTC.
- string
- null
healthyRefund.
400refund_currency objectrequired
Refund currency.
- string
- null
healthyOrigin of the refund amount.
Possible values: [supplier, policy_estimate]
policy_estimateOrigin of cancelled_at.
Possible values: [supplier, tp_cancel]
tp_cancelsupplier_voucher_url objectrequired
Provider's own voucher page, when offered.
- string
- null
healthyvoucher_data objectdeprecated
Deprecated: identical copy of booking_details.
Version of this structure: "3".
3booking objectrequired
Booking identity and status.
tp_booking_ref objectrequired
Your internal_reference.
- string
- null
healthyprovider objectrequired
Provider.
- string
- null
healthysupplier_booking_id objectrequired
Provider booking id.
- string
- null
healthysupplier_confirmation_number objectrequired
Provider confirmation number. Show it on the voucher.
- string
- null
healthyBooking status.
Possible values: [confirmed, pending, cancellation_pending, cancelled, failed, unknown]
confirmedsupplier: live provider lookup. book_reference: status recorded at book time. null when status is unknown.
Possible values: [supplier, book_reference]
book_referencesupplier_status objectrequired
Provider's own status word.
- string
- null
healthybooked_at objectrequired
Booking time, ISO 8601 UTC.
- string
- null
healthytrip objectrequired
The ride.
transfer_type objectrequired
airport, point_to_point or hourly.
- string
- null
healthydirection objectrequired
arrival, departure, outbound, return or round_trip.
- string
- null
healthypickup objectrequired
A pickup or drop-off location.
airport or address.
Possible values: [airport, address]
airportiata objectrequired
Airport IATA code.
- string
- null
healthyname objectrequired
Place or airport name.
- string
- null
healthyterminal objectrequired
Terminal.
- string
- null
healthyaddress objectrequired
Address.
- string
- null
healthyLatitude.
18.9217Longitude.
72.8332dropoff objectrequired
A pickup or drop-off location.
airport or address.
Possible values: [airport, address]
airportiata objectrequired
Airport IATA code.
- string
- null
healthyname objectrequired
Place or airport name.
- string
- null
healthyterminal objectrequired
Terminal.
- string
- null
healthyaddress objectrequired
Address.
- string
- null
healthyLatitude.
18.9217Longitude.
72.8332pickup_datetime objectrequired
Pickup, ISO 8601 local time with offset when known.
- string
- null
healthytimezone objectrequired
IANA time zone of the pickup.
- string
- null
healthyflight objectrequired
Flight.
airline objectrequired
Airline.
- string
- null
healthynumber objectrequired
Flight number.
- string
- null
healthyTerminal.
healthydatetime objectrequired
Flight time, local.
- string
- null
healthyReturn pickup, for a round trip booked as one leg.
healthyBooked hours (hourly hire).
4Where the addresses come from.
Possible values: [supplier, book_snapshot, mixed]
book_snapshotfalse: the provider's route differs from what was booked. null: not comparable.
truepassengers objectrequired
Passengers.
lead objectrequired
Lead passenger.
name objectrequired
Name.
- string
- null
healthyemail objectrequired
Email.
- string
- null
healthyphone objectrequired
Phone.
- string
- null
healthyAdults.
2Children.
0Infants.
0Total passengers.
2vehicle objectrequired
Vehicle.
category objectrequired
Provider's category, free text.
- string
- null
healthymodel objectrequired
Example model.
- string
- null
healthyAlways true.
trueSeats.
3Suitcases.
3Number of vehicles.
1image_url objectrequired
Picture.
- string
- null
healthyservice objectrequired
Service and meeting the driver.
type objectrequired
Provider's service type.
- string
- null
healthyRide time, or booked duration (hourly).
45Driver waits inside with a name sign.
falseWaiting time included.
33meeting_point objectrequired
Where to meet the driver.
- string
- null
healthypickup_instructions objectrequired
Provider instructions for the passenger; multi-line.
- string
- null
healthyChild seats booked.
0Booster seats booked.
0Code the passenger gives the driver.
healthypackage objectrequired
Package included.
Hours.
4Kilometres.
100Days.
Package code.
healthyLabel.
healthyextra_charges objectrequired
Charges beyond the package.
extra_km_rate objectrequired
Per extra km.
- Money
- null
An amount in the requested currency.
Amount.
18ISO 4217 currency: the requested currency.
INRextra_hour_rate objectrequired
Per extra hour.
- Money
- null
An amount in the requested currency.
Amount.
18ISO 4217 currency: the requested currency.
INRnight_charge objectrequired
Night charge.
- Money
- null
An amount in the requested currency.
Amount.
18ISO 4217 currency: the requested currency.
INRdriver_allowance objectrequired
Driver allowance.
- Money
- null
An amount in the requested currency.
Amount.
18ISO 4217 currency: the requested currency.
INRdriver objectrequired
Driver; usually known shortly before pickup.
Name.
healthyPhone.
healthyPhoto.
healthyNumber plate.
healthysupplier_contact objectrequired
Provider customer contact.
name objectrequired
Name.
- string
- null
healthyphone objectrequired
Phone.
- string
- null
healthyemail objectrequired
Email.
- string
- null
healthysupport_phone objectrequired
Support phone.
- string
- null
healthyprice objectrequired
Price.
Booked price.
2509.96currency objectrequired
ISO 4217.
- string
- null
healthyAmount in the booking currency (the search's currency), when the provider reports it.
2509.96cancellation objectrequired
Cancellation terms and outcome.
free_cancellation_until objectrequired
Last moment for free cancellation, ISO 8601 (local with offset when known).
- string
- null
healthyFree cancellation up to this many hours before pickup.
0policy_text objectrequired
Policy in words.
- string
- null
healthyrules object[]required
Refund steps.
Hours before pickup.
4Refund in percent of the price.
100true once cancelled.
falsecancelled_at objectrequired
Cancellation time, ISO 8601 UTC.
- string
- null
healthyRefund.
400refund_currency objectrequired
Refund currency.
- string
- null
healthyOrigin of the refund amount.
Possible values: [supplier, policy_estimate]
policy_estimateOrigin of cancelled_at.
Possible values: [supplier, tp_cancel]
tp_cancelsupplier_voucher_url objectrequired
Provider's own voucher page, when offered.
- string
- null
healthyerror object
Set when status is failed.
- UnifiedError
- null
Why a recheck, book, booking-details or cancel did not succeed.
recheck_failed, recheck_error, unavailable, currency_unavailable, book_failed, book_error, book_outcome_unknown, booking_details_failed, booking_details_error, cancel_failed, cancel_error or cancel_outcome_unknown. New codes may be added.
book_outcome_unknownExplanation, often with the provider's reason. Do not parse.
The booking outcome could not be confirmed with the provider. Do not book again: retry the same request (same internal_reference) later, or contact support w...Provider.
provider_a{
"status": "ok",
"booking_details": {
"details_version": "3",
"booking": {
"tp_booking_ref": "ORDER-10001",
"provider": "provider_a",
"supplier_booking_id": "01aa00bb11cc22dd33ee44ff55667781",
"supplier_confirmation_number": "PRV0000001",
"status": "confirmed",
"status_source": "supplier",
"supplier_status": "confirmed",
"booked_at": "2026-10-23T06:33:43+00:00"
},
"trip": {
"transfer_type": "airport",
"direction": "arrival",
"pickup": {
"type": "airport",
"iata": "BOM",
"name": "Bombay Mumbai Chhatrapati Shivaji International Airport",
"terminal": null,
"address": "Bombay Mumbai Chhatrapati Shivaji International Airport",
"lat": 19.088699,
"lng": 72.867897
},
"dropoff": {
"type": "address",
"iata": null,
"name": "The Taj Mahal Palace",
"terminal": null,
"address": "Apollo Bunder, Colaba, Mumbai 400001",
"lat": 18.9217,
"lng": 72.8332
},
"pickup_datetime": "2026-11-26T10:30:00+05:30",
"timezone": "Asia/Calcutta",
"flight": {
"airline": "AI",
"number": "AI101",
"terminal": null,
"datetime": "2026-11-26T09:30:00+05:30"
},
"return_datetime": null,
"hours": null,
"locations_source": "supplier",
"route_matches_booking": true
},
"passengers": {
"lead": {
"name": "Jane Doe",
"email": "jane.doe@example.com",
"phone": "+442079460000"
},
"adults": 2,
"children": 0,
"infants": 0,
"total": 2
},
"vehicle": {
"category": "Sedan",
"model": "Toyota Corolla",
"or_similar": true,
"max_passengers": 3,
"max_bags": 3,
"count": 1,
"image_url": "https://images.example.com/vehicles/sedan.png"
},
"service": {
"type": null,
"duration_minutes": 45,
"meet_and_greet": false,
"free_waiting_minutes": 33,
"meeting_point": "Bombay Mumbai Chhatrapati Shivaji International Airport",
"pickup_instructions": "For Customers Who Paid for \"Meet&Greet\" Service:\nIf you have paid for the Meet&Greet service, your driver will be waiting for you at the arrival hall holding a sign with your name.\n\nFor Customers Who Did Not Pay for \"Meet&Greet\" Service:\nIf you havent paid for the Meet&Greet service, your driver will contact you via text message to confirm the meeting point. Please ensure your phone is switched on and accessible.\n\nIn Case of Difficulty Finding Your Driver:\nIf you cannot locate your driver, please contact the 24/7 hotline immediately:\n\n\\*Airport have the WIFI, PLEASE CONNECT IT.",
"child_seats": null,
"booster_seats": null,
"pin_to_start_ride": null,
"package": {
"hours_included": null,
"km_included": null,
"days": null,
"code": null,
"label": null
},
"extra_charges": {
"extra_km_rate": null,
"extra_hour_rate": null,
"night_charge": null,
"driver_allowance": null
},
"driver": {
"name": null,
"phone": null,
"photo_url": null,
"vehicle_plate": null
},
"supplier_contact": {
"name": "Example Transfers Ltd",
"phone": "+442079460001",
"email": "support@example.com",
"support_phone": "+442079460002"
}
},
"price": {
"total": 2509.96,
"currency": "INR",
"paid": 2509.96
},
"cancellation": {
"free_cancellation_until": "2026-11-25T10:30:00+05:30",
"free_cancellation_hours": 24,
"policy_text": "100% refund if cancelled at least 24h before pickup",
"rules": [
{
"hours_before_pickup": 24,
"refund_percent": 100
}
],
"cancelled": false,
"cancelled_at": null,
"refund_amount": null,
"refund_currency": null,
"refund_source": null,
"cancelled_at_source": null
},
"supplier_voucher_url": null
},
"error": {
"code": "booking_details_failed",
"message": "Booking lookup failed: try again later",
"provider": "provider_a"
}
}