Poll purchase status
Purchase
Poll purchase status
Polls a purchase session for fulfillment and returns the pulled items.
POST
Poll purchase status
Polls a purchase session created by
See the item shape reference for the full canonical item schema.
Returned if the server’s internal poll window expires before the order is fulfilled. Wait a few seconds and call again.
Returned with status
/api/v1/vm/buy/init. Call this after buy/init until the status is fulfilled.
Request body
The
session_id returned by /api/v1/vm/buy/init.Example request
Response: fulfilled
Echoes back the
session_id from /api/v1/vm/buy/init.Echoes back the
user_id from /api/v1/vm/buy/init.Short shareable transaction identifier (for example
_XKCD).Item identifier. Used as
item_id in /api/v1/vm/buyback. Equal to mint_address for on-chain items.On-chain mint address for the item.
null for items that haven’t been minted on-chain (in sandbox, always null for ebay-sourced items).Sellback value in USD.
Item source. One of:
enft, ebay, fanatics, alt, external.On-chain collection address.
Token standard for on-chain items.
Item metadata (
name, image, back_image, attributes). Use metadata.image as the canonical image URL.CDN URL for the card back image, or
null when not available.Direct CDN URL for the item image. In sandbox, this is not populated on
buy/status responses (it only appears on inventory items). Treat it as a fallback when present.CDN URL for the card back image. Mirror of
content.metadata.back_image.On-chain transaction hash for the mint. In sandbox,
tx_hash is a synthetic identifier of the form sandbox_<base64url> and does not correspond to any on-chain transaction.Response: pending
Sandbox: the
{ "status": "pending" } response is never returned. Sandbox fulfills synchronously inside buy/init, so the first buy/status call after a successful buy/init always returns the fulfilled { result: ... } envelope. Any unknown session_id returns 400 { "error": "Transaction failed" } immediately.Response: failed
400 when the transaction could not be completed. The purchase should be considered cancelled.