Admin

Block or unblock an affiliate

Changed on

Block or unblock an affiliate (internal). Blocking sets their tier to NONE (stops future accrual immediately, bypassing the one-tier-per-call downgrade cap on UpdateAffiliate — this is a distinct emergency action) and locks them out of their own dashboard/referrals/payout-history/claim endpoints. Existing CLAIMABLE/PAID payouts are unaffected. Unblocking clears the lock but does not restore their prior tier.

post/admin/affiliates/{address}/blocked

Request

Path parameters

addressstring required

path param, "0x"-prefixed hex

Request body

blockedboolean
reasonstring

Why this affiliate is being blocked, e.g. an incident link or fraud case ID. Required when blocked=true, ignored when unblocking. Stored as-is (admin-only surface) and shown back on the affiliate's admin row.

Response

A successful response.

Changes