---
title: "Cancel a fixed-price plan within the 14-day cooling-off period"
method: POST
path: "/v1/orders/{id}/cancel"
tags: ["public", "orders"]
---

# Cancel a fixed-price plan within the 14-day cooling-off period

`POST /v1/orders/{id}/cancel`

## Request

- Base URL: `https://api.vozora.io`
- URL: `https://api.vozora.io/v1/orders/{id}/cancel`
- Auth: API key in header `Authorization`

Within 14 days of the order's first payment (until the end of the 14th London calendar day after it), cancels the fixed-price plan: every server the order delivered is terminated now, and what was paid for the term is refunded less a proportionate charge for the time until the cancel, within 14 days. A yearly plan also has the same 14-day period after each renewal payment, while that renewal is its latest invoice; the refund is then pro rata against the renewal. Monthly renewals have none. Repeating the request answers the cancel already made. After the period it answers 409 cooling_off_expired. Requires instances:delete, because it terminates servers.

## Path parameters

- `id` string, required

## Request body

- OrderingCoolingOffCancelRequest
  - `confirm` boolean
  - `typed_confirm` string

## Response `200`

OK

- OrderingCoolingOffCancelResponse
  - `cancelled_at` string
  - `order_id` string
  - `refund_due_by` string: RefundDueBy is when the refund is paid by: 14 days after the cancel. The refund is what was paid for the term less a proportionate charge for the time until the cancel; its amount is emailed once it has been made.
  - `service_ids` string[]: ServiceIDs is every server the plan delivered: they are all terminated together.
  - `status` 'cancelled': Status is always "cancelled".

## Other responses

- `400`: bad_json or confirmation_required
- `401`: invalid or missing API key
- `403`: the key lacks instances:delete
- `404`: Not Found
- `409`: cooling_off_expired, cooling_off_not_applicable (not a fixed-price plan), cooling_off_unavailable or renewal_ended

---

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