Skip to main content
POST
/
api
/
users
/
{userId}
/
redeem
curl --request POST \
  --url https://trade.predexon.com/api/users/{userId}/redeem \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '
{
  "venue": "polymarket",
  "tokenId": "71321045679252212594626385"
}
'
{
  "transactionHash": "0x1234567890abcdef",
  "venue": "polymarket",
  "tokenId": "71321045679252",
  "title": "Will Bitcoin reach $100k?",
  "outcome": "Yes",
  "sizeRedeemed": "100.50",
  "result": "won",
  "amountRedeemed": "100.50",
  "status": "completed"
}

Documentation Index

Fetch the complete documentation index at: https://docs.predexon.com/llms.txt

Use this file to discover all available pages before exploring further.

Legacy /api/users endpoint. New integrations should use Redeem Position on the accounts path. This endpoint continues to work unchanged.
Only resolved markets can be redeemed. Winning positions pay out in the venue’s stablecoin (USDC.e for Polymarket, USDT for Predict); losing positions return amountRedeemed: "0".

Authorizations

x-api-key
string
header
required

Path Parameters

userId
string
required

Unique identifier for the user

Body

application/json
venue
enum<string>
required

Trading venue

Available options:
polymarket,
predict
tokenId
string
required

Token ID to redeem

Response

Position redeemed

transactionHash
string

Blockchain transaction hash for the redemption

venue
string

Trading venue where the redemption occurred

tokenId
string

Outcome token ID

title
string

Market question/title

outcome
string

The outcome side that was redeemed

sizeRedeemed
string

Number of shares redeemed

result
string

Position result: won or lost

amountRedeemed
string

Funds received from redemption - USDC.e or USDT (0 for losing positions)

status
string

Always 'completed' for successful redemptions