Poll purchase status
Purchase
Poll purchase status
Check whether a crypto pack purchase has fulfilled and retrieve pulled items.
POST
Poll purchase status
Polls the status of a purchase session created by
POST /api/vm/buy/crypto. The server holds the connection open and checks fulfillment internally before responding.
Scope required:
vm.buy.cryptoRequest body
Session ID from the
buy/crypto response (result.session_id).Example request
Response
Pulled items once fulfillment completes. Empty or absent while the purchase is still processing.
Public reveal identifier for the pull (shareable link prefix).
Present when fulfillment has not completed within the server poll window. Retry after a short delay.
Error responses
| Status | Example | Cause |
|---|---|---|
400 | { "error": "Transaction failed" } | On-chain purchase failed |
401 | { "message": "Invalid or missing credentials" } | Missing or invalid API key |
Polling guidance
- Call this endpoint after
buy/cryptowhen the initial response has asession_idbut nonfts - The server polls for up to ~6 seconds before returning a pending
status - On the client side, retry with 500–1000 ms between attempts until
result.nftsis populated or an error is returned - Stop polling on
400with"Transaction failed"