/api/v1/mystery/buyback/:purchase_id packs:readReturns 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.
GET /api/v1/mystery/buyback/ These inputs are shared across all docs pages — an id entered here carries over.
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 -X GET 'https://staging-service.rip.fun/api/v1/mystery/buyback/' \ -H 'X-API-Key: rip_v1_…'
| Status | Code | When |
|---|---|---|
| 404 | not_found | no offers exist for the purchase |
See Errors for the response envelope and the full code list.