Business Guide
Campaign Lifecycle
End-to-end lifecycle from funding verification to reward payout readiness.
Lifecycle Overview
- Verify business funding (
POST /business/funding/verify). - Configure spend and referral rules.
- Define events and activate programs.
- Ingest referrals and reward-eligible conversions.
- Move rewards from
PENDINGtoCLAIMABLEand eventuallyCLAIMED.
Funding Verification
POST /business/funding/verify accepts:
{
"txHash": "0x...",
"companyId": "optional-string"
}Validation rules:
txHashmust match0x+ 64 hex characters.- Transaction must target configured distributor contract.
- Transaction must have non-zero value and successful receipt status.
Reward Status Model
Defined in Prisma RewardStatus:
PENDINGCLAIMABLEPROCESSINGCLAIMEDEXPIRED
Business operations should monitor transitions and reserve balance impact:
totalReservedWeitracks commitments.totalPaidWeiincreases after claim completion.
Event Programs
Business events (/business/events) support:
namedescriptionmetadataFieldsstatus(ACTIVEorINACTIVE)
SDK ingestion only allocates referral rewards when event is active and event/referral conditions are satisfied.