AlmondTill/G3N API

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

FieldTypeNotes
idID ID!No further notes.
typeString String!No further notes.
captionString String!No further notes.
statusString String!active (a posted fact) — the void lane is FSM data with NO wire op.
parentIdID ID!The paying group's TokenAccount (the driving fact's own anchor — YOUR wallet on applied entries).
rootIdID ID!The PAYING org group.
createdAtString String!No further notes.
updatedAtString String!No further notes.
revisionNumInt Int!No further notes.
revisionID ID!No further notes.
entryTypeString String!accrue | usage | applied | clawback.
ownerOrgGroupIdID ID!The EARNING org group.
periodMonthString String!The entry's month (YYYY-MM — the collected/consumed/netted period).
cycleIntaccrue only: the referred group's billed-cycle ordinal (1-based — LIFETIME).
ratePercentIntThe rate that applied (percent — the two EARNING lines; snapshotted, the entry never lies).
collectedUsdCentsIntaccrue only: the ACCRUAL BASIS in USD cents.
usageBasisCentsIntusage only: the month's consumed paid-kernel VALUE this entry commissions (USD cents — exact per-block prices).
amountUsdCentsInt Int!The figure, USD cents — SIGNED by type: accrue/usage strictly positive · applied/clawback strictly negative.
billingChargeIdIDaccrue 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).

Used by