Error codes
Stable ATM error codes, likely causes, retry behavior, and developer actions.
Compatible with the closed-beta ATM app APIs and versioned ATM event headers. Check atm-api-version on every webhook or XRPC receiver event.
Payment setup errors
| Code | HTTP | Retry | Cause | Developer action |
|---|---|---|---|---|
| RecipientNotPayable | 409 | no | Recipient has not completed payment setup. | Disable checkout controls and direct the recipient to ATM setup. |
| PaymentSetupIncomplete | 409 | no | Payment setup exists but is not ready for live payment collection. | Show setup-required copy and re-check payout status later. |
| PaymentAccountUnavailable | 503 | yes | ATM cannot currently access the recipient payment account. | Show a temporary unavailable state and retry payout status. |
Checkout errors
Native createCheckout and getCheckoutStatus return these codes. No error, missing reply or elapsed deadline proves that a payment did not happen: keep the attempt, and retry only with its original request and key.
| Code | HTTP | Retry | Cause | Developer action |
|---|---|---|---|---|
| InvalidCheckout | 400 | no | The request, its listing or Price, or its URLs are not acceptable. | Keep the attempt for support. Do not replace it automatically. |
| IdempotencyConflict | 400 | no | The idempotencyKey was already used for a different request. | Your stored request changed. Fix that; never mint a new key to get unstuck. |
| CurrencyUnsupported | 400 | no | The currency is not enabled for this seller or environment. | Keep the purchase action unavailable. |
| TestEnvironmentUnavailable | 400 | no | Test checkout is not available on this deployment. | Check that you used the assigned test checkout origin. |
| PayerBindingUnsupported | 400 | no | The requested payer binding is not available for this checkout. | Omit payerBinding, or use the binding your flow supports. |
| CheckoutPayerChanged | 400 | no | An exact retry found that the buyer switched accounts. | Keep polling the original status token. Never create a replacement. |
| DuplicateSubscription | 400 | no | The payer is already an active member of this offering through your app. | Subscription offerings only. Show the existing subscription instead. |
| InvalidDiscountCode | 400 | no | The discount code gives no discount on this item now. One name for every reason. | Retry without the code, or with another code. |
| CheckoutNotFound | 400 | no | getCheckoutStatus received a malformed, unknown or not-yours token. | Not proof of non-payment. Check your app, broker and environment binding; keep the attempt. |
| RateLimitExceeded | 429 | yes | Too many requests from this network or app. | Back off, then retry the same request and key. |
| CheckoutUnavailable | 503 | yes | Temporarily unavailable, including while ATM pauses native checkout. | Retry later with the same request and key. It is not a checkout outcome. |
Auth errors
Native checkout methods report every authentication failure as AuthenticationRequired. Other ATM XRPC methods return the specific service-auth code.
| Code | HTTP | Retry | Cause | Developer action |
|---|---|---|---|---|
| AuthenticationRequired | 401 | yes | A native checkout call had a missing, expired, replayed or mis-scoped token. | Mint a fresh token for the exact method and audience, then retry the same request. |
| BadAudience | 401 | no | The JWT aud is not the broker’s #atmosphere_money_broker service. | Mint a new token with the exact documented audience. |
| BadScope | 401 | no | The JWT lxm does not match the method being called. | Use the exact method NSID as lxm. |
| ExpiredToken | 401 | yes | The JWT has expired or is too old. | Mint a fresh token per request and check your server clock. |
| ReplayDetected | 401 | yes | The jti has already been used. | Mint a fresh token per request; never cache tokens across retries. |
| BadSignature | 401 | no | The JWT signature does not verify against the issuer’s key. | Let your PDS sign tokens through com.atproto.server.getServiceAuth. |
| PayerAssertionInvalid | 400 | no | The payer assertion failed verification or does not match payerDid. | Ask the signed-in buyer to try again, as a new attempt with a new assertion. |
Webhook errors
| Code | HTTP | Retry | Cause | Developer action |
|---|---|---|---|---|
| InvalidSignature | 401 | no | Webhook signature verification failed. | Verify against the raw body and the correct environment secret. |
| DuplicateDelivery | 200 | no | The delivery was already processed. | Return success after confirming the side effect already happened. |
| ReceiverUnavailable | 502 | yes | ATM could not deliver to the app endpoint. | Fix the endpoint and redrive from the app dashboard. |
| ReceiverConfigNeeded | 202 | no | No webhook or receiver endpoint is configured. | Add an endpoint; ATM can queue or redrive pending events. |
Ticket errors
| Code | HTTP | Retry | Cause | Developer action |
|---|---|---|---|---|
| TicketHoldUnavailable | 409 | no | Capacity could not be reserved. | Refresh authoritative availability and ask the buyer to choose a valid quantity. |
| TicketHoldExpired | 410 | no | The hold expired before checkout completed. | Create a new hold. |
| TicketAlreadyCheckedIn | 200 | no | The ticket was already checked in. | Show prior check-in state rather than recording a second entry. |
| TicketTokenInvalid | 404 | no | The scan token is unknown, revoked, or malformed. | Do not admit entry; ask the organizer to inspect the ticket. |
| TicketVoided | 409 | no | The ticket was refunded, voided, or revoked. | Do not admit entry. |
User-facing copy
Keep user-facing errors calmer than developer errors. Show the concrete next action and avoid exposing processor internals unless the user is in ATM dashboard settings or support tooling.
Setup incomplete
This creator has not set up payments yet.
Temporary unavailable
Checkout is temporarily unavailable. Please try again in a moment.
Sold out
These tickets are no longer available.
Auth canceled
Sign-in was canceled. You can continue from where you left off.