Actions34
- Account Actions
- Confirmation Actions
- Market Actions
- Order Actions
- Position Actions
- Session Actions
- Watchlist Actions
Confirmation → Wait For
AI-generatedSummary
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
statusofACCEPTEDorREJECTED. If the timeout elapses, returns{ "status": "TIMEOUT", "message": "Confirmation timed out after …ms" }. Polls every 500 ms.