Admin
Block or unblock an affiliate
Changed onBlock 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
- Base URLhttps://api.testnet.rise.trade
- Authnone required
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
addressstring required
path param, "0x"-prefixed hex
Request body
Response
A successful response.
Changes
- info
endpoint added
- info