freelance_approve_milestone
Approve submitted work to release escrow funds to the freelancer. Requires explicit acknowledgment when the milestone is funded, confirming the payee and amount before funds are released.
Instructions
MOVES MONEY, AND CANNOT BE UNDONE. Approve submitted work, moving the milestone SUBMITTED -> APPROVED -> PAID. On a milestone whose escrowStatus is FUNDED this is the call that RELEASES the escrow: the held money becomes the freelancer's cash-out balance, and nothing in this product can pull it back. Requires the SPEND scope, enforced by the server.
ON A FUNDED MILESTONE YOU MUST SEND acknowledge: true, and that flag means one specific thing: the person you are acting for has been told the amount and the payee and has said yes to THIS release. It is not a formality to set by default. Call it without the flag first if you are unsure - the refusal comes back as FREELANCE_ACKNOWLEDGEMENT_REQUIRED and carries the exact amount, currency and payee, which is the sentence to put in front of the person before you re-send with the flag. The flag is per call and never per session: a milestone's amount can change between two calls, so consent to an earlier one is consent to a different number. On a milestone nobody funded, the flag is ignored and this only moves the status.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The contract id. | |
| acknowledge | No | Confirmation that the person you are acting for has approved THIS release, after being told the amount and who receives it. Required when the milestone is FUNDED. | |
| milestoneId | Yes | The milestone id. |