Submit burn tx

POST /api/v1/mystery/redemption/submit cards:redeem

Records the transaction the end user already sent (from /prepare), moving the redemption PREPARED → BURN_SUBMITTED. tx_hash must be a transaction the holder already sent. This records it, it doesn’t send anything. Re-submitting the same hash is safe.

Try it POST /api/v1/mystery/redemption/submit write

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

request body
object · 2 keys
{
  "redemption_id": 0,
  "tx_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/redemption/submit' \
  -H 'X-API-Key: rip_…' \
  -H 'Content-Type: application/json' \
  -d '{"redemption_id":0,"tx_hash":"0x0000000000000000000000000000000000000000000000000000000000000000"}'

Request fields

FieldTypeRequiredDescription
redemption_idnumberyesFrom the prepare response
tx_hashstringyes0x-prefixed 32-byte hash of the redemption transaction the holder already sent

Response fields (data)

FieldDescription
redemption_id / status / burn_tx_hashBURN_SUBMITTED + the recorded hash
tracking_number / tracking_url / label_url / carrier / servicePresent only when the shipping label was bought right here — that needs the burn already confirmed on-chain AND the shipping payment landed. Absent (or null) otherwise, which is the normal case: the label is bought later and the tracking number reaches you on GET /redemption/:id and the redemption.updated webhook. Never treat their absence as a failure

Errors

StatusCodeWhen
400invalid_tx_hashnot a 0x-prefixed 32-byte hash
409invalid_statusredemption is in any non-PREPARED state
404not_foundunknown redemption_id

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