AffiliateAccrual
object type
One platform referral-earnings fact. accrue (+, the subscription line — 20% of each referred group's collected base-fee overhead, lifetime both-in-good-standing) · usage (+, the consumption line — 10% of the referred group's monthly consumed paid-kernel value, its first 12 billed months) · applied (−, bill-netting — your own base fee credit-settled against earnings) · clawback (−, a dispute reversal). Each entry snapshots its rate + basis (self-auditing at every parse).
Fields
| Field | Type | Notes |
|---|---|---|
id | ID ID! | |
type | String String! | |
caption | String String! | |
status | String String! | |
parentId | ID ID! | The paying group's TokenAccount (the driving fact's own anchor — your wallet on applied entries). |
rootId | ID ID! | The paying org group. |
createdAt | String String! | |
updatedAt | String String! | |
revisionNum | Int Int! | |
revision | ID ID! | |
entryType | String String! | accrue | usage | applied | clawback. |
ownerOrgGroupId | ID ID! | The earning org group. |
periodMonth | String String! | The entry's month (yyyy-mm — the collected/consumed/netted period). |
cycle | Int | accrue only: the referred group's billed-cycle ordinal. |
ratePercent | Int | The rate that applied (percent — the two earning lines; snapshotted, the entry never lies). |
collectedUsdCents | Int | accrue only: the accrual basis in USD cents. |
usageBasisCents | Int | usage only: the month's consumed paid-kernel value this entry commissions (USD cents — exact per-block prices). |
amountUsdCents | Int Int! | The figure, USD cents — signed by type: accrue/usage strictly positive · applied/clawback strictly negative. |
billingChargeId | ID | accrue only: the driving BillingCharge. Absent on a credit-settled cycle's accrue (no charge document exists — the payer's own applied entry is the netting's trail). |