Admin

Enable or disable affiliate payout claims

Changed on

Turn affiliate payout claims on or off platform-wide (kill switch — disabled rejects ClaimAffiliatePayout before any DB write or on-chain call). Writes an audit-trail row recording which admin toggled it and why (internal).

post/admin/affiliate-claims-enabled

Request

Request body

enabledboolean
actorstring

Wallet address of the admin performing this action. Required, recorded in the audit log entry this RPC always writes.

reasonstring

Why claims are being turned on/off, e.g. an incident link or "resuming after math reconciliation". Recorded in the audit log entry, not shown to affiliates.

Response

A successful response.

enabledboolean

Changes