Skip to main content
POST
Cancel order

Authorizations

X-Api-Key
string
header
default:sb_test_your_key
required

API credential. Withdrawal quote and submit operations additionally require the documented Ed25519 timestamp, nonce, and signature headers.

Headers

Idempotency-Key
string
required

Unique key for this exact write intent. Store it before sending the request and reuse it for retries after timeouts or transient errors.

Path Parameters

order_id
string<uuid>
required

Public order ID returned by create or list order endpoints.

Response

Cancellation submitted

data
object
required

Result returned after a cancel request is accepted for processing.

status
enum<string>
required
Available options:
success