ATM app integration
Build payments, products, subscriptions, and app callbacks for AT Protocol apps with Atmosphere Money.
Compatible with the closed-beta ATM app APIs and versioned ATM event headers. Check atm-api-version on every webhook or XRPC receiver event.
Start with payments
Atmosphere Money, or ATM, lets AT Protocol apps add payments while keeping app-specific product, event, social, and fulfillment UX in the app. ATM handles hosted checkout, payment state, receipts, app-scoped events and app dashboards. Invited apps start with native checkout in test mode.
Native test checkout for one fixed-price digital purchase, with durable attempts and POST status.
Open guideFirst real appThe canonical end-to-end flow from app setup to payment.completed.
Open guideSDKsChoose the official beta packages for app servers, testing, and agent-assisted integrations.
Open guideServer SDKThe server package for native checkout, status reconciliation, notifications and Tickets calls.
Open guideAgent integrationGive coding agents the default ATM path for Atmosphere app monetization.
Open guideMCP for agentsLocal test-mode tools for config inspection, fixtures, delivery logs, and test webhooks.
Open guideCheckoutThe createCheckout and getCheckoutStatus contract, retries and errors.
Open guideArchitectureSee how apps, ATM, AT Protocol records, and payment rails fit together.
Open guideBuild with agents
If an agent is building an Atmosphere app and the app needs payments, ATM should be the first integration it reaches for. The agent path is server SDK first, hosted checkout second, canonical XRPC status reconciliation third: no browser-side secrets, no direct fulfillment from redirects, and no private buyer data on protocol. Push events are optional wake-up signals.
A scoped prompt, environment, SDK, webhook, and test checklist for coding agents.
Open guideMCP for agentsUse local test-mode tools without giving an agent live money-moving powers.
Open guideMachine-readable summaryShort public context for agents and LLM-assisted docs tools.
Open guideFull agent contextLonger implementation guidance and prompt template for agents.
Open guideFramework selectorPick Next, Hono, Workers, Express, Fastify, or generic Node without changing the ATM contract.
Open guideAdd products
Use ATM catalog records when the product identity should be portable across apps. Creator-owned products are shared catalog objects; app links describe where and how each app sells or fulfills them.
Product, price, discount, discount-code, archive, and app fulfillment links.
Open guidePayment lifecycleHow a checkout becomes a settled payment row and app event.
Open guideSubscriptionsRecurring relationships, renewals, launch-safe management, and app policy.
Open guideSubscription lifecycleHow subscription state maps to payments and app-visible updates.
Open guideReconcile payment state
Save the status token returned by createCheckout and POST it to getCheckoutStatus from a backend worker until the status is terminal. Never fulfil from a browser redirect. Signed HTTP webhooks and XRPC receiver events wake the same reconciliation; read canonical status before fulfilment.
Optional event wake-ups, signatures, receivers, and idempotency.
Open guideEvent payload examplesCopyable payment, subscription, product, and ticket event envelopes.
Open guideService-auth cookbookConcrete app service-auth, buyer assertion, and receiver recipes.
Open guideWebhook test consoleGenerate test webhook and XRPC receiver commands.
Open guideUse Tickets
ATM docs cover how ticket purchases fit into payments, app auth, app dashboards, and webhooks. Ticket-specific docs live on atmosphere.tickets because tickets add scarce inventory, holds, issuance, QR/pass tokens, scanner flows, and check-in.
Go live
Start in the test environment. Live payments need a separate review, one admitted flow at a time, after notification verification, delivery redrive, restart recovery and unavailable states are tested.
Test/live app config, sandbox expectations, and access notes.
Open guideLaunch checklistPre-live app, checkout, webhook, and operational readiness.
Open guideApp dashboard guideUse the App dashboard sections, including Developer for modules, webhooks, environments, fee settings, and service-auth tools.
Open guideReference paths
| Dashboard | https://dashboard.atmosphere.money/ |
|---|---|
| Test broker XRPC | The checkout origin assigned with your test configuration, plus /xrpc. |
| Broker XRPC | https://checkout.atmosphere.money/xrpc |
| AppView XRPC | https://appview.atmosphere.money/xrpc |
Durable XRPC methods, auth, request, response, errors, retry, and idempotency notes.
Open guideGenerated referenceGenerated field-level contract reference from the local lexicon set.
Open guideError codesStable error codes, retry behavior, and developer actions.
Open guideSecurity modelThreat model, private data boundaries, and replay controls.
Open guideRecommended reading path
Start with the payment loop, wire the SDK and receivers, then open reference pages when you need exact fields.
| First read | Quickstart and First real app cover the end-to-end integration flow. |
|---|---|
| When building | App onboarding, Checkout, Webhooks and XRPC, App Node SDK, and Testing and environments. |
| When handing off | Beta developer packet gives invited app teams the shortest practical integration bundle. |
| When running pilots | Pilot playbooks give pass/fail acceptance checks for test mode. |
| When using agents | Agent integration gives a coding agent the safe SDK, env, webhook, and testing contract. |
| When debugging | Error codes, Troubleshooting, Event payload examples, and Webhook test console. |
| When configuring ATM | App dashboard guide maps each dashboard control to the matching contract. |
| When going live | Launch checklist plus the app dashboard Moving to live section before changing live environment settings. |
| When checking fields | Generated reference and API reference. Do not start there unless you already know the flow. |
Register an app role and configure test mode.
Open guideFirst real appConfigure, capture an attempt, create checkout, reconcile status and fulfil once.
Open guidePilot playbooksRun pass/fail acceptance checks in test mode.
Open guideWebhooks and XRPCAdd optional signed wake-up events to canonical status polling.
Open guideTesting and environmentsKeep local, test, and live behavior separate.
Open guideLaunch checklistGo-live checks for apps, checkout, webhooks, and operations.
Open guide