Turnkey Referral Program Development for a Crypto Exchange

Manual recalculation of referral accruals slows payouts and opens loopholes for abuse. We develop turnkey referral programs for crypto exchanges: we design the accrual scheme, configure anti-fraud and reporting. You get automated accounting that reduces accrual time and relieves the team.

Blockchain Development Services

Frequently Asked Questions

Latest works

  • Development of a web application for FEEDME
    Development of a web application for FEEDME
    1375
  • Development of an online store for the company FURNORO
    Development of an online store for the company FURNORO
    1349
  • B2B Advance company logo design
    B2B Advance company logo design
    794
  • Development of a web application for Enviok
    Development of a web application for Enviok
    1087
  • AIDER company logo development
    AIDER company logo development
    1032
  • CRM development for Chasseurs
    CRM development for Chasseurs
    1129

Crypto Exchange Referral Program Development: Bottlenecks

Referral accruals break not at the moment of trade, but at the junction of systems. The trading core records execution, cancellation, and partial order closure, while the rewards module receives already aggregated events from this stream.

If there is no common transactional boundary and a clear idempotency rule between them, any trade cancellation, service restart, or repeated event delivery causes accrual discrepancies: the partner was credited turnover that did not exist, or a closed position was not credited.

While the discrepancy is small, it is closed by manual reward recalculation.

Trades are exported, reconciled with referral accruals in spreadsheets, and balances are adjusted manually — with small turnover this is hours of work once a month; with several levels of a partner network, it is already a constant load.

A separate problem is that such an adjustment leaves no auditable trail, and there is nothing to answer the partner's question "why did the amount change".

The second category is abuse. Self-referral, when a trader creates a second account using their own link, is visible only through account linkage: matching payment details, device, withdrawal address.

It cannot be computed from individual events, and the referral program turns into a channel for commission leakage bypassing real traffic.

Add lost partners: after a change in the accrual model or account migration, some "trader — referrer" links break, and the person who brought clients sees a zero report. We analyze how this is closed at the level of accounting architecture.

What automation gives: accrual speed, anti-fraud, reporting

Reward accrual is tied to an event on the network: the service reads confirmed transactions, matches the address with the referral tree, and queues the amount for crediting.

While the number of confirmations is below a given threshold, the accrual remains in "pending" status — the partner sees it in the dashboard, but cannot withdraw.

This closes the main source of disputed accruals: the discrepancy between actual turnover and what someone calculated manually.

Accruals and reconciliation

Before automation, reconciliation with partners means exports from the database, reconciliation in spreadsheets, and resolution of discrepancies for each disputed period.

Automatic reward accrual removes this layer: the share of manual operations falls from a third of requests to a few percent, and reconciliation runs against a log with immutable records.

The partner sees the same figure as the exchange, so reconciliation speed is measured in minutes, not days of correspondence.

Anti-fraud and reporting for partners

Scoring catches self-links: multiple accounts on one payment method, transactions between linked addresses, abnormal login frequency. Addresses are additionally checked against external risk databases — at this level we work with Chainalysis. Disputed accruals go into quarantine pending review rather than blocking the entire payout.

Referral reporting is assembled in the dashboard from the same data as payouts: turnover, accrued, held under risk review, statuses by period.

The export reconciles with the partner's accounting without manual reconciliation, so downtime due to accounting errors does not occur, and support stops being a bottleneck.

Comparison of referral accounting options for a crypto exchange

The choice of referral accounting method determines how expensive it will be to change the reward scheme and how quickly the partner will see the accrual.

Below are four approaches that are realistically chosen between at launch and during volume growth, with the honest limitations of each.

Option When it fits Limitations
Built-in referral module One level, single rate, first partner schemes Changed only via exchange release, weak partner analytics
Separate accrual service Multiple levels, protection against manipulation, retroactive recalculations Requires reconciliation with exchange core and control of duplicate accruals
Manual referral accounting Hypothesis testing, a few partners, one-time payouts Rate errors, payout delays, does not scale
External partner platform Fast launch, ready-made dashboards and reports Vendor dependency, limited rate logic

