Skip to main content
POST
/
api
/
accounts
/
{accountId}
/
redeem
curl --request POST \ --url https://trade.predexon.com/api/accounts/{accountId}/redeem \ --header 'Content-Type: application/json' \ --header 'x-api-key: <api-key>' \ --data ' { "venue": "polymarket", "market": { "tokenId": "71321045679252212" } } '
{
  "transactionHash": "<string>",
  "venue": "<string>",
  "predexonId": "<string>",
  "title": "<string>",
  "outcome": "<string>",
  "sizeRedeemed": "<string>",
  "result": "<string>",
  "amountRedeemed": "<string>",
  "status": "<string>",
  "market": {
    "tokenId": "<string>",
    "marketId": "<string>",
    "ticker": "<string>",
    "outcome": "<string>",
    "marketSlug": "<string>"
  },
  "message": "<string>"
}
For Polymarket, Predict, and Limitless, identify the position via predexonId or market.tokenId. For Opinion, use market.marketId — a single call redeems every outcome in the market.

Authorizations

x-api-key
string
header
required

Path Parameters

accountId
string
required

Body

application/json

At least one of predexonId or market must be provided.

venue
enum<string>
required
Available options:
polymarket,
predict,
opinion,
limitless
predexonId
string
market
object

Venue-specific market identification. Populate the fields the target venue requires: Polymarket needs tokenId; Predict needs tokenId and marketId; Opinion needs marketId (and tokenId when trading a specific outcome). On responses, the bag contains only the fields the venue surfaces (tokenId, marketId, ticker, outcome) — request-only fields like marketSlug are not echoed back.

Response

Position redeemed

transactionHash
string
venue
string
predexonId
string
title
string
outcome
string
sizeRedeemed
string
result
string
amountRedeemed
string
status
string
market
object

Venue-specific market identification. Populate the fields the target venue requires: Polymarket needs tokenId; Predict needs tokenId and marketId; Opinion needs marketId (and tokenId when trading a specific outcome). On responses, the bag contains only the fields the venue surfaces (tokenId, marketId, ticker, outcome) — request-only fields like marketSlug are not echoed back.

message
string