CTF
Redeem winning outcome tokens after resolution
After a market resolves on-chain, converts the winning outcome tokens into collateral. Only the winning side is needed (losing shares are worthless). NegRisk redeems unwrap wrapped collateral back to the base asset automatically. db_update_failed: true in the response means the on-chain redeem SUCCEEDED but the position-state bookkeeping write failed — funds are safe; retry the call to fix the bookkeeping. Failures return the structured OrderErrorResponse envelope — match on error_details.code.
post/exchanges/{exchange_id}/redeem
Request
- Base URLhttps://execution.kairos.trade
- AuthAPI key in header X-Client-Id and API key in header X-Api-Key and API key in header X-Api-Secret
Path parameters
exchange_id'polymarket' | 'predictfun' | 'kalshi' | 'opinion' required
Venue. Split/merge require an on-chain CTF (polymarket, predictfun). Kalshi settles off-exchange — redeem only.
Request body
Example request
{
"condition_id": "0x1234abcd"
}Response
Redeem executed on-chain.
Example response
{
"tx_hash": "0xabc123",
"amount_redeemed": "100"
}Changes
No recorded changes to this operation across all 1 revision of this API.