How to choose an option for current load

The guideline is the number of active partners and the frequency of scheme changes.

While there are few partners and one rate, a built-in module is sufficient; as soon as multi-level rates, different shares by product, and recalculations appear, accounting is moved to a separate service with an operations log.

A separate service connects to the exchange via trade and accrual events — this enables audit and recalculation without a core release. An external platform is justified when time-to-launch matters more and there is no unique accrual logic.

Work stages: audit, accrual scheme, setup, verification, handover

Work proceeds sequentially: first we understand how referral accounting is currently structured, then design the accrual scheme, and only then write code. This order allows finding discrepancies on diagrams rather than on live payouts.

Audit and accrual scheme

  1. Audit of referral accounting — we check how the invitee is linked to the inviter and where this link breaks: wallet change, re-registration, manual edit in the database.
  2. Referral program level scheme — we fix the number of levels, payout shares, payout limits, and conditions for moving between levels.
  3. Accrual setup — we describe reward calculation in words and diagrams, then transfer it to code along with recalculation for canceled operations.
  4. Verification on historical data — we run the new scheme on past turnover and compare totals with current ones to see deviations before launch.

Verification and handover

  • Test accrual scenarios — we review edge cases: top level, minimum amount, simultaneous withdrawals, re-registration of the same participant.
  • Anti-fraud — we configure rules against self-referral and turnover manipulation, as well as thresholds after which accrual goes to manual review.
  • Team training and handover of regulations — we show support how to read accrual history and what to reply to a participant, provide documentation on the scheme and dispute resolution.

The outcome of the stage is a scheme that reproduces accruals one-to-one on a test set and is clear to support without a developer.

What is included in the package: accounting schemes, access policies, regulations

We assemble the package so that the program can be handed over to an internal team and developed without us: each entity has a description, each access has an owner, each disputed accrual has a defined review procedure. Below is what remains in hand after launch.

  • Reward accrual scheme — referral tree levels, calculation bases, event capture moment, idempotency of repeated credits, and protection against double accrual on retries.
  • Data and account relationship scheme — how "inviter — invitee" relationships are stored, attribution history, system behavior on account blocking or merging.
  • Access policies and roles — role matrix for support, risk team, and partner: who sees aggregates, who sees personal data, who can manually adjust an accrual, with an audit log for each action.
  • Partner dashboard — accruals, click and conversion statistics, payout statuses, export of reports in machine-readable form for own analytics.
  • Referral program documentation — description of entities, events, and integration points, settings for abuse detection rules, and a metrics dictionary so new engineers can onboard without code walkthrough.
  • Disputed accrual review regulation — response times, escalation levels, evidence request templates, manual adjustment procedure, and conditions for revoking an accrual.

Acceptance runs through control scenarios: we run a multi-level chain, duplicate and revoke an event, review a disputed case, and compare the result with the regulation.

We consider the package delivered when there are no reconciliation discrepancies and decisions on disputed accruals are reproduced by your team without our involvement.

Case study: how manual recalculation was replaced with automated accounting

The client is a crypto exchange with a partner network of several thousand participants and payouts in stablecoins on TRON.

Referral accruals were calculated manually: export by trades, reconciliation in spreadsheets, a dedicated employee checked levels and percentages for each partner. Discrepancy resolution took days.

What it was before

The share of accruals that went through manual recalculation was most of the referral program. Reconciliation with partners took from three days to a week: each figure had to be confirmed with a counter-spreadsheet. The error was found at best in the next payout cycle, and it had time to propagate across partners.

What it became after

After implementing automated accounting, only a few percent of operations remained manual — only non-standard cases such as retroactive partner level changes.

Reconciliation was reduced from days to hours: the partner report is assembled from the same accrual table as the payout, so no discrepancies arise between documents. A disputed accrual is visible at the moment of the event — before payout, not after a complaint.

How accrual history was migrated

