Submit sell-back

POST /api/v1/mystery/sellback/submit packs:buyback

Records a broadcast sell-back. The payout is decoded from the on-chain CardSellExecuted log, never taken from your request — this number is the deduction in your net revenue, so it is read from the chain rather than claimed. CardOS indexes the same event independently; whichever lands first wins and the other is a no-op, so re-submitting the same tx is always safe.

Try it POST /api/v1/mystery/sellback/submit write
request body
object · 1 keys
{
  "transaction_hash": "0x0000000000000000000000000000000000000000000000000000000000000000"
}
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/sellback/submit' \
  -H 'X-API-Key: rip_…' \
  -H 'Content-Type: application/json' \
  -d '{"transaction_hash":"0x0000000000000000000000000000000000000000000000000000000000000000"}'

Request fields

FieldTypeRequiredDescription
transaction_hashstringyesThe mined sell-back transaction
wallet_addressstringThe seller, for your own correlation

Errors

StatusCodeWhen
400tx_revertedthe transaction failed on-chain
400tx_unverifiednot found, or not a combo-pool sell-back — submit after it is mined
403seller_mismatchthe on-chain seller is not one of your end users

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