Buyback status

GET /api/v1/mystery/buyback/:purchase_id packs:read

Returns the buyback offer(s) and their status: active / accepted / cancelled / expired. The path segment accepts EITHER a purchase id OR an on-chain token id — a value that isn’t one of your purchases is resolved token-first (identical to GET /buyback?token_id=…, so each offer also carries purchase_id, null for token-first ones). Fill in EITHER input below. Once the holder accepts, rip.fun has fronted the USDC and the NFT is forwarded to your pool wallet.

Try it GET /api/v1/mystery/buyback/

These inputs are shared across all docs pages — an id entered here carries over.

response

Not run yet — press Run to make a live call against https://staging-service.rip.fun (through this demo's server-side proxy; the API key never reaches the browser).

curl (tracks the inputs above)
curl -X GET 'https://staging-service.rip.fun/api/v1/mystery/buyback/' \
  -H 'X-API-Key: rip_v1_…'

Errors

StatusCodeWhen
404not_foundno offers exist for the purchase

See Errors for the response envelope and the full code list.