admin

Approve or reject a host payout held by the automatic payout path (Admin + TOTP step-up). approve releases the hold (the worker re-runs every correctness check); reject fails the unsigned request and releases its locked balance

post/api/v1/admin/payouts/{id}/review

Request

  • Base URL: https://amplerun-api.spiry.org
  • URL: https://amplerun-api.spiry.org/api/v1/admin/payouts/{id}/review
  • Auth: HTTP bearer

Path parameters

idstring uuid required
Example:3f0e2a55-8c1b-4d2e-9a6f-0b7c1d2e3f40

Headers

Idempotency-Keystring uuid required
Example:3f0e2a55-8c1b-4d2e-9a6f-0b7c1d2e3f40

UUID scoped to authenticated principal, route and canonical request hash.

Request body

decision'approve' | 'reject' required
reasonstring required

Response

Decision recorded (audited with the admin and reason).

idstring uuid required
kind'payout' | 'withdrawal' required
decision'approve' | 'reject' required
state'INTENT' | 'FAILED' required

Example response

{
  "id": "3f0e2a55-8c1b-4d2e-9a6f-0b7c1d2e3f40"
}

Changes

No recorded changes to this operation across all 1 revision of this API.