The AbuseZero API is in public beta. Breaking changes are announced two weeks in advance.
AbuseZero

Benefit history

Keep track of who has claimed what, across every identity they use.

Benefit history is the record of every free trial, credit grant, coupon and referral bonus you have handed out. It's what lets AbuseZero recognize the same person coming back with a new email.

Linked identities

When you record a benefit, AbuseZero links every identifier you send. If any of them show up again, the new check sees the earlier claim.

How identities are linked across claims

Recording claims

Record a benefit right after you grant it, and pass the checkId that approved it so the two are connected.

lib/billing.ts
await abusezero.benefits.record({
  identity: { email, deviceId, paymentFingerprint },
  type: 'credit',
  amount: 25,
  checkId: check.id, 
});

Where data lives

Benefit records are stored per environment, so sandbox claims never affect production checks.

checks
benefits
rules
checks
benefits
rules

Retention

Benefit history is kept for 90 days.

How is this guide?

Edit on GitHub

Last updated on

On this page