Guest Wallets
Get guest wallet status
Check guest wallet activation, balance, payment status, and paid-read scope
GET
Get guest wallet status
Poll this endpoint after the user completes Stripe checkout. The guest key can authenticate this status route while the wallet is pending, but it cannot call paid read routes until a verified Stripe webhook activates it.
Wait at least
Use
poll_after_seconds before polling again. Continue while it is non-null, then stop. Use usable to decide whether paid reads can run. An active wallet can remain usable while a top-up is pending.
Headers
Send the guest key as
Bearer xq_your_guest_key_here.Response
Available guest wallet credits.
Always
paid_reads.Combined wallet and pending-checkout state:
active, pending, expired, failed, frozen, or closed. A pending top-up can coexist with usable: true.Whether the key can call eligible paid read routes.
2 while payment is pending. Otherwise null.Latest amount, credits, expiry, purchase ID, checkout URL while pending, and purchase status.
Direct REST top-up action when the wallet is usable and has no pending checkout.
Guest wallet ID.
Interpret the result
Use these fields together:| Condition | Meaning | Action |
|---|---|---|
usable: true, status: active | Paid reads can run. No checkout is pending. | Call eligible reads. Use top_up only after confirmation. |
usable: true, status: pending | Existing credits remain usable while a top-up is pending. | Continue affordable reads. Poll after the stated delay. |
usable: false, status: pending | The initial checkout still awaits verified payment. | Do not call paid reads. Poll after the stated delay. |
usable: false, status: expired or failed | The initial checkout reached a terminal state. | Stop polling. Get new confirmation before creating another wallet. |
usable: false, status: frozen or closed | Wallet access is unavailable. | Stop paid reads. Do not retry payment automatically. |
latest_purchase.status describes only the latest purchase. Use the top-level usable field for paid-read access.
- 200 OK
- 401 Unauthenticated
- 429 Rate limited
usable to decide whether the key can call paid reads.
The response sends Cache-Control: no-store, private and never returns the guest key.
Related: Guest wallet guide · Create guest wallet · Top up guest wallet
Last modified on July 13, 2026
Get guest wallet status