Guest Wallets
Top up guest wallet
Create another 250 USD Stripe-hosted Payment Link for a guest paid-read key
POST
Top up guest wallet
Add credits to an existing guest wallet. The wallet keeps the same
Keep the current guest key and store the new
This response never returns a new API key.
The response sends
paid_reads key. This endpoint creates a one-use Stripe-hosted Payment Link only after the user confirms the amount. It does not charge the user.
Idempotency-Key as a secret. Give only checkout_url to the user. After payment, poll status_url every poll_after_seconds with the same key. Stop when latest_purchase.status is no longer pending. Use usable to decide whether paid reads can run.
Headers
Send the guest key as
Bearer xq_your_guest_key_here.Must be
application/json.A new cryptographically random UUID v4. Reuse it only for an exact retry of this top-up request.
Body
Confirmed USD amount in cents. Minimum
1000 and maximum 25000.Must be
usd.Response
Always
false.Confirmed amount in minor units and
usd currency.One-use Stripe-hosted Payment Link for the user to open.
Credits to grant after verified payment.
Pending Payment Link expiry.
Required user interaction and polling guidance.
Guest purchase ID.
Guest wallet status URL.
Minimum polling delay. Always
2 while pending.Always
true.Initial top-up status. Normally
pending.Existing guest wallet ID.
- 201 Created
- 400 Invalid input
- 401 Unauthenticated
- 409 Idempotency conflict
- 413 Request too large
- 415 Unsupported media type
- 429 Rate limited
Cache-Control: no-store, private. An exact replay also sends Idempotent-Replayed: true.
Related: Guest wallet guide · Create guest wallet · Get guest wallet status
Last modified on July 13, 2026
Top up guest wallet