# RCMS Tickets > RCMS Tickets is ticketing for developers. You build the checkout and take the payment; RCMS Tickets keeps stock honest and handles everything after the sale: the ticket and its QR code, Apple and Google Wallet, transfers, the door, refunds and the sales reports. It is a REST API with an OpenAPI 3.1 document, a TypeScript SDK, an MCP server and a copyable checkout kit. It is in development. A test key (`rt_test_…`) works today, and everything here runs on one. Live mode is open only for an organization we have cleared: any other live key answers `live_mode_not_open`. Accounts are not open to the public yet: a first sign-in makes an organization, but mail stays in an outbox on this host, so a sign-in code reaches only the people we let in. A key is made by a person in the dashboard; an agent without one can connect to the MCP server and sign in as the person. The page "What exists and what does not" lists every gap. Every docs page is also a Markdown file: add `.md` to its address. The same guides in one file: https://rcms-tickets-test.web.app/llms-full.txt ## Start - [Documentation](https://rcms-tickets-test.web.app/docs/index.md): Everything for selling tickets with RCMS Tickets, for developers and for their AI agents - [Quickstart](https://rcms-tickets-test.web.app/docs/quickstart.md): Sell your first ticket in 10 minutes, in test mode: the kit for a site, then curl or the SDK - [Concepts](https://rcms-tickets-test.web.app/docs/concepts.md): The few things the rest of the docs assume: organizations, modes, events, bundles, holds, orders, tickets and the event log - [Authentication](https://rcms-tickets-test.web.app/docs/authentication.md): Keys, modes and scopes, how the first key is made, and how an agent signs in as a person instead - [What exists and what does not](https://rcms-tickets-test.web.app/docs/status.md): The gaps, plainly, so nobody builds on something that is not there ## Guides - [The checkout recipe](https://rcms-tickets-test.web.app/docs/checkout.md): Availability, hold, pay, order, with the price breakdown and the countdown - [The checkout kit](https://rcms-tickets-test.web.app/docs/kit.md): A whole checkout as code you copy into your site and own, in our design, re-themed with a few variables - [Hosted checkout links](https://rcms-tickets-test.web.app/docs/hosted-links.md): A page we host that sells one event's tickets, for a seller with no site and an agent that just wants a URL - [Wallet buttons](https://rcms-tickets-test.web.app/docs/wallet.md): Add to Apple Wallet and Google Wallet from a ticket, and what a pass does after it is added - [My tickets](https://rcms-tickets-test.web.app/docs/my-tickets.md): Where a buyer finds their tickets with no link, and how to link it from your site - [Transfers in your own site](https://rcms-tickets-test.web.app/docs/transfers.md): Send a ticket to someone else, accept it on your own page, or move it directly - [Exchanges](https://rcms-tickets-test.web.app/docs/exchanges.md): Upgrade a ticket, swap its day or add an add-on without a refund and a rebuy - [Webhooks](https://rcms-tickets-test.web.app/docs/webhooks.md): Signed deliveries of the changes in your org, with retries, replays and the rules for reading them - [The door](https://rcms-tickets-test.web.app/docs/door.md): Check-in, offline scanning, look-up and gate sales, with a phone or with your own scanner - [Refunds](https://rcms-tickets-test.web.app/docs/refunds.md): Money back, whole or part, one refund at a time, and what to do when the answer is unknown - [Test mode and test cards](https://rcms-tickets-test.web.app/docs/testing.md): A test key touches test data only, and the test provider takes a token instead of a card - [Tracking and pixel dedup](https://rcms-tickets-test.web.app/docs/tracking.md): What to send with a hold so a sale can be traced to its source, and how to keep a browser pixel and a server event from counting twice - [The TypeScript SDK](https://rcms-tickets-test.web.app/docs/sdk.md): Typed calls for every operation, with retries, idempotency, pagination, typed errors and webhook verification - [Idempotency and retries](https://rcms-tickets-test.web.app/docs/idempotency.md): How to retry a write without doing it twice, and which failures are safe to retry ## Agents - [For agents](https://rcms-tickets-test.web.app/docs/agents.md): Start from llms.txt, get a key, and the rules that keep an agent safe - [The MCP server](https://rcms-tickets-test.web.app/docs/mcp.md): How an agent connects, with a key or by signing in as a person, and what a confirmation is and is not ## Reference - [OpenAPI document](https://rcms-tickets-test.web.app/v1/openapi.yaml): every operation, who may call it, its errors and examples; no key needed - [Errors](https://rcms-tickets-test.web.app/docs/errors.md): Every error code the API answers, what it means and what to do - [Event types](https://rcms-tickets-test.web.app/docs/events.md): Every type of the event log, which webhooks deliver - [Meta](https://rcms-tickets-test.web.app/docs/reference/meta.md): Health and this document - [Session](https://rcms-tickets-test.web.app/docs/reference/session.md): The dashboard's sign-in: an emailed code or link, then an httpOnly cookie. No passwords - [Org](https://rcms-tickets-test.web.app/docs/reference/org.md): The organization, its branding and settings, and the team - [Keys](https://rcms-tickets-test.web.app/docs/reference/keys.md): API keys (dashboard only): shown once, rolled, revoked - [Events](https://rcms-tickets-test.web.app/docs/reference/events.md): Events (festivals, shows), their days, status changes, cancel and postpone, and availability - [Ticket types](https://rcms-tickets-test.web.app/docs/reference/ticket_types.md): Kinds of admission, with prices, fees, capacity, valid days, sale windows, limits, min_age and wristbands - [Add-ons](https://rcms-tickets-test.web.app/docs/reference/add_ons.md): Extras per order (parking) or per ticket (a drink package); scannable ones get their own pass - [Codes](https://rcms-tickets-test.web.app/docs/reference/codes.md): Promo codes (discounts) and access codes (unlock hidden items) - [Bulk](https://rcms-tickets-test.web.app/docs/reference/bulk.md): For agents and scripts: set up a whole event in one call, copy an event, create or change many items at once, make thousands of single-use codes under one batch, and check a code before it goes out - [Holds](https://rcms-tickets-test.web.app/docs/reference/holds.md): Reserve items for a short time and get the authoritative price breakdown - [Orders](https://rcms-tickets-test.web.app/docs/reference/orders.md): Orders from holds: the buyer, consent, attribution, the payment, the tickets. Search, fixes, resends, disputes - [Comps](https://rcms-tickets-test.web.app/docs/reference/comps.md): Free tickets, one at a time or a guest list - [Refunds](https://rcms-tickets-test.web.app/docs/reference/refunds.md): Money back, whole or part - [Exchanges](https://rcms-tickets-test.web.app/docs/reference/exchanges.md): Upgrades, day swaps and added add-ons without a refund and rebuy - [Tickets](https://rcms-tickets-test.web.app/docs/reference/tickets.md): One per admission: holder, version, the signed QR, Wallet links, the private page - [Transfers](https://rcms-tickets-test.web.app/docs/reference/transfers.md): A ticket on its way to someone else - [Check-in](https://rcms-tickets-test.web.app/docs/reference/check_in.md): The door: scans, undo, the offline manifest and sync, conflicts, counts, look-up, QR public keys - [Devices](https://rcms-tickets-test.web.app/docs/reference/devices.md): Door phones authorized by a link, scoped to one event - [Door sales](https://rcms-tickets-test.web.app/docs/reference/door_sales.md): Selling at the gate and closing out each device - [Webhooks](https://rcms-tickets-test.web.app/docs/reference/webhooks.md): Endpoints that receive the event log, the delivery log, replay - [Event log](https://rcms-tickets-test.web.app/docs/reference/event_log.md): Every state change, newest first - [Partners](https://rcms-tickets-test.web.app/docs/reference/partners.md): Partners and influencers, their codes and links, their private pages - [Tracking links](https://rcms-tickets-test.web.app/docs/reference/tracking_links.md): UTM-tagged links to your own pages - [Wallet messages](https://rcms-tickets-test.web.app/docs/reference/wallet_messages.md): Lock-screen messages on every holder's Wallet pass - [Integrations](https://rcms-tickets-test.web.app/docs/reference/integrations.md): Server-side conversions to Meta and GA4 - [Checkout links](https://rcms-tickets-test.web.app/docs/reference/checkout_links.md): Hosted checkout pages for sellers with no site (off unless turned on) - [Exports](https://rcms-tickets-test.web.app/docs/reference/exports.md): CSV exports made in the background - [Jobs](https://rcms-tickets-test.web.app/docs/reference/jobs.md): Long work in the background - [Privacy](https://rcms-tickets-test.web.app/docs/reference/privacy.md): Erasing a person's details - [Reports](https://rcms-tickets-test.web.app/docs/reference/reports.md): Sales, sources and the Buyer Report: aggregates only - [Settlement](https://rcms-tickets-test.web.app/docs/reference/settlement.md): The statement of what an event took, kept back, refunded, owes the organizer and has paid out (owners and admins). Payouts are recorded by a person or agent and move no money - [History](https://rcms-tickets-test.web.app/docs/reference/history.md): Last year's sales loaded from a file (OnTourHQ or any CSV), kept as imported counts by day and ticket type for the Overview's pace. Never orders, tickets or money here - [Holder pages](https://rcms-tickets-test.web.app/docs/reference/holder_pages.md): What our own ticket, My tickets and transfer pages call. Not for your server - [Partner pages](https://rcms-tickets-test.web.app/docs/reference/partner_pages.md): What a partner's private page calls - [Hosted checkout](https://rcms-tickets-test.web.app/docs/reference/hosted_checkout.md): What a hosted checkout page calls - [Audit](https://rcms-tickets-test.web.app/docs/reference/audit.md): The hash-chained audit trail and the request log - [Payment providers](https://rcms-tickets-test.web.app/docs/reference/payment_providers.md): Where payment providers send their own webhooks, and an org's connection to its own Square account - [Test helpers](https://rcms-tickets-test.web.app/docs/reference/test_helpers.md): Shortcuts for tests, with a test key only ## Optional - [All the guides in one file](https://rcms-tickets-test.web.app/llms-full.txt): the guides, the errors and the event types, as Markdown ## Checkout kit For a coding agent adding a ticket checkout to a site (a prompt to paste, or to follow): Add RCMS Tickets checkout to this site: fetch https://rcms-tickets-test.web.app/kit/manifest.json and follow its `steps` exactly. In short: run its install tool, which copies every file into `src/rcms-tickets/` with each sha256 checked and writes `kit.lock`; apply the recipe for this site's framework (`recipes.next` or `recipes.vite`), which adds new files only (one server route that holds the secret key, one page that renders ``) and says what to merge into files the site already has, among them `captureAttribution()` in the site's root; never overwrite a file this site already has. Confirm with `git check-ignore .env.local` that the secret file is ignored, then set `RCMS_TICKETS_KEY` (a test key, `rt_test_...`) and `RCMS_TICKETS_EVENT` (`evt_...`) there, in the server's environment (never in a browser file), run the site's typecheck and build, and buy a ticket: in test mode press the Works card, then Pay. Ask me for the test key and the event id if you do not have them. Re-theme it only through the variables at the top of `checkout.css` or `brandStyle()`. Before real money, follow the manifest's `live` list; to update later, its `update` steps. The whole kit as one Markdown file: https://rcms-tickets-test.web.app/kit/kit.md