Accept offer gaslessly (pool model)

POST /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.

Try it POST /api/v1/mystery/buyback//accept money

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

request body
object · 1 keys
{
  "receiver_signature": "0x0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"
}
response

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).

tracks the inputs above
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"}'

Request fields

FieldTypeRequiredDescription
receiver_signaturestringyesThe holder's signature over the prepared typed_data
item_typestringCARD | GRADED_CARD disambiguation

Response fields (data)

FieldDescription
offer_id / token_id / transaction_hashThe relayed acceptOffer transaction
receiver / requester / price_usdc / seller_receives_usdcWho was paid what
status"submitted" — final settlement follows from the OfferAccepted indexer (buyback.confirmed webhook)

Errors

StatusCodeWhen
400invalid_receiver_signaturesignature missing or malformed
409nft_approval_missingthe holder never sent setApprovalForAll — details.nft_approval.call carries the ready-to-send transaction
409receiver_signature_mismatchthe signature does not recover to the live holder
409accept_simulation_failedthe accept would revert on-chain
503relayer_disabledgasless relaying is temporarily paused

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