> ## 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.

# Get Bookable Payments integration primitives and blueprints

> Referencia detallada para GET /v1/bookable-payments/config.

## Uso

Usalo dentro de Bookable Payments para modelar inventario reservado, calcular disponibilidad, crear holds, convertirlos en checkout y confirmar bookings.

## Antes de llamar

| Tema             | Detalle                                          |
| ---------------- | ------------------------------------------------ |
| Metodo           | `GET`                                            |
| Ruta             | `/v1/bookable-payments/config`                   |
| Auth             | Bearer API key del ambiente correcto.            |
| Scope            | `products: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.
* Confirma inventario final con `booking.confirmed` o una lectura de booking, no solo con una URL de retorno.
* 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/bookable-payments/config" \
  -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/bookable-payments/config
openapi: 3.1.0
info:
  title: SimplePay API
  version: '2026-06-13'
servers:
  - url: https://api.simplepay.mx
security:
  - SimplePayApiKey: []
paths:
  /v1/bookable-payments/config:
    get:
      summary: Get Bookable Payments integration primitives and blueprints
      operationId: getBookablePaymentsConfig
      responses:
        '200':
          description: Bookable Payments integration config
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BookablePaymentsConfigResponse'
components:
  schemas:
    BookablePaymentsConfigResponse:
      type: object
      properties:
        blueprints:
          type: array
          items:
            $ref: '#/components/schemas/BookablePaymentsBlueprint'
        integration_primitives:
          type: array
          items:
            type: object
            additionalProperties: true
        object:
          const: bookable_payments.config
        scheduling_scopes:
          type: array
          items:
            type: string
        scheduling_webhook_events:
          type: array
          items:
            type: string
        product:
          type: object
          properties:
            domain:
              const: bookable_payments
            key:
              const: bookable_payments
            name:
              type: string
            spanish_name:
              type: string
        reference_primitives:
          type: array
          items:
            type: object
            additionalProperties: true
        ui_primitives:
          type: array
          items:
            type: object
            additionalProperties: true
        webhook_events:
          type: array
          items:
            type: string
    BookablePaymentsBlueprint:
      type: object
      properties:
        default_capacity:
          type: integer
          minimum: 1
        default_duration_minutes:
          type: integer
          minimum: 1
        default_resource_kind:
          type: string
        default_schedule:
          type: object
          properties:
            end_time:
              type: string
            start_time:
              type: string
            time_zone:
              type: string
            weekdays:
              type: array
              items:
                type: integer
                minimum: 0
                maximum: 6
        default_slot_interval_minutes:
          type: integer
          minimum: 1
        event_kind:
          type: string
        id:
          type: string
        inventory_mode:
          type: string
        label:
          type: string
        primitives:
          type: array
          items:
            type: string
        resource_assignment_mode:
          type: string
        spanish_label:
          type: string
        steps:
          type: array
          items:
            $ref: '#/components/schemas/BookablePaymentsBlueprintStep'
        webhook_events:
          type: array
          items:
            type: string
    BookablePaymentsBlueprintStep:
      type: object
      properties:
        estimated_minutes:
          type: integer
          minimum: 0
        id:
          type: string
        label:
          type: string
        phase:
          type: string
        readiness_keys:
          type: array
          items:
            type: string
        required_for_go_live:
          type: boolean
        required_routes:
          type: array
          items:
            type: string
        required_scopes:
          type: array
          items:
            type: string
        tenant_tables:
          type: array
          items:
            type: string
  securitySchemes:
    SimplePayApiKey:
      type: http
      scheme: bearer

````