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
| Name | Type | Required | Description |
|---|---|---|---|
isReady | boolean | yes | Confirm, or withdraw a confirmation. |
Example request
{ "isReady": true }
Response
`{ ok: true }`; watch `trade.trading` for completion.
Example response
{ "ok": true }
Errors
| Code | When |
|---|---|
action_failed | No trade window is open, or not both sides are ready. |
plan_limit | Not 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.