API Reference
Stop the bot on a trade
POST
https://api.kardlane.com/v1/trades/{id}/stopPermanent. The bot will not act on this trade again: it moves to review, you receive one trade.escalated (reason “Bot stopped by …”), and you finish it with Resolve a trade. No workflow messages go to the vendor after a stop.
Authorization#
Authorizationheaderrequired
Bearer token: Bearer <your project API key>. Create keys in the dashboard under your project’s Integration page.
Path parameters#
idstringrequired
The trade.
Body#
bystring
Who is stopping it.
notestring
Why (up to 300 characters) — included in the escalation reason.
Responses#
200Stopped — the trade is waiting for review.
409Already stopped or finished.