Your connection
to Cancun.
Find a transfer. Get a price. Make a booking.
Everything you need to connect your platform with Cancun Shuttle Systems.
https://api.cancunshuttlesystems.com/v2Authenticate your requests
Use the API key and password issued to your partner account. Send both headers with every /v2 request. No separate customer login is required.
Credentials stay in this page's memory and clear when you reload. Keep them on your server when integrating with your own website or app.
From search to confirmed transfer
Choose a service
Resolve your locations, then request a quote for your trip and passengers.
Set up payment
Create a checkout, confirm it with Stripe Elements, then save the payment method.
Book the transfer
Create the reservation with your checkout UUID and an Idempotency-Key.
Endpoint reference
Open an endpoint to edit its JSON request and see the response. The tester sends requests to this API instance using your credentials. Payment and reservation actions use the connected account.
Connection
GET/v2/pingCheck connection⌄
Verify your partner credentials and API connectivity.
{
"success": true,
"data": {
"status": "ok",
"service": "Cancun Shuttle Systems Partner API"
}
}Locations
GET/v2/locations/topPopular locations⌄
Get active locations and their coordinates.
{
"success": true,
"data": [
{
"name": "Cancun International Airport",
"address": "Cancun International Airport",
"latitude": 21.0365,
"longitude": -86.8515,
"type": "airport"
}
]
}GET/v2/locationsSearch locations⌄
Autocomplete within the website service area. Resolve a place_id with location details before requesting a quote.
{
"success": true,
"data": [
{
"place_id": "google-place-id",
"name": "Marriott Cancun Resort"
}
]
}GET/v2/locations/detailsLocation details⌄
Get a location name, address and coordinates from a Google place_id.
{
"success": true,
"data": {
"name": "Marriott Cancun Resort",
"address": "Hotel Zone, Cancun",
"latitude": 21.0861891,
"longitude": -86.7713935,
"type": "hotel"
}
}Flights
GET/v2/airlinesList airlines⌄
Get active airline codes for airport trips.
{
"success": true,
"data": [
{
"code": "AA",
"name": "American Airlines"
}
]
}POST/v2/flights/timingCheck flight timing⌄
Use the selected quote and service to get the website flight timing, calculated pickup time and booking availability. leg is outbound or return.
{
"success": true,
"data": {
"status": "success",
"time": "14:00",
"pickupTime": "13:40",
"bookingAvailable": "yes"
}
}Booking
POST/v2/quotesGet a quote⌄
Get services and website prices. Quotes expire in 30 minutes. Use trip_type roundtrip and add a return object with date, time, airline_code and flight_number for return trips. The website currently accepts round trips starting at the airport. Airport legs require flight details. Dates and times use the website timezone.
{
"success": true,
"data": {
"quote_id": "quote-uuid",
"expires_at": "ISO-8601 timestamp",
"trip_type": "oneway",
"services": [
{
"service_id": "encoded-rate-id",
"service": {
"name": "Service name"
},
"price": {
"oneway_total_amount": "40.00",
"off_peak_surcharge": "0.00",
"total_amount": "40.00"
}
}
]
}
}Payments
POST/v2/payments/setupStart payment setup⌄
Create a Stripe SetupIntent for the selected quote, service and passenger. Confirm the returned client_secret using Stripe.js / Stripe Elements on your checkout page. Customer data is bound to this checkout.
{
"success": true,
"data": {
"success": true,
"uuid": "checkout-uuid",
"client_secret": "seti_example_secret_example"
}
}POST/v2/payments/methodSave confirmed payment method⌄
After Stripe confirms the SetupIntent, send its payment_method ID. It must belong to this checkout and the SetupIntent must have succeeded.
{
"success": true,
"data": {
"success": true,
"message": "Payment method processed successfully."
}
}POST/v2/payments/authorizeAuthorize payment⌄
Use the website payment authorization flow. It currently authorizes trips within two days; later bookings keep the saved method for the existing website process. When customer authentication is required, error.details includes requires_action and the Stripe client_secret. Complete authentication using Stripe.js, then retry.
{
"success": true,
"data": {
"success": true,
"message": "Payment authorized successfully",
"payment_status": "requires_capture"
}
}Reservations
POST/v2/reservationsCreate reservation⌄
Book the checkout using the website reservation helper. Payment setup and the saved method are required; the website authorization check runs again. Send Idempotency-Key to retry safely. A used checkout returns its existing booking. No API-specific discounts apply.
{
"success": true,
"data": {
"booking_id": "encoded-booking-id",
"outbound": {
"status": "pending",
"voucher_url": "https://cancunshuttlesystems.com/transfer-voucher/ID"
},
"return": null
}
}GET/v2/reservationsList reservations⌄
List this partner account bookings. Optional status, from_date, to_date, page and per_page filters. Pagination is returned in meta.pagination.
{
"success": true,
"data": [
{
"booking_id": "encoded-booking-id",
"outbound": {
"status": "pending"
},
"return": null
}
]
}GET/v2/reservations/{id}Reservation details⌄
Get a booking belonging to your partner account using the encoded booking_id returned by creation or listing.
{
"success": true,
"data": {
"booking_id": "encoded-booking-id",
"outbound": {
"status": "pending"
},
"return": null
}
}POST/v2/reservations/{id}/cancelCancel reservation⌄
Set the booking and its return leg to cancelled using the website reservation updater. This endpoint does not issue a refund or void a Stripe authorization; financial adjustments remain in the existing website workflow.
{
"success": true,
"data": {
"booking_id": "encoded-booking-id",
"outbound": {
"status": "cancelled"
},
"return": null
}
}Responses and errors
Successful responses contain success, data and meta. Errors contain error.code, error.message and field details. Keep meta.request_id when contacting support.
60 requests/minute per partner · 120/minute per IP · Quotes expire after 30 minutes · Checkout and idempotency records last seven days · Respect Retry-After on HTTP 429.