> Full index: https://docs.buchungapp.com/llms.txt
> Early access. Use the API base, channel key and allowed origins supplied by Buchung before running examples.

# Sandbox and testing

## How do I get a sandbox operator? [#how-do-i-get-a-sandbox-operator]

When you request early access, Buchung provides a **sandbox operator** alongside its channel key and allowed origins (see [Before you start](/docs/developers#before-you-start)).

Test every step against your sandbox operator first. Never substitute a live operator's channel key while developing or running automated checks.

## What is isolated today? [#what-is-isolated-today]

- **Payments:** your sandbox operator runs in the payment provider's test mode, so no real money moves during checkout testing.
- **Catalogue and handoff behavior:** activities, availabilities, prices, locales, CORS, rate limits and signed checkout handoffs run the same contract and validation logic as production.
- **What to treat carefully:** emails, webhooks and sandbox resets are not automatically isolated or wiped between runs yet. Always use synthetic customer details and email addresses you control when completing test bookings, and coordinate fixture cleanup with your Buchung contact.

## Testing checkout handoffs [#testing-checkout-handoffs]

A signed checkout seed is valid for 15 minutes, carries SKUs and quantities only (never prices), and reserves nothing. A second redemption of the same seed URL is not guaranteed; generate a fresh handoff for each test run.

Before switching to live credentials, verify on your sandbox operator from an allowed origin:

1. `GET /site` returns your expected locales, currency and timezone.
2. Activity lists, filters, facets and handle-to-UUID resolution work as expected. If you use `collectionId`, test a valid collection with no matching dates and an unavailable collection returning `404 not_found`.
3. Sold-out and unavailable SKUs display clear messages and warnings.
4. `POST /checkout/handoff` redirects to hosted checkout and completes a test payment cleanly.

