Skip to main content

Fee ledger entries

Each trade produces FeeLedgerEntry rows — one per role (maker / taker). In PS_QUADRATIC_V1 the maker role is always 0.
GET /api/me/fees?from=2026-04-01&to=2026-04-30
X-Api-Key: ps_live_<keyId>_<secret>  # integrators — needs `portfolio:read`
Response:
[
  {
    "id": "...",
    "tradeId": "...",
    "amount": "0.2496",
    "token": "USDC",
    "role": "taker",
    "createdAt": "2026-04-22T10:31:42.119Z"
  }
]

Fee tier

GET /api/me/fees/tier
Response:
{
  "tier": 1,
  "makerBps": 0,
  "takerBps": 140,
  "rolling30dVolume": "54230.00",
  "nextTierVolume": "100000.00"
}

Reconciling against on-chain

Once on-chain settlement is wired, each fee ledger row gets a txHash field pointing to the settlement transaction.