release_payment
Approve a worker's submitted work on an order and release their payout. Irreversible; requires employer auth and order status 'submitted'.
Instructions
Approve the worker's submitted work on an order and release their payout. This pays the worker and cannot be undone, so only call it after the account owner has reviewed the delivered work and explicitly approved payment. Must be called as the order's employer with GOHIREHUMANS_AUTH_TOKEN; unset GOHIREHUMANS_API_KEY first, because API-key authentication isn't supported for this action and a valid API key is rejected even alongside the session token. The order must be in 'submitted' status (check with get_job_status). Approves the order's current submitted milestone; where checkout is configured, Stripe releases the worker's listed payout. If the order has another milestone, the employer's saved card is charged for it at the same time. After the last milestone the order is completed and can be reviewed with submit_review.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rating | No | Not recorded by this tool; rate the worker with submit_review after the order completes. Kept for backward compatibility. | |
| order_id | Yes | ID of the order whose submitted work you are approving | |
| milestone_id | No | Ignored: the API always approves the order's current submitted milestone. Kept for backward compatibility. |