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, app-scoped events, app dashboards, and attested.network proof coordination.
Register an app, configure test mode, start checkout, and fulfill from ATM events.
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 SDKUse the beta Node package for app checkout, status, webhooks, and tickets from any trusted backend.
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 guideCheckoutUnderstand hosted checkout, private envelopes, and browser return behavior.
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, verified events third: no browser-side secrets, no direct fulfillment from redirects, and no private buyer data on protocol.
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. Keep app-specific fulfillment, inventory, downloads, messages, and order workflows in your app.
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, amount changes, and app policy.
Open guideSubscription lifecycleHow subscription state maps to payments and app-visible updates.
Open guideHandle webhooks
Fulfillment should come from verified ATM events, not from browser redirects. HTTP webhooks are the default callback path. XRPC receivers are optional for AT Protocol-native apps that already expose a service surface.
Event delivery, 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 app test environment. Move one flow at a time to live after webhook verification, delivery redrive, refunds, subscription changes, and disabled recipient 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://atmosphere.money/dashboard |
|---|---|
| Broker XRPC | https://checkout.atmosphere.money/xrpc |
| AppView XRPC | https://appview.atmosphere.money/xrpc |
| Local app | http://localhost:3001 |
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 an events app, a music app, and future app testers pass/fail checklists. |
| 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 appRegister, configure, create checkout, receive payment.completed, and fulfill.
Open guidePilot playbooksRun app-specific beta acceptance checks for Tickets, products, subscriptions, and entitlements.
Open guideWebhooks and XRPCReceive the event that should drive fulfillment.
Open guideTesting and environmentsKeep local, test, and live behavior separate.
Open guideLaunch checklistGo-live checks for apps, checkout, webhooks, and operations.
Open guide