---
title: "Record a manual affiliate payout settlement"
method: POST
path: "/admin/affiliate-payouts/{payout_id}/settlements"
tags: ["Admin"]
---

# Record a manual affiliate payout settlement

`POST /admin/affiliate-payouts/{payout_id}/settlements`

## Request

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

Record an out-of-band payment already made to the affiliate outside the on-chain claim flow (e.g. a manual bank transfer, or a correction while the claim path is down). Recorded as an already-CONFIRMED ADMIN_PAYMENT settlement; idempotency_key makes a retried request safe to resend (internal).

## Path parameters

- `payout_id` string, required

## Request body

- AffiliateServiceCreateAffiliatePayoutSettlementBody
  - `amount` string
  - `tx_hash` string
  - `idempotency_key` string: Required. Caller-supplied dedup token — retrying this call with the same idempotency_key (and the same payout_id/amount) is safe and returns the original settlement rather than recording a second payment.

## Response `200`

A successful response.

- ApiCreateAffiliatePayoutSettlementResponse
  - `settlement` ApiAffiliatePayoutClaim: AffiliatePayoutClaim is one settlement (claim or manual admin payment) against a payout — the "claims" column BRD §1.4 asks the payout table to show, plus the underlying row backing GetAffiliatePayoutHistory's per-payout claim/settlement history.
    - `settlement_id` string
    - `settlement_type` string
    - `amount` string
    - `status` string
    - `tx_hash` string
    - `confirmed_at` string
  - `new_status` string

## 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-payouts/:payout_id/settlements/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)
