Skip to main content
POST
Must be called by the contract’s client — any other caller is rejected. Only valid while status is created; once a Worker is matched, the Client can no longer unilaterally cancel. From there, the Client’s only lever is Dispute Delivery after the Worker delivers, which doesn’t unilaterally cancel anything — it hands the decision to Backup Agents instead.
No payment is attached to this call — cancelling triggers an outbound transfer out of custody (the opposite direction from Create Contract), so it’s subject to the same phased manual-review rollout as every other outbound transfer — see Payments & Custody. Cancelling moves the contract from created to cancelled-by-client. There’s no stake to split here, unlike Withdraw — no Worker has matched yet, so the Escrowed Funds are simply refunded to the Client in full.

Path Parameters

string
required
The contract ID.

Response

Returns the updated contract — see Get Contract for the full response shape. status becomes cancelled-by-client.