live · mainnetoc · docs
specs · api · guides
docs / documentation

@orangecheck/me-client


@orangecheck/me-client / PLATFORM_FEE_POLICY

Variable: PLATFORM_FEE_POLICY

const PLATFORM_FEE_POLICY: {
  min_floor_sats: 1;
  pct: 0.2;
  ratified: "2026-04-30";
};

Defined in: me-client/src/types.ts:19

Canonical types for me.ochk.io integrators.

Mirrors the source of truth at oc-me-web/src/lib/events/types.ts. Two layers:

  • Platform-level (PLATFORM_FEE_POLICY, MIN_INTEGRATOR_PRICE_SATS) — fixed by OC, surfaced as constants here so integrators can validate their config client-side before posting it.
  • Integrator-level (IntegratorPriceConfig) — every integrator declares their own per-event prices and user-share splits.

Per Addendum 01: every chargeable event is in exactly one of three classes. Sites pay for sessions and actions, not for clicks. Free events never instantiate a BillableEvent.

Type Declaration

NameTypeDefault valueDescriptionDefined in
<a id="property-min_floor_sats"></a> min_floor_sats11Absolute minimum platform fee, in sats.me-client/src/types.ts:23
<a id="property-pct"></a> pct0.20.2Fraction of every gross_fee that OC retains.me-client/src/types.ts:21
<a id="property-ratified"></a> ratified"2026-04-30"'2026-04-30'Date this policy was last ratified. Changes require a versioned @orangecheck/me-client release.me-client/src/types.ts:26