Skip to main content
POST
/
cancelOrder
Cancel Order
curl --request POST \
  --url https://gateway.varchev.com/crypto/cancelOrder \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --header 'tenantId: <tenantid>' \
  --data '
{
  "nonce": 61259360,
  "txid": "sint fugiat consequat et Duis"
}
'
{
  "error": [],
  "result": {
    "count": 1
  }
}

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Headers

tenantId
string
required

Tenant/Owner id

Content-Type
string

Body

application/json
nonce
integer

(Required)

Example:

61259360

txid
string

(Required) Open order transaction ID (txid) or user reference (userref)

Example:

"sint fugiat consequat et Duis"

Response

200 - application/json

OK

The response is of type object.