v1

latestOpenAPI 3.1.02026-07-262771117.8 KB
Polymarket

Merge Position

Merges a full set of position tokens back into collateral by burning them. Can be used to claim winnings from resolved markets or clean up positions. Endpoint awaits successful execution of the merge transaction before returning the transaction hash.

post/workflows/polymarket/mergePositions

Request body

evmEoastring required

EVM address (0x prefix + 40 hex characters)

conditionIdstring required

Polymarket condition ID for the position to redeem

Example request

{
  "conditionId": "0x52f13a5eaf375170189f326e58cc6d217515de1cf9e41bff17be7779ea9a295c"
}

Response

Positions merged successfully

txHashstring required

Hex string with 0x prefix

statusstring required

Status message of the merge