---
title: "Enable or disable affiliate payout claims"
method: POST
path: "/admin/affiliate-claims-enabled"
tags: ["Admin"]
---

# Enable or disable affiliate payout claims

`POST /admin/affiliate-claims-enabled`

## Request

- Base URL: `https://api.testnet.rise.trade`
- URL: `https://api.testnet.rise.trade/admin/affiliate-claims-enabled`
- Auth: none required
- TypeScript: <https://skmtc.dev/rise/apis/risex-rest-api/docs/admin/affiliate-claims-enabled/post.ts> (a function with typed inputs; its response is checked against the schema)

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).

## Request body

- ApiSetAffiliateClaimsEnabledRequest
  - `enabled` boolean
  - `actor` string: Wallet address of the admin performing this action. Required, recorded in the audit log entry this RPC always writes.
  - `reason` string: 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 `200`

A successful response.

- ApiSetAffiliateClaimsEnabledResponse
  - `enabled` boolean

## Other responses

- `default`: An unexpected error response.

## Changes

- **2026-11-03** `98eabcd6a6ad`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/rise/apis/risex-rest-api/changes/admin/affiliate-claims-enabled/post.md)

---

[API](https://skmtc.dev/rise/apis/risex-rest-api.md) - [All operations](https://skmtc.dev/rise/apis/risex-rest-api/llms.txt) - [OpenAPI document](https://skmtc.dev/rise/apis/risex-rest-api/revisions/98eabcd6a6ad?raw)
