Merge a complete set into collateral
POST
/
trade/v1/portfolio/positions/mergeAuthorization
AuthorizationRequiredBearer <token>
Personal access token issued from the web app's Settings → API tokens page. Send as Authorization: Bearer agt_….
In: header
Scope: positions:merge
Request Body
application/jsonRequiredcondition_idRequiredstring
Market condition id.
shares_microRequiredstring
Share amount in micro units.
Format:
"int64"AGARA: merge accepted; poll GET /trade/v1/batches/{batch_hash} for settlement.