The program was not stopped during this. First, we assembled a unified registry from previous exports, reconciled records by partner IDs and periods, and separately handled duplicates and manual edits.

Then accounting ran in parallel — old and new — with daily comparison of totals for each partner. We switched over when discrepancies reached zero.

How a referral program differs from a partner program

The difference between a referral and partner program starts with tree depth. Referral — one level: the client registers by code and remains tied to the inviter. The reward base is narrow — commission on trades of a specific invited account, accrual goes to internal balance.

Accounting is simple: one "inviter → invitee" relationship, one rate, no retroactive recalculations.

Partner — this is a tree: a participant invites sub-partners, and accrual is distributed across levels between the direct inviter and upper levels.

The base is also different: calculating from gross commission is simple, but with bonuses and negative carryover of unprofitable accounts, it is more correct to take the exchange's net revenue.

A multi-level accrual scheme requires tree recalculation, an immutable operations log, and cycle protection — otherwise the partner sees one amount and billing calculates another.

Partner reward withdrawal is the most sensitive node. Internal balance closes instantly, external payout requires checks: minimum threshold, partner KYC, limits, network fee and its allocation to the recipient or exchange.

Batch payouts on a schedule are cheaper and easier to reconcile with reporting than one-time transfers; requirements for storing transaction history are set by MiCA and the local regulator.

Choosing a scheme is about the accounting model, not marketing. Single-level is suitable for attracting retail traders and provides predictable calculation. Multi-level is needed for working with media and communities, but requires a clean base and explicit rules.

We fix tree depth, base, rates, and payout logic before development starts so that accruals do not become overly complex.

Technical concerns: limits, anti-fraud, data migration

Reward limits and anti-fraud for referral accruals look like a formality while a small share of turnover passes through the partner network.

As soon as volume grows, daily caps per account, rate levels, and self-referral cutoff have to be calculated in advance — otherwise manipulation surfaces after payout.

We revise the accrual scheme with already accrued rewards according to the rule of immutability of the past: closed periods remain at previous rates, the new procedure is enabled from the switch date.

Referral data migration proceeds while trading is running — a replica of the production database, reconciliation of relationships and amounts, switching reads before writes.

How do you cut off self-referrals?

We link accounts by matching withdrawal details, device fingerprint, and login subnet. Two or more matches block the accrual; the owner sees the reason in the dashboard and can dispute the decision manually.

What happens if the limit is exceeded?

The reward does not burn: the excess goes to a deferred balance and is paid in the next period or upon moving to a higher level. The dashboard shows the remainder and unblock date.

Can history be migrated without stopping trading?

Yes. We read from the replica, write to both schemes in parallel, and reconcile amounts for each account. If there is a discrepancy, the switch is rolled back; history remains in the old scheme until the cause is resolved.

Let's discuss the task and come back with an estimate and work plan

To come back with an estimate for accrual accounting work and an implementation work plan, we just need inputs from you — not a ready-made specification.

The five points below remove almost all uncertainty: they show the scope of accrual rules, the state of current accounting, and the depth of integration with the exchange core.

  • Current scheme: number of referral network levels, what the reward is calculated from — turnover, commission, trading volume — and where accounting is kept: spreadsheets, separate service, manual reconciliations.
  • Access to accounting data: exports by operations, referral relationships, accruals, and payouts. A test environment or anonymized slices are sufficient — production permissions are not needed.
  • Examples of disputed accruals: 3–5 real cases where the calculation diverges from expectation — self-referral, multiple accounts of one participant, canceled trades, refunds, stuck accruals.
  • Acceptance owner: who confirms the accrual rules and accepts the result. We will agree on the formula, control sums, and acceptance scenarios with them.
  • Timeline priorities: what is needed first — audit of the current scheme, protection against manipulation, reporting, payout automation — the order of stages depends on this.
  • Payout path: how the reward reaches the partner — manually, in batches, or automatically — and at what point final reconciliation is done.

Next, we will review your scheme, show where accounting diverges from actual accruals, and come back with an estimate and implementation work plan — with stages, responsibility areas, and acceptance points.