POST
/v1/accounting/payouts/{id}/approveApprove a payout
Approves a payout request: the status becomes approved and the decider and the moment are stamped. The admin seat. Nobody may decide their own request — that is in the UPDATE's WHERE, so approving your own reads as a not-found. Approving does not move any money; recording that it moved is post_accounting_payouts_id_paid.
Access class: workspace:admin.
Send request
Use the documented inputs to call this endpoint directly.
API serverbase URL
Bearer tokensessionoptional
Stored only in this browser for the session security scheme and reused on every API page in this group.
Parameters
Values are applied to the request and the example on the right.
idpath · stringrequired
Request body
application/jsonrequiredbodyobjectoptional
paramsoptional
queryobjectoptional
Responses
201application/json
the action's answer
{
"data": {
"availableAtRequestMinor": 1,
"bankTransactionId": 1,
"createdAt": "string",
"currency": "string",
"dealId": 1,
"decidedAt": "string",
"decidedBy": "string",
"decisionReason": "string",
"detail": {},
"id": 1,
"notes": "string",
"paidAt": "string",
"requestedAmountMinor": 1,
"requestedAt": "string",
"requestedBy": "string",
"splitId": 1,
"status": "string",
"updatedAt": "string"
}
}dataoptional
defaultapplication/json
a refusal: {"error": "<what a person needs to read>"}. 401 no credential, 402 the plan does not include this, 403 the seat does not, 404 the thing does not exist or is not yours to see.
{
"error": "string"
}errorstringrequired