Trading

Redeem winnings for resolved positions

POST
/execution/redeem

Authorization

appIdbearerAuth
headerx-app-id<token>

Your application ID. Required on app-tier and user-tier routes. Omitted on routes that authenticate with x-app-api-key only.

headerAuthorizationBearer <JWT>

JWT access token from POST /auth/verify. Required with x-app-id on user routes. On the smart-route quote it is optional and turns a preview into an executable quote.

Request Body

application/json
  1. body
venueMarketOutcomeIds*array<string>
Items1 <= items <= 20
mode?string
Value in"live""paper"

Response Body

200

application/json
  1. response
redeemId*string

Id of this claim request.

results*array<>

One result per outcome.

Example Request
curl -X POST 'https://api.t.sufwankhalid.com/execution/redeem' \  -H 'Content-Type: application/json' \  -d '{  "venueMarketOutcomeIds": [    "string"  ]}'
Example Response
{  "redeemId": "string",  "results": [    {      "venueMarketOutcomeId": "string",      "status": "submitted",      "callsId": "string",      "pendingUserOpId": "string",      "txHash": "string",      "reason": "string"    }  ]}