/api/v1/mystery/buyback/:token/accept packs:buyback POOL MODEL ONLY. Submit the holder's EIP-712 signature (from accept/prepare) and CardOS relays acceptOffer on-chain, paying the gas. The card transfers to the pool signer, the holder is paid in USDC, and the fronted amount lands on your bill. Settlement state then flows through the buyback.* webhook events.
POST /api/v1/mystery/buyback//accept money These inputs are shared across all docs pages, so an id entered here carries over.
{
"receiver_signature": "0x0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"
}Not run yet. Press Run to make a live call against https://service.rip.fun (through this demo's server-side proxy; the API key never reaches the browser).
curl -X POST 'https://service.rip.fun/api/v1/mystery/buyback//accept' \
-H 'X-API-Key: rip_…' \
-H 'Content-Type: application/json' \
-d '{"receiver_signature":"0x0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"}' | Field | Type | Required | Description |
|---|---|---|---|
receiver_signature | string | yes | The holder's signature over the prepared typed_data |
item_type | string | — | CARD | GRADED_CARD disambiguation |
data)| Field | Description |
|---|---|
offer_id / token_id / transaction_hash | The relayed acceptOffer transaction |
receiver / requester / price_usdc / seller_receives_usdc | Who was paid what |
status | "submitted" — final settlement follows from the OfferAccepted indexer (buyback.confirmed webhook) |
| Status | Code | When |
|---|---|---|
| 400 | invalid_receiver_signature | signature missing or malformed |
| 409 | nft_approval_missing | the holder never sent setApprovalForAll — details.nft_approval.call carries the ready-to-send transaction |
| 409 | receiver_signature_mismatch | the signature does not recover to the live holder |
| 409 | accept_simulation_failed | the accept would revert on-chain |
| 503 | relayer_disabled | gasless relaying is temporarily paused |
See Errors for the response envelope and the full code list.