Referrals

Referral bonuses paid
to the same person

Check the link between referrer and signup before paying for a new customer.

Decision trace

Example · enforcing modeSelf-referral
  1. Input signalsNew account and referrer share a device from the referrer's last verification.
  2. Reason idsself_referral
  3. Decisionlimit · referral.selfReferral: true
  4. BonusYour backend withholds the reward

How it works

  1. Resolve attribution

    Send the referrer's existing account id from your backend. An unchecked browser claim is not enough.

  2. Check the links

    Look for shared account, device, normalized email or network evidence, plus device-linked referral rings.

  3. Gate the bonus

    Require an allow decision and no self-referral or ring flag before issuing the reward.

API

Add referral attribution to verification. Keep the secret server-side.

POST https://nolgard.com/v1/verify
Content-Type: application/json

{
  "secret": "SITE_SECRET",
  "token": "BROWSER_TOKEN",
  "account": { "id": "new_account" },
  "referrer": { "accountId": "user_42" }
}

// Example response fields
{
  "success": true,
  "decision": "limit",
  "referral": {
    "selfReferral": true,
    "ring": false
  }
}

Limits