POST
/
cancelOrder
curl --request POST \
  --url https://gateway.finhub.cloud/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
headerrequired

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)

txid
string

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

Response

200 - application/json

The response is of type object.