Capital.com (Unofficial) icon

Capital.com (Unofficial)

Interact with the Capital.com Open API

Confirmation → Wait For

AI-generated

Summary

Polls Capital.com for the outcome of a deal confirmation using its deal reference, stopping when the broker accepts or rejects it or the timeout elapses.

Inputs

  • Deal Reference (required) — Reference returned when opening or creating a deal; used to retrieve its confirmation.
  • Timeout (Seconds) — Maximum time to poll before returning a TIMEOUT status. Defaults to 15 seconds; minimum 1 second.

Output shape

A single confirmation record.

Accepted or rejected responses include the API data and a status of ACCEPTED or REJECTED. If the timeout elapses, returns { "status": "TIMEOUT", "message": "Confirmation timed out after …ms" }. Polls every 500 ms.

Links

Discussion