PearPear

Confirm provisional fills

Confirm provisional fills by providing fee data

POST
/sync/fills/confirm
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/confirm" \  -H "X-Trade-Account-Id: 3fa85f64-5717-4562-b3fc-2c963f66afa6" \  -H "Content-Type: application/json" \  -d '{    "property1": [      {        "type": "confirm",        "exchangeFillId": "string",        "cloid": "string",        "positionId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",        "connector": "hyperliquid",        "symbol": "BTC",        "quantity": "1250.75",        "timestamp": 1,        "tradeFee": "-42.5",        "builderFee": "1250.75"      }    ],    "property2": [      {        "type": "confirm",        "exchangeFillId": "string",        "cloid": "string",        "positionId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",        "connector": "hyperliquid",        "symbol": "BTC",        "quantity": "1250.75",        "timestamp": 1,        "tradeFee": "-42.5",        "builderFee": "1250.75"      }    ]  }'
{}