---
title: "Withdraw an order that has not been paid"
method: POST
path: "/api/orders/{id}/withdraw"
tags: ["Orders"]
---

# Withdraw an order that has not been paid

`POST /api/orders/{id}/withdraw`

## Request

- Base URL: `https://agentdrives.com`
- URL: `https://agentdrives.com/api/orders/{id}/withdraw`
- Auth: one of:
  - API key in header `x-api-key`
  - HTTP bearer

## Path parameters

- `id` string, required

## Response `200`

Withdrawn

## Other responses

- `409`: Error as problem details (RFC 9457) with a machine-readable `error` and a `fix` that says what to do next

---

[API](https://skmtc.dev/agentdrives/apis/agentdrives-api.md) · [All operations](https://skmtc.dev/agentdrives/apis/agentdrives-api/llms.txt) · [OpenAPI document](https://skmtc.dev/agentdrives/apis/agentdrives-api/revisions/ae3f2c04ff72?raw)
