tradingConfirm

Confirm the trade. Both sides confirming completes it.

The last step, and the irreversible one. Completion arrives on the `trade` snapshot rather than in this reply — do not treat `ok: true` as proof the items changed hands.

In Trading.

Request

POST /api/v1/sessions/{accountKey}/actions/tradingConfirm

Parameters

NameTypeRequiredDescription
isReadybooleanyesConfirm, or withdraw a confirmation.

Example request

{ "isReady": true }

Response

`{ ok: true }`; watch `trade.trading` for completion.

Example response

{ "ok": true }

Errors

CodeWhen
action_failedNo trade window is open, or not both sides are ready.
plan_limitNot on the free plan.

See also

DarkerAPI is an independent project. It is not affiliated with, endorsed by or associated with IRONMACE Co., Ltd. or Valve Corporation. “Dark and Darker” and related marks belong to their respective owners.