> ## Documentation Index
> Fetch the complete documentation index at: https://docs.simplepay.mx/llms.txt
> Use this file to discover all available pages before exploring further.

# List tenant bookings

> Referencia detallada para GET /v1/bookings.

## Uso

Usalo para listar bookings del tenant y reconciliar estados de reservas ya creadas.

## Antes de llamar

| Tema             | Detalle                                          |
| ---------------- | ------------------------------------------------ |
| Metodo           | `GET`                                            |
| Ruta             | `/v1/bookings`                                   |
| Auth             | Bearer API key del ambiente correcto.            |
| Scope            | `bookings:read`                                  |
| Idempotencia     | No aplica para lecturas.                         |
| Guia relacionada | [Bookable Payments](/bookable-payments/overview) |

## Patron recomendado

* Ejecuta esta lectura desde backend cuando incluya datos privados del tenant.
* Consulta el bloque OpenAPI de esta pagina para el shape exacto de parametros, body y respuestas.

## Ejemplo minimo

```bash terminal theme={"theme":{"light":"github-light","dark":"github-dark"}}
curl -sS "https://api.simplepay.mx/v1/bookings" \
  -H "Authorization: Bearer $SIMPLEPAY_API_KEY"
```

## Errores a manejar

* `400` indica payload, parametros o estado invalido.
* `401` o `403` indican API key, ambiente o scopes incorrectos.
* `429` y `5xx` se pueden reintentar con backoff; en writes conserva la misma idempotency key.

## Contrato OpenAPI

El playground, parametros, body y respuestas de abajo salen de `/openapi.json`. Si el contrato cambia, actualiza la spec y regenera esta pagina.


## OpenAPI

````yaml openapi.json GET /v1/bookings
openapi: 3.1.0
info:
  title: SimplePay API
  version: '2026-06-13'
servers:
  - url: https://api.simplepay.mx
security:
  - SimplePayApiKey: []
paths:
  /v1/bookings:
    get:
      summary: List tenant bookings
      operationId: listBookings
      parameters:
        - name: status
          in: query
          required: false
          schema:
            enum:
              - cancelled
              - confirmed
              - expired
              - no_show
              - pending
              - rescheduled
        - name: event_type_id
          in: query
          required: false
          schema:
            type: string
            format: uuid
        - name: customer_id
          in: query
          required: false
          schema:
            type: string
            format: uuid
      responses:
        '200':
          description: Tenant bookings
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BookingListResponse'
components:
  schemas:
    BookingListResponse:
      type: object
      properties:
        data:
          type: array
          items:
            $ref: '#/components/schemas/Booking'
        object:
          const: list
    Booking:
      type: object
      properties:
        amountMinor:
          type: integer
          minimum: 0
        currency:
          type: string
          pattern: ^[a-z]{3}$
        endsAt:
          type: string
          format: date-time
        eventTypeId:
          type: string
          format: uuid
        holdId:
          type: string
          format: uuid
        id:
          type: string
          format: uuid
        metadata:
          type: object
          additionalProperties: true
        object:
          const: booking
        paymentStatus:
          enum:
            - failed
            - paid
            - partially_refunded
            - refunded
            - unpaid
        productId:
          type: string
          format: uuid
        quantity:
          type: integer
          minimum: 1
        refundedAmountMinor:
          type: integer
          minimum: 0
        resourceId:
          type: string
          format: uuid
        simplepayCheckoutSessionId:
          type: string
        startsAt:
          type: string
          format: date-time
        status:
          enum:
            - cancelled
            - confirmed
            - expired
            - no_show
            - pending
            - rescheduled
        tenantCustomerId:
          type: string
          format: uuid
        updatedAt:
          type: string
          format: date-time
  securitySchemes:
    SimplePayApiKey:
      type: http
      scheme: bearer

````