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

# Quickstart

> From catalog to a checkout session.

## 1. Inspect the account

```bash theme={null}
curl https://api.sandbox.buqipi.com/connect/v1/me \
  -H "Authorization: Bearer $BUQIPI_API_KEY"
```

## 2. List categories in scope

```bash theme={null}
curl "https://api.sandbox.buqipi.com/connect/v1/inventory/categories?per_page=20" \
  -H "Authorization: Bearer $BUQIPI_API_KEY"
```

## 3. Search and quote

```bash theme={null}
curl -X POST https://api.sandbox.buqipi.com/connect/v1/booking-engine/availability \
  -H "Authorization: Bearer $BUQIPI_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "check_in": "2026-12-10",
    "check_out": "2026-12-12",
    "adults": 2
  }'
```

## 4. Create a checkout

```bash theme={null}
curl -X POST https://api.sandbox.buqipi.com/connect/v1/checkouts \
  -H "Authorization: Bearer $BUQIPI_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: web-2026-000184" \
  -d '{
    "category_id": "LCDB5AA9B403E14",
    "check_in": "2026-12-10",
    "check_out": "2026-12-12",
    "adults": 2,
    "external_ref": "web-2026-000184",
    "guest": {
      "first_name": "Laura",
      "last_name": "Mendez",
      "email": "laura@example.com"
    },
    "return_url": "https://partner.example.com/booking/return"
  }'
```

If the checkout has an amount due now, the response includes a PaynoPain `tokenizer` object. If the amount is zero, call `POST /checkouts/{id}/complete` directly.

## 5. Continue with the checkout guide

See [Checkouts](https://api-docs.buqipi.com/checkouts.md) for tokenization, charge, 3DS and completion.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.