Skip to main content
POST
Cancel a single order
按 ID 取消單筆未成交訂單。回傳取消時的未成交額和已成交額。

請求

POST /session/cancel
string
必填
要取消的訂單 ID。

回應

object

示例

錯誤

授權

Authorization
string
header
必填

Pass your auth token in the Authorization header. The Bearer prefix is optional; the server also accepts a signed auth cookie or a token field in the request body.

主體

application/json
sessionID
string
必填

Order id to cancel.

回應

Cancel result

data
object