SET API (Platforms) · Payout controls
Approve a payout
POST/v1/payouts/{id}/approve
Approves a payout waiting for approval (pending_approval). Needs a key with the approve scope, other than the key that asked. A payout due now is checked against the wallet's balance and sent; one with a later scheduleAt waits for its time.
Path parameters
idstringrequired- The payout's id.
Headers
Idempotency-Keystring- Optional. The same key and body run once; a replay answers with
Idempotent-Replayed: true. Kept 24 hours.
Notes
approveis a third key scope besidereadandwrite. SET issues approver keys;POST /v1/api_keyspasses the scope on only from a key that has it. An approver key withread approvecannot make payouts.- Event
payout.approved, then the payout's own events. SET's operator cannot approve.
Errors
403 scope_missing403 operator_cannot_approve404 payout_unknown409 payout_not_pending_approval409 approver_is_requester409 balance_too_low409 payout_moved502 payout_refused401 api_key_required401 api_key_invalid401 api_key_wrong_mode403 scope_missing429 rate_limited