Skip to main content
DCA orders cannot be edited, only cancelled. Cancelling returns the unfilled remainder to your wallet; rounds that have already filled are not reversed. Every request needs the JWT from authentication.
There is no update endpoint (PATCH /trigger/v2/orders/dca/{id} returns 404), and no pause or resume: cancelling is one-way. To change, restart, or resume a DCA, cancel it and create a new one.

Cancelling an order

Cancelling uses the same two-step withdrawal flow as price orders. Step 1 moves the order to withdrawing and returns an unsigned withdrawal transaction, along with refundAmount and roundsRemaining:
Step 2 signs that transaction and confirms the withdrawal:
If the withdrawal does not land, call cancel again to re-craft it; the order stays in withdrawing and the request is idempotent. Cancelling is one-way: once initiated, the order stops filling and cannot return to active (a failed confirm-cancel leaves it in withdrawing so you can retry, it does not roll back). If you change your mind, complete the withdrawal to reclaim the unfilled funds, then create a new order to resume.

Errors

See the DCA errors table for the full list.

Create a DCA Order

Set up the deposit and schedule.

Track a DCA Order

Monitor progress, fills, and state.

Cancel DCA (API)

Full cancel request and response schema.

Authentication

The challenge-response JWT flow every request needs.