Docs

Pilot playbooks

Pass/fail acceptance checks for invited apps in test mode, starting with fixed-price digital checkout.

Closed beta@atmosphere-money/app-nodeSDK beta: 0.0.0-beta.3ATM API beta: 2026-0671 published lexicons

Compatible with the closed-beta ATM app APIs and versioned ATM event headers. Check atm-api-version on every webhook or XRPC receiver event.

Purpose

Invited apps need a concrete acceptance path before ATM admits more capabilities or reviews live access. These checks start with the first admitted flow, a fixed-price digital purchase in test mode.

Goal

Prove test configuration, durable checkout, reconciliation, notification handling and single fulfilment.

Source of truth

Authenticated canonical status drives fulfilment. Verified notifications wake reconciliation; browser returns never do.

Test mode only

Run every check with environment: “test”. Live access is a separate review after test evidence exists.

One flow at a time

Keep purchase actions for product types ATM has not admitted unavailable.

Shared test packet

InstallThe pinned native build of @atmosphere-money/app-node, plus @atmosphere-money/testing@beta for signed fixtures.
ConfigurationYour registered app DID and origin, the assigned test broker DID and checkout origin, the dashboard origin, a test seller and exact catalog refs.
Service-authA new PDS-signed token for every call, with the exact method and <brokerDid>#atmosphere_money_broker audience.
NotificationsThe canonical XRPC receiver, or an explicit signed-HTTP webhook with its test signing secret.
FixturesSigned payment.completed, payment.refunded, product.archived, tickets.issued and ticket.checked-in fixtures from @atmosphere-money/testing.

Fixed digital acceptance

  • Capture a durable attempt on an authorized Buy, before any request to ATM.
  • Create the checkout and save paymentId, statusToken and the checkout URL before redirecting.
  • Complete a test checkout and confirm the worker grants the purchase once, without a browser return.
  • Stop the process after capture and before the reply, restart, and confirm recover resumes the same payment.
  • Repeat the Buy request and confirm it reuses the original attempt instead of creating another.
  • Cancel a checkout and let another expire; both orders stay unpaid.
  • Redrive a delivered notification and confirm the purchase effect does not repeat.
  • Open the receipt from ATM’s dashboard origin as the buyer.

Ticketing app acceptance

Tickets follow their own admitted contract, separate from native checkout. Ticket types, sale windows, per-order limits and capacity groups are organizer-owned ATM ticket config; your app owns event pages, ticket selection, scanner UI and attendee presentation.

  • Read getTicketAvailability from your server before showing ticket quantities.
  • Create a paid hold with a buyer DID plus buyer assertion when the buyer is signed in.
  • Redirect to ATM checkout only after a hold succeeds; show a sold-out state on TicketHoldUnavailable.
  • Confirm tickets.issued arrives once at your receiver, and cancelled or expired holds release capacity.
  • Claim a limited free ticket with claimFreeTicket and no checkout redirect.
  • Verify an opaque QR or pass token, check it in once, and confirm a repeat scan reports it as already checked in.

Required evidence

Before asking ATM about more capabilities, send a compact evidence bundle of non-secret identifiers rather than a long narrative.

IdentityYour app DID, environment, and receiver URL or XRPC receiver service.
CheckoutThe attempt ID and ATM payment ID for one completed, one canceled and one expired test checkout.
RecoveryThe attempt ID from the restart test, showing the same payment ID before and after.
DeliveryOne delivered ID, one redriven duplicate and one released-then-retried delivery.
TicketsHold ID, tickets.issued delivery ID, free claim ID, check-in result and repeat-scan result, if you use Tickets.

Never include status tokens, checkout URLs, JWTs, webhook secrets, raw notification bodies or private buyer data.

Report friction

  • Tell ATM where you hand-rolled glue around attempts, claims or reconciliation.
  • Report confusing errors with their code and the attempt ID, never the raw response.
  • Note any framework or runtime where the SDK needed a workaround.