OpenPoly logo
Operator Api

Polyflight overview

Read operator-scoped native-IDR Polyflight activity, clearing, and liabilities.

Polyflight overview

GET /api/operator/polyflight/overview
Authorization: Bearer {operator_api_key_or_staff_session}

Required scope: polyflight:read.

The authenticated operator is the tenant. There is no operator selector, and activity belonging to another operator is never included. Responses use Cache-Control: private, no-store.

Optional activity window

QueryMeaning
date_fromInclude activity at or after this ISO-8601 instant
date_toExclude activity at or after this ISO-8601 instant

The interval is half-open: [date_from, date_to). Ticket counts and accepted stake use ticket creation time; fee, position, and clearing totals use accounting-event effective time. The three unpaid-liability totals and unresolvedOperationCount are current operator-wide totals and are not narrowed by the activity window.

curl -sS -G \
  -H "Authorization: Bearer ${OPERATOR_API_KEY}" \
  --data-urlencode "date_from=2026-08-01T00:00:00Z" \
  --data-urlencode "date_to=2026-09-01T00:00:00Z" \
  "https://your-beacon-origin.example.com/api/operator/polyflight/overview"

Representative response

{
  "operatorCount": 1,
  "flightCount": 12,
  "ticketCount": 48,
  "userCount": 19,
  "acceptedStakeMinor": "480000",
  "ticketFeesMinor": "24000",
  "signedPositionResultMinor": "-28500",
  "clearingReceiptsMinor": "480000",
  "clearingOutflowsMinor": "76000",
  "clearingNetMinor": "404000",
  "unpaidCompensationMinor": "0",
  "unpaidWinningsMinor": "38000",
  "unpaidRefundsMinor": "10000",
  "unresolvedOperationCount": 1,
  "currencyCode": "IDR"
}

All money values are decimal strings in IDR minor units. Empty activity returns zero counts and "0" amounts rather than a missing payload.

signedPositionResultMinor is the fee-exclusive game result and may be negative. Confirmed clearing is shown separately: it proves wallet movement and is not fee or position income. Outstanding winnings, refunds, and compensations are delivery liabilities, not a reason to change the ticket result.

Dashboard and next steps

Open Operator Dashboard → Polyflight for the same summary, then use Flights, Tickets, Wallet operations, Settlement reports, or Commercial terms for the underlying records.

Playground: /api-playground/polyflight?request=polyflight-overview.

Copyright © 2026