Pilot playbooks
Pass/fail acceptance checks for invited apps in test mode, starting with fixed-price digital checkout.
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.
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.
| Identity | Your app DID, environment, and receiver URL or XRPC receiver service. |
|---|---|
| Checkout | The attempt ID and ATM payment ID for one completed, one canceled and one expired test checkout. |
| Recovery | The attempt ID from the restart test, showing the same payment ID before and after. |
| Delivery | One delivered ID, one redriven duplicate and one released-then-retried delivery. |
| Tickets | Hold 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.