---
title: "Get an unsigned message for cancelling a rune sell order"
method: POST
path: "/v2/ord/btc/runes/psbt/order/cancel"
tags: ["Runes Listing"]
---

# Get an unsigned message for cancelling a rune sell order

`POST /v2/ord/btc/runes/psbt/order/cancel`

## Request

- Base URL: `https://api-mainnet.magiceden.dev/v2`
- URL: `https://api-mainnet.magiceden.dev/v2/v2/ord/btc/runes/psbt/order/cancel`
- Auth: none declared
- TypeScript: <https://skmtc.dev/magiceden/apis/magic-eden-api/docs/v2/ord/btc/runes/psbt/order/cancel/post.ts> (a function with typed inputs; its response is checked against the schema)

Get an unsigned message for cancelling a rune sell order

## Request body

- PostRunesPSBTOrderCancelRequestSchema
  - `orderIds` string[], required: Array of UUIDs of the orders to be cancelled; cannot be empty and maximum of 20.
  - `makerAddress` union, required: Maker's Bitcoin address, supporting native segwit, Taproot, or P2SH formats.
    - string
    - string
    - string
  - `makerPublicKey` union, required: Maker's Bitcoin public key, either a standard or x-only format.
    - string
    - string

## Response `200`

Successful response

- PostRunesPSBTOrderCancelResultSchema
  - `orderIds` string[], required: Array of UUIDs for successfully cancelled orders.
  - `token` string: JWT token of cancellation request.
  - `message` string: Unsigned message of cancellation request.

---

[API](https://skmtc.dev/magiceden/apis/magic-eden-api.md) - [All operations](https://skmtc.dev/magiceden/apis/magic-eden-api/llms.txt) - [OpenAPI document](https://skmtc.dev/magiceden/apis/magic-eden-api/revisions/66028b292693?raw)
