PearPear

Reconcile provisional fills

Reconcile provisional fills by swapping the fill with a set of sibling fills

POST
/sync/fills/reconcile
x-api-key<token>

In: header

Header Parameters

X-Trade-Account-Id*string

UUID of the trade account the request acts on. Must belong to the authenticated user.

Formatuuid

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X POST "https://example.com/sync/fills/reconcile" \  -H "X-Trade-Account-Id: 3fa85f64-5717-4562-b3fc-2c963f66afa6" \  -H "Content-Type: application/json" \  -d '{    "property1": [      {        "exchangeFillId": "string",        "cloid": "string",        "connector": "hyperliquid",        "symbol": "BTC",        "price": "1250.75",        "quantity": "1250.75",        "side": "BUY",        "reduceOnly": true,        "timestamp": 1,        "tradeFee": "-42.5",        "builderFee": "1250.75",        "liquidation": {          "mark": "1250.75"        }      },      {        "exchangeFillId": "string",        "cloid": "string",        "connector": "hyperliquid",        "symbol": "BTC",        "price": "1250.75",        "quantity": "1250.75",        "side": "BUY",        "reduceOnly": true,        "timestamp": 1,        "tradeFee": "-42.5",        "builderFee": "1250.75",        "liquidation": {          "mark": "1250.75"        }      }    ],    "property2": [      {        "exchangeFillId": "string",        "cloid": "string",        "connector": "hyperliquid",        "symbol": "BTC",        "price": "1250.75",        "quantity": "1250.75",        "side": "BUY",        "reduceOnly": true,        "timestamp": 1,        "tradeFee": "-42.5",        "builderFee": "1250.75",        "liquidation": {          "mark": "1250.75"        }      },      {        "exchangeFillId": "string",        "cloid": "string",        "connector": "hyperliquid",        "symbol": "BTC",        "price": "1250.75",        "quantity": "1250.75",        "side": "BUY",        "reduceOnly": true,        "timestamp": 1,        "tradeFee": "-42.5",        "builderFee": "1250.75",        "liquidation": {          "mark": "1250.75"        }      }    ]  }'
{}