Skip to main content
Aflux runs on a prepaid balance. Campaigns draw from it; you top it up by deposit or promo code.

Reading the balance

The ledger

Every entry carries the amount, the balance after it, and what caused it: referenceType (PAYMENT, CAMPAIGN, PROMO, MANUAL) plus referenceId point at what the entry is about, and referenceName and projectName are there so a statement reads without extra lookups. The response pages with nextCursor.
A campaign takes its whole budget out of the balance at creation. Money released later — a cancelled placement, a failed payout — comes back as a REFUND entry rather than by reversing the original charge.