Skip to main content
POST
/
cancel-orders
Cancel specific orders
curl --request POST \
  --url https://v2.55-tech.com/cancel-orders \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '
{
  "requestUuids": [
    "ee9f4007-e5ab-4085-bffb-8d938e4cad5f",
    "fb5f2dd9-c855-4ba9-8ef9-4c2278ca2f1d"
  ]
}
'
{
  "status": "cancelled",
  "cancelledCount": 1,
  "cancelled": [
    {
      "orderId": 327,
      "requestUuid": "eb45b192-317b-42d5-9f65-af497b9fa8c1",
      "allowedBookmakers": "*",
      "fixtureId": "id1000004461512432",
      "outcomeId": 103,
      "playerId": 0,
      "orderPrice": 1.95,
      "orderStake": 10,
      "filledStake": 0,
      "userRef": "bettor1234",
      "testOrder": false,
      "orderCurrency": "USD",
      "back": true,
      "expiresAt": "2026-02-07T12:20:06.302841+00:00",
      "acceptBetterOdds": true,
      "acceptPartialStake": true,
      "clientName": "demo",
      "orderStatus": "CANCELLED",
      "createdAt": "2026-02-07T12:20:01.302841+00:00",
      "updatedAt": "2026-02-07T12:20:01.302841+00:00",
      "meta": null,
      "bets": [],
      "fixtureInfo": {
        "fixtureId": "id1000004461512432",
        "status": {
          "live": false,
          "statusId": 0,
          "statusName": "Pre-Game"
        },
        "sport": {
          "sportId": 10,
          "sportName": "Soccer"
        },
        "tournament": {
          "tournamentId": 44,
          "tournamentName": "2. Bundesliga",
          "categoryName": "Germany"
        }
      },
      "outcomeInfo": {
        "marketId": 101,
        "marketName": "Full Time Result",
        "outcomeId": 103,
        "outcomeName": "2"
      }
    }
  ],
  "notCancelled": {
    "reason": "Order not cancellable",
    "orders": []
  }
}

Authorizations

X-API-Key
string
header
required

API key for authentication. Contact contact@55-tech.com to obtain a key.

Body

application/json

At least one filter must be provided. Multiple filters are combined with OR logic.

orderIds
integer[] | null

List of numeric order IDs to cancel

requestUuids
string<uuid>[] | null

List of request UUIDs to cancel

userRef
string | null

Cancel all orders matching this user reference

Response

Cancellation result with enriched order details

status
string

'cancelled'

cancelledCount
integer

Number of orders cancelled

cancelled
object[]

Cancelled orders with enriched details

notCancelled
object

Orders that could not be cancelled