errand_cancel
Cancels an order. An unpaid order is simply closed; a paid order is automatically refunded to the original payment method for “amount paid minus the cancellation penalty” — no separate refund request is needed. Orders that are already completed, cancelled, or failed cannot be cancelled again.Check the penalty first: cancelling after a rider has accepted the order may incur a penalty. Call
errand_pre_cancel first to check the penalty and expected refund, confirm with the user, then call this tool.Parameters
Returns
Once the refund lands, the order’s
pay_status becomes refunded; while it’s in progress or pending compensation it’s pending_refund (the platform retries automatically — no action needed from you).
