Dhan API

Dhan order update flow

Use this documentation as an implementation checklist for safe broker-connected workflows. Confirm current broker requirements in official docs before production changes.

What this page covers

How order updates should be handled in a safe Dhan automation workflow after a command is confirmed.

Safe setup checklist

Keep credentials server-side, validate dry-runs first, confirm static IP and callback configuration, and avoid enabling live execution until readiness checks pass.

The user-facing state should distinguish dry-run readiness from live execution readiness. A missing setup item can still allow documentation and support review, but it should not quietly enable broker calls.

Implementation details

Order updates should reconcile command state, broker response, and audit logs. A user should be able to see whether an order is staged, confirmed, submitted, rejected, cancelled, or unknown. Unknown states should not be hidden.

Vantaro handling

Vantaro treats setup issues as blockers for live execution while still allowing safe documentation and dry-run review where applicable.

Each blocker should create an audit event so support and users can review what happened without exposing tokens or sensitive account data.

Evidence and screenshots to add before final publication

Redacted Dhan readiness checklist screenshot
Dhan readiness checklist with broker credentials redacted.

FAQ

Can this page replace official broker docs?

No. Use it as a workflow guide and verify implementation details with official Dhan or Telegram documentation.