Beta

The Partner Trading API v1 is in beta — endpoints and response shapes may still change.

Developers
Cru World Wine
API v1 · REST & MCP
Confirmations

Discard an instruction

Withdraw a pending instruction before it is confirmed. It answers 204 with no body, and the code cannot be used again.

DELETE/confirmations/{code}LIVE
No scope of its ownConnected apps only

Path parameter

REQUIRED
codestringThe cnf_ code a connected app’s write returned. URL-encode it as a single path segment.

Response fields

204 No Content

No body. The X-Request-Id header is still sent.

Errors

A code that is unknown or was staged by another app, customer or market returns CONFIRMATION_NOT_FOUND / 404. A code that is no longer pending — executing, completed, failed, expired or already discarded — returns CONFIRMATION_EXPIRED / 410. A code past its 15 minutes is marked expired only when it is next read or confirmed, so until then discarding it still answers 204. Missing or invalid credentials return AUTH_INVALID_CREDENTIALS / 401. View all error codes →

UP NEXT Writes & confirmations

API credentials

Enter the client key and secret issued by Cru. They are kept for this browser tab’s session — a reload keeps them, closing the tab or clearing them ends them.

Credentials are never included in copied examples, and are redacted from anything the console prints back.

Request API access

Tell us who you are and what you want to build. Cru issues a client key and secret for your organisation, scoped to what you need.

Markets you trade in (choose one or more)

We use what you send here to reply about API access, and for nothing else. Cloudflare Turnstile checks the form for bots (privacy policy).