Confirm or dispute delivery
confirm_deliveryAccepts or disputes the delivery of a task. accepted=true closes the task and, for a card hold, captures it. accepted=false with a reason opens a dispute, answered by a human within 2 business days; it is possible at the evidence stage, before the balance is paid, as well as after delivery. Without either, the task counts as accepted 7 days after delivery. Returns the task status.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reason | No | Required when accepted is false: what differs from the quote. | |
| task_id | Yes | Id of the task, of the form t_... | |
| accepted | Yes | true accepts the delivery, false disputes it. | |
| access_token | Yes | Access token of the quote and its task, issued with the quote. |