Owner Bookings API
As a venue owner, you can view all bookings made at your venues. These endpoints provide visibility into your business operations and help you track resource utilization.List All My Venue Bookings
Retrieve all bookings across all venues you own, with pagination support.Query Parameters
Page number (0-indexed)
Number of bookings per page
Response
Unique identifier for the booking
ID of the booked resource (court)
ID of the player who made the booking
Date of the booking (ISO 8601 format: YYYY-MM-DD)
Start time of the booking (HH:mm:ss)
End time of the booking (HH:mm:ss)
Amount paid by the player
Currency code (e.g., EUR, USD)
Booking status: CONFIRMED, CANCELLED, EXPIRED
Payment status: PENDING, PAID, FAILED, REFUNDED
Name of the booked resource
Name of the venue
City where the venue is located
Example Response
List Bookings for Specific Venue
Retrieve all bookings for a specific venue you own.Path Parameters
ID of the venue to retrieve bookings for
Query Parameters
Page number (0-indexed)
Number of bookings per page
Response
Returns an array of booking objects with the same structure as “List All My Venue Bookings”.Understanding Booking Status
Bookings can have different statuses throughout their lifecycle:Status Values
- CONFIRMED: Booking is active and the player is expected to show up
- CANCELLED: Booking was cancelled by the player
- EXPIRED: Booking was not paid in time and expired
Payment Status Values
- PENDING: Payment is being processed
- PAID: Payment completed successfully
- FAILED: Payment failed
- REFUNDED: Payment was refunded (typically after cancellation)
Bookings are paginated to improve performance. Use the
page and size parameters to navigate through large result sets. The default page size is 20 bookings.Use Cases
Revenue Tracking
Sum thepricePaid field for all bookings with paymentStatus: PAID to calculate your revenue.
Resource Utilization
Track which resources are most popular by grouping bookings byresourceId.
Daily Schedule
Filter bookings bybookingDate to see your schedule for a specific day.
Owner endpoints provide read-only access to booking information. Owners cannot create or cancel bookings on behalf of players. Only players can create and cancel their own bookings.