Skip to main content
DELETE
/
v1
/
orders
/
{order_id}
Cancel Order
curl --request DELETE \
  --url https://api.rivermarkets.com/v1/orders/{order_id} \
  --header 'X-River-Key-Id: <api-key>' \
  --header 'X-River-Signature: <api-key>' \
  --header 'X-River-Timestamp: <api-key>'
{
  "cancelled_river_order_ids": [
    "3c90c3cc-0d44-4b50-8888-8dd25736052a"
  ],
  "failed_cancelled_reasons": {}
}

Documentation Index

Fetch the complete documentation index at: https://docs.rivermarkets.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

X-River-Key-Id
string
header
required

UUID of your API key (from Settings → API Keys).

X-River-Timestamp
string
header
required

Current unix seconds. Must be within 30s of server time.

X-River-Signature
string
header
required

Base64 Ed25519 signature over the canonical request: METHOD\nPATH\nSORTED_QUERY\nTIMESTAMP\nSHA256(body) hex. See /api-reference/authentication for the full recipe.

Path Parameters

order_id
string<uuid>
required

Response

Successful Response

Schema for cancel order response

cancelled_river_order_ids
string<uuid>[]
required

List of cancelled river order identifiers

failed_cancelled_reasons
Failed Cancelled Reasons · object
required

Dictionary of failed to cancel river order identifiers and reasons