Documentation Index
Fetch the complete documentation index at: https://mintlify.com/ccasro/hub/llms.txt
Use this file to discover all available pages before exploring further.
Player Bookings API
Manage your padel court bookings, create new reservations, and cancel existing bookings.Get My Bookings
Retrieve all bookings for the authenticated player.Endpoint
Response
Returns an array of booking objects.Unique identifier for the booking
ID of the booked resource (court)
ID of the player who made the booking
Date of the booking in ISO format (YYYY-MM-DD)
Start time of the booking in ISO format (HH:MM:SS)
End time of the booking in ISO format (HH:MM:SS)
Amount paid for the booking
Currency code (e.g., EUR, USD)
Booking status:
PENDING, CONFIRMED, CANCELLED, COMPLETEDPayment status:
PENDING, PAID, FAILED, REFUNDEDTimestamp when the booking was cancelled (if applicable)
Reason provided for cancellation
Timestamp when the booking was created
Timestamp when the booking was last updated
Expiration timestamp for pending bookings
Name of the booked resource
Name of the venue where the resource is located
City where the venue is located
Example Request
Example Response
Create Booking
Create a new court booking and initiate payment.Endpoint
Request Body
ID of the resource (court) to book
Date for the booking in ISO format (YYYY-MM-DD)
Start time for the booking in ISO format (HH:MM:SS)
Response
The created booking object (same structure as in Get My Bookings)
Payment client secret for completing the payment
Example Request
Example Response
The
clientSecret should be used with your payment provider to complete the payment process. The booking will expire after 15 minutes if payment is not completed.Cancel Booking
Cancel an existing booking.Endpoint
Path Parameters
ID of the booking to cancel
Request Body
Optional reason for cancelling the booking
Response
Returns the updated booking object with cancellation details.Example Request
Example Response
Cancellation policies may vary by venue. Refunds are typically processed automatically if the booking is cancelled within the allowed timeframe.