{
  "openapi": "3.1.0",
  "info": {
    "title": "Apexium Trading API",
    "version": "1",
    "description": "Public API, authenticated with an API key in the x-api-key header."
  },
  "tags": [
    {
      "name": "Health",
      "description": "Whether the API is up, without an API key"
    },
    {
      "name": "Account",
      "description": "The account behind the API key and its balance"
    },
    {
      "name": "Reference data",
      "description": "OddsPapi sports, tournaments, participants, markets and bookmakers"
    },
    {
      "name": "Fixtures",
      "description": "OddsPapi fixtures: schedule, status, scores"
    },
    {
      "name": "Odds",
      "description": "OddsPapi odds, limited to the account's bookmakers"
    },
    {
      "name": "Betslip",
      "description": "The price and stake limits of one selection at each of the account's bookmakers"
    },
    {
      "name": "Orders",
      "description": "Preview, place, read and cancel orders"
    },
    {
      "name": "Bets",
      "description": "The bets your orders were split into"
    },
    {
      "name": "Positions and PnL",
      "description": "Open exposure and realised results"
    }
  ],
  "components": {
    "securitySchemes": {
      "apiKey": {
        "type": "apiKey",
        "in": "header",
        "name": "x-api-key"
      }
    },
    "schemas": {
      "Venue": {
        "type": "object",
        "properties": {
          "venueId": {
            "type": "integer",
            "description": "Numeric venue identifier."
          },
          "venueSlug": {
            "type": "string",
            "description": "URL-safe venue slug."
          },
          "venueName": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Venue display name, translated per the request language prefix."
          },
          "venueLocation": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Venue location (city), translated per the request language prefix."
          }
        },
        "required": [
          "venueId",
          "venueSlug"
        ],
        "additionalProperties": true
      },
      "TournamentList": {
        "type": "array",
        "items": {
          "$ref": "#/components/schemas/Tournament"
        }
      },
      "Tournament": {
        "type": "object",
        "properties": {
          "tournamentId": {
            "type": "integer",
            "description": "Numeric tournament identifier (embedded zero-padded to 6 digits inside fixture/future IDs)."
          },
          "sportId": {
            "type": "integer",
            "description": "Sport the tournament belongs to."
          },
          "tournamentSlug": {
            "type": [
              "string",
              "null"
            ],
            "description": "URL-safe tournament slug."
          },
          "categorySlug": {
            "type": [
              "string",
              "null"
            ],
            "description": "URL-safe slug of the category (usually the country/region) the tournament belongs to."
          },
          "tournamentName": {
            "type": "string",
            "description": "Tournament display name, translated per the request language prefix."
          },
          "categoryName": {
            "type": [
              "string",
              "null"
            ],
            "description": "Category display name, translated per the request language prefix."
          }
        },
        "required": [
          "tournamentId",
          "sportId",
          "tournamentName"
        ],
        "additionalProperties": true
      },
      "SportList": {
        "type": "array",
        "items": {
          "$ref": "#/components/schemas/Sport"
        }
      },
      "Sport": {
        "type": "object",
        "properties": {
          "sportId": {
            "type": "integer",
            "description": "Numeric sport identifier. Also the first two digits of downstream `marketId`, `outcomeId` and `fixtureId` values."
          },
          "slug": {
            "type": "string",
            "description": "URL-safe sport slug. This field will be renamed to `sportSlug` in a future release."
          },
          "sportName": {
            "type": "string",
            "description": "Sport display name, translated per the request language prefix."
          }
        },
        "required": [
          "sportId",
          "slug",
          "sportName"
        ],
        "additionalProperties": true
      },
      "SeasonList": {
        "type": "array",
        "items": {
          "$ref": "#/components/schemas/Season"
        }
      },
      "Season": {
        "type": "object",
        "properties": {
          "seasonId": {
            "type": "integer",
            "description": "Numeric season identifier."
          },
          "tournamentId": {
            "type": "integer",
            "description": "Tournament this season belongs to."
          },
          "sportId": {
            "type": [
              "integer",
              "null"
            ],
            "description": "Sport the season belongs to."
          },
          "seasonSlug": {
            "type": [
              "string",
              "null"
            ],
            "description": "URL-safe season slug."
          },
          "seasonName": {
            "type": "string",
            "description": "Season display name, translated per the request language prefix."
          }
        },
        "required": [
          "seasonId",
          "tournamentId",
          "seasonName"
        ],
        "additionalProperties": true
      },
      "PlayerList": {
        "type": "array",
        "items": {
          "$ref": "#/components/schemas/Player"
        }
      },
      "Player": {
        "type": "object",
        "properties": {
          "playerId": {
            "type": "integer",
            "description": "Numeric player identifier. `0` is reserved to mean \"no player\" in odds and settlement payloads."
          },
          "playerName": {
            "type": [
              "string",
              "null"
            ],
            "description": "Player display name."
          }
        },
        "required": [
          "playerId"
        ],
        "additionalProperties": true
      },
      "ParticipantList": {
        "type": "array",
        "items": {
          "$ref": "#/components/schemas/Participant"
        }
      },
      "Participant": {
        "type": "object",
        "properties": {
          "participantId": {
            "type": "integer",
            "description": "Numeric participant (team/individual) identifier."
          },
          "sportId": {
            "type": [
              "integer",
              "null"
            ],
            "description": "Sport the participant belongs to."
          },
          "name": {
            "type": [
              "string",
              "null"
            ],
            "description": "Full participant name, translated per the request language prefix. This field will be renamed to `participantName` in a future release."
          },
          "participantShortName": {
            "type": [
              "string",
              "null"
            ],
            "description": "Short participant name."
          },
          "participantMediumName": {
            "type": [
              "string",
              "null"
            ],
            "description": "Medium-length participant name."
          },
          "participantAbbr": {
            "type": [
              "string",
              "null"
            ],
            "description": "Participant abbreviation (e.g. jersey code)."
          }
        },
        "required": [
          "participantId"
        ],
        "additionalProperties": true
      },
      "MarketList": {
        "type": "array",
        "items": {
          "$ref": "#/components/schemas/Market"
        }
      },
      "Market": {
        "type": "object",
        "properties": {
          "marketId": {
            "type": "integer",
            "description": "Frozen market identifier — equal to the first (lowest) `outcomeId` of the market."
          },
          "sportId": {
            "type": [
              "integer",
              "null"
            ],
            "description": "Sport the market belongs to (also the first two digits of `marketId`)."
          },
          "marketType": {
            "type": [
              "string",
              "null"
            ],
            "description": "Open market-type taxonomy value (e.g. `1x2`, `totals`, `spreads`, `players-shots`). Stable per value, never exhaustive."
          },
          "period": {
            "type": [
              "string",
              "null"
            ],
            "description": "Generic period key the market settles on (see the period vocabulary in Enumerations)."
          },
          "marketLength": {
            "type": [
              "integer",
              "null"
            ],
            "description": "Number of outcomes under this marketId - the sides that can be bet on, together forming the complete probability space (implied probabilities sum to ~1 before margin removal)."
          },
          "playerProp": {
            "type": [
              "boolean",
              "null"
            ],
            "description": "True for player proposition markets — their odds rows carry a non-zero `playerId`."
          },
          "handicap": {
            "type": [
              "number",
              "null"
            ],
            "description": "Handicap / total line of the market. Each line is its own market (own `marketId`)."
          },
          "marketName": {
            "type": [
              "string",
              "null"
            ],
            "description": "Market display name, translated per the request language prefix."
          },
          "marketNameShort": {
            "type": [
              "string",
              "null"
            ],
            "description": "Short market display name."
          },
          "outcomes": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/MarketOutcome"
            },
            "description": "The market's outcomes, in their canonical order."
          }
        },
        "required": [
          "marketId"
        ],
        "additionalProperties": true
      },
      "MarketOutcome": {
        "type": "object",
        "properties": {
          "outcomeId": {
            "type": "integer",
            "description": "Frozen outcome identifier — a fully decomposed selection (marketType → period → handicap → side). First two digits = `sportId`."
          },
          "outcomeName": {
            "type": [
              "string",
              "null"
            ],
            "description": "Outcome display name, translated per the request language prefix."
          }
        },
        "required": [
          "outcomeId"
        ],
        "additionalProperties": true
      },
      "FixtureHistoricalOddsResponse": {
        "allOf": [
          {
            "$ref": "#/components/schemas/Fixture"
          },
          {
            "type": "object",
            "properties": {
              "odds": {
                "$ref": "#/components/schemas/HistoricalOddsByBookmaker"
              }
            },
            "required": [
              "odds"
            ],
            "additionalProperties": true
          }
        ]
      },
      "HistoricalOddsByBookmaker": {
        "type": "object",
        "additionalProperties": {
          "type": "object",
          "additionalProperties": {
            "type": "object",
            "additionalProperties": {
              "$ref": "#/components/schemas/OddQuote"
            }
          }
        }
      },
      "OddQuote": {
        "type": "object",
        "properties": {
          "bookmaker": {
            "type": "string",
            "description": "Bookmaker slug."
          },
          "outcomeId": {
            "type": "integer",
            "description": "Frozen outcome identifier of the selection."
          },
          "playerId": {
            "type": "integer",
            "description": "Player the price refers to; `0` for non-player markets."
          },
          "price": {
            "type": "number",
            "description": "Decimal odds."
          },
          "active": {
            "type": "boolean",
            "description": "Whether this outcome is currently available at the bookmaker."
          },
          "marketActive": {
            "type": [
              "boolean",
              "null"
            ],
            "description": "Whether the entire market is active at the bookmaker. Advisory and optional — many bookmakers never report it, so `null` is common and does not mean the market is closed (as one example, every quote from `bet365` on a sampled fixture returned `null` while `pinnacle` returned `true` on all of its own). Use `active` on the quote itself as the authoritative per-row state; treat `marketActive` as extra context only."
          },
          "mainLine": {
            "type": [
              "boolean",
              "null"
            ],
            "description": "Whether this is the bookmaker's main line for the market type."
          },
          "marketId": {
            "type": "integer",
            "description": "Frozen market identifier the outcome belongs to."
          },
          "bookmakerMarketId": {
            "type": [
              "string",
              "null"
            ],
            "description": "Native bookmaker market identifier."
          },
          "bookmakerOutcomeId": {
            "type": [
              "string",
              "null"
            ],
            "description": "Native bookmaker outcome identifier."
          },
          "bookmakerChangedAt": {
            "type": [
              "integer",
              "null"
            ],
            "description": "Bookmaker-provided change timestamp (epoch ms), when present."
          },
          "priceFractional": {
            "type": [
              "string",
              "null"
            ],
            "description": "Fractional odds (e.g. `5/2`)."
          },
          "priceAmerican": {
            "type": [
              "integer",
              "null"
            ],
            "description": "American odds (e.g. `-110`, `+250`)."
          },
          "meta": {
            "type": [
              "object",
              "null"
            ],
            "description": "Bookmaker-specific metadata (orderbooks, ladders, …)."
          },
          "limit": {
            "type": [
              "number",
              "null"
            ],
            "description": "Maximum accepted stake, when provided by the bookmaker."
          },
          "betslip": {
            "type": [
              "string",
              "null"
            ],
            "description": "Bookmaker betslip / deeplink token, when available."
          },
          "changedAt": {
            "type": "integer",
            "description": "When OddsPapi observed this change at the bookmaker (epoch ms, UTC) — always present."
          }
        },
        "required": [
          "bookmaker",
          "outcomeId",
          "playerId",
          "price",
          "active",
          "changedAt"
        ],
        "additionalProperties": true
      },
      "Fixture": {
        "type": "object",
        "properties": {
          "fixtureId": {
            "type": "string",
            "description": "Fixture identifier: `{prefix}{sportId}{tournamentId}{nativeId}` — see Core Concepts → ID structure."
          },
          "reissuedFixtureId": {
            "type": [
              "string",
              "null"
            ],
            "description": "The fixture that replaced this one, when a cancelled fixture has been re-listed under a new id. `null` is the normal value: it is only ever populated on a cancelled fixture (`status.statusId` `3`) whose replacement already exists in the feed, so permanent cancellations stay `null`, and a fixture can go from `null` to an id after you first saw it cancelled. One hop: if the replacement was itself cancelled, follow its own `reissuedFixtureId`."
          },
          "previousFixtureId": {
            "type": [
              "string",
              "null"
            ],
            "description": "The inverse of `reissuedFixtureId`: the cancelled fixture this one replaced. Unlike the forward pointer this sits on a normal scheduled or live fixture, so a fixture carries its own history even if you never saw the cancelled one. `null` is the normal value. One hop and one predecessor at most — follow it repeatedly to walk back to the start of a chain, where a fixture postponed twice gives `A → B → C` and `B` carries both `previousFixtureId: A` and `reissuedFixtureId: C`. Cleared again if a postponement is reverted."
          },
          "status": {
            "$ref": "#/components/schemas/Status",
            "description": "Lifecycle status of the fixture."
          },
          "sport": {
            "$ref": "#/components/schemas/SportRef",
            "description": "Sport reference."
          },
          "tournament": {
            "$ref": "#/components/schemas/TournamentRef",
            "description": "Tournament reference."
          },
          "season": {
            "$ref": "#/components/schemas/SeasonRef",
            "description": "Season reference, when resolved."
          },
          "venue": {
            "$ref": "#/components/schemas/VenueRef",
            "description": "Venue reference, when known."
          },
          "startTime": {
            "type": "integer",
            "description": "Epoch seconds (UTC)."
          },
          "trueStartTime": {
            "type": [
              "string",
              "null"
            ],
            "description": "Actual start time (ISO 8601), once known — may differ from the scheduled `startTime`."
          },
          "trueEndTime": {
            "type": [
              "string",
              "null"
            ],
            "description": "Actual end time (ISO 8601), once known."
          },
          "participants": {
            "$ref": "#/components/schemas/ParticipantsRef",
            "description": "Both participants with names, rotation numbers and abbreviations."
          },
          "scores": {
            "type": "object",
            "additionalProperties": {
              "$ref": "#/components/schemas/ScorePeriod"
            },
            "description": "Score rows keyed by period (`result`, `p1`, …)."
          },
          "clock": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Clock"
              },
              {
                "type": "null"
              }
            ],
            "description": "Live match clock, while in play."
          },
          "expectedPeriods": {
            "type": [
              "integer",
              "null"
            ],
            "description": "Number of regular periods expected for this fixture — use it (with `periodLength`) to interpret period keys per sport/league."
          },
          "periodLength": {
            "type": [
              "integer",
              "null"
            ],
            "description": "Length of a regular period in minutes."
          },
          "externalProviders": {
            "$ref": "#/components/schemas/ExternalProviders",
            "description": "Native identifiers of this fixture at external providers (betradar, pinnacle, …)."
          },
          "bookmakers": {
            "type": "object",
            "additionalProperties": {
              "$ref": "#/components/schemas/BookmakerFixtureMeta"
            },
            "description": "Per-bookmaker availability and freshness metadata. Only populated when the `bookmakers` query parameter is present on the request — otherwise `{}`. Contains only bookmakers that currently offer valid realtime odds for this fixture. Present on odds endpoints; omitted on CLV, historical-odds and settlement responses."
          }
        },
        "required": [
          "fixtureId",
          "reissuedFixtureId",
          "previousFixtureId",
          "status",
          "sport",
          "tournament",
          "season",
          "venue",
          "startTime",
          "participants",
          "scores",
          "clock",
          "externalProviders"
        ],
        "additionalProperties": true
      },
      "BookmakerFixtureMeta": {
        "type": "object",
        "properties": {
          "bookmaker": {
            "type": "string",
            "description": "Bookmaker slug."
          },
          "bookmakerFixtureId": {
            "type": [
              "string",
              "null"
            ],
            "description": "Native fixture identifier at the bookmaker."
          },
          "fixturePath": {
            "type": [
              "string",
              "null"
            ],
            "description": "Path of the fixture page on the bookmaker's site, when known."
          },
          "hasOdds": {
            "type": "boolean",
            "description": "True if the bookmaker currently publishes odds for this fixture."
          },
          "staleOdds": {
            "type": "boolean",
            "description": "Critical for trading: true if the connection to this bookmaker was lost or interrupted, so odds freshness can no longer be guaranteed."
          },
          "staleOddsResponseCode": {
            "type": [
              "integer",
              "null"
            ],
            "deprecated": true,
            "description": "**Deprecated.** HTTP status code observed during the staleness check, when any. Rely on `staleOdds` instead."
          },
          "suspended": {
            "type": "boolean",
            "description": "True while the bookmaker has suspended betting on this fixture."
          },
          "participantsRotated": {
            "type": "boolean",
            "description": "True if the bookmaker lists the participants in the opposite order (participant 1/2 swapped) relative to OddsPapi."
          },
          "meta": {
            "type": [
              "object",
              "null"
            ],
            "additionalProperties": true,
            "description": "Bookmaker-specific metadata."
          },
          "updatedAt": {
            "type": "string",
            "description": "When this bookmaker meta last changed."
          }
        },
        "required": [
          "bookmaker",
          "hasOdds",
          "staleOdds",
          "suspended",
          "participantsRotated",
          "updatedAt"
        ],
        "additionalProperties": true
      },
      "ExternalProviders": {
        "type": "object",
        "additionalProperties": true
      },
      "Clock": {
        "type": "object",
        "properties": {
          "currentPeriod": {
            "type": [
              "string",
              "null"
            ],
            "description": "Period key currently being played (see the period vocabulary in Enumerations)."
          },
          "currentTime": {
            "type": [
              "string",
              "null"
            ],
            "description": "Elapsed match time, `mm:ss`."
          },
          "remainingTime": {
            "type": [
              "string",
              "null"
            ],
            "description": "Remaining match time, `mm:ss` (count-down sports)."
          },
          "remainingTimeInPeriod": {
            "type": [
              "string",
              "null"
            ],
            "description": "Remaining time in the current period, `mm:ss`."
          },
          "stopped": {
            "type": [
              "boolean",
              "null"
            ],
            "description": "True while the match clock is stopped."
          }
        },
        "additionalProperties": true
      },
      "ScorePeriod": {
        "type": "object",
        "properties": {
          "period": {
            "type": "string",
            "description": "Period key this score row refers to (`result` = overall scoreline; see Enumerations)."
          },
          "participant1Score": {
            "type": "integer",
            "description": "Score of participant 1 for this period."
          },
          "participant2Score": {
            "type": "integer",
            "description": "Score of participant 2 for this period."
          },
          "updatedAt": {
            "type": "string",
            "description": "When this score value last changed."
          }
        },
        "required": [
          "period",
          "participant1Score",
          "participant2Score",
          "updatedAt"
        ],
        "additionalProperties": true
      },
      "ParticipantsRef": {
        "type": "object",
        "properties": {
          "participant1Id": {
            "type": "integer",
            "description": "Identifier of participant 1 (home / first-listed side)."
          },
          "participant1RotNr": {
            "type": [
              "integer",
              "null"
            ],
            "description": "Rotation number of participant 1 (US-book convention), when available."
          },
          "participant1Name": {
            "type": [
              "string",
              "null"
            ],
            "description": "Full name of participant 1, translated."
          },
          "participant1ShortName": {
            "type": [
              "string",
              "null"
            ],
            "description": "Short name of participant 1."
          },
          "participant1Abbr": {
            "type": [
              "string",
              "null"
            ],
            "description": "Abbreviation of participant 1."
          },
          "participant2Id": {
            "type": "integer",
            "description": "Identifier of participant 2 (away / second-listed side)."
          },
          "participant2RotNr": {
            "type": [
              "integer",
              "null"
            ],
            "description": "Rotation number of participant 2 (US-book convention), when available."
          },
          "participant2Name": {
            "type": [
              "string",
              "null"
            ],
            "description": "Full name of participant 2, translated."
          },
          "participant2ShortName": {
            "type": [
              "string",
              "null"
            ],
            "description": "Short name of participant 2."
          },
          "participant2Abbr": {
            "type": [
              "string",
              "null"
            ],
            "description": "Abbreviation of participant 2."
          }
        },
        "required": [
          "participant1Id",
          "participant2Id"
        ],
        "additionalProperties": true
      },
      "VenueRef": {
        "type": "object",
        "properties": {
          "venueId": {
            "type": [
              "integer",
              "null"
            ],
            "description": "Numeric venue identifier, when known."
          },
          "venueName": {
            "type": [
              "string",
              "null"
            ],
            "description": "Venue display name, translated."
          },
          "venueLocation": {
            "type": [
              "string",
              "null"
            ],
            "description": "Venue location (city), translated."
          }
        },
        "additionalProperties": true
      },
      "SeasonRef": {
        "type": "object",
        "properties": {
          "seasonId": {
            "type": [
              "integer",
              "null"
            ],
            "description": "Numeric season identifier, when known."
          },
          "seasonName": {
            "type": [
              "string",
              "null"
            ],
            "description": "Season display name, translated."
          },
          "seasonRound": {
            "type": [
              "integer",
              "null"
            ],
            "description": "Round number within the season, when applicable."
          }
        },
        "additionalProperties": true
      },
      "TournamentRef": {
        "type": "object",
        "properties": {
          "tournamentId": {
            "type": "integer",
            "description": "Numeric tournament identifier."
          },
          "tournamentName": {
            "type": "string",
            "description": "Tournament display name, translated per the request language prefix."
          },
          "categoryName": {
            "type": [
              "string",
              "null"
            ],
            "description": "Category (usually country/region) display name, translated."
          }
        },
        "required": [
          "tournamentId",
          "tournamentName"
        ],
        "additionalProperties": true
      },
      "SportRef": {
        "type": "object",
        "properties": {
          "sportId": {
            "type": "integer",
            "description": "Numeric sport identifier."
          },
          "sportName": {
            "type": "string",
            "description": "Sport display name, translated per the request language prefix."
          }
        },
        "required": [
          "sportId",
          "sportName"
        ],
        "additionalProperties": true
      },
      "Status": {
        "type": "object",
        "properties": {
          "live": {
            "type": "boolean",
            "description": "Convenience flag — true only while in play (`statusId` 1)."
          },
          "statusId": {
            "type": "integer",
            "description": "Lifecycle status: `0` pregame, `1` live, `2` finished, `3` cancelled. Moves forward only — always branch on this ID."
          },
          "statusName": {
            "type": "string",
            "description": "Translated display label for the status. For logic, branch on `statusId`, never on this string."
          }
        },
        "required": [
          "live",
          "statusId",
          "statusName"
        ],
        "additionalProperties": true
      },
      "FixtureClvResponse": {
        "allOf": [
          {
            "$ref": "#/components/schemas/Fixture"
          },
          {
            "type": "object",
            "properties": {
              "odds": {
                "$ref": "#/components/schemas/ClvOddsByBookmaker"
              }
            },
            "required": [
              "odds"
            ],
            "additionalProperties": true
          }
        ]
      },
      "ClvOddsByBookmaker": {
        "type": "object",
        "additionalProperties": {
          "type": "object",
          "additionalProperties": {
            "$ref": "#/components/schemas/ClvPair"
          }
        }
      },
      "ClvPair": {
        "type": "object",
        "properties": {
          "olv": {
            "$ref": "#/components/schemas/PricePoint",
            "description": "Opening line value — the earliest recorded price point for the outcome."
          },
          "clv": {
            "description": "Closing line value — the last recorded price point before the fixture started. `null` until the fixture closes, so every quote on a pre-game fixture returns `clv: null` with only `olv` populated.",
            "oneOf": [
              {
                "$ref": "#/components/schemas/PricePoint"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "olv",
          "clv"
        ],
        "additionalProperties": true
      },
      "PricePoint": {
        "type": "object",
        "properties": {
          "bookmaker": {
            "type": "string",
            "description": "Bookmaker slug."
          },
          "outcomeId": {
            "type": "integer",
            "description": "Frozen outcome identifier of the selection."
          },
          "playerId": {
            "type": "integer",
            "description": "Player the price refers to; `0` for non-player markets."
          },
          "price": {
            "type": "number",
            "description": "Decimal odds."
          },
          "active": {
            "type": "boolean",
            "description": "Whether this outcome is currently available at the bookmaker."
          },
          "marketActive": {
            "type": [
              "boolean",
              "null"
            ],
            "description": "Whether the entire market is active at the bookmaker. Advisory and optional — many bookmakers never report it, so `null` is common and does not mean the market is closed (as one example, every quote from `bet365` on a sampled fixture returned `null` while `pinnacle` returned `true` on all of its own). Use `active` on the quote itself as the authoritative per-row state; treat `marketActive` as extra context only."
          },
          "mainLine": {
            "type": [
              "boolean",
              "null"
            ],
            "description": "Whether this is the bookmaker's main line for the market type."
          },
          "marketId": {
            "type": "integer",
            "description": "Frozen market identifier the outcome belongs to."
          },
          "bookmakerMarketId": {
            "type": [
              "string",
              "null"
            ],
            "description": "Native bookmaker market identifier."
          },
          "bookmakerOutcomeId": {
            "type": [
              "string",
              "null"
            ],
            "description": "Native bookmaker outcome identifier."
          },
          "bookmakerChangedAt": {
            "type": [
              "integer",
              "null"
            ],
            "description": "Bookmaker-provided change timestamp (epoch ms), when present."
          },
          "priceFractional": {
            "type": [
              "string",
              "null"
            ],
            "description": "Fractional odds (e.g. `5/2`)."
          },
          "priceAmerican": {
            "type": [
              "integer",
              "null"
            ],
            "description": "American odds (e.g. `-110`, `+250`)."
          },
          "meta": {
            "type": [
              "object",
              "null"
            ],
            "description": "Bookmaker-specific metadata (orderbooks, ladders, …)."
          },
          "limit": {
            "type": [
              "number",
              "null"
            ],
            "description": "Maximum accepted stake, when provided by the bookmaker."
          },
          "betslip": {
            "type": [
              "string",
              "null"
            ],
            "description": "Bookmaker betslip / deeplink token, when available."
          },
          "changedAt": {
            "type": "integer",
            "description": "When OddsPapi observed this price point at the bookmaker (epoch ms, UTC)."
          }
        },
        "required": [
          "bookmaker",
          "outcomeId",
          "playerId",
          "price",
          "active",
          "changedAt"
        ],
        "additionalProperties": true
      },
      "FixtureOddsResponse": {
        "allOf": [
          {
            "$ref": "#/components/schemas/Fixture"
          },
          {
            "type": "object",
            "properties": {
              "odds": {
                "$ref": "#/components/schemas/OddsByBookmaker"
              }
            },
            "required": [
              "odds"
            ],
            "additionalProperties": true
          }
        ]
      },
      "OddsByBookmaker": {
        "type": "object",
        "additionalProperties": {
          "$ref": "#/components/schemas/OddsMap"
        }
      },
      "OddsMap": {
        "type": "object",
        "additionalProperties": {
          "$ref": "#/components/schemas/OddQuote"
        }
      },
      "FixtureList": {
        "type": "array",
        "items": {
          "$ref": "#/components/schemas/Fixture"
        }
      },
      "CurrencyList": {
        "type": "array",
        "items": {
          "$ref": "#/components/schemas/Currency"
        }
      },
      "Currency": {
        "type": "object",
        "properties": {
          "currency": {
            "type": "string",
            "description": "ISO 4217 currency code."
          },
          "updatedAt": {
            "type": "string",
            "description": "Timestamp of the latest rate refresh."
          },
          "currencyValue": {
            "type": "number",
            "description": "Current exchange rate for the currency."
          }
        },
        "required": [
          "currency",
          "updatedAt",
          "currencyValue"
        ],
        "additionalProperties": true
      },
      "BookmakerList": {
        "type": "array",
        "items": {
          "$ref": "#/components/schemas/Bookmaker"
        }
      },
      "Bookmaker": {
        "type": "object",
        "properties": {
          "slug": {
            "type": "string",
            "description": "Stable bookmaker slug — the key used in `bookmakers` filters and in all odds payloads."
          },
          "bookmakerName": {
            "type": "string",
            "description": "Bookmaker display name."
          },
          "active": {
            "type": "boolean",
            "description": "Whether the bookmaker is currently served by the API."
          },
          "domain": {
            "type": [
              "string",
              "null"
            ],
            "format": "uri",
            "description": "Main public website URL of the bookmaker."
          },
          "serverGroup": {
            "type": [
              "string",
              "null"
            ],
            "description": "Deprecated internal field — safe to ignore for API consumers.",
            "deprecated": true
          },
          "price": {
            "type": [
              "integer",
              "null"
            ],
            "description": "Deprecated internal field — safe to ignore for API consumers.",
            "deprecated": true
          },
          "websocketPregame": {
            "type": [
              "boolean",
              "null"
            ],
            "description": "Whether pregame odds for this bookmaker are streamed over the WebSocket."
          },
          "websocketLive": {
            "type": [
              "boolean",
              "null"
            ],
            "description": "Whether live (in-play) odds for this bookmaker are streamed over the WebSocket."
          },
          "playerProps": {
            "type": [
              "boolean",
              "null"
            ],
            "description": "Whether this bookmaker offers player proposition markets."
          },
          "maxDelayPregameInSec": {
            "type": [
              "number",
              "null"
            ],
            "description": "Maximum expected refresh delay for pregame odds, in seconds — the freshness bound for this bookmaker. Measured from observed vs. bookmaker change times (currently the rolling p50) where the book publishes usable timestamps, estimated otherwise."
          },
          "maxDelayLiveInSec": {
            "type": [
              "number",
              "null"
            ],
            "description": "Maximum expected refresh delay for live odds, in seconds. Measured from observed vs. bookmaker change times (currently the rolling p50) where the book publishes usable timestamps, estimated otherwise."
          },
          "maxDelayPregameMainInSec": {
            "type": [
              "number",
              "null"
            ],
            "description": "Maximum expected refresh delay for pregame main lines, in seconds. Measured from observed vs. bookmaker change times (currently the rolling p50) where the book publishes usable timestamps, estimated otherwise."
          },
          "availableCountries": {
            "type": [
              "array",
              "null"
            ],
            "items": {
              "type": "string"
            },
            "description": "ISO 3166-1 alpha-2 country codes where the bookmaker accepts customers."
          }
        },
        "required": [
          "slug",
          "bookmakerName",
          "active"
        ],
        "additionalProperties": true
      }
    }
  },
  "paths": {
    "/v1/health": {
      "get": {
        "summary": "Get the health of the Trading API",
        "tags": [
          "Health"
        ],
        "description": "No API key needed. 200 while healthy or degraded, 503 when unhealthy or when the API is switched off. Refreshed at most every 15 seconds.",
        "security": [],
        "responses": {
          "200": {
            "description": "`status` is the worst of the services. A degraded API still places orders.",
            "content": {
              "application/json": {
                "schema": {
                  "description": "`status` is the worst of the services. A degraded API still places orders.",
                  "type": "object",
                  "required": [
                    "status",
                    "time",
                    "services"
                  ],
                  "properties": {
                    "status": {
                      "type": "string",
                      "enum": [
                        "healthy",
                        "degraded",
                        "unhealthy"
                      ]
                    },
                    "time": {
                      "format": "date-time",
                      "type": "string"
                    },
                    "services": {
                      "type": "object",
                      "required": [
                        "database",
                        "caching",
                        "betPlacement",
                        "betUpdates"
                      ],
                      "properties": {
                        "database": {
                          "type": "string",
                          "enum": [
                            "healthy",
                            "degraded",
                            "unhealthy"
                          ]
                        },
                        "caching": {
                          "type": "string",
                          "enum": [
                            "healthy",
                            "degraded",
                            "unhealthy"
                          ]
                        },
                        "betPlacement": {
                          "type": "string",
                          "enum": [
                            "healthy",
                            "degraded",
                            "unhealthy"
                          ]
                        },
                        "betUpdates": {
                          "type": "string",
                          "enum": [
                            "healthy",
                            "degraded",
                            "unhealthy"
                          ]
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "429": {
            "description": "Error. `code` is stable; `message` is for humans and may change.",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Error. `code` is stable; `message` is for humans and may change.",
                  "type": "object",
                  "required": [
                    "code",
                    "message"
                  ],
                  "properties": {
                    "code": {
                      "type": "string",
                      "enum": [
                        "VALIDATION_FAILED",
                        "MODE_REQUIRED",
                        "INVALID_STAKE",
                        "INVALID_PRICE",
                        "INVALID_EXPIRY",
                        "CURRENCY_NOT_SUPPORTED",
                        "BOOKMAKER_NOT_AVAILABLE_VIA_API",
                        "BOOKMAKER_NOT_AVAILABLE",
                        "INVALID_API_KEY",
                        "API_ACCESS_DENIED",
                        "ACCOUNT_NOT_ACTIVE",
                        "BETTING_NOT_ALLOWED",
                        "BALANCE_UNAVAILABLE",
                        "INSUFFICIENT_FUNDS",
                        "MAX_STAKE_PER_FIXTURE_EXCEEDED",
                        "PRICE_NOT_AVAILABLE",
                        "PRICE_CHANGED",
                        "NO_LIQUIDITY",
                        "INSUFFICIENT_LIQUIDITY",
                        "CLIENT_ORDER_ID_REUSED",
                        "PREVIOUS_ATTEMPT_UNRESOLVED",
                        "NOT_FOUND",
                        "INVALID_CURSOR",
                        "INVALID_WINDOW",
                        "ORDER_BUSY",
                        "CONFLICT",
                        "FORBIDDEN",
                        "RATE_LIMITED",
                        "BETTING_SUSPENDED",
                        "EXPIRY_NOT_AVAILABLE",
                        "PUBLIC_API_DISABLED",
                        "SERVICE_UNAVAILABLE",
                        "UPSTREAM_UNAVAILABLE",
                        "FEED_UNAVAILABLE",
                        "FEED_TIMEOUT",
                        "INTERNAL_ERROR"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "503": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "anyOf": [
                    {
                      "description": "`status` is the worst of the services. A degraded API still places orders.",
                      "type": "object",
                      "required": [
                        "status",
                        "time",
                        "services"
                      ],
                      "properties": {
                        "status": {
                          "type": "string",
                          "enum": [
                            "healthy",
                            "degraded",
                            "unhealthy"
                          ]
                        },
                        "time": {
                          "format": "date-time",
                          "type": "string"
                        },
                        "services": {
                          "type": "object",
                          "required": [
                            "database",
                            "caching",
                            "betPlacement",
                            "betUpdates"
                          ],
                          "properties": {
                            "database": {
                              "type": "string",
                              "enum": [
                                "healthy",
                                "degraded",
                                "unhealthy"
                              ]
                            },
                            "caching": {
                              "type": "string",
                              "enum": [
                                "healthy",
                                "degraded",
                                "unhealthy"
                              ]
                            },
                            "betPlacement": {
                              "type": "string",
                              "enum": [
                                "healthy",
                                "degraded",
                                "unhealthy"
                              ]
                            },
                            "betUpdates": {
                              "type": "string",
                              "enum": [
                                "healthy",
                                "degraded",
                                "unhealthy"
                              ]
                            }
                          }
                        }
                      }
                    },
                    {
                      "description": "Error. `code` is stable; `message` is for humans and may change.",
                      "type": "object",
                      "required": [
                        "code",
                        "message"
                      ],
                      "properties": {
                        "code": {
                          "type": "string",
                          "enum": [
                            "VALIDATION_FAILED",
                            "MODE_REQUIRED",
                            "INVALID_STAKE",
                            "INVALID_PRICE",
                            "INVALID_EXPIRY",
                            "CURRENCY_NOT_SUPPORTED",
                            "BOOKMAKER_NOT_AVAILABLE_VIA_API",
                            "BOOKMAKER_NOT_AVAILABLE",
                            "INVALID_API_KEY",
                            "API_ACCESS_DENIED",
                            "ACCOUNT_NOT_ACTIVE",
                            "BETTING_NOT_ALLOWED",
                            "BALANCE_UNAVAILABLE",
                            "INSUFFICIENT_FUNDS",
                            "MAX_STAKE_PER_FIXTURE_EXCEEDED",
                            "PRICE_NOT_AVAILABLE",
                            "PRICE_CHANGED",
                            "NO_LIQUIDITY",
                            "INSUFFICIENT_LIQUIDITY",
                            "CLIENT_ORDER_ID_REUSED",
                            "PREVIOUS_ATTEMPT_UNRESOLVED",
                            "NOT_FOUND",
                            "INVALID_CURSOR",
                            "INVALID_WINDOW",
                            "ORDER_BUSY",
                            "CONFLICT",
                            "FORBIDDEN",
                            "RATE_LIMITED",
                            "BETTING_SUSPENDED",
                            "EXPIRY_NOT_AVAILABLE",
                            "PUBLIC_API_DISABLED",
                            "SERVICE_UNAVAILABLE",
                            "UPSTREAM_UNAVAILABLE",
                            "FEED_UNAVAILABLE",
                            "FEED_TIMEOUT",
                            "INTERNAL_ERROR"
                          ]
                        },
                        "message": {
                          "type": "string"
                        },
                        "details": {}
                      }
                    }
                  ]
                }
              }
            }
          }
        }
      }
    },
    "/v1/balance": {
      "get": {
        "summary": "Get the balance",
        "tags": [
          "Account"
        ],
        "description": "The account's balance, the same figures the dashboard shows. For retail, exposure is full betting liability (including unmatched commitments, lay liability and commission), and available is cashBalance minus exposure. Agent balances retain givenCredit plus cashBalance minus stake exposure.",
        "security": [
          {
            "apiKey": []
          }
        ],
        "responses": {
          "200": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "givenCredit",
                    "cashBalance",
                    "exposure",
                    "available"
                  ],
                  "properties": {
                    "givenCredit": {
                      "description": "Money amount",
                      "type": "object",
                      "required": [
                        "amount",
                        "amountCents",
                        "currency"
                      ],
                      "properties": {
                        "amount": {
                          "pattern": "^-?\\d+\\.\\d{2}$",
                          "description": "Decimal string, two decimals",
                          "type": "string"
                        },
                        "amountCents": {
                          "description": "The same amount in integer cents: amount times 100",
                          "type": "integer"
                        },
                        "currency": {
                          "description": "ISO 4217 code",
                          "type": "string"
                        }
                      }
                    },
                    "cashBalance": {
                      "description": "Money amount",
                      "type": "object",
                      "required": [
                        "amount",
                        "amountCents",
                        "currency"
                      ],
                      "properties": {
                        "amount": {
                          "pattern": "^-?\\d+\\.\\d{2}$",
                          "description": "Decimal string, two decimals",
                          "type": "string"
                        },
                        "amountCents": {
                          "description": "The same amount in integer cents: amount times 100",
                          "type": "integer"
                        },
                        "currency": {
                          "description": "ISO 4217 code",
                          "type": "string"
                        }
                      }
                    },
                    "exposure": {
                      "description": "Money amount",
                      "type": "object",
                      "required": [
                        "amount",
                        "amountCents",
                        "currency"
                      ],
                      "properties": {
                        "amount": {
                          "pattern": "^-?\\d+\\.\\d{2}$",
                          "description": "Decimal string, two decimals",
                          "type": "string"
                        },
                        "amountCents": {
                          "description": "The same amount in integer cents: amount times 100",
                          "type": "integer"
                        },
                        "currency": {
                          "description": "ISO 4217 code",
                          "type": "string"
                        }
                      }
                    },
                    "available": {
                      "description": "Money amount",
                      "type": "object",
                      "required": [
                        "amount",
                        "amountCents",
                        "currency"
                      ],
                      "properties": {
                        "amount": {
                          "pattern": "^-?\\d+\\.\\d{2}$",
                          "description": "Decimal string, two decimals",
                          "type": "string"
                        },
                        "amountCents": {
                          "description": "The same amount in integer cents: amount times 100",
                          "type": "integer"
                        },
                        "currency": {
                          "description": "ISO 4217 code",
                          "type": "string"
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Error. `code` is stable; `message` is for humans and may change.",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Error. `code` is stable; `message` is for humans and may change.",
                  "type": "object",
                  "required": [
                    "code",
                    "message"
                  ],
                  "properties": {
                    "code": {
                      "type": "string",
                      "enum": [
                        "VALIDATION_FAILED",
                        "MODE_REQUIRED",
                        "INVALID_STAKE",
                        "INVALID_PRICE",
                        "INVALID_EXPIRY",
                        "CURRENCY_NOT_SUPPORTED",
                        "BOOKMAKER_NOT_AVAILABLE_VIA_API",
                        "BOOKMAKER_NOT_AVAILABLE",
                        "INVALID_API_KEY",
                        "API_ACCESS_DENIED",
                        "ACCOUNT_NOT_ACTIVE",
                        "BETTING_NOT_ALLOWED",
                        "BALANCE_UNAVAILABLE",
                        "INSUFFICIENT_FUNDS",
                        "MAX_STAKE_PER_FIXTURE_EXCEEDED",
                        "PRICE_NOT_AVAILABLE",
                        "PRICE_CHANGED",
                        "NO_LIQUIDITY",
                        "INSUFFICIENT_LIQUIDITY",
                        "CLIENT_ORDER_ID_REUSED",
                        "PREVIOUS_ATTEMPT_UNRESOLVED",
                        "NOT_FOUND",
                        "INVALID_CURSOR",
                        "INVALID_WINDOW",
                        "ORDER_BUSY",
                        "CONFLICT",
                        "FORBIDDEN",
                        "RATE_LIMITED",
                        "BETTING_SUSPENDED",
                        "EXPIRY_NOT_AVAILABLE",
                        "PUBLIC_API_DISABLED",
                        "SERVICE_UNAVAILABLE",
                        "UPSTREAM_UNAVAILABLE",
                        "FEED_UNAVAILABLE",
                        "FEED_TIMEOUT",
                        "INTERNAL_ERROR"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "403": {
            "description": "Error. `code` is stable; `message` is for humans and may change.",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Error. `code` is stable; `message` is for humans and may change.",
                  "type": "object",
                  "required": [
                    "code",
                    "message"
                  ],
                  "properties": {
                    "code": {
                      "type": "string",
                      "enum": [
                        "VALIDATION_FAILED",
                        "MODE_REQUIRED",
                        "INVALID_STAKE",
                        "INVALID_PRICE",
                        "INVALID_EXPIRY",
                        "CURRENCY_NOT_SUPPORTED",
                        "BOOKMAKER_NOT_AVAILABLE_VIA_API",
                        "BOOKMAKER_NOT_AVAILABLE",
                        "INVALID_API_KEY",
                        "API_ACCESS_DENIED",
                        "ACCOUNT_NOT_ACTIVE",
                        "BETTING_NOT_ALLOWED",
                        "BALANCE_UNAVAILABLE",
                        "INSUFFICIENT_FUNDS",
                        "MAX_STAKE_PER_FIXTURE_EXCEEDED",
                        "PRICE_NOT_AVAILABLE",
                        "PRICE_CHANGED",
                        "NO_LIQUIDITY",
                        "INSUFFICIENT_LIQUIDITY",
                        "CLIENT_ORDER_ID_REUSED",
                        "PREVIOUS_ATTEMPT_UNRESOLVED",
                        "NOT_FOUND",
                        "INVALID_CURSOR",
                        "INVALID_WINDOW",
                        "ORDER_BUSY",
                        "CONFLICT",
                        "FORBIDDEN",
                        "RATE_LIMITED",
                        "BETTING_SUSPENDED",
                        "EXPIRY_NOT_AVAILABLE",
                        "PUBLIC_API_DISABLED",
                        "SERVICE_UNAVAILABLE",
                        "UPSTREAM_UNAVAILABLE",
                        "FEED_UNAVAILABLE",
                        "FEED_TIMEOUT",
                        "INTERNAL_ERROR"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "409": {
            "description": "Error. `code` is stable; `message` is for humans and may change.",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Error. `code` is stable; `message` is for humans and may change.",
                  "type": "object",
                  "required": [
                    "code",
                    "message"
                  ],
                  "properties": {
                    "code": {
                      "type": "string",
                      "enum": [
                        "VALIDATION_FAILED",
                        "MODE_REQUIRED",
                        "INVALID_STAKE",
                        "INVALID_PRICE",
                        "INVALID_EXPIRY",
                        "CURRENCY_NOT_SUPPORTED",
                        "BOOKMAKER_NOT_AVAILABLE_VIA_API",
                        "BOOKMAKER_NOT_AVAILABLE",
                        "INVALID_API_KEY",
                        "API_ACCESS_DENIED",
                        "ACCOUNT_NOT_ACTIVE",
                        "BETTING_NOT_ALLOWED",
                        "BALANCE_UNAVAILABLE",
                        "INSUFFICIENT_FUNDS",
                        "MAX_STAKE_PER_FIXTURE_EXCEEDED",
                        "PRICE_NOT_AVAILABLE",
                        "PRICE_CHANGED",
                        "NO_LIQUIDITY",
                        "INSUFFICIENT_LIQUIDITY",
                        "CLIENT_ORDER_ID_REUSED",
                        "PREVIOUS_ATTEMPT_UNRESOLVED",
                        "NOT_FOUND",
                        "INVALID_CURSOR",
                        "INVALID_WINDOW",
                        "ORDER_BUSY",
                        "CONFLICT",
                        "FORBIDDEN",
                        "RATE_LIMITED",
                        "BETTING_SUSPENDED",
                        "EXPIRY_NOT_AVAILABLE",
                        "PUBLIC_API_DISABLED",
                        "SERVICE_UNAVAILABLE",
                        "UPSTREAM_UNAVAILABLE",
                        "FEED_UNAVAILABLE",
                        "FEED_TIMEOUT",
                        "INTERNAL_ERROR"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "429": {
            "description": "Error. `code` is stable; `message` is for humans and may change.",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Error. `code` is stable; `message` is for humans and may change.",
                  "type": "object",
                  "required": [
                    "code",
                    "message"
                  ],
                  "properties": {
                    "code": {
                      "type": "string",
                      "enum": [
                        "VALIDATION_FAILED",
                        "MODE_REQUIRED",
                        "INVALID_STAKE",
                        "INVALID_PRICE",
                        "INVALID_EXPIRY",
                        "CURRENCY_NOT_SUPPORTED",
                        "BOOKMAKER_NOT_AVAILABLE_VIA_API",
                        "BOOKMAKER_NOT_AVAILABLE",
                        "INVALID_API_KEY",
                        "API_ACCESS_DENIED",
                        "ACCOUNT_NOT_ACTIVE",
                        "BETTING_NOT_ALLOWED",
                        "BALANCE_UNAVAILABLE",
                        "INSUFFICIENT_FUNDS",
                        "MAX_STAKE_PER_FIXTURE_EXCEEDED",
                        "PRICE_NOT_AVAILABLE",
                        "PRICE_CHANGED",
                        "NO_LIQUIDITY",
                        "INSUFFICIENT_LIQUIDITY",
                        "CLIENT_ORDER_ID_REUSED",
                        "PREVIOUS_ATTEMPT_UNRESOLVED",
                        "NOT_FOUND",
                        "INVALID_CURSOR",
                        "INVALID_WINDOW",
                        "ORDER_BUSY",
                        "CONFLICT",
                        "FORBIDDEN",
                        "RATE_LIMITED",
                        "BETTING_SUSPENDED",
                        "EXPIRY_NOT_AVAILABLE",
                        "PUBLIC_API_DISABLED",
                        "SERVICE_UNAVAILABLE",
                        "UPSTREAM_UNAVAILABLE",
                        "FEED_UNAVAILABLE",
                        "FEED_TIMEOUT",
                        "INTERNAL_ERROR"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "503": {
            "description": "Error. `code` is stable; `message` is for humans and may change.",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Error. `code` is stable; `message` is for humans and may change.",
                  "type": "object",
                  "required": [
                    "code",
                    "message"
                  ],
                  "properties": {
                    "code": {
                      "type": "string",
                      "enum": [
                        "VALIDATION_FAILED",
                        "MODE_REQUIRED",
                        "INVALID_STAKE",
                        "INVALID_PRICE",
                        "INVALID_EXPIRY",
                        "CURRENCY_NOT_SUPPORTED",
                        "BOOKMAKER_NOT_AVAILABLE_VIA_API",
                        "BOOKMAKER_NOT_AVAILABLE",
                        "INVALID_API_KEY",
                        "API_ACCESS_DENIED",
                        "ACCOUNT_NOT_ACTIVE",
                        "BETTING_NOT_ALLOWED",
                        "BALANCE_UNAVAILABLE",
                        "INSUFFICIENT_FUNDS",
                        "MAX_STAKE_PER_FIXTURE_EXCEEDED",
                        "PRICE_NOT_AVAILABLE",
                        "PRICE_CHANGED",
                        "NO_LIQUIDITY",
                        "INSUFFICIENT_LIQUIDITY",
                        "CLIENT_ORDER_ID_REUSED",
                        "PREVIOUS_ATTEMPT_UNRESOLVED",
                        "NOT_FOUND",
                        "INVALID_CURSOR",
                        "INVALID_WINDOW",
                        "ORDER_BUSY",
                        "CONFLICT",
                        "FORBIDDEN",
                        "RATE_LIMITED",
                        "BETTING_SUSPENDED",
                        "EXPIRY_NOT_AVAILABLE",
                        "PUBLIC_API_DISABLED",
                        "SERVICE_UNAVAILABLE",
                        "UPSTREAM_UNAVAILABLE",
                        "FEED_UNAVAILABLE",
                        "FEED_TIMEOUT",
                        "INTERNAL_ERROR"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          }
        }
      }
    },
    "/v1/me": {
      "get": {
        "summary": "Get the account behind the API key",
        "tags": [
          "Account"
        ],
        "description": "Identity, status and bookmakers of the account, the key in use and the feed paths.",
        "security": [
          {
            "apiKey": []
          }
        ],
        "responses": {
          "200": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "accountId",
                    "username",
                    "status",
                    "bookmakers",
                    "key",
                    "feed"
                  ],
                  "properties": {
                    "accountId": {
                      "format": "uuid",
                      "type": "string"
                    },
                    "username": {
                      "type": "string"
                    },
                    "status": {
                      "type": "string"
                    },
                    "bookmakers": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "key": {
                      "type": "object",
                      "required": [
                        "prefix",
                        "lastFour",
                        "createdAt"
                      ],
                      "properties": {
                        "prefix": {
                          "type": "string"
                        },
                        "lastFour": {
                          "type": "string"
                        },
                        "createdAt": {
                          "format": "date-time",
                          "type": "string"
                        }
                      }
                    },
                    "feed": {
                      "type": "object",
                      "required": [
                        "rest",
                        "ws"
                      ],
                      "properties": {
                        "rest": {
                          "type": "string"
                        },
                        "ws": {
                          "type": "string"
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Error. `code` is stable; `message` is for humans and may change.",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Error. `code` is stable; `message` is for humans and may change.",
                  "type": "object",
                  "required": [
                    "code",
                    "message"
                  ],
                  "properties": {
                    "code": {
                      "type": "string",
                      "enum": [
                        "VALIDATION_FAILED",
                        "MODE_REQUIRED",
                        "INVALID_STAKE",
                        "INVALID_PRICE",
                        "INVALID_EXPIRY",
                        "CURRENCY_NOT_SUPPORTED",
                        "BOOKMAKER_NOT_AVAILABLE_VIA_API",
                        "BOOKMAKER_NOT_AVAILABLE",
                        "INVALID_API_KEY",
                        "API_ACCESS_DENIED",
                        "ACCOUNT_NOT_ACTIVE",
                        "BETTING_NOT_ALLOWED",
                        "BALANCE_UNAVAILABLE",
                        "INSUFFICIENT_FUNDS",
                        "MAX_STAKE_PER_FIXTURE_EXCEEDED",
                        "PRICE_NOT_AVAILABLE",
                        "PRICE_CHANGED",
                        "NO_LIQUIDITY",
                        "INSUFFICIENT_LIQUIDITY",
                        "CLIENT_ORDER_ID_REUSED",
                        "PREVIOUS_ATTEMPT_UNRESOLVED",
                        "NOT_FOUND",
                        "INVALID_CURSOR",
                        "INVALID_WINDOW",
                        "ORDER_BUSY",
                        "CONFLICT",
                        "FORBIDDEN",
                        "RATE_LIMITED",
                        "BETTING_SUSPENDED",
                        "EXPIRY_NOT_AVAILABLE",
                        "PUBLIC_API_DISABLED",
                        "SERVICE_UNAVAILABLE",
                        "UPSTREAM_UNAVAILABLE",
                        "FEED_UNAVAILABLE",
                        "FEED_TIMEOUT",
                        "INTERNAL_ERROR"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "403": {
            "description": "Error. `code` is stable; `message` is for humans and may change.",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Error. `code` is stable; `message` is for humans and may change.",
                  "type": "object",
                  "required": [
                    "code",
                    "message"
                  ],
                  "properties": {
                    "code": {
                      "type": "string",
                      "enum": [
                        "VALIDATION_FAILED",
                        "MODE_REQUIRED",
                        "INVALID_STAKE",
                        "INVALID_PRICE",
                        "INVALID_EXPIRY",
                        "CURRENCY_NOT_SUPPORTED",
                        "BOOKMAKER_NOT_AVAILABLE_VIA_API",
                        "BOOKMAKER_NOT_AVAILABLE",
                        "INVALID_API_KEY",
                        "API_ACCESS_DENIED",
                        "ACCOUNT_NOT_ACTIVE",
                        "BETTING_NOT_ALLOWED",
                        "BALANCE_UNAVAILABLE",
                        "INSUFFICIENT_FUNDS",
                        "MAX_STAKE_PER_FIXTURE_EXCEEDED",
                        "PRICE_NOT_AVAILABLE",
                        "PRICE_CHANGED",
                        "NO_LIQUIDITY",
                        "INSUFFICIENT_LIQUIDITY",
                        "CLIENT_ORDER_ID_REUSED",
                        "PREVIOUS_ATTEMPT_UNRESOLVED",
                        "NOT_FOUND",
                        "INVALID_CURSOR",
                        "INVALID_WINDOW",
                        "ORDER_BUSY",
                        "CONFLICT",
                        "FORBIDDEN",
                        "RATE_LIMITED",
                        "BETTING_SUSPENDED",
                        "EXPIRY_NOT_AVAILABLE",
                        "PUBLIC_API_DISABLED",
                        "SERVICE_UNAVAILABLE",
                        "UPSTREAM_UNAVAILABLE",
                        "FEED_UNAVAILABLE",
                        "FEED_TIMEOUT",
                        "INTERNAL_ERROR"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "429": {
            "description": "Error. `code` is stable; `message` is for humans and may change.",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Error. `code` is stable; `message` is for humans and may change.",
                  "type": "object",
                  "required": [
                    "code",
                    "message"
                  ],
                  "properties": {
                    "code": {
                      "type": "string",
                      "enum": [
                        "VALIDATION_FAILED",
                        "MODE_REQUIRED",
                        "INVALID_STAKE",
                        "INVALID_PRICE",
                        "INVALID_EXPIRY",
                        "CURRENCY_NOT_SUPPORTED",
                        "BOOKMAKER_NOT_AVAILABLE_VIA_API",
                        "BOOKMAKER_NOT_AVAILABLE",
                        "INVALID_API_KEY",
                        "API_ACCESS_DENIED",
                        "ACCOUNT_NOT_ACTIVE",
                        "BETTING_NOT_ALLOWED",
                        "BALANCE_UNAVAILABLE",
                        "INSUFFICIENT_FUNDS",
                        "MAX_STAKE_PER_FIXTURE_EXCEEDED",
                        "PRICE_NOT_AVAILABLE",
                        "PRICE_CHANGED",
                        "NO_LIQUIDITY",
                        "INSUFFICIENT_LIQUIDITY",
                        "CLIENT_ORDER_ID_REUSED",
                        "PREVIOUS_ATTEMPT_UNRESOLVED",
                        "NOT_FOUND",
                        "INVALID_CURSOR",
                        "INVALID_WINDOW",
                        "ORDER_BUSY",
                        "CONFLICT",
                        "FORBIDDEN",
                        "RATE_LIMITED",
                        "BETTING_SUSPENDED",
                        "EXPIRY_NOT_AVAILABLE",
                        "PUBLIC_API_DISABLED",
                        "SERVICE_UNAVAILABLE",
                        "UPSTREAM_UNAVAILABLE",
                        "FEED_UNAVAILABLE",
                        "FEED_TIMEOUT",
                        "INTERNAL_ERROR"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "503": {
            "description": "Error. `code` is stable; `message` is for humans and may change.",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Error. `code` is stable; `message` is for humans and may change.",
                  "type": "object",
                  "required": [
                    "code",
                    "message"
                  ],
                  "properties": {
                    "code": {
                      "type": "string",
                      "enum": [
                        "VALIDATION_FAILED",
                        "MODE_REQUIRED",
                        "INVALID_STAKE",
                        "INVALID_PRICE",
                        "INVALID_EXPIRY",
                        "CURRENCY_NOT_SUPPORTED",
                        "BOOKMAKER_NOT_AVAILABLE_VIA_API",
                        "BOOKMAKER_NOT_AVAILABLE",
                        "INVALID_API_KEY",
                        "API_ACCESS_DENIED",
                        "ACCOUNT_NOT_ACTIVE",
                        "BETTING_NOT_ALLOWED",
                        "BALANCE_UNAVAILABLE",
                        "INSUFFICIENT_FUNDS",
                        "MAX_STAKE_PER_FIXTURE_EXCEEDED",
                        "PRICE_NOT_AVAILABLE",
                        "PRICE_CHANGED",
                        "NO_LIQUIDITY",
                        "INSUFFICIENT_LIQUIDITY",
                        "CLIENT_ORDER_ID_REUSED",
                        "PREVIOUS_ATTEMPT_UNRESOLVED",
                        "NOT_FOUND",
                        "INVALID_CURSOR",
                        "INVALID_WINDOW",
                        "ORDER_BUSY",
                        "CONFLICT",
                        "FORBIDDEN",
                        "RATE_LIMITED",
                        "BETTING_SUSPENDED",
                        "EXPIRY_NOT_AVAILABLE",
                        "PUBLIC_API_DISABLED",
                        "SERVICE_UNAVAILABLE",
                        "UPSTREAM_UNAVAILABLE",
                        "FEED_UNAVAILABLE",
                        "FEED_TIMEOUT",
                        "INTERNAL_ERROR"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          }
        }
      }
    },
    "/v1/en/bookmakers": {
      "get": {
        "summary": "Get Bookmakers",
        "description": "OddsPapi `GET /{lang}/bookmakers`, returned unchanged. The reference shows `en`; see [Languages](/api-reference/overview#languages) for the others.\n\nList bookmakers.\n\nReturns the bookmaker catalog available to the provided apiKey.\n\nLookup mode: `bookmakers` (optional filter list) + `playerProps` (optional capability filter).\n\nOdds are limited to your account's bookmakers: without `bookmakers`, you get all of them; asking for another one answers `403 BOOKMAKER_NOT_AVAILABLE`.",
        "operationId": "feed_bookmakers",
        "tags": [
          "Reference data"
        ],
        "parameters": [
          {
            "name": "bookmakers",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ]
            },
            "description": "Comma- or space-separated bookmaker slugs. Supports `*` / `all` for wildcard."
          },
          {
            "name": "playerProps",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "boolean"
                },
                {
                  "type": "null"
                }
              ]
            },
            "description": "If true, only return bookmakers that support player proposition markets."
          }
        ],
        "responses": {
          "200": {
            "description": "Returns Bookmaker[]",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BookmakerList"
                },
                "examples": {
                  "example": {
                    "summary": "Bookmaker list",
                    "value": [
                      {
                        "slug": "188bet",
                        "bookmakerName": "188BET",
                        "active": true,
                        "domain": "https://188bet.com",
                        "serverGroup": "at4",
                        "price": 10,
                        "websocketPregame": true,
                        "websocketLive": false,
                        "maxDelayPregameInSec": 80,
                        "maxDelayPregameMainInSec": 60,
                        "availableCountries": [
                          "ag",
                          "al",
                          "am",
                          "ar",
                          "at"
                        ]
                      },
                      {
                        "slug": "1xbet",
                        "bookmakerName": "1xBet",
                        "active": true,
                        "domain": "https://1xbet.com",
                        "serverGroup": "de4",
                        "price": 10,
                        "websocketPregame": true,
                        "websocketLive": true,
                        "maxDelayPregameInSec": 30,
                        "maxDelayLiveInSec": 4,
                        "maxDelayPregameMainInSec": 6,
                        "availableCountries": [
                          "bo",
                          "kr",
                          "tn",
                          "in"
                        ]
                      }
                    ]
                  }
                }
              }
            }
          },
          "400": {
            "description": "Error. `code` is stable; `message` is for humans and may change.",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Error. `code` is stable; `message` is for humans and may change.",
                  "type": "object",
                  "required": [
                    "code",
                    "message"
                  ],
                  "properties": {
                    "code": {
                      "type": "string",
                      "enum": [
                        "VALIDATION_FAILED",
                        "MODE_REQUIRED",
                        "INVALID_STAKE",
                        "INVALID_PRICE",
                        "INVALID_EXPIRY",
                        "CURRENCY_NOT_SUPPORTED",
                        "BOOKMAKER_NOT_AVAILABLE_VIA_API",
                        "BOOKMAKER_NOT_AVAILABLE",
                        "INVALID_API_KEY",
                        "API_ACCESS_DENIED",
                        "ACCOUNT_NOT_ACTIVE",
                        "BETTING_NOT_ALLOWED",
                        "BALANCE_UNAVAILABLE",
                        "INSUFFICIENT_FUNDS",
                        "MAX_STAKE_PER_FIXTURE_EXCEEDED",
                        "PRICE_NOT_AVAILABLE",
                        "PRICE_CHANGED",
                        "NO_LIQUIDITY",
                        "INSUFFICIENT_LIQUIDITY",
                        "CLIENT_ORDER_ID_REUSED",
                        "PREVIOUS_ATTEMPT_UNRESOLVED",
                        "NOT_FOUND",
                        "INVALID_CURSOR",
                        "INVALID_WINDOW",
                        "ORDER_BUSY",
                        "CONFLICT",
                        "FORBIDDEN",
                        "RATE_LIMITED",
                        "BETTING_SUSPENDED",
                        "EXPIRY_NOT_AVAILABLE",
                        "PUBLIC_API_DISABLED",
                        "SERVICE_UNAVAILABLE",
                        "UPSTREAM_UNAVAILABLE",
                        "FEED_UNAVAILABLE",
                        "FEED_TIMEOUT",
                        "INTERNAL_ERROR"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "401": {
            "description": "Error. `code` is stable; `message` is for humans and may change.",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Error. `code` is stable; `message` is for humans and may change.",
                  "type": "object",
                  "required": [
                    "code",
                    "message"
                  ],
                  "properties": {
                    "code": {
                      "type": "string",
                      "enum": [
                        "VALIDATION_FAILED",
                        "MODE_REQUIRED",
                        "INVALID_STAKE",
                        "INVALID_PRICE",
                        "INVALID_EXPIRY",
                        "CURRENCY_NOT_SUPPORTED",
                        "BOOKMAKER_NOT_AVAILABLE_VIA_API",
                        "BOOKMAKER_NOT_AVAILABLE",
                        "INVALID_API_KEY",
                        "API_ACCESS_DENIED",
                        "ACCOUNT_NOT_ACTIVE",
                        "BETTING_NOT_ALLOWED",
                        "BALANCE_UNAVAILABLE",
                        "INSUFFICIENT_FUNDS",
                        "MAX_STAKE_PER_FIXTURE_EXCEEDED",
                        "PRICE_NOT_AVAILABLE",
                        "PRICE_CHANGED",
                        "NO_LIQUIDITY",
                        "INSUFFICIENT_LIQUIDITY",
                        "CLIENT_ORDER_ID_REUSED",
                        "PREVIOUS_ATTEMPT_UNRESOLVED",
                        "NOT_FOUND",
                        "INVALID_CURSOR",
                        "INVALID_WINDOW",
                        "ORDER_BUSY",
                        "CONFLICT",
                        "FORBIDDEN",
                        "RATE_LIMITED",
                        "BETTING_SUSPENDED",
                        "EXPIRY_NOT_AVAILABLE",
                        "PUBLIC_API_DISABLED",
                        "SERVICE_UNAVAILABLE",
                        "UPSTREAM_UNAVAILABLE",
                        "FEED_UNAVAILABLE",
                        "FEED_TIMEOUT",
                        "INTERNAL_ERROR"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "403": {
            "description": "Error. `code` is stable; `message` is for humans and may change.",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Error. `code` is stable; `message` is for humans and may change.",
                  "type": "object",
                  "required": [
                    "code",
                    "message"
                  ],
                  "properties": {
                    "code": {
                      "type": "string",
                      "enum": [
                        "VALIDATION_FAILED",
                        "MODE_REQUIRED",
                        "INVALID_STAKE",
                        "INVALID_PRICE",
                        "INVALID_EXPIRY",
                        "CURRENCY_NOT_SUPPORTED",
                        "BOOKMAKER_NOT_AVAILABLE_VIA_API",
                        "BOOKMAKER_NOT_AVAILABLE",
                        "INVALID_API_KEY",
                        "API_ACCESS_DENIED",
                        "ACCOUNT_NOT_ACTIVE",
                        "BETTING_NOT_ALLOWED",
                        "BALANCE_UNAVAILABLE",
                        "INSUFFICIENT_FUNDS",
                        "MAX_STAKE_PER_FIXTURE_EXCEEDED",
                        "PRICE_NOT_AVAILABLE",
                        "PRICE_CHANGED",
                        "NO_LIQUIDITY",
                        "INSUFFICIENT_LIQUIDITY",
                        "CLIENT_ORDER_ID_REUSED",
                        "PREVIOUS_ATTEMPT_UNRESOLVED",
                        "NOT_FOUND",
                        "INVALID_CURSOR",
                        "INVALID_WINDOW",
                        "ORDER_BUSY",
                        "CONFLICT",
                        "FORBIDDEN",
                        "RATE_LIMITED",
                        "BETTING_SUSPENDED",
                        "EXPIRY_NOT_AVAILABLE",
                        "PUBLIC_API_DISABLED",
                        "SERVICE_UNAVAILABLE",
                        "UPSTREAM_UNAVAILABLE",
                        "FEED_UNAVAILABLE",
                        "FEED_TIMEOUT",
                        "INTERNAL_ERROR"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "404": {
            "description": "Error. `code` is stable; `message` is for humans and may change.",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Error. `code` is stable; `message` is for humans and may change.",
                  "type": "object",
                  "required": [
                    "code",
                    "message"
                  ],
                  "properties": {
                    "code": {
                      "type": "string",
                      "enum": [
                        "VALIDATION_FAILED",
                        "MODE_REQUIRED",
                        "INVALID_STAKE",
                        "INVALID_PRICE",
                        "INVALID_EXPIRY",
                        "CURRENCY_NOT_SUPPORTED",
                        "BOOKMAKER_NOT_AVAILABLE_VIA_API",
                        "BOOKMAKER_NOT_AVAILABLE",
                        "INVALID_API_KEY",
                        "API_ACCESS_DENIED",
                        "ACCOUNT_NOT_ACTIVE",
                        "BETTING_NOT_ALLOWED",
                        "BALANCE_UNAVAILABLE",
                        "INSUFFICIENT_FUNDS",
                        "MAX_STAKE_PER_FIXTURE_EXCEEDED",
                        "PRICE_NOT_AVAILABLE",
                        "PRICE_CHANGED",
                        "NO_LIQUIDITY",
                        "INSUFFICIENT_LIQUIDITY",
                        "CLIENT_ORDER_ID_REUSED",
                        "PREVIOUS_ATTEMPT_UNRESOLVED",
                        "NOT_FOUND",
                        "INVALID_CURSOR",
                        "INVALID_WINDOW",
                        "ORDER_BUSY",
                        "CONFLICT",
                        "FORBIDDEN",
                        "RATE_LIMITED",
                        "BETTING_SUSPENDED",
                        "EXPIRY_NOT_AVAILABLE",
                        "PUBLIC_API_DISABLED",
                        "SERVICE_UNAVAILABLE",
                        "UPSTREAM_UNAVAILABLE",
                        "FEED_UNAVAILABLE",
                        "FEED_TIMEOUT",
                        "INTERNAL_ERROR"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "429": {
            "description": "Error. `code` is stable; `message` is for humans and may change.",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Error. `code` is stable; `message` is for humans and may change.",
                  "type": "object",
                  "required": [
                    "code",
                    "message"
                  ],
                  "properties": {
                    "code": {
                      "type": "string",
                      "enum": [
                        "VALIDATION_FAILED",
                        "MODE_REQUIRED",
                        "INVALID_STAKE",
                        "INVALID_PRICE",
                        "INVALID_EXPIRY",
                        "CURRENCY_NOT_SUPPORTED",
                        "BOOKMAKER_NOT_AVAILABLE_VIA_API",
                        "BOOKMAKER_NOT_AVAILABLE",
                        "INVALID_API_KEY",
                        "API_ACCESS_DENIED",
                        "ACCOUNT_NOT_ACTIVE",
                        "BETTING_NOT_ALLOWED",
                        "BALANCE_UNAVAILABLE",
                        "INSUFFICIENT_FUNDS",
                        "MAX_STAKE_PER_FIXTURE_EXCEEDED",
                        "PRICE_NOT_AVAILABLE",
                        "PRICE_CHANGED",
                        "NO_LIQUIDITY",
                        "INSUFFICIENT_LIQUIDITY",
                        "CLIENT_ORDER_ID_REUSED",
                        "PREVIOUS_ATTEMPT_UNRESOLVED",
                        "NOT_FOUND",
                        "INVALID_CURSOR",
                        "INVALID_WINDOW",
                        "ORDER_BUSY",
                        "CONFLICT",
                        "FORBIDDEN",
                        "RATE_LIMITED",
                        "BETTING_SUSPENDED",
                        "EXPIRY_NOT_AVAILABLE",
                        "PUBLIC_API_DISABLED",
                        "SERVICE_UNAVAILABLE",
                        "UPSTREAM_UNAVAILABLE",
                        "FEED_UNAVAILABLE",
                        "FEED_TIMEOUT",
                        "INTERNAL_ERROR"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "502": {
            "description": "Error. `code` is stable; `message` is for humans and may change.",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Error. `code` is stable; `message` is for humans and may change.",
                  "type": "object",
                  "required": [
                    "code",
                    "message"
                  ],
                  "properties": {
                    "code": {
                      "type": "string",
                      "enum": [
                        "VALIDATION_FAILED",
                        "MODE_REQUIRED",
                        "INVALID_STAKE",
                        "INVALID_PRICE",
                        "INVALID_EXPIRY",
                        "CURRENCY_NOT_SUPPORTED",
                        "BOOKMAKER_NOT_AVAILABLE_VIA_API",
                        "BOOKMAKER_NOT_AVAILABLE",
                        "INVALID_API_KEY",
                        "API_ACCESS_DENIED",
                        "ACCOUNT_NOT_ACTIVE",
                        "BETTING_NOT_ALLOWED",
                        "BALANCE_UNAVAILABLE",
                        "INSUFFICIENT_FUNDS",
                        "MAX_STAKE_PER_FIXTURE_EXCEEDED",
                        "PRICE_NOT_AVAILABLE",
                        "PRICE_CHANGED",
                        "NO_LIQUIDITY",
                        "INSUFFICIENT_LIQUIDITY",
                        "CLIENT_ORDER_ID_REUSED",
                        "PREVIOUS_ATTEMPT_UNRESOLVED",
                        "NOT_FOUND",
                        "INVALID_CURSOR",
                        "INVALID_WINDOW",
                        "ORDER_BUSY",
                        "CONFLICT",
                        "FORBIDDEN",
                        "RATE_LIMITED",
                        "BETTING_SUSPENDED",
                        "EXPIRY_NOT_AVAILABLE",
                        "PUBLIC_API_DISABLED",
                        "SERVICE_UNAVAILABLE",
                        "UPSTREAM_UNAVAILABLE",
                        "FEED_UNAVAILABLE",
                        "FEED_TIMEOUT",
                        "INTERNAL_ERROR"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "503": {
            "description": "Error. `code` is stable; `message` is for humans and may change.",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Error. `code` is stable; `message` is for humans and may change.",
                  "type": "object",
                  "required": [
                    "code",
                    "message"
                  ],
                  "properties": {
                    "code": {
                      "type": "string",
                      "enum": [
                        "VALIDATION_FAILED",
                        "MODE_REQUIRED",
                        "INVALID_STAKE",
                        "INVALID_PRICE",
                        "INVALID_EXPIRY",
                        "CURRENCY_NOT_SUPPORTED",
                        "BOOKMAKER_NOT_AVAILABLE_VIA_API",
                        "BOOKMAKER_NOT_AVAILABLE",
                        "INVALID_API_KEY",
                        "API_ACCESS_DENIED",
                        "ACCOUNT_NOT_ACTIVE",
                        "BETTING_NOT_ALLOWED",
                        "BALANCE_UNAVAILABLE",
                        "INSUFFICIENT_FUNDS",
                        "MAX_STAKE_PER_FIXTURE_EXCEEDED",
                        "PRICE_NOT_AVAILABLE",
                        "PRICE_CHANGED",
                        "NO_LIQUIDITY",
                        "INSUFFICIENT_LIQUIDITY",
                        "CLIENT_ORDER_ID_REUSED",
                        "PREVIOUS_ATTEMPT_UNRESOLVED",
                        "NOT_FOUND",
                        "INVALID_CURSOR",
                        "INVALID_WINDOW",
                        "ORDER_BUSY",
                        "CONFLICT",
                        "FORBIDDEN",
                        "RATE_LIMITED",
                        "BETTING_SUSPENDED",
                        "EXPIRY_NOT_AVAILABLE",
                        "PUBLIC_API_DISABLED",
                        "SERVICE_UNAVAILABLE",
                        "UPSTREAM_UNAVAILABLE",
                        "FEED_UNAVAILABLE",
                        "FEED_TIMEOUT",
                        "INTERNAL_ERROR"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "504": {
            "description": "Error. `code` is stable; `message` is for humans and may change.",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Error. `code` is stable; `message` is for humans and may change.",
                  "type": "object",
                  "required": [
                    "code",
                    "message"
                  ],
                  "properties": {
                    "code": {
                      "type": "string",
                      "enum": [
                        "VALIDATION_FAILED",
                        "MODE_REQUIRED",
                        "INVALID_STAKE",
                        "INVALID_PRICE",
                        "INVALID_EXPIRY",
                        "CURRENCY_NOT_SUPPORTED",
                        "BOOKMAKER_NOT_AVAILABLE_VIA_API",
                        "BOOKMAKER_NOT_AVAILABLE",
                        "INVALID_API_KEY",
                        "API_ACCESS_DENIED",
                        "ACCOUNT_NOT_ACTIVE",
                        "BETTING_NOT_ALLOWED",
                        "BALANCE_UNAVAILABLE",
                        "INSUFFICIENT_FUNDS",
                        "MAX_STAKE_PER_FIXTURE_EXCEEDED",
                        "PRICE_NOT_AVAILABLE",
                        "PRICE_CHANGED",
                        "NO_LIQUIDITY",
                        "INSUFFICIENT_LIQUIDITY",
                        "CLIENT_ORDER_ID_REUSED",
                        "PREVIOUS_ATTEMPT_UNRESOLVED",
                        "NOT_FOUND",
                        "INVALID_CURSOR",
                        "INVALID_WINDOW",
                        "ORDER_BUSY",
                        "CONFLICT",
                        "FORBIDDEN",
                        "RATE_LIMITED",
                        "BETTING_SUSPENDED",
                        "EXPIRY_NOT_AVAILABLE",
                        "PUBLIC_API_DISABLED",
                        "SERVICE_UNAVAILABLE",
                        "UPSTREAM_UNAVAILABLE",
                        "FEED_UNAVAILABLE",
                        "FEED_TIMEOUT",
                        "INTERNAL_ERROR"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          }
        }
      }
    },
    "/v1/en/currencies": {
      "get": {
        "summary": "Get Currencies",
        "description": "OddsPapi `GET /{lang}/currencies`, returned unchanged. The reference shows `en`; see [Languages](/api-reference/overview#languages) for the others.\n\nList currencies and conversion values.\n\nLookup mode: `currency` (optional filter).",
        "operationId": "feed_currencies",
        "tags": [
          "Reference data"
        ],
        "parameters": [
          {
            "name": "currency",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ]
            },
            "description": "Currency code (case-insensitive), e.g. EUR, usd, BTC."
          }
        ],
        "responses": {
          "200": {
            "description": "Returns Currency[]",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CurrencyList"
                },
                "examples": {
                  "example": {
                    "summary": "Currencies list",
                    "value": [
                      {
                        "currency": "BTC",
                        "updatedAt": "2026-10-19T21:08:01+00:00",
                        "currencyValue": 0.00001221
                      },
                      {
                        "currency": "EUR",
                        "updatedAt": "2026-10-19T21:00:00+00:00",
                        "currencyValue": 0.891896
                      }
                    ]
                  }
                }
              }
            }
          },
          "400": {
            "description": "Error. `code` is stable; `message` is for humans and may change.",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Error. `code` is stable; `message` is for humans and may change.",
                  "type": "object",
                  "required": [
                    "code",
                    "message"
                  ],
                  "properties": {
                    "code": {
                      "type": "string",
                      "enum": [
                        "VALIDATION_FAILED",
                        "MODE_REQUIRED",
                        "INVALID_STAKE",
                        "INVALID_PRICE",
                        "INVALID_EXPIRY",
                        "CURRENCY_NOT_SUPPORTED",
                        "BOOKMAKER_NOT_AVAILABLE_VIA_API",
                        "BOOKMAKER_NOT_AVAILABLE",
                        "INVALID_API_KEY",
                        "API_ACCESS_DENIED",
                        "ACCOUNT_NOT_ACTIVE",
                        "BETTING_NOT_ALLOWED",
                        "BALANCE_UNAVAILABLE",
                        "INSUFFICIENT_FUNDS",
                        "MAX_STAKE_PER_FIXTURE_EXCEEDED",
                        "PRICE_NOT_AVAILABLE",
                        "PRICE_CHANGED",
                        "NO_LIQUIDITY",
                        "INSUFFICIENT_LIQUIDITY",
                        "CLIENT_ORDER_ID_REUSED",
                        "PREVIOUS_ATTEMPT_UNRESOLVED",
                        "NOT_FOUND",
                        "INVALID_CURSOR",
                        "INVALID_WINDOW",
                        "ORDER_BUSY",
                        "CONFLICT",
                        "FORBIDDEN",
                        "RATE_LIMITED",
                        "BETTING_SUSPENDED",
                        "EXPIRY_NOT_AVAILABLE",
                        "PUBLIC_API_DISABLED",
                        "SERVICE_UNAVAILABLE",
                        "UPSTREAM_UNAVAILABLE",
                        "FEED_UNAVAILABLE",
                        "FEED_TIMEOUT",
                        "INTERNAL_ERROR"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "401": {
            "description": "Error. `code` is stable; `message` is for humans and may change.",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Error. `code` is stable; `message` is for humans and may change.",
                  "type": "object",
                  "required": [
                    "code",
                    "message"
                  ],
                  "properties": {
                    "code": {
                      "type": "string",
                      "enum": [
                        "VALIDATION_FAILED",
                        "MODE_REQUIRED",
                        "INVALID_STAKE",
                        "INVALID_PRICE",
                        "INVALID_EXPIRY",
                        "CURRENCY_NOT_SUPPORTED",
                        "BOOKMAKER_NOT_AVAILABLE_VIA_API",
                        "BOOKMAKER_NOT_AVAILABLE",
                        "INVALID_API_KEY",
                        "API_ACCESS_DENIED",
                        "ACCOUNT_NOT_ACTIVE",
                        "BETTING_NOT_ALLOWED",
                        "BALANCE_UNAVAILABLE",
                        "INSUFFICIENT_FUNDS",
                        "MAX_STAKE_PER_FIXTURE_EXCEEDED",
                        "PRICE_NOT_AVAILABLE",
                        "PRICE_CHANGED",
                        "NO_LIQUIDITY",
                        "INSUFFICIENT_LIQUIDITY",
                        "CLIENT_ORDER_ID_REUSED",
                        "PREVIOUS_ATTEMPT_UNRESOLVED",
                        "NOT_FOUND",
                        "INVALID_CURSOR",
                        "INVALID_WINDOW",
                        "ORDER_BUSY",
                        "CONFLICT",
                        "FORBIDDEN",
                        "RATE_LIMITED",
                        "BETTING_SUSPENDED",
                        "EXPIRY_NOT_AVAILABLE",
                        "PUBLIC_API_DISABLED",
                        "SERVICE_UNAVAILABLE",
                        "UPSTREAM_UNAVAILABLE",
                        "FEED_UNAVAILABLE",
                        "FEED_TIMEOUT",
                        "INTERNAL_ERROR"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "403": {
            "description": "Error. `code` is stable; `message` is for humans and may change.",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Error. `code` is stable; `message` is for humans and may change.",
                  "type": "object",
                  "required": [
                    "code",
                    "message"
                  ],
                  "properties": {
                    "code": {
                      "type": "string",
                      "enum": [
                        "VALIDATION_FAILED",
                        "MODE_REQUIRED",
                        "INVALID_STAKE",
                        "INVALID_PRICE",
                        "INVALID_EXPIRY",
                        "CURRENCY_NOT_SUPPORTED",
                        "BOOKMAKER_NOT_AVAILABLE_VIA_API",
                        "BOOKMAKER_NOT_AVAILABLE",
                        "INVALID_API_KEY",
                        "API_ACCESS_DENIED",
                        "ACCOUNT_NOT_ACTIVE",
                        "BETTING_NOT_ALLOWED",
                        "BALANCE_UNAVAILABLE",
                        "INSUFFICIENT_FUNDS",
                        "MAX_STAKE_PER_FIXTURE_EXCEEDED",
                        "PRICE_NOT_AVAILABLE",
                        "PRICE_CHANGED",
                        "NO_LIQUIDITY",
                        "INSUFFICIENT_LIQUIDITY",
                        "CLIENT_ORDER_ID_REUSED",
                        "PREVIOUS_ATTEMPT_UNRESOLVED",
                        "NOT_FOUND",
                        "INVALID_CURSOR",
                        "INVALID_WINDOW",
                        "ORDER_BUSY",
                        "CONFLICT",
                        "FORBIDDEN",
                        "RATE_LIMITED",
                        "BETTING_SUSPENDED",
                        "EXPIRY_NOT_AVAILABLE",
                        "PUBLIC_API_DISABLED",
                        "SERVICE_UNAVAILABLE",
                        "UPSTREAM_UNAVAILABLE",
                        "FEED_UNAVAILABLE",
                        "FEED_TIMEOUT",
                        "INTERNAL_ERROR"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "404": {
            "description": "Error. `code` is stable; `message` is for humans and may change.",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Error. `code` is stable; `message` is for humans and may change.",
                  "type": "object",
                  "required": [
                    "code",
                    "message"
                  ],
                  "properties": {
                    "code": {
                      "type": "string",
                      "enum": [
                        "VALIDATION_FAILED",
                        "MODE_REQUIRED",
                        "INVALID_STAKE",
                        "INVALID_PRICE",
                        "INVALID_EXPIRY",
                        "CURRENCY_NOT_SUPPORTED",
                        "BOOKMAKER_NOT_AVAILABLE_VIA_API",
                        "BOOKMAKER_NOT_AVAILABLE",
                        "INVALID_API_KEY",
                        "API_ACCESS_DENIED",
                        "ACCOUNT_NOT_ACTIVE",
                        "BETTING_NOT_ALLOWED",
                        "BALANCE_UNAVAILABLE",
                        "INSUFFICIENT_FUNDS",
                        "MAX_STAKE_PER_FIXTURE_EXCEEDED",
                        "PRICE_NOT_AVAILABLE",
                        "PRICE_CHANGED",
                        "NO_LIQUIDITY",
                        "INSUFFICIENT_LIQUIDITY",
                        "CLIENT_ORDER_ID_REUSED",
                        "PREVIOUS_ATTEMPT_UNRESOLVED",
                        "NOT_FOUND",
                        "INVALID_CURSOR",
                        "INVALID_WINDOW",
                        "ORDER_BUSY",
                        "CONFLICT",
                        "FORBIDDEN",
                        "RATE_LIMITED",
                        "BETTING_SUSPENDED",
                        "EXPIRY_NOT_AVAILABLE",
                        "PUBLIC_API_DISABLED",
                        "SERVICE_UNAVAILABLE",
                        "UPSTREAM_UNAVAILABLE",
                        "FEED_UNAVAILABLE",
                        "FEED_TIMEOUT",
                        "INTERNAL_ERROR"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "429": {
            "description": "Error. `code` is stable; `message` is for humans and may change.",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Error. `code` is stable; `message` is for humans and may change.",
                  "type": "object",
                  "required": [
                    "code",
                    "message"
                  ],
                  "properties": {
                    "code": {
                      "type": "string",
                      "enum": [
                        "VALIDATION_FAILED",
                        "MODE_REQUIRED",
                        "INVALID_STAKE",
                        "INVALID_PRICE",
                        "INVALID_EXPIRY",
                        "CURRENCY_NOT_SUPPORTED",
                        "BOOKMAKER_NOT_AVAILABLE_VIA_API",
                        "BOOKMAKER_NOT_AVAILABLE",
                        "INVALID_API_KEY",
                        "API_ACCESS_DENIED",
                        "ACCOUNT_NOT_ACTIVE",
                        "BETTING_NOT_ALLOWED",
                        "BALANCE_UNAVAILABLE",
                        "INSUFFICIENT_FUNDS",
                        "MAX_STAKE_PER_FIXTURE_EXCEEDED",
                        "PRICE_NOT_AVAILABLE",
                        "PRICE_CHANGED",
                        "NO_LIQUIDITY",
                        "INSUFFICIENT_LIQUIDITY",
                        "CLIENT_ORDER_ID_REUSED",
                        "PREVIOUS_ATTEMPT_UNRESOLVED",
                        "NOT_FOUND",
                        "INVALID_CURSOR",
                        "INVALID_WINDOW",
                        "ORDER_BUSY",
                        "CONFLICT",
                        "FORBIDDEN",
                        "RATE_LIMITED",
                        "BETTING_SUSPENDED",
                        "EXPIRY_NOT_AVAILABLE",
                        "PUBLIC_API_DISABLED",
                        "SERVICE_UNAVAILABLE",
                        "UPSTREAM_UNAVAILABLE",
                        "FEED_UNAVAILABLE",
                        "FEED_TIMEOUT",
                        "INTERNAL_ERROR"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "502": {
            "description": "Error. `code` is stable; `message` is for humans and may change.",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Error. `code` is stable; `message` is for humans and may change.",
                  "type": "object",
                  "required": [
                    "code",
                    "message"
                  ],
                  "properties": {
                    "code": {
                      "type": "string",
                      "enum": [
                        "VALIDATION_FAILED",
                        "MODE_REQUIRED",
                        "INVALID_STAKE",
                        "INVALID_PRICE",
                        "INVALID_EXPIRY",
                        "CURRENCY_NOT_SUPPORTED",
                        "BOOKMAKER_NOT_AVAILABLE_VIA_API",
                        "BOOKMAKER_NOT_AVAILABLE",
                        "INVALID_API_KEY",
                        "API_ACCESS_DENIED",
                        "ACCOUNT_NOT_ACTIVE",
                        "BETTING_NOT_ALLOWED",
                        "BALANCE_UNAVAILABLE",
                        "INSUFFICIENT_FUNDS",
                        "MAX_STAKE_PER_FIXTURE_EXCEEDED",
                        "PRICE_NOT_AVAILABLE",
                        "PRICE_CHANGED",
                        "NO_LIQUIDITY",
                        "INSUFFICIENT_LIQUIDITY",
                        "CLIENT_ORDER_ID_REUSED",
                        "PREVIOUS_ATTEMPT_UNRESOLVED",
                        "NOT_FOUND",
                        "INVALID_CURSOR",
                        "INVALID_WINDOW",
                        "ORDER_BUSY",
                        "CONFLICT",
                        "FORBIDDEN",
                        "RATE_LIMITED",
                        "BETTING_SUSPENDED",
                        "EXPIRY_NOT_AVAILABLE",
                        "PUBLIC_API_DISABLED",
                        "SERVICE_UNAVAILABLE",
                        "UPSTREAM_UNAVAILABLE",
                        "FEED_UNAVAILABLE",
                        "FEED_TIMEOUT",
                        "INTERNAL_ERROR"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "503": {
            "description": "Error. `code` is stable; `message` is for humans and may change.",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Error. `code` is stable; `message` is for humans and may change.",
                  "type": "object",
                  "required": [
                    "code",
                    "message"
                  ],
                  "properties": {
                    "code": {
                      "type": "string",
                      "enum": [
                        "VALIDATION_FAILED",
                        "MODE_REQUIRED",
                        "INVALID_STAKE",
                        "INVALID_PRICE",
                        "INVALID_EXPIRY",
                        "CURRENCY_NOT_SUPPORTED",
                        "BOOKMAKER_NOT_AVAILABLE_VIA_API",
                        "BOOKMAKER_NOT_AVAILABLE",
                        "INVALID_API_KEY",
                        "API_ACCESS_DENIED",
                        "ACCOUNT_NOT_ACTIVE",
                        "BETTING_NOT_ALLOWED",
                        "BALANCE_UNAVAILABLE",
                        "INSUFFICIENT_FUNDS",
                        "MAX_STAKE_PER_FIXTURE_EXCEEDED",
                        "PRICE_NOT_AVAILABLE",
                        "PRICE_CHANGED",
                        "NO_LIQUIDITY",
                        "INSUFFICIENT_LIQUIDITY",
                        "CLIENT_ORDER_ID_REUSED",
                        "PREVIOUS_ATTEMPT_UNRESOLVED",
                        "NOT_FOUND",
                        "INVALID_CURSOR",
                        "INVALID_WINDOW",
                        "ORDER_BUSY",
                        "CONFLICT",
                        "FORBIDDEN",
                        "RATE_LIMITED",
                        "BETTING_SUSPENDED",
                        "EXPIRY_NOT_AVAILABLE",
                        "PUBLIC_API_DISABLED",
                        "SERVICE_UNAVAILABLE",
                        "UPSTREAM_UNAVAILABLE",
                        "FEED_UNAVAILABLE",
                        "FEED_TIMEOUT",
                        "INTERNAL_ERROR"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "504": {
            "description": "Error. `code` is stable; `message` is for humans and may change.",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Error. `code` is stable; `message` is for humans and may change.",
                  "type": "object",
                  "required": [
                    "code",
                    "message"
                  ],
                  "properties": {
                    "code": {
                      "type": "string",
                      "enum": [
                        "VALIDATION_FAILED",
                        "MODE_REQUIRED",
                        "INVALID_STAKE",
                        "INVALID_PRICE",
                        "INVALID_EXPIRY",
                        "CURRENCY_NOT_SUPPORTED",
                        "BOOKMAKER_NOT_AVAILABLE_VIA_API",
                        "BOOKMAKER_NOT_AVAILABLE",
                        "INVALID_API_KEY",
                        "API_ACCESS_DENIED",
                        "ACCOUNT_NOT_ACTIVE",
                        "BETTING_NOT_ALLOWED",
                        "BALANCE_UNAVAILABLE",
                        "INSUFFICIENT_FUNDS",
                        "MAX_STAKE_PER_FIXTURE_EXCEEDED",
                        "PRICE_NOT_AVAILABLE",
                        "PRICE_CHANGED",
                        "NO_LIQUIDITY",
                        "INSUFFICIENT_LIQUIDITY",
                        "CLIENT_ORDER_ID_REUSED",
                        "PREVIOUS_ATTEMPT_UNRESOLVED",
                        "NOT_FOUND",
                        "INVALID_CURSOR",
                        "INVALID_WINDOW",
                        "ORDER_BUSY",
                        "CONFLICT",
                        "FORBIDDEN",
                        "RATE_LIMITED",
                        "BETTING_SUSPENDED",
                        "EXPIRY_NOT_AVAILABLE",
                        "PUBLIC_API_DISABLED",
                        "SERVICE_UNAVAILABLE",
                        "UPSTREAM_UNAVAILABLE",
                        "FEED_UNAVAILABLE",
                        "FEED_TIMEOUT",
                        "INTERNAL_ERROR"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          }
        }
      }
    },
    "/v1/en/markets": {
      "get": {
        "summary": "Get Markets",
        "description": "OddsPapi `GET /{lang}/markets`, returned unchanged. The reference shows `en`; see [Languages](/api-reference/overview#languages) for the others.\n\nList markets.\n\nLookup mode: `marketIds` OR `sportId` OR `outcomeIds`.",
        "operationId": "feed_markets",
        "tags": [
          "Reference data"
        ],
        "parameters": [
          {
            "name": "marketIds",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ]
            },
            "description": "Comma- or space-separated market IDs."
          },
          {
            "name": "sportId",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "null"
                }
              ]
            },
            "description": "Single sport ID."
          },
          {
            "name": "outcomeIds",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ]
            },
            "description": "Comma- or space-separated outcome IDs."
          }
        ],
        "responses": {
          "200": {
            "description": "Returns Market[]",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MarketList"
                },
                "examples": {
                  "example": {
                    "summary": "Markets list",
                    "value": [
                      {
                        "marketId": 111,
                        "marketLength": 2,
                        "sportId": 11,
                        "playerProp": false,
                        "handicap": 0,
                        "period": "result",
                        "marketType": "moneyline",
                        "marketName": "Winner (incl. overtime)",
                        "marketNameShort": "Winner",
                        "outcomes": [
                          {
                            "outcomeId": 111,
                            "outcomeName": "1"
                          },
                          {
                            "outcomeId": 112,
                            "outcomeName": "2"
                          }
                        ]
                      },
                      {
                        "marketId": 113,
                        "marketLength": 3,
                        "sportId": 11,
                        "playerProp": false,
                        "handicap": 0,
                        "period": "fulltime",
                        "marketType": "1x2",
                        "marketName": "Regular Time Result",
                        "marketNameShort": "1X2",
                        "outcomes": [
                          {
                            "outcomeId": 113,
                            "outcomeName": "1"
                          },
                          {
                            "outcomeId": 114,
                            "outcomeName": "X"
                          }
                        ]
                      }
                    ]
                  }
                }
              }
            }
          },
          "400": {
            "description": "Error. `code` is stable; `message` is for humans and may change.",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Error. `code` is stable; `message` is for humans and may change.",
                  "type": "object",
                  "required": [
                    "code",
                    "message"
                  ],
                  "properties": {
                    "code": {
                      "type": "string",
                      "enum": [
                        "VALIDATION_FAILED",
                        "MODE_REQUIRED",
                        "INVALID_STAKE",
                        "INVALID_PRICE",
                        "INVALID_EXPIRY",
                        "CURRENCY_NOT_SUPPORTED",
                        "BOOKMAKER_NOT_AVAILABLE_VIA_API",
                        "BOOKMAKER_NOT_AVAILABLE",
                        "INVALID_API_KEY",
                        "API_ACCESS_DENIED",
                        "ACCOUNT_NOT_ACTIVE",
                        "BETTING_NOT_ALLOWED",
                        "BALANCE_UNAVAILABLE",
                        "INSUFFICIENT_FUNDS",
                        "MAX_STAKE_PER_FIXTURE_EXCEEDED",
                        "PRICE_NOT_AVAILABLE",
                        "PRICE_CHANGED",
                        "NO_LIQUIDITY",
                        "INSUFFICIENT_LIQUIDITY",
                        "CLIENT_ORDER_ID_REUSED",
                        "PREVIOUS_ATTEMPT_UNRESOLVED",
                        "NOT_FOUND",
                        "INVALID_CURSOR",
                        "INVALID_WINDOW",
                        "ORDER_BUSY",
                        "CONFLICT",
                        "FORBIDDEN",
                        "RATE_LIMITED",
                        "BETTING_SUSPENDED",
                        "EXPIRY_NOT_AVAILABLE",
                        "PUBLIC_API_DISABLED",
                        "SERVICE_UNAVAILABLE",
                        "UPSTREAM_UNAVAILABLE",
                        "FEED_UNAVAILABLE",
                        "FEED_TIMEOUT",
                        "INTERNAL_ERROR"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "401": {
            "description": "Error. `code` is stable; `message` is for humans and may change.",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Error. `code` is stable; `message` is for humans and may change.",
                  "type": "object",
                  "required": [
                    "code",
                    "message"
                  ],
                  "properties": {
                    "code": {
                      "type": "string",
                      "enum": [
                        "VALIDATION_FAILED",
                        "MODE_REQUIRED",
                        "INVALID_STAKE",
                        "INVALID_PRICE",
                        "INVALID_EXPIRY",
                        "CURRENCY_NOT_SUPPORTED",
                        "BOOKMAKER_NOT_AVAILABLE_VIA_API",
                        "BOOKMAKER_NOT_AVAILABLE",
                        "INVALID_API_KEY",
                        "API_ACCESS_DENIED",
                        "ACCOUNT_NOT_ACTIVE",
                        "BETTING_NOT_ALLOWED",
                        "BALANCE_UNAVAILABLE",
                        "INSUFFICIENT_FUNDS",
                        "MAX_STAKE_PER_FIXTURE_EXCEEDED",
                        "PRICE_NOT_AVAILABLE",
                        "PRICE_CHANGED",
                        "NO_LIQUIDITY",
                        "INSUFFICIENT_LIQUIDITY",
                        "CLIENT_ORDER_ID_REUSED",
                        "PREVIOUS_ATTEMPT_UNRESOLVED",
                        "NOT_FOUND",
                        "INVALID_CURSOR",
                        "INVALID_WINDOW",
                        "ORDER_BUSY",
                        "CONFLICT",
                        "FORBIDDEN",
                        "RATE_LIMITED",
                        "BETTING_SUSPENDED",
                        "EXPIRY_NOT_AVAILABLE",
                        "PUBLIC_API_DISABLED",
                        "SERVICE_UNAVAILABLE",
                        "UPSTREAM_UNAVAILABLE",
                        "FEED_UNAVAILABLE",
                        "FEED_TIMEOUT",
                        "INTERNAL_ERROR"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "403": {
            "description": "Error. `code` is stable; `message` is for humans and may change.",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Error. `code` is stable; `message` is for humans and may change.",
                  "type": "object",
                  "required": [
                    "code",
                    "message"
                  ],
                  "properties": {
                    "code": {
                      "type": "string",
                      "enum": [
                        "VALIDATION_FAILED",
                        "MODE_REQUIRED",
                        "INVALID_STAKE",
                        "INVALID_PRICE",
                        "INVALID_EXPIRY",
                        "CURRENCY_NOT_SUPPORTED",
                        "BOOKMAKER_NOT_AVAILABLE_VIA_API",
                        "BOOKMAKER_NOT_AVAILABLE",
                        "INVALID_API_KEY",
                        "API_ACCESS_DENIED",
                        "ACCOUNT_NOT_ACTIVE",
                        "BETTING_NOT_ALLOWED",
                        "BALANCE_UNAVAILABLE",
                        "INSUFFICIENT_FUNDS",
                        "MAX_STAKE_PER_FIXTURE_EXCEEDED",
                        "PRICE_NOT_AVAILABLE",
                        "PRICE_CHANGED",
                        "NO_LIQUIDITY",
                        "INSUFFICIENT_LIQUIDITY",
                        "CLIENT_ORDER_ID_REUSED",
                        "PREVIOUS_ATTEMPT_UNRESOLVED",
                        "NOT_FOUND",
                        "INVALID_CURSOR",
                        "INVALID_WINDOW",
                        "ORDER_BUSY",
                        "CONFLICT",
                        "FORBIDDEN",
                        "RATE_LIMITED",
                        "BETTING_SUSPENDED",
                        "EXPIRY_NOT_AVAILABLE",
                        "PUBLIC_API_DISABLED",
                        "SERVICE_UNAVAILABLE",
                        "UPSTREAM_UNAVAILABLE",
                        "FEED_UNAVAILABLE",
                        "FEED_TIMEOUT",
                        "INTERNAL_ERROR"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "404": {
            "description": "Error. `code` is stable; `message` is for humans and may change.",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Error. `code` is stable; `message` is for humans and may change.",
                  "type": "object",
                  "required": [
                    "code",
                    "message"
                  ],
                  "properties": {
                    "code": {
                      "type": "string",
                      "enum": [
                        "VALIDATION_FAILED",
                        "MODE_REQUIRED",
                        "INVALID_STAKE",
                        "INVALID_PRICE",
                        "INVALID_EXPIRY",
                        "CURRENCY_NOT_SUPPORTED",
                        "BOOKMAKER_NOT_AVAILABLE_VIA_API",
                        "BOOKMAKER_NOT_AVAILABLE",
                        "INVALID_API_KEY",
                        "API_ACCESS_DENIED",
                        "ACCOUNT_NOT_ACTIVE",
                        "BETTING_NOT_ALLOWED",
                        "BALANCE_UNAVAILABLE",
                        "INSUFFICIENT_FUNDS",
                        "MAX_STAKE_PER_FIXTURE_EXCEEDED",
                        "PRICE_NOT_AVAILABLE",
                        "PRICE_CHANGED",
                        "NO_LIQUIDITY",
                        "INSUFFICIENT_LIQUIDITY",
                        "CLIENT_ORDER_ID_REUSED",
                        "PREVIOUS_ATTEMPT_UNRESOLVED",
                        "NOT_FOUND",
                        "INVALID_CURSOR",
                        "INVALID_WINDOW",
                        "ORDER_BUSY",
                        "CONFLICT",
                        "FORBIDDEN",
                        "RATE_LIMITED",
                        "BETTING_SUSPENDED",
                        "EXPIRY_NOT_AVAILABLE",
                        "PUBLIC_API_DISABLED",
                        "SERVICE_UNAVAILABLE",
                        "UPSTREAM_UNAVAILABLE",
                        "FEED_UNAVAILABLE",
                        "FEED_TIMEOUT",
                        "INTERNAL_ERROR"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "429": {
            "description": "Error. `code` is stable; `message` is for humans and may change.",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Error. `code` is stable; `message` is for humans and may change.",
                  "type": "object",
                  "required": [
                    "code",
                    "message"
                  ],
                  "properties": {
                    "code": {
                      "type": "string",
                      "enum": [
                        "VALIDATION_FAILED",
                        "MODE_REQUIRED",
                        "INVALID_STAKE",
                        "INVALID_PRICE",
                        "INVALID_EXPIRY",
                        "CURRENCY_NOT_SUPPORTED",
                        "BOOKMAKER_NOT_AVAILABLE_VIA_API",
                        "BOOKMAKER_NOT_AVAILABLE",
                        "INVALID_API_KEY",
                        "API_ACCESS_DENIED",
                        "ACCOUNT_NOT_ACTIVE",
                        "BETTING_NOT_ALLOWED",
                        "BALANCE_UNAVAILABLE",
                        "INSUFFICIENT_FUNDS",
                        "MAX_STAKE_PER_FIXTURE_EXCEEDED",
                        "PRICE_NOT_AVAILABLE",
                        "PRICE_CHANGED",
                        "NO_LIQUIDITY",
                        "INSUFFICIENT_LIQUIDITY",
                        "CLIENT_ORDER_ID_REUSED",
                        "PREVIOUS_ATTEMPT_UNRESOLVED",
                        "NOT_FOUND",
                        "INVALID_CURSOR",
                        "INVALID_WINDOW",
                        "ORDER_BUSY",
                        "CONFLICT",
                        "FORBIDDEN",
                        "RATE_LIMITED",
                        "BETTING_SUSPENDED",
                        "EXPIRY_NOT_AVAILABLE",
                        "PUBLIC_API_DISABLED",
                        "SERVICE_UNAVAILABLE",
                        "UPSTREAM_UNAVAILABLE",
                        "FEED_UNAVAILABLE",
                        "FEED_TIMEOUT",
                        "INTERNAL_ERROR"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "502": {
            "description": "Error. `code` is stable; `message` is for humans and may change.",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Error. `code` is stable; `message` is for humans and may change.",
                  "type": "object",
                  "required": [
                    "code",
                    "message"
                  ],
                  "properties": {
                    "code": {
                      "type": "string",
                      "enum": [
                        "VALIDATION_FAILED",
                        "MODE_REQUIRED",
                        "INVALID_STAKE",
                        "INVALID_PRICE",
                        "INVALID_EXPIRY",
                        "CURRENCY_NOT_SUPPORTED",
                        "BOOKMAKER_NOT_AVAILABLE_VIA_API",
                        "BOOKMAKER_NOT_AVAILABLE",
                        "INVALID_API_KEY",
                        "API_ACCESS_DENIED",
                        "ACCOUNT_NOT_ACTIVE",
                        "BETTING_NOT_ALLOWED",
                        "BALANCE_UNAVAILABLE",
                        "INSUFFICIENT_FUNDS",
                        "MAX_STAKE_PER_FIXTURE_EXCEEDED",
                        "PRICE_NOT_AVAILABLE",
                        "PRICE_CHANGED",
                        "NO_LIQUIDITY",
                        "INSUFFICIENT_LIQUIDITY",
                        "CLIENT_ORDER_ID_REUSED",
                        "PREVIOUS_ATTEMPT_UNRESOLVED",
                        "NOT_FOUND",
                        "INVALID_CURSOR",
                        "INVALID_WINDOW",
                        "ORDER_BUSY",
                        "CONFLICT",
                        "FORBIDDEN",
                        "RATE_LIMITED",
                        "BETTING_SUSPENDED",
                        "EXPIRY_NOT_AVAILABLE",
                        "PUBLIC_API_DISABLED",
                        "SERVICE_UNAVAILABLE",
                        "UPSTREAM_UNAVAILABLE",
                        "FEED_UNAVAILABLE",
                        "FEED_TIMEOUT",
                        "INTERNAL_ERROR"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "503": {
            "description": "Error. `code` is stable; `message` is for humans and may change.",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Error. `code` is stable; `message` is for humans and may change.",
                  "type": "object",
                  "required": [
                    "code",
                    "message"
                  ],
                  "properties": {
                    "code": {
                      "type": "string",
                      "enum": [
                        "VALIDATION_FAILED",
                        "MODE_REQUIRED",
                        "INVALID_STAKE",
                        "INVALID_PRICE",
                        "INVALID_EXPIRY",
                        "CURRENCY_NOT_SUPPORTED",
                        "BOOKMAKER_NOT_AVAILABLE_VIA_API",
                        "BOOKMAKER_NOT_AVAILABLE",
                        "INVALID_API_KEY",
                        "API_ACCESS_DENIED",
                        "ACCOUNT_NOT_ACTIVE",
                        "BETTING_NOT_ALLOWED",
                        "BALANCE_UNAVAILABLE",
                        "INSUFFICIENT_FUNDS",
                        "MAX_STAKE_PER_FIXTURE_EXCEEDED",
                        "PRICE_NOT_AVAILABLE",
                        "PRICE_CHANGED",
                        "NO_LIQUIDITY",
                        "INSUFFICIENT_LIQUIDITY",
                        "CLIENT_ORDER_ID_REUSED",
                        "PREVIOUS_ATTEMPT_UNRESOLVED",
                        "NOT_FOUND",
                        "INVALID_CURSOR",
                        "INVALID_WINDOW",
                        "ORDER_BUSY",
                        "CONFLICT",
                        "FORBIDDEN",
                        "RATE_LIMITED",
                        "BETTING_SUSPENDED",
                        "EXPIRY_NOT_AVAILABLE",
                        "PUBLIC_API_DISABLED",
                        "SERVICE_UNAVAILABLE",
                        "UPSTREAM_UNAVAILABLE",
                        "FEED_UNAVAILABLE",
                        "FEED_TIMEOUT",
                        "INTERNAL_ERROR"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "504": {
            "description": "Error. `code` is stable; `message` is for humans and may change.",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Error. `code` is stable; `message` is for humans and may change.",
                  "type": "object",
                  "required": [
                    "code",
                    "message"
                  ],
                  "properties": {
                    "code": {
                      "type": "string",
                      "enum": [
                        "VALIDATION_FAILED",
                        "MODE_REQUIRED",
                        "INVALID_STAKE",
                        "INVALID_PRICE",
                        "INVALID_EXPIRY",
                        "CURRENCY_NOT_SUPPORTED",
                        "BOOKMAKER_NOT_AVAILABLE_VIA_API",
                        "BOOKMAKER_NOT_AVAILABLE",
                        "INVALID_API_KEY",
                        "API_ACCESS_DENIED",
                        "ACCOUNT_NOT_ACTIVE",
                        "BETTING_NOT_ALLOWED",
                        "BALANCE_UNAVAILABLE",
                        "INSUFFICIENT_FUNDS",
                        "MAX_STAKE_PER_FIXTURE_EXCEEDED",
                        "PRICE_NOT_AVAILABLE",
                        "PRICE_CHANGED",
                        "NO_LIQUIDITY",
                        "INSUFFICIENT_LIQUIDITY",
                        "CLIENT_ORDER_ID_REUSED",
                        "PREVIOUS_ATTEMPT_UNRESOLVED",
                        "NOT_FOUND",
                        "INVALID_CURSOR",
                        "INVALID_WINDOW",
                        "ORDER_BUSY",
                        "CONFLICT",
                        "FORBIDDEN",
                        "RATE_LIMITED",
                        "BETTING_SUSPENDED",
                        "EXPIRY_NOT_AVAILABLE",
                        "PUBLIC_API_DISABLED",
                        "SERVICE_UNAVAILABLE",
                        "UPSTREAM_UNAVAILABLE",
                        "FEED_UNAVAILABLE",
                        "FEED_TIMEOUT",
                        "INTERNAL_ERROR"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          }
        }
      }
    },
    "/v1/en/participants": {
      "get": {
        "summary": "Get Participants",
        "description": "OddsPapi `GET /{lang}/participants`, returned unchanged. The reference shows `en`; see [Languages](/api-reference/overview#languages) for the others.\n\nList participants.\n\nLookup mode: `participantIds` OR `sportId` OR `playerId`.",
        "operationId": "feed_participants",
        "tags": [
          "Reference data"
        ],
        "parameters": [
          {
            "name": "participantIds",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ]
            },
            "description": "Comma- or space-separated participant IDs."
          },
          {
            "name": "sportId",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "null"
                }
              ]
            },
            "description": "Single sport ID."
          },
          {
            "name": "playerId",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "null"
                }
              ]
            },
            "description": "Single player ID."
          }
        ],
        "responses": {
          "200": {
            "description": "Returns Participant[]",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ParticipantList"
                },
                "examples": {
                  "example": {
                    "summary": "Participants list",
                    "value": [
                      {
                        "participantId": 3409,
                        "sportId": 11,
                        "name": "Chicago Bulls",
                        "participantShortName": "Chicago",
                        "participantAbbr": "CHI"
                      },
                      {
                        "participantId": 3410,
                        "sportId": 11,
                        "name": "Milwaukee Bucks",
                        "participantShortName": "Milwaukee",
                        "participantAbbr": "MIL"
                      }
                    ]
                  }
                }
              }
            }
          },
          "400": {
            "description": "Error. `code` is stable; `message` is for humans and may change.",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Error. `code` is stable; `message` is for humans and may change.",
                  "type": "object",
                  "required": [
                    "code",
                    "message"
                  ],
                  "properties": {
                    "code": {
                      "type": "string",
                      "enum": [
                        "VALIDATION_FAILED",
                        "MODE_REQUIRED",
                        "INVALID_STAKE",
                        "INVALID_PRICE",
                        "INVALID_EXPIRY",
                        "CURRENCY_NOT_SUPPORTED",
                        "BOOKMAKER_NOT_AVAILABLE_VIA_API",
                        "BOOKMAKER_NOT_AVAILABLE",
                        "INVALID_API_KEY",
                        "API_ACCESS_DENIED",
                        "ACCOUNT_NOT_ACTIVE",
                        "BETTING_NOT_ALLOWED",
                        "BALANCE_UNAVAILABLE",
                        "INSUFFICIENT_FUNDS",
                        "MAX_STAKE_PER_FIXTURE_EXCEEDED",
                        "PRICE_NOT_AVAILABLE",
                        "PRICE_CHANGED",
                        "NO_LIQUIDITY",
                        "INSUFFICIENT_LIQUIDITY",
                        "CLIENT_ORDER_ID_REUSED",
                        "PREVIOUS_ATTEMPT_UNRESOLVED",
                        "NOT_FOUND",
                        "INVALID_CURSOR",
                        "INVALID_WINDOW",
                        "ORDER_BUSY",
                        "CONFLICT",
                        "FORBIDDEN",
                        "RATE_LIMITED",
                        "BETTING_SUSPENDED",
                        "EXPIRY_NOT_AVAILABLE",
                        "PUBLIC_API_DISABLED",
                        "SERVICE_UNAVAILABLE",
                        "UPSTREAM_UNAVAILABLE",
                        "FEED_UNAVAILABLE",
                        "FEED_TIMEOUT",
                        "INTERNAL_ERROR"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "401": {
            "description": "Error. `code` is stable; `message` is for humans and may change.",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Error. `code` is stable; `message` is for humans and may change.",
                  "type": "object",
                  "required": [
                    "code",
                    "message"
                  ],
                  "properties": {
                    "code": {
                      "type": "string",
                      "enum": [
                        "VALIDATION_FAILED",
                        "MODE_REQUIRED",
                        "INVALID_STAKE",
                        "INVALID_PRICE",
                        "INVALID_EXPIRY",
                        "CURRENCY_NOT_SUPPORTED",
                        "BOOKMAKER_NOT_AVAILABLE_VIA_API",
                        "BOOKMAKER_NOT_AVAILABLE",
                        "INVALID_API_KEY",
                        "API_ACCESS_DENIED",
                        "ACCOUNT_NOT_ACTIVE",
                        "BETTING_NOT_ALLOWED",
                        "BALANCE_UNAVAILABLE",
                        "INSUFFICIENT_FUNDS",
                        "MAX_STAKE_PER_FIXTURE_EXCEEDED",
                        "PRICE_NOT_AVAILABLE",
                        "PRICE_CHANGED",
                        "NO_LIQUIDITY",
                        "INSUFFICIENT_LIQUIDITY",
                        "CLIENT_ORDER_ID_REUSED",
                        "PREVIOUS_ATTEMPT_UNRESOLVED",
                        "NOT_FOUND",
                        "INVALID_CURSOR",
                        "INVALID_WINDOW",
                        "ORDER_BUSY",
                        "CONFLICT",
                        "FORBIDDEN",
                        "RATE_LIMITED",
                        "BETTING_SUSPENDED",
                        "EXPIRY_NOT_AVAILABLE",
                        "PUBLIC_API_DISABLED",
                        "SERVICE_UNAVAILABLE",
                        "UPSTREAM_UNAVAILABLE",
                        "FEED_UNAVAILABLE",
                        "FEED_TIMEOUT",
                        "INTERNAL_ERROR"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "403": {
            "description": "Error. `code` is stable; `message` is for humans and may change.",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Error. `code` is stable; `message` is for humans and may change.",
                  "type": "object",
                  "required": [
                    "code",
                    "message"
                  ],
                  "properties": {
                    "code": {
                      "type": "string",
                      "enum": [
                        "VALIDATION_FAILED",
                        "MODE_REQUIRED",
                        "INVALID_STAKE",
                        "INVALID_PRICE",
                        "INVALID_EXPIRY",
                        "CURRENCY_NOT_SUPPORTED",
                        "BOOKMAKER_NOT_AVAILABLE_VIA_API",
                        "BOOKMAKER_NOT_AVAILABLE",
                        "INVALID_API_KEY",
                        "API_ACCESS_DENIED",
                        "ACCOUNT_NOT_ACTIVE",
                        "BETTING_NOT_ALLOWED",
                        "BALANCE_UNAVAILABLE",
                        "INSUFFICIENT_FUNDS",
                        "MAX_STAKE_PER_FIXTURE_EXCEEDED",
                        "PRICE_NOT_AVAILABLE",
                        "PRICE_CHANGED",
                        "NO_LIQUIDITY",
                        "INSUFFICIENT_LIQUIDITY",
                        "CLIENT_ORDER_ID_REUSED",
                        "PREVIOUS_ATTEMPT_UNRESOLVED",
                        "NOT_FOUND",
                        "INVALID_CURSOR",
                        "INVALID_WINDOW",
                        "ORDER_BUSY",
                        "CONFLICT",
                        "FORBIDDEN",
                        "RATE_LIMITED",
                        "BETTING_SUSPENDED",
                        "EXPIRY_NOT_AVAILABLE",
                        "PUBLIC_API_DISABLED",
                        "SERVICE_UNAVAILABLE",
                        "UPSTREAM_UNAVAILABLE",
                        "FEED_UNAVAILABLE",
                        "FEED_TIMEOUT",
                        "INTERNAL_ERROR"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "404": {
            "description": "Error. `code` is stable; `message` is for humans and may change.",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Error. `code` is stable; `message` is for humans and may change.",
                  "type": "object",
                  "required": [
                    "code",
                    "message"
                  ],
                  "properties": {
                    "code": {
                      "type": "string",
                      "enum": [
                        "VALIDATION_FAILED",
                        "MODE_REQUIRED",
                        "INVALID_STAKE",
                        "INVALID_PRICE",
                        "INVALID_EXPIRY",
                        "CURRENCY_NOT_SUPPORTED",
                        "BOOKMAKER_NOT_AVAILABLE_VIA_API",
                        "BOOKMAKER_NOT_AVAILABLE",
                        "INVALID_API_KEY",
                        "API_ACCESS_DENIED",
                        "ACCOUNT_NOT_ACTIVE",
                        "BETTING_NOT_ALLOWED",
                        "BALANCE_UNAVAILABLE",
                        "INSUFFICIENT_FUNDS",
                        "MAX_STAKE_PER_FIXTURE_EXCEEDED",
                        "PRICE_NOT_AVAILABLE",
                        "PRICE_CHANGED",
                        "NO_LIQUIDITY",
                        "INSUFFICIENT_LIQUIDITY",
                        "CLIENT_ORDER_ID_REUSED",
                        "PREVIOUS_ATTEMPT_UNRESOLVED",
                        "NOT_FOUND",
                        "INVALID_CURSOR",
                        "INVALID_WINDOW",
                        "ORDER_BUSY",
                        "CONFLICT",
                        "FORBIDDEN",
                        "RATE_LIMITED",
                        "BETTING_SUSPENDED",
                        "EXPIRY_NOT_AVAILABLE",
                        "PUBLIC_API_DISABLED",
                        "SERVICE_UNAVAILABLE",
                        "UPSTREAM_UNAVAILABLE",
                        "FEED_UNAVAILABLE",
                        "FEED_TIMEOUT",
                        "INTERNAL_ERROR"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "429": {
            "description": "Error. `code` is stable; `message` is for humans and may change.",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Error. `code` is stable; `message` is for humans and may change.",
                  "type": "object",
                  "required": [
                    "code",
                    "message"
                  ],
                  "properties": {
                    "code": {
                      "type": "string",
                      "enum": [
                        "VALIDATION_FAILED",
                        "MODE_REQUIRED",
                        "INVALID_STAKE",
                        "INVALID_PRICE",
                        "INVALID_EXPIRY",
                        "CURRENCY_NOT_SUPPORTED",
                        "BOOKMAKER_NOT_AVAILABLE_VIA_API",
                        "BOOKMAKER_NOT_AVAILABLE",
                        "INVALID_API_KEY",
                        "API_ACCESS_DENIED",
                        "ACCOUNT_NOT_ACTIVE",
                        "BETTING_NOT_ALLOWED",
                        "BALANCE_UNAVAILABLE",
                        "INSUFFICIENT_FUNDS",
                        "MAX_STAKE_PER_FIXTURE_EXCEEDED",
                        "PRICE_NOT_AVAILABLE",
                        "PRICE_CHANGED",
                        "NO_LIQUIDITY",
                        "INSUFFICIENT_LIQUIDITY",
                        "CLIENT_ORDER_ID_REUSED",
                        "PREVIOUS_ATTEMPT_UNRESOLVED",
                        "NOT_FOUND",
                        "INVALID_CURSOR",
                        "INVALID_WINDOW",
                        "ORDER_BUSY",
                        "CONFLICT",
                        "FORBIDDEN",
                        "RATE_LIMITED",
                        "BETTING_SUSPENDED",
                        "EXPIRY_NOT_AVAILABLE",
                        "PUBLIC_API_DISABLED",
                        "SERVICE_UNAVAILABLE",
                        "UPSTREAM_UNAVAILABLE",
                        "FEED_UNAVAILABLE",
                        "FEED_TIMEOUT",
                        "INTERNAL_ERROR"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "502": {
            "description": "Error. `code` is stable; `message` is for humans and may change.",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Error. `code` is stable; `message` is for humans and may change.",
                  "type": "object",
                  "required": [
                    "code",
                    "message"
                  ],
                  "properties": {
                    "code": {
                      "type": "string",
                      "enum": [
                        "VALIDATION_FAILED",
                        "MODE_REQUIRED",
                        "INVALID_STAKE",
                        "INVALID_PRICE",
                        "INVALID_EXPIRY",
                        "CURRENCY_NOT_SUPPORTED",
                        "BOOKMAKER_NOT_AVAILABLE_VIA_API",
                        "BOOKMAKER_NOT_AVAILABLE",
                        "INVALID_API_KEY",
                        "API_ACCESS_DENIED",
                        "ACCOUNT_NOT_ACTIVE",
                        "BETTING_NOT_ALLOWED",
                        "BALANCE_UNAVAILABLE",
                        "INSUFFICIENT_FUNDS",
                        "MAX_STAKE_PER_FIXTURE_EXCEEDED",
                        "PRICE_NOT_AVAILABLE",
                        "PRICE_CHANGED",
                        "NO_LIQUIDITY",
                        "INSUFFICIENT_LIQUIDITY",
                        "CLIENT_ORDER_ID_REUSED",
                        "PREVIOUS_ATTEMPT_UNRESOLVED",
                        "NOT_FOUND",
                        "INVALID_CURSOR",
                        "INVALID_WINDOW",
                        "ORDER_BUSY",
                        "CONFLICT",
                        "FORBIDDEN",
                        "RATE_LIMITED",
                        "BETTING_SUSPENDED",
                        "EXPIRY_NOT_AVAILABLE",
                        "PUBLIC_API_DISABLED",
                        "SERVICE_UNAVAILABLE",
                        "UPSTREAM_UNAVAILABLE",
                        "FEED_UNAVAILABLE",
                        "FEED_TIMEOUT",
                        "INTERNAL_ERROR"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "503": {
            "description": "Error. `code` is stable; `message` is for humans and may change.",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Error. `code` is stable; `message` is for humans and may change.",
                  "type": "object",
                  "required": [
                    "code",
                    "message"
                  ],
                  "properties": {
                    "code": {
                      "type": "string",
                      "enum": [
                        "VALIDATION_FAILED",
                        "MODE_REQUIRED",
                        "INVALID_STAKE",
                        "INVALID_PRICE",
                        "INVALID_EXPIRY",
                        "CURRENCY_NOT_SUPPORTED",
                        "BOOKMAKER_NOT_AVAILABLE_VIA_API",
                        "BOOKMAKER_NOT_AVAILABLE",
                        "INVALID_API_KEY",
                        "API_ACCESS_DENIED",
                        "ACCOUNT_NOT_ACTIVE",
                        "BETTING_NOT_ALLOWED",
                        "BALANCE_UNAVAILABLE",
                        "INSUFFICIENT_FUNDS",
                        "MAX_STAKE_PER_FIXTURE_EXCEEDED",
                        "PRICE_NOT_AVAILABLE",
                        "PRICE_CHANGED",
                        "NO_LIQUIDITY",
                        "INSUFFICIENT_LIQUIDITY",
                        "CLIENT_ORDER_ID_REUSED",
                        "PREVIOUS_ATTEMPT_UNRESOLVED",
                        "NOT_FOUND",
                        "INVALID_CURSOR",
                        "INVALID_WINDOW",
                        "ORDER_BUSY",
                        "CONFLICT",
                        "FORBIDDEN",
                        "RATE_LIMITED",
                        "BETTING_SUSPENDED",
                        "EXPIRY_NOT_AVAILABLE",
                        "PUBLIC_API_DISABLED",
                        "SERVICE_UNAVAILABLE",
                        "UPSTREAM_UNAVAILABLE",
                        "FEED_UNAVAILABLE",
                        "FEED_TIMEOUT",
                        "INTERNAL_ERROR"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "504": {
            "description": "Error. `code` is stable; `message` is for humans and may change.",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Error. `code` is stable; `message` is for humans and may change.",
                  "type": "object",
                  "required": [
                    "code",
                    "message"
                  ],
                  "properties": {
                    "code": {
                      "type": "string",
                      "enum": [
                        "VALIDATION_FAILED",
                        "MODE_REQUIRED",
                        "INVALID_STAKE",
                        "INVALID_PRICE",
                        "INVALID_EXPIRY",
                        "CURRENCY_NOT_SUPPORTED",
                        "BOOKMAKER_NOT_AVAILABLE_VIA_API",
                        "BOOKMAKER_NOT_AVAILABLE",
                        "INVALID_API_KEY",
                        "API_ACCESS_DENIED",
                        "ACCOUNT_NOT_ACTIVE",
                        "BETTING_NOT_ALLOWED",
                        "BALANCE_UNAVAILABLE",
                        "INSUFFICIENT_FUNDS",
                        "MAX_STAKE_PER_FIXTURE_EXCEEDED",
                        "PRICE_NOT_AVAILABLE",
                        "PRICE_CHANGED",
                        "NO_LIQUIDITY",
                        "INSUFFICIENT_LIQUIDITY",
                        "CLIENT_ORDER_ID_REUSED",
                        "PREVIOUS_ATTEMPT_UNRESOLVED",
                        "NOT_FOUND",
                        "INVALID_CURSOR",
                        "INVALID_WINDOW",
                        "ORDER_BUSY",
                        "CONFLICT",
                        "FORBIDDEN",
                        "RATE_LIMITED",
                        "BETTING_SUSPENDED",
                        "EXPIRY_NOT_AVAILABLE",
                        "PUBLIC_API_DISABLED",
                        "SERVICE_UNAVAILABLE",
                        "UPSTREAM_UNAVAILABLE",
                        "FEED_UNAVAILABLE",
                        "FEED_TIMEOUT",
                        "INTERNAL_ERROR"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          }
        }
      }
    },
    "/v1/en/players": {
      "get": {
        "summary": "Get Players",
        "description": "OddsPapi `GET /{lang}/players`, returned unchanged. The reference shows `en`; see [Languages](/api-reference/overview#languages) for the others.\n\nList players.\n\nLookup mode: `playerIds` OR `participantId` OR `sportId`.",
        "operationId": "feed_players",
        "tags": [
          "Reference data"
        ],
        "parameters": [
          {
            "name": "playerIds",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ]
            },
            "description": "Comma- or space-separated player IDs."
          },
          {
            "name": "participantId",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "null"
                }
              ]
            },
            "description": "Single participant ID."
          },
          {
            "name": "sportId",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "null"
                }
              ]
            },
            "description": "Single sport ID."
          }
        ],
        "responses": {
          "200": {
            "description": "Returns Player[]",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlayerList"
                },
                "examples": {
                  "example": {
                    "summary": "Players list",
                    "value": [
                      {
                        "playerId": 607468,
                        "playerName": "Jokic, Nikola"
                      },
                      {
                        "playerId": 607336,
                        "playerName": "Antetokounmpo, Giannis"
                      }
                    ]
                  }
                }
              }
            }
          },
          "400": {
            "description": "Error. `code` is stable; `message` is for humans and may change.",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Error. `code` is stable; `message` is for humans and may change.",
                  "type": "object",
                  "required": [
                    "code",
                    "message"
                  ],
                  "properties": {
                    "code": {
                      "type": "string",
                      "enum": [
                        "VALIDATION_FAILED",
                        "MODE_REQUIRED",
                        "INVALID_STAKE",
                        "INVALID_PRICE",
                        "INVALID_EXPIRY",
                        "CURRENCY_NOT_SUPPORTED",
                        "BOOKMAKER_NOT_AVAILABLE_VIA_API",
                        "BOOKMAKER_NOT_AVAILABLE",
                        "INVALID_API_KEY",
                        "API_ACCESS_DENIED",
                        "ACCOUNT_NOT_ACTIVE",
                        "BETTING_NOT_ALLOWED",
                        "BALANCE_UNAVAILABLE",
                        "INSUFFICIENT_FUNDS",
                        "MAX_STAKE_PER_FIXTURE_EXCEEDED",
                        "PRICE_NOT_AVAILABLE",
                        "PRICE_CHANGED",
                        "NO_LIQUIDITY",
                        "INSUFFICIENT_LIQUIDITY",
                        "CLIENT_ORDER_ID_REUSED",
                        "PREVIOUS_ATTEMPT_UNRESOLVED",
                        "NOT_FOUND",
                        "INVALID_CURSOR",
                        "INVALID_WINDOW",
                        "ORDER_BUSY",
                        "CONFLICT",
                        "FORBIDDEN",
                        "RATE_LIMITED",
                        "BETTING_SUSPENDED",
                        "EXPIRY_NOT_AVAILABLE",
                        "PUBLIC_API_DISABLED",
                        "SERVICE_UNAVAILABLE",
                        "UPSTREAM_UNAVAILABLE",
                        "FEED_UNAVAILABLE",
                        "FEED_TIMEOUT",
                        "INTERNAL_ERROR"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "401": {
            "description": "Error. `code` is stable; `message` is for humans and may change.",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Error. `code` is stable; `message` is for humans and may change.",
                  "type": "object",
                  "required": [
                    "code",
                    "message"
                  ],
                  "properties": {
                    "code": {
                      "type": "string",
                      "enum": [
                        "VALIDATION_FAILED",
                        "MODE_REQUIRED",
                        "INVALID_STAKE",
                        "INVALID_PRICE",
                        "INVALID_EXPIRY",
                        "CURRENCY_NOT_SUPPORTED",
                        "BOOKMAKER_NOT_AVAILABLE_VIA_API",
                        "BOOKMAKER_NOT_AVAILABLE",
                        "INVALID_API_KEY",
                        "API_ACCESS_DENIED",
                        "ACCOUNT_NOT_ACTIVE",
                        "BETTING_NOT_ALLOWED",
                        "BALANCE_UNAVAILABLE",
                        "INSUFFICIENT_FUNDS",
                        "MAX_STAKE_PER_FIXTURE_EXCEEDED",
                        "PRICE_NOT_AVAILABLE",
                        "PRICE_CHANGED",
                        "NO_LIQUIDITY",
                        "INSUFFICIENT_LIQUIDITY",
                        "CLIENT_ORDER_ID_REUSED",
                        "PREVIOUS_ATTEMPT_UNRESOLVED",
                        "NOT_FOUND",
                        "INVALID_CURSOR",
                        "INVALID_WINDOW",
                        "ORDER_BUSY",
                        "CONFLICT",
                        "FORBIDDEN",
                        "RATE_LIMITED",
                        "BETTING_SUSPENDED",
                        "EXPIRY_NOT_AVAILABLE",
                        "PUBLIC_API_DISABLED",
                        "SERVICE_UNAVAILABLE",
                        "UPSTREAM_UNAVAILABLE",
                        "FEED_UNAVAILABLE",
                        "FEED_TIMEOUT",
                        "INTERNAL_ERROR"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "403": {
            "description": "Error. `code` is stable; `message` is for humans and may change.",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Error. `code` is stable; `message` is for humans and may change.",
                  "type": "object",
                  "required": [
                    "code",
                    "message"
                  ],
                  "properties": {
                    "code": {
                      "type": "string",
                      "enum": [
                        "VALIDATION_FAILED",
                        "MODE_REQUIRED",
                        "INVALID_STAKE",
                        "INVALID_PRICE",
                        "INVALID_EXPIRY",
                        "CURRENCY_NOT_SUPPORTED",
                        "BOOKMAKER_NOT_AVAILABLE_VIA_API",
                        "BOOKMAKER_NOT_AVAILABLE",
                        "INVALID_API_KEY",
                        "API_ACCESS_DENIED",
                        "ACCOUNT_NOT_ACTIVE",
                        "BETTING_NOT_ALLOWED",
                        "BALANCE_UNAVAILABLE",
                        "INSUFFICIENT_FUNDS",
                        "MAX_STAKE_PER_FIXTURE_EXCEEDED",
                        "PRICE_NOT_AVAILABLE",
                        "PRICE_CHANGED",
                        "NO_LIQUIDITY",
                        "INSUFFICIENT_LIQUIDITY",
                        "CLIENT_ORDER_ID_REUSED",
                        "PREVIOUS_ATTEMPT_UNRESOLVED",
                        "NOT_FOUND",
                        "INVALID_CURSOR",
                        "INVALID_WINDOW",
                        "ORDER_BUSY",
                        "CONFLICT",
                        "FORBIDDEN",
                        "RATE_LIMITED",
                        "BETTING_SUSPENDED",
                        "EXPIRY_NOT_AVAILABLE",
                        "PUBLIC_API_DISABLED",
                        "SERVICE_UNAVAILABLE",
                        "UPSTREAM_UNAVAILABLE",
                        "FEED_UNAVAILABLE",
                        "FEED_TIMEOUT",
                        "INTERNAL_ERROR"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "404": {
            "description": "Error. `code` is stable; `message` is for humans and may change.",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Error. `code` is stable; `message` is for humans and may change.",
                  "type": "object",
                  "required": [
                    "code",
                    "message"
                  ],
                  "properties": {
                    "code": {
                      "type": "string",
                      "enum": [
                        "VALIDATION_FAILED",
                        "MODE_REQUIRED",
                        "INVALID_STAKE",
                        "INVALID_PRICE",
                        "INVALID_EXPIRY",
                        "CURRENCY_NOT_SUPPORTED",
                        "BOOKMAKER_NOT_AVAILABLE_VIA_API",
                        "BOOKMAKER_NOT_AVAILABLE",
                        "INVALID_API_KEY",
                        "API_ACCESS_DENIED",
                        "ACCOUNT_NOT_ACTIVE",
                        "BETTING_NOT_ALLOWED",
                        "BALANCE_UNAVAILABLE",
                        "INSUFFICIENT_FUNDS",
                        "MAX_STAKE_PER_FIXTURE_EXCEEDED",
                        "PRICE_NOT_AVAILABLE",
                        "PRICE_CHANGED",
                        "NO_LIQUIDITY",
                        "INSUFFICIENT_LIQUIDITY",
                        "CLIENT_ORDER_ID_REUSED",
                        "PREVIOUS_ATTEMPT_UNRESOLVED",
                        "NOT_FOUND",
                        "INVALID_CURSOR",
                        "INVALID_WINDOW",
                        "ORDER_BUSY",
                        "CONFLICT",
                        "FORBIDDEN",
                        "RATE_LIMITED",
                        "BETTING_SUSPENDED",
                        "EXPIRY_NOT_AVAILABLE",
                        "PUBLIC_API_DISABLED",
                        "SERVICE_UNAVAILABLE",
                        "UPSTREAM_UNAVAILABLE",
                        "FEED_UNAVAILABLE",
                        "FEED_TIMEOUT",
                        "INTERNAL_ERROR"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "429": {
            "description": "Error. `code` is stable; `message` is for humans and may change.",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Error. `code` is stable; `message` is for humans and may change.",
                  "type": "object",
                  "required": [
                    "code",
                    "message"
                  ],
                  "properties": {
                    "code": {
                      "type": "string",
                      "enum": [
                        "VALIDATION_FAILED",
                        "MODE_REQUIRED",
                        "INVALID_STAKE",
                        "INVALID_PRICE",
                        "INVALID_EXPIRY",
                        "CURRENCY_NOT_SUPPORTED",
                        "BOOKMAKER_NOT_AVAILABLE_VIA_API",
                        "BOOKMAKER_NOT_AVAILABLE",
                        "INVALID_API_KEY",
                        "API_ACCESS_DENIED",
                        "ACCOUNT_NOT_ACTIVE",
                        "BETTING_NOT_ALLOWED",
                        "BALANCE_UNAVAILABLE",
                        "INSUFFICIENT_FUNDS",
                        "MAX_STAKE_PER_FIXTURE_EXCEEDED",
                        "PRICE_NOT_AVAILABLE",
                        "PRICE_CHANGED",
                        "NO_LIQUIDITY",
                        "INSUFFICIENT_LIQUIDITY",
                        "CLIENT_ORDER_ID_REUSED",
                        "PREVIOUS_ATTEMPT_UNRESOLVED",
                        "NOT_FOUND",
                        "INVALID_CURSOR",
                        "INVALID_WINDOW",
                        "ORDER_BUSY",
                        "CONFLICT",
                        "FORBIDDEN",
                        "RATE_LIMITED",
                        "BETTING_SUSPENDED",
                        "EXPIRY_NOT_AVAILABLE",
                        "PUBLIC_API_DISABLED",
                        "SERVICE_UNAVAILABLE",
                        "UPSTREAM_UNAVAILABLE",
                        "FEED_UNAVAILABLE",
                        "FEED_TIMEOUT",
                        "INTERNAL_ERROR"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "502": {
            "description": "Error. `code` is stable; `message` is for humans and may change.",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Error. `code` is stable; `message` is for humans and may change.",
                  "type": "object",
                  "required": [
                    "code",
                    "message"
                  ],
                  "properties": {
                    "code": {
                      "type": "string",
                      "enum": [
                        "VALIDATION_FAILED",
                        "MODE_REQUIRED",
                        "INVALID_STAKE",
                        "INVALID_PRICE",
                        "INVALID_EXPIRY",
                        "CURRENCY_NOT_SUPPORTED",
                        "BOOKMAKER_NOT_AVAILABLE_VIA_API",
                        "BOOKMAKER_NOT_AVAILABLE",
                        "INVALID_API_KEY",
                        "API_ACCESS_DENIED",
                        "ACCOUNT_NOT_ACTIVE",
                        "BETTING_NOT_ALLOWED",
                        "BALANCE_UNAVAILABLE",
                        "INSUFFICIENT_FUNDS",
                        "MAX_STAKE_PER_FIXTURE_EXCEEDED",
                        "PRICE_NOT_AVAILABLE",
                        "PRICE_CHANGED",
                        "NO_LIQUIDITY",
                        "INSUFFICIENT_LIQUIDITY",
                        "CLIENT_ORDER_ID_REUSED",
                        "PREVIOUS_ATTEMPT_UNRESOLVED",
                        "NOT_FOUND",
                        "INVALID_CURSOR",
                        "INVALID_WINDOW",
                        "ORDER_BUSY",
                        "CONFLICT",
                        "FORBIDDEN",
                        "RATE_LIMITED",
                        "BETTING_SUSPENDED",
                        "EXPIRY_NOT_AVAILABLE",
                        "PUBLIC_API_DISABLED",
                        "SERVICE_UNAVAILABLE",
                        "UPSTREAM_UNAVAILABLE",
                        "FEED_UNAVAILABLE",
                        "FEED_TIMEOUT",
                        "INTERNAL_ERROR"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "503": {
            "description": "Error. `code` is stable; `message` is for humans and may change.",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Error. `code` is stable; `message` is for humans and may change.",
                  "type": "object",
                  "required": [
                    "code",
                    "message"
                  ],
                  "properties": {
                    "code": {
                      "type": "string",
                      "enum": [
                        "VALIDATION_FAILED",
                        "MODE_REQUIRED",
                        "INVALID_STAKE",
                        "INVALID_PRICE",
                        "INVALID_EXPIRY",
                        "CURRENCY_NOT_SUPPORTED",
                        "BOOKMAKER_NOT_AVAILABLE_VIA_API",
                        "BOOKMAKER_NOT_AVAILABLE",
                        "INVALID_API_KEY",
                        "API_ACCESS_DENIED",
                        "ACCOUNT_NOT_ACTIVE",
                        "BETTING_NOT_ALLOWED",
                        "BALANCE_UNAVAILABLE",
                        "INSUFFICIENT_FUNDS",
                        "MAX_STAKE_PER_FIXTURE_EXCEEDED",
                        "PRICE_NOT_AVAILABLE",
                        "PRICE_CHANGED",
                        "NO_LIQUIDITY",
                        "INSUFFICIENT_LIQUIDITY",
                        "CLIENT_ORDER_ID_REUSED",
                        "PREVIOUS_ATTEMPT_UNRESOLVED",
                        "NOT_FOUND",
                        "INVALID_CURSOR",
                        "INVALID_WINDOW",
                        "ORDER_BUSY",
                        "CONFLICT",
                        "FORBIDDEN",
                        "RATE_LIMITED",
                        "BETTING_SUSPENDED",
                        "EXPIRY_NOT_AVAILABLE",
                        "PUBLIC_API_DISABLED",
                        "SERVICE_UNAVAILABLE",
                        "UPSTREAM_UNAVAILABLE",
                        "FEED_UNAVAILABLE",
                        "FEED_TIMEOUT",
                        "INTERNAL_ERROR"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "504": {
            "description": "Error. `code` is stable; `message` is for humans and may change.",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Error. `code` is stable; `message` is for humans and may change.",
                  "type": "object",
                  "required": [
                    "code",
                    "message"
                  ],
                  "properties": {
                    "code": {
                      "type": "string",
                      "enum": [
                        "VALIDATION_FAILED",
                        "MODE_REQUIRED",
                        "INVALID_STAKE",
                        "INVALID_PRICE",
                        "INVALID_EXPIRY",
                        "CURRENCY_NOT_SUPPORTED",
                        "BOOKMAKER_NOT_AVAILABLE_VIA_API",
                        "BOOKMAKER_NOT_AVAILABLE",
                        "INVALID_API_KEY",
                        "API_ACCESS_DENIED",
                        "ACCOUNT_NOT_ACTIVE",
                        "BETTING_NOT_ALLOWED",
                        "BALANCE_UNAVAILABLE",
                        "INSUFFICIENT_FUNDS",
                        "MAX_STAKE_PER_FIXTURE_EXCEEDED",
                        "PRICE_NOT_AVAILABLE",
                        "PRICE_CHANGED",
                        "NO_LIQUIDITY",
                        "INSUFFICIENT_LIQUIDITY",
                        "CLIENT_ORDER_ID_REUSED",
                        "PREVIOUS_ATTEMPT_UNRESOLVED",
                        "NOT_FOUND",
                        "INVALID_CURSOR",
                        "INVALID_WINDOW",
                        "ORDER_BUSY",
                        "CONFLICT",
                        "FORBIDDEN",
                        "RATE_LIMITED",
                        "BETTING_SUSPENDED",
                        "EXPIRY_NOT_AVAILABLE",
                        "PUBLIC_API_DISABLED",
                        "SERVICE_UNAVAILABLE",
                        "UPSTREAM_UNAVAILABLE",
                        "FEED_UNAVAILABLE",
                        "FEED_TIMEOUT",
                        "INTERNAL_ERROR"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          }
        }
      }
    },
    "/v1/en/seasons": {
      "get": {
        "summary": "Get Seasons",
        "description": "OddsPapi `GET /{lang}/seasons`, returned unchanged. The reference shows `en`; see [Languages](/api-reference/overview#languages) for the others.\n\nList seasons.\n\nLookup mode: `seasonIds` OR `tournamentId`.",
        "operationId": "feed_seasons",
        "tags": [
          "Reference data"
        ],
        "parameters": [
          {
            "name": "seasonIds",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ]
            },
            "description": "Comma- or space-separated season IDs."
          },
          {
            "name": "tournamentId",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "null"
                }
              ]
            },
            "description": "Tournament ID."
          }
        ],
        "responses": {
          "200": {
            "description": "Returns Season[]",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SeasonList"
                },
                "examples": {
                  "example": {
                    "summary": "Season list",
                    "value": [
                      {
                        "seasonId": 119257,
                        "tournamentId": 132,
                        "sportId": 11,
                        "seasonSlug": "nba-24-25",
                        "seasonName": "NBA 24/25"
                      },
                      {
                        "seasonId": 131631,
                        "tournamentId": 132,
                        "sportId": 11,
                        "seasonSlug": "nba-25-26",
                        "seasonName": "NBA 25/26"
                      }
                    ]
                  }
                }
              }
            }
          },
          "400": {
            "description": "Error. `code` is stable; `message` is for humans and may change.",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Error. `code` is stable; `message` is for humans and may change.",
                  "type": "object",
                  "required": [
                    "code",
                    "message"
                  ],
                  "properties": {
                    "code": {
                      "type": "string",
                      "enum": [
                        "VALIDATION_FAILED",
                        "MODE_REQUIRED",
                        "INVALID_STAKE",
                        "INVALID_PRICE",
                        "INVALID_EXPIRY",
                        "CURRENCY_NOT_SUPPORTED",
                        "BOOKMAKER_NOT_AVAILABLE_VIA_API",
                        "BOOKMAKER_NOT_AVAILABLE",
                        "INVALID_API_KEY",
                        "API_ACCESS_DENIED",
                        "ACCOUNT_NOT_ACTIVE",
                        "BETTING_NOT_ALLOWED",
                        "BALANCE_UNAVAILABLE",
                        "INSUFFICIENT_FUNDS",
                        "MAX_STAKE_PER_FIXTURE_EXCEEDED",
                        "PRICE_NOT_AVAILABLE",
                        "PRICE_CHANGED",
                        "NO_LIQUIDITY",
                        "INSUFFICIENT_LIQUIDITY",
                        "CLIENT_ORDER_ID_REUSED",
                        "PREVIOUS_ATTEMPT_UNRESOLVED",
                        "NOT_FOUND",
                        "INVALID_CURSOR",
                        "INVALID_WINDOW",
                        "ORDER_BUSY",
                        "CONFLICT",
                        "FORBIDDEN",
                        "RATE_LIMITED",
                        "BETTING_SUSPENDED",
                        "EXPIRY_NOT_AVAILABLE",
                        "PUBLIC_API_DISABLED",
                        "SERVICE_UNAVAILABLE",
                        "UPSTREAM_UNAVAILABLE",
                        "FEED_UNAVAILABLE",
                        "FEED_TIMEOUT",
                        "INTERNAL_ERROR"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "401": {
            "description": "Error. `code` is stable; `message` is for humans and may change.",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Error. `code` is stable; `message` is for humans and may change.",
                  "type": "object",
                  "required": [
                    "code",
                    "message"
                  ],
                  "properties": {
                    "code": {
                      "type": "string",
                      "enum": [
                        "VALIDATION_FAILED",
                        "MODE_REQUIRED",
                        "INVALID_STAKE",
                        "INVALID_PRICE",
                        "INVALID_EXPIRY",
                        "CURRENCY_NOT_SUPPORTED",
                        "BOOKMAKER_NOT_AVAILABLE_VIA_API",
                        "BOOKMAKER_NOT_AVAILABLE",
                        "INVALID_API_KEY",
                        "API_ACCESS_DENIED",
                        "ACCOUNT_NOT_ACTIVE",
                        "BETTING_NOT_ALLOWED",
                        "BALANCE_UNAVAILABLE",
                        "INSUFFICIENT_FUNDS",
                        "MAX_STAKE_PER_FIXTURE_EXCEEDED",
                        "PRICE_NOT_AVAILABLE",
                        "PRICE_CHANGED",
                        "NO_LIQUIDITY",
                        "INSUFFICIENT_LIQUIDITY",
                        "CLIENT_ORDER_ID_REUSED",
                        "PREVIOUS_ATTEMPT_UNRESOLVED",
                        "NOT_FOUND",
                        "INVALID_CURSOR",
                        "INVALID_WINDOW",
                        "ORDER_BUSY",
                        "CONFLICT",
                        "FORBIDDEN",
                        "RATE_LIMITED",
                        "BETTING_SUSPENDED",
                        "EXPIRY_NOT_AVAILABLE",
                        "PUBLIC_API_DISABLED",
                        "SERVICE_UNAVAILABLE",
                        "UPSTREAM_UNAVAILABLE",
                        "FEED_UNAVAILABLE",
                        "FEED_TIMEOUT",
                        "INTERNAL_ERROR"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "403": {
            "description": "Error. `code` is stable; `message` is for humans and may change.",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Error. `code` is stable; `message` is for humans and may change.",
                  "type": "object",
                  "required": [
                    "code",
                    "message"
                  ],
                  "properties": {
                    "code": {
                      "type": "string",
                      "enum": [
                        "VALIDATION_FAILED",
                        "MODE_REQUIRED",
                        "INVALID_STAKE",
                        "INVALID_PRICE",
                        "INVALID_EXPIRY",
                        "CURRENCY_NOT_SUPPORTED",
                        "BOOKMAKER_NOT_AVAILABLE_VIA_API",
                        "BOOKMAKER_NOT_AVAILABLE",
                        "INVALID_API_KEY",
                        "API_ACCESS_DENIED",
                        "ACCOUNT_NOT_ACTIVE",
                        "BETTING_NOT_ALLOWED",
                        "BALANCE_UNAVAILABLE",
                        "INSUFFICIENT_FUNDS",
                        "MAX_STAKE_PER_FIXTURE_EXCEEDED",
                        "PRICE_NOT_AVAILABLE",
                        "PRICE_CHANGED",
                        "NO_LIQUIDITY",
                        "INSUFFICIENT_LIQUIDITY",
                        "CLIENT_ORDER_ID_REUSED",
                        "PREVIOUS_ATTEMPT_UNRESOLVED",
                        "NOT_FOUND",
                        "INVALID_CURSOR",
                        "INVALID_WINDOW",
                        "ORDER_BUSY",
                        "CONFLICT",
                        "FORBIDDEN",
                        "RATE_LIMITED",
                        "BETTING_SUSPENDED",
                        "EXPIRY_NOT_AVAILABLE",
                        "PUBLIC_API_DISABLED",
                        "SERVICE_UNAVAILABLE",
                        "UPSTREAM_UNAVAILABLE",
                        "FEED_UNAVAILABLE",
                        "FEED_TIMEOUT",
                        "INTERNAL_ERROR"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "404": {
            "description": "Error. `code` is stable; `message` is for humans and may change.",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Error. `code` is stable; `message` is for humans and may change.",
                  "type": "object",
                  "required": [
                    "code",
                    "message"
                  ],
                  "properties": {
                    "code": {
                      "type": "string",
                      "enum": [
                        "VALIDATION_FAILED",
                        "MODE_REQUIRED",
                        "INVALID_STAKE",
                        "INVALID_PRICE",
                        "INVALID_EXPIRY",
                        "CURRENCY_NOT_SUPPORTED",
                        "BOOKMAKER_NOT_AVAILABLE_VIA_API",
                        "BOOKMAKER_NOT_AVAILABLE",
                        "INVALID_API_KEY",
                        "API_ACCESS_DENIED",
                        "ACCOUNT_NOT_ACTIVE",
                        "BETTING_NOT_ALLOWED",
                        "BALANCE_UNAVAILABLE",
                        "INSUFFICIENT_FUNDS",
                        "MAX_STAKE_PER_FIXTURE_EXCEEDED",
                        "PRICE_NOT_AVAILABLE",
                        "PRICE_CHANGED",
                        "NO_LIQUIDITY",
                        "INSUFFICIENT_LIQUIDITY",
                        "CLIENT_ORDER_ID_REUSED",
                        "PREVIOUS_ATTEMPT_UNRESOLVED",
                        "NOT_FOUND",
                        "INVALID_CURSOR",
                        "INVALID_WINDOW",
                        "ORDER_BUSY",
                        "CONFLICT",
                        "FORBIDDEN",
                        "RATE_LIMITED",
                        "BETTING_SUSPENDED",
                        "EXPIRY_NOT_AVAILABLE",
                        "PUBLIC_API_DISABLED",
                        "SERVICE_UNAVAILABLE",
                        "UPSTREAM_UNAVAILABLE",
                        "FEED_UNAVAILABLE",
                        "FEED_TIMEOUT",
                        "INTERNAL_ERROR"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "429": {
            "description": "Error. `code` is stable; `message` is for humans and may change.",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Error. `code` is stable; `message` is for humans and may change.",
                  "type": "object",
                  "required": [
                    "code",
                    "message"
                  ],
                  "properties": {
                    "code": {
                      "type": "string",
                      "enum": [
                        "VALIDATION_FAILED",
                        "MODE_REQUIRED",
                        "INVALID_STAKE",
                        "INVALID_PRICE",
                        "INVALID_EXPIRY",
                        "CURRENCY_NOT_SUPPORTED",
                        "BOOKMAKER_NOT_AVAILABLE_VIA_API",
                        "BOOKMAKER_NOT_AVAILABLE",
                        "INVALID_API_KEY",
                        "API_ACCESS_DENIED",
                        "ACCOUNT_NOT_ACTIVE",
                        "BETTING_NOT_ALLOWED",
                        "BALANCE_UNAVAILABLE",
                        "INSUFFICIENT_FUNDS",
                        "MAX_STAKE_PER_FIXTURE_EXCEEDED",
                        "PRICE_NOT_AVAILABLE",
                        "PRICE_CHANGED",
                        "NO_LIQUIDITY",
                        "INSUFFICIENT_LIQUIDITY",
                        "CLIENT_ORDER_ID_REUSED",
                        "PREVIOUS_ATTEMPT_UNRESOLVED",
                        "NOT_FOUND",
                        "INVALID_CURSOR",
                        "INVALID_WINDOW",
                        "ORDER_BUSY",
                        "CONFLICT",
                        "FORBIDDEN",
                        "RATE_LIMITED",
                        "BETTING_SUSPENDED",
                        "EXPIRY_NOT_AVAILABLE",
                        "PUBLIC_API_DISABLED",
                        "SERVICE_UNAVAILABLE",
                        "UPSTREAM_UNAVAILABLE",
                        "FEED_UNAVAILABLE",
                        "FEED_TIMEOUT",
                        "INTERNAL_ERROR"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "502": {
            "description": "Error. `code` is stable; `message` is for humans and may change.",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Error. `code` is stable; `message` is for humans and may change.",
                  "type": "object",
                  "required": [
                    "code",
                    "message"
                  ],
                  "properties": {
                    "code": {
                      "type": "string",
                      "enum": [
                        "VALIDATION_FAILED",
                        "MODE_REQUIRED",
                        "INVALID_STAKE",
                        "INVALID_PRICE",
                        "INVALID_EXPIRY",
                        "CURRENCY_NOT_SUPPORTED",
                        "BOOKMAKER_NOT_AVAILABLE_VIA_API",
                        "BOOKMAKER_NOT_AVAILABLE",
                        "INVALID_API_KEY",
                        "API_ACCESS_DENIED",
                        "ACCOUNT_NOT_ACTIVE",
                        "BETTING_NOT_ALLOWED",
                        "BALANCE_UNAVAILABLE",
                        "INSUFFICIENT_FUNDS",
                        "MAX_STAKE_PER_FIXTURE_EXCEEDED",
                        "PRICE_NOT_AVAILABLE",
                        "PRICE_CHANGED",
                        "NO_LIQUIDITY",
                        "INSUFFICIENT_LIQUIDITY",
                        "CLIENT_ORDER_ID_REUSED",
                        "PREVIOUS_ATTEMPT_UNRESOLVED",
                        "NOT_FOUND",
                        "INVALID_CURSOR",
                        "INVALID_WINDOW",
                        "ORDER_BUSY",
                        "CONFLICT",
                        "FORBIDDEN",
                        "RATE_LIMITED",
                        "BETTING_SUSPENDED",
                        "EXPIRY_NOT_AVAILABLE",
                        "PUBLIC_API_DISABLED",
                        "SERVICE_UNAVAILABLE",
                        "UPSTREAM_UNAVAILABLE",
                        "FEED_UNAVAILABLE",
                        "FEED_TIMEOUT",
                        "INTERNAL_ERROR"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "503": {
            "description": "Error. `code` is stable; `message` is for humans and may change.",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Error. `code` is stable; `message` is for humans and may change.",
                  "type": "object",
                  "required": [
                    "code",
                    "message"
                  ],
                  "properties": {
                    "code": {
                      "type": "string",
                      "enum": [
                        "VALIDATION_FAILED",
                        "MODE_REQUIRED",
                        "INVALID_STAKE",
                        "INVALID_PRICE",
                        "INVALID_EXPIRY",
                        "CURRENCY_NOT_SUPPORTED",
                        "BOOKMAKER_NOT_AVAILABLE_VIA_API",
                        "BOOKMAKER_NOT_AVAILABLE",
                        "INVALID_API_KEY",
                        "API_ACCESS_DENIED",
                        "ACCOUNT_NOT_ACTIVE",
                        "BETTING_NOT_ALLOWED",
                        "BALANCE_UNAVAILABLE",
                        "INSUFFICIENT_FUNDS",
                        "MAX_STAKE_PER_FIXTURE_EXCEEDED",
                        "PRICE_NOT_AVAILABLE",
                        "PRICE_CHANGED",
                        "NO_LIQUIDITY",
                        "INSUFFICIENT_LIQUIDITY",
                        "CLIENT_ORDER_ID_REUSED",
                        "PREVIOUS_ATTEMPT_UNRESOLVED",
                        "NOT_FOUND",
                        "INVALID_CURSOR",
                        "INVALID_WINDOW",
                        "ORDER_BUSY",
                        "CONFLICT",
                        "FORBIDDEN",
                        "RATE_LIMITED",
                        "BETTING_SUSPENDED",
                        "EXPIRY_NOT_AVAILABLE",
                        "PUBLIC_API_DISABLED",
                        "SERVICE_UNAVAILABLE",
                        "UPSTREAM_UNAVAILABLE",
                        "FEED_UNAVAILABLE",
                        "FEED_TIMEOUT",
                        "INTERNAL_ERROR"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "504": {
            "description": "Error. `code` is stable; `message` is for humans and may change.",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Error. `code` is stable; `message` is for humans and may change.",
                  "type": "object",
                  "required": [
                    "code",
                    "message"
                  ],
                  "properties": {
                    "code": {
                      "type": "string",
                      "enum": [
                        "VALIDATION_FAILED",
                        "MODE_REQUIRED",
                        "INVALID_STAKE",
                        "INVALID_PRICE",
                        "INVALID_EXPIRY",
                        "CURRENCY_NOT_SUPPORTED",
                        "BOOKMAKER_NOT_AVAILABLE_VIA_API",
                        "BOOKMAKER_NOT_AVAILABLE",
                        "INVALID_API_KEY",
                        "API_ACCESS_DENIED",
                        "ACCOUNT_NOT_ACTIVE",
                        "BETTING_NOT_ALLOWED",
                        "BALANCE_UNAVAILABLE",
                        "INSUFFICIENT_FUNDS",
                        "MAX_STAKE_PER_FIXTURE_EXCEEDED",
                        "PRICE_NOT_AVAILABLE",
                        "PRICE_CHANGED",
                        "NO_LIQUIDITY",
                        "INSUFFICIENT_LIQUIDITY",
                        "CLIENT_ORDER_ID_REUSED",
                        "PREVIOUS_ATTEMPT_UNRESOLVED",
                        "NOT_FOUND",
                        "INVALID_CURSOR",
                        "INVALID_WINDOW",
                        "ORDER_BUSY",
                        "CONFLICT",
                        "FORBIDDEN",
                        "RATE_LIMITED",
                        "BETTING_SUSPENDED",
                        "EXPIRY_NOT_AVAILABLE",
                        "PUBLIC_API_DISABLED",
                        "SERVICE_UNAVAILABLE",
                        "UPSTREAM_UNAVAILABLE",
                        "FEED_UNAVAILABLE",
                        "FEED_TIMEOUT",
                        "INTERNAL_ERROR"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          }
        }
      }
    },
    "/v1/en/sports": {
      "get": {
        "summary": "Get Sports",
        "description": "OddsPapi `GET /{lang}/sports`, returned unchanged. The reference shows `en`; see [Languages](/api-reference/overview#languages) for the others.\n\nList sports.\n\nLookup mode: `sportIds` (optional filter list).",
        "operationId": "feed_sports",
        "tags": [
          "Reference data"
        ],
        "parameters": [
          {
            "name": "sportIds",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ]
            },
            "description": "Comma- or space-separated sport IDs."
          }
        ],
        "responses": {
          "200": {
            "description": "Returns Sport[]",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SportList"
                },
                "examples": {
                  "example": {
                    "summary": "Sports list",
                    "value": [
                      {
                        "sportId": 10,
                        "slug": "soccer",
                        "sportName": "Soccer"
                      },
                      {
                        "sportId": 11,
                        "slug": "basketball",
                        "sportName": "Basketball"
                      },
                      {
                        "sportId": 12,
                        "slug": "tennis",
                        "sportName": "Tennis"
                      }
                    ]
                  }
                }
              }
            }
          },
          "400": {
            "description": "Error. `code` is stable; `message` is for humans and may change.",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Error. `code` is stable; `message` is for humans and may change.",
                  "type": "object",
                  "required": [
                    "code",
                    "message"
                  ],
                  "properties": {
                    "code": {
                      "type": "string",
                      "enum": [
                        "VALIDATION_FAILED",
                        "MODE_REQUIRED",
                        "INVALID_STAKE",
                        "INVALID_PRICE",
                        "INVALID_EXPIRY",
                        "CURRENCY_NOT_SUPPORTED",
                        "BOOKMAKER_NOT_AVAILABLE_VIA_API",
                        "BOOKMAKER_NOT_AVAILABLE",
                        "INVALID_API_KEY",
                        "API_ACCESS_DENIED",
                        "ACCOUNT_NOT_ACTIVE",
                        "BETTING_NOT_ALLOWED",
                        "BALANCE_UNAVAILABLE",
                        "INSUFFICIENT_FUNDS",
                        "MAX_STAKE_PER_FIXTURE_EXCEEDED",
                        "PRICE_NOT_AVAILABLE",
                        "PRICE_CHANGED",
                        "NO_LIQUIDITY",
                        "INSUFFICIENT_LIQUIDITY",
                        "CLIENT_ORDER_ID_REUSED",
                        "PREVIOUS_ATTEMPT_UNRESOLVED",
                        "NOT_FOUND",
                        "INVALID_CURSOR",
                        "INVALID_WINDOW",
                        "ORDER_BUSY",
                        "CONFLICT",
                        "FORBIDDEN",
                        "RATE_LIMITED",
                        "BETTING_SUSPENDED",
                        "EXPIRY_NOT_AVAILABLE",
                        "PUBLIC_API_DISABLED",
                        "SERVICE_UNAVAILABLE",
                        "UPSTREAM_UNAVAILABLE",
                        "FEED_UNAVAILABLE",
                        "FEED_TIMEOUT",
                        "INTERNAL_ERROR"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "401": {
            "description": "Error. `code` is stable; `message` is for humans and may change.",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Error. `code` is stable; `message` is for humans and may change.",
                  "type": "object",
                  "required": [
                    "code",
                    "message"
                  ],
                  "properties": {
                    "code": {
                      "type": "string",
                      "enum": [
                        "VALIDATION_FAILED",
                        "MODE_REQUIRED",
                        "INVALID_STAKE",
                        "INVALID_PRICE",
                        "INVALID_EXPIRY",
                        "CURRENCY_NOT_SUPPORTED",
                        "BOOKMAKER_NOT_AVAILABLE_VIA_API",
                        "BOOKMAKER_NOT_AVAILABLE",
                        "INVALID_API_KEY",
                        "API_ACCESS_DENIED",
                        "ACCOUNT_NOT_ACTIVE",
                        "BETTING_NOT_ALLOWED",
                        "BALANCE_UNAVAILABLE",
                        "INSUFFICIENT_FUNDS",
                        "MAX_STAKE_PER_FIXTURE_EXCEEDED",
                        "PRICE_NOT_AVAILABLE",
                        "PRICE_CHANGED",
                        "NO_LIQUIDITY",
                        "INSUFFICIENT_LIQUIDITY",
                        "CLIENT_ORDER_ID_REUSED",
                        "PREVIOUS_ATTEMPT_UNRESOLVED",
                        "NOT_FOUND",
                        "INVALID_CURSOR",
                        "INVALID_WINDOW",
                        "ORDER_BUSY",
                        "CONFLICT",
                        "FORBIDDEN",
                        "RATE_LIMITED",
                        "BETTING_SUSPENDED",
                        "EXPIRY_NOT_AVAILABLE",
                        "PUBLIC_API_DISABLED",
                        "SERVICE_UNAVAILABLE",
                        "UPSTREAM_UNAVAILABLE",
                        "FEED_UNAVAILABLE",
                        "FEED_TIMEOUT",
                        "INTERNAL_ERROR"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "403": {
            "description": "Error. `code` is stable; `message` is for humans and may change.",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Error. `code` is stable; `message` is for humans and may change.",
                  "type": "object",
                  "required": [
                    "code",
                    "message"
                  ],
                  "properties": {
                    "code": {
                      "type": "string",
                      "enum": [
                        "VALIDATION_FAILED",
                        "MODE_REQUIRED",
                        "INVALID_STAKE",
                        "INVALID_PRICE",
                        "INVALID_EXPIRY",
                        "CURRENCY_NOT_SUPPORTED",
                        "BOOKMAKER_NOT_AVAILABLE_VIA_API",
                        "BOOKMAKER_NOT_AVAILABLE",
                        "INVALID_API_KEY",
                        "API_ACCESS_DENIED",
                        "ACCOUNT_NOT_ACTIVE",
                        "BETTING_NOT_ALLOWED",
                        "BALANCE_UNAVAILABLE",
                        "INSUFFICIENT_FUNDS",
                        "MAX_STAKE_PER_FIXTURE_EXCEEDED",
                        "PRICE_NOT_AVAILABLE",
                        "PRICE_CHANGED",
                        "NO_LIQUIDITY",
                        "INSUFFICIENT_LIQUIDITY",
                        "CLIENT_ORDER_ID_REUSED",
                        "PREVIOUS_ATTEMPT_UNRESOLVED",
                        "NOT_FOUND",
                        "INVALID_CURSOR",
                        "INVALID_WINDOW",
                        "ORDER_BUSY",
                        "CONFLICT",
                        "FORBIDDEN",
                        "RATE_LIMITED",
                        "BETTING_SUSPENDED",
                        "EXPIRY_NOT_AVAILABLE",
                        "PUBLIC_API_DISABLED",
                        "SERVICE_UNAVAILABLE",
                        "UPSTREAM_UNAVAILABLE",
                        "FEED_UNAVAILABLE",
                        "FEED_TIMEOUT",
                        "INTERNAL_ERROR"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "404": {
            "description": "Error. `code` is stable; `message` is for humans and may change.",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Error. `code` is stable; `message` is for humans and may change.",
                  "type": "object",
                  "required": [
                    "code",
                    "message"
                  ],
                  "properties": {
                    "code": {
                      "type": "string",
                      "enum": [
                        "VALIDATION_FAILED",
                        "MODE_REQUIRED",
                        "INVALID_STAKE",
                        "INVALID_PRICE",
                        "INVALID_EXPIRY",
                        "CURRENCY_NOT_SUPPORTED",
                        "BOOKMAKER_NOT_AVAILABLE_VIA_API",
                        "BOOKMAKER_NOT_AVAILABLE",
                        "INVALID_API_KEY",
                        "API_ACCESS_DENIED",
                        "ACCOUNT_NOT_ACTIVE",
                        "BETTING_NOT_ALLOWED",
                        "BALANCE_UNAVAILABLE",
                        "INSUFFICIENT_FUNDS",
                        "MAX_STAKE_PER_FIXTURE_EXCEEDED",
                        "PRICE_NOT_AVAILABLE",
                        "PRICE_CHANGED",
                        "NO_LIQUIDITY",
                        "INSUFFICIENT_LIQUIDITY",
                        "CLIENT_ORDER_ID_REUSED",
                        "PREVIOUS_ATTEMPT_UNRESOLVED",
                        "NOT_FOUND",
                        "INVALID_CURSOR",
                        "INVALID_WINDOW",
                        "ORDER_BUSY",
                        "CONFLICT",
                        "FORBIDDEN",
                        "RATE_LIMITED",
                        "BETTING_SUSPENDED",
                        "EXPIRY_NOT_AVAILABLE",
                        "PUBLIC_API_DISABLED",
                        "SERVICE_UNAVAILABLE",
                        "UPSTREAM_UNAVAILABLE",
                        "FEED_UNAVAILABLE",
                        "FEED_TIMEOUT",
                        "INTERNAL_ERROR"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "429": {
            "description": "Error. `code` is stable; `message` is for humans and may change.",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Error. `code` is stable; `message` is for humans and may change.",
                  "type": "object",
                  "required": [
                    "code",
                    "message"
                  ],
                  "properties": {
                    "code": {
                      "type": "string",
                      "enum": [
                        "VALIDATION_FAILED",
                        "MODE_REQUIRED",
                        "INVALID_STAKE",
                        "INVALID_PRICE",
                        "INVALID_EXPIRY",
                        "CURRENCY_NOT_SUPPORTED",
                        "BOOKMAKER_NOT_AVAILABLE_VIA_API",
                        "BOOKMAKER_NOT_AVAILABLE",
                        "INVALID_API_KEY",
                        "API_ACCESS_DENIED",
                        "ACCOUNT_NOT_ACTIVE",
                        "BETTING_NOT_ALLOWED",
                        "BALANCE_UNAVAILABLE",
                        "INSUFFICIENT_FUNDS",
                        "MAX_STAKE_PER_FIXTURE_EXCEEDED",
                        "PRICE_NOT_AVAILABLE",
                        "PRICE_CHANGED",
                        "NO_LIQUIDITY",
                        "INSUFFICIENT_LIQUIDITY",
                        "CLIENT_ORDER_ID_REUSED",
                        "PREVIOUS_ATTEMPT_UNRESOLVED",
                        "NOT_FOUND",
                        "INVALID_CURSOR",
                        "INVALID_WINDOW",
                        "ORDER_BUSY",
                        "CONFLICT",
                        "FORBIDDEN",
                        "RATE_LIMITED",
                        "BETTING_SUSPENDED",
                        "EXPIRY_NOT_AVAILABLE",
                        "PUBLIC_API_DISABLED",
                        "SERVICE_UNAVAILABLE",
                        "UPSTREAM_UNAVAILABLE",
                        "FEED_UNAVAILABLE",
                        "FEED_TIMEOUT",
                        "INTERNAL_ERROR"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "502": {
            "description": "Error. `code` is stable; `message` is for humans and may change.",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Error. `code` is stable; `message` is for humans and may change.",
                  "type": "object",
                  "required": [
                    "code",
                    "message"
                  ],
                  "properties": {
                    "code": {
                      "type": "string",
                      "enum": [
                        "VALIDATION_FAILED",
                        "MODE_REQUIRED",
                        "INVALID_STAKE",
                        "INVALID_PRICE",
                        "INVALID_EXPIRY",
                        "CURRENCY_NOT_SUPPORTED",
                        "BOOKMAKER_NOT_AVAILABLE_VIA_API",
                        "BOOKMAKER_NOT_AVAILABLE",
                        "INVALID_API_KEY",
                        "API_ACCESS_DENIED",
                        "ACCOUNT_NOT_ACTIVE",
                        "BETTING_NOT_ALLOWED",
                        "BALANCE_UNAVAILABLE",
                        "INSUFFICIENT_FUNDS",
                        "MAX_STAKE_PER_FIXTURE_EXCEEDED",
                        "PRICE_NOT_AVAILABLE",
                        "PRICE_CHANGED",
                        "NO_LIQUIDITY",
                        "INSUFFICIENT_LIQUIDITY",
                        "CLIENT_ORDER_ID_REUSED",
                        "PREVIOUS_ATTEMPT_UNRESOLVED",
                        "NOT_FOUND",
                        "INVALID_CURSOR",
                        "INVALID_WINDOW",
                        "ORDER_BUSY",
                        "CONFLICT",
                        "FORBIDDEN",
                        "RATE_LIMITED",
                        "BETTING_SUSPENDED",
                        "EXPIRY_NOT_AVAILABLE",
                        "PUBLIC_API_DISABLED",
                        "SERVICE_UNAVAILABLE",
                        "UPSTREAM_UNAVAILABLE",
                        "FEED_UNAVAILABLE",
                        "FEED_TIMEOUT",
                        "INTERNAL_ERROR"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "503": {
            "description": "Error. `code` is stable; `message` is for humans and may change.",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Error. `code` is stable; `message` is for humans and may change.",
                  "type": "object",
                  "required": [
                    "code",
                    "message"
                  ],
                  "properties": {
                    "code": {
                      "type": "string",
                      "enum": [
                        "VALIDATION_FAILED",
                        "MODE_REQUIRED",
                        "INVALID_STAKE",
                        "INVALID_PRICE",
                        "INVALID_EXPIRY",
                        "CURRENCY_NOT_SUPPORTED",
                        "BOOKMAKER_NOT_AVAILABLE_VIA_API",
                        "BOOKMAKER_NOT_AVAILABLE",
                        "INVALID_API_KEY",
                        "API_ACCESS_DENIED",
                        "ACCOUNT_NOT_ACTIVE",
                        "BETTING_NOT_ALLOWED",
                        "BALANCE_UNAVAILABLE",
                        "INSUFFICIENT_FUNDS",
                        "MAX_STAKE_PER_FIXTURE_EXCEEDED",
                        "PRICE_NOT_AVAILABLE",
                        "PRICE_CHANGED",
                        "NO_LIQUIDITY",
                        "INSUFFICIENT_LIQUIDITY",
                        "CLIENT_ORDER_ID_REUSED",
                        "PREVIOUS_ATTEMPT_UNRESOLVED",
                        "NOT_FOUND",
                        "INVALID_CURSOR",
                        "INVALID_WINDOW",
                        "ORDER_BUSY",
                        "CONFLICT",
                        "FORBIDDEN",
                        "RATE_LIMITED",
                        "BETTING_SUSPENDED",
                        "EXPIRY_NOT_AVAILABLE",
                        "PUBLIC_API_DISABLED",
                        "SERVICE_UNAVAILABLE",
                        "UPSTREAM_UNAVAILABLE",
                        "FEED_UNAVAILABLE",
                        "FEED_TIMEOUT",
                        "INTERNAL_ERROR"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "504": {
            "description": "Error. `code` is stable; `message` is for humans and may change.",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Error. `code` is stable; `message` is for humans and may change.",
                  "type": "object",
                  "required": [
                    "code",
                    "message"
                  ],
                  "properties": {
                    "code": {
                      "type": "string",
                      "enum": [
                        "VALIDATION_FAILED",
                        "MODE_REQUIRED",
                        "INVALID_STAKE",
                        "INVALID_PRICE",
                        "INVALID_EXPIRY",
                        "CURRENCY_NOT_SUPPORTED",
                        "BOOKMAKER_NOT_AVAILABLE_VIA_API",
                        "BOOKMAKER_NOT_AVAILABLE",
                        "INVALID_API_KEY",
                        "API_ACCESS_DENIED",
                        "ACCOUNT_NOT_ACTIVE",
                        "BETTING_NOT_ALLOWED",
                        "BALANCE_UNAVAILABLE",
                        "INSUFFICIENT_FUNDS",
                        "MAX_STAKE_PER_FIXTURE_EXCEEDED",
                        "PRICE_NOT_AVAILABLE",
                        "PRICE_CHANGED",
                        "NO_LIQUIDITY",
                        "INSUFFICIENT_LIQUIDITY",
                        "CLIENT_ORDER_ID_REUSED",
                        "PREVIOUS_ATTEMPT_UNRESOLVED",
                        "NOT_FOUND",
                        "INVALID_CURSOR",
                        "INVALID_WINDOW",
                        "ORDER_BUSY",
                        "CONFLICT",
                        "FORBIDDEN",
                        "RATE_LIMITED",
                        "BETTING_SUSPENDED",
                        "EXPIRY_NOT_AVAILABLE",
                        "PUBLIC_API_DISABLED",
                        "SERVICE_UNAVAILABLE",
                        "UPSTREAM_UNAVAILABLE",
                        "FEED_UNAVAILABLE",
                        "FEED_TIMEOUT",
                        "INTERNAL_ERROR"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          }
        }
      }
    },
    "/v1/en/tournaments": {
      "get": {
        "summary": "Get Tournaments",
        "description": "OddsPapi `GET /{lang}/tournaments`, returned unchanged. The reference shows `en`; see [Languages](/api-reference/overview#languages) for the others.\n\nList tournaments.\n\nLookup mode: `sportId` OR `tournamentIds`.\n\nDefault: if neither is provided, the API uses `sportId=11`.",
        "operationId": "feed_tournaments",
        "tags": [
          "Reference data"
        ],
        "parameters": [
          {
            "name": "sportId",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "null"
                }
              ]
            },
            "description": "Single sport ID."
          },
          {
            "name": "tournamentIds",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ]
            },
            "description": "Comma- or space-separated tournament IDs."
          }
        ],
        "responses": {
          "200": {
            "description": "Returns Tournament[]",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TournamentList"
                },
                "examples": {
                  "example": {
                    "summary": "Tournament list",
                    "value": [
                      {
                        "tournamentId": 132,
                        "sportId": 11,
                        "tournamentSlug": "nba",
                        "categorySlug": "usa",
                        "tournamentName": "NBA",
                        "categoryName": "USA"
                      },
                      {
                        "tournamentId": 138,
                        "sportId": 11,
                        "tournamentSlug": "euroleague",
                        "categorySlug": "international",
                        "tournamentName": "Euroleague",
                        "categoryName": "International"
                      }
                    ]
                  }
                }
              }
            }
          },
          "400": {
            "description": "Error. `code` is stable; `message` is for humans and may change.",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Error. `code` is stable; `message` is for humans and may change.",
                  "type": "object",
                  "required": [
                    "code",
                    "message"
                  ],
                  "properties": {
                    "code": {
                      "type": "string",
                      "enum": [
                        "VALIDATION_FAILED",
                        "MODE_REQUIRED",
                        "INVALID_STAKE",
                        "INVALID_PRICE",
                        "INVALID_EXPIRY",
                        "CURRENCY_NOT_SUPPORTED",
                        "BOOKMAKER_NOT_AVAILABLE_VIA_API",
                        "BOOKMAKER_NOT_AVAILABLE",
                        "INVALID_API_KEY",
                        "API_ACCESS_DENIED",
                        "ACCOUNT_NOT_ACTIVE",
                        "BETTING_NOT_ALLOWED",
                        "BALANCE_UNAVAILABLE",
                        "INSUFFICIENT_FUNDS",
                        "MAX_STAKE_PER_FIXTURE_EXCEEDED",
                        "PRICE_NOT_AVAILABLE",
                        "PRICE_CHANGED",
                        "NO_LIQUIDITY",
                        "INSUFFICIENT_LIQUIDITY",
                        "CLIENT_ORDER_ID_REUSED",
                        "PREVIOUS_ATTEMPT_UNRESOLVED",
                        "NOT_FOUND",
                        "INVALID_CURSOR",
                        "INVALID_WINDOW",
                        "ORDER_BUSY",
                        "CONFLICT",
                        "FORBIDDEN",
                        "RATE_LIMITED",
                        "BETTING_SUSPENDED",
                        "EXPIRY_NOT_AVAILABLE",
                        "PUBLIC_API_DISABLED",
                        "SERVICE_UNAVAILABLE",
                        "UPSTREAM_UNAVAILABLE",
                        "FEED_UNAVAILABLE",
                        "FEED_TIMEOUT",
                        "INTERNAL_ERROR"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "401": {
            "description": "Error. `code` is stable; `message` is for humans and may change.",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Error. `code` is stable; `message` is for humans and may change.",
                  "type": "object",
                  "required": [
                    "code",
                    "message"
                  ],
                  "properties": {
                    "code": {
                      "type": "string",
                      "enum": [
                        "VALIDATION_FAILED",
                        "MODE_REQUIRED",
                        "INVALID_STAKE",
                        "INVALID_PRICE",
                        "INVALID_EXPIRY",
                        "CURRENCY_NOT_SUPPORTED",
                        "BOOKMAKER_NOT_AVAILABLE_VIA_API",
                        "BOOKMAKER_NOT_AVAILABLE",
                        "INVALID_API_KEY",
                        "API_ACCESS_DENIED",
                        "ACCOUNT_NOT_ACTIVE",
                        "BETTING_NOT_ALLOWED",
                        "BALANCE_UNAVAILABLE",
                        "INSUFFICIENT_FUNDS",
                        "MAX_STAKE_PER_FIXTURE_EXCEEDED",
                        "PRICE_NOT_AVAILABLE",
                        "PRICE_CHANGED",
                        "NO_LIQUIDITY",
                        "INSUFFICIENT_LIQUIDITY",
                        "CLIENT_ORDER_ID_REUSED",
                        "PREVIOUS_ATTEMPT_UNRESOLVED",
                        "NOT_FOUND",
                        "INVALID_CURSOR",
                        "INVALID_WINDOW",
                        "ORDER_BUSY",
                        "CONFLICT",
                        "FORBIDDEN",
                        "RATE_LIMITED",
                        "BETTING_SUSPENDED",
                        "EXPIRY_NOT_AVAILABLE",
                        "PUBLIC_API_DISABLED",
                        "SERVICE_UNAVAILABLE",
                        "UPSTREAM_UNAVAILABLE",
                        "FEED_UNAVAILABLE",
                        "FEED_TIMEOUT",
                        "INTERNAL_ERROR"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "403": {
            "description": "Error. `code` is stable; `message` is for humans and may change.",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Error. `code` is stable; `message` is for humans and may change.",
                  "type": "object",
                  "required": [
                    "code",
                    "message"
                  ],
                  "properties": {
                    "code": {
                      "type": "string",
                      "enum": [
                        "VALIDATION_FAILED",
                        "MODE_REQUIRED",
                        "INVALID_STAKE",
                        "INVALID_PRICE",
                        "INVALID_EXPIRY",
                        "CURRENCY_NOT_SUPPORTED",
                        "BOOKMAKER_NOT_AVAILABLE_VIA_API",
                        "BOOKMAKER_NOT_AVAILABLE",
                        "INVALID_API_KEY",
                        "API_ACCESS_DENIED",
                        "ACCOUNT_NOT_ACTIVE",
                        "BETTING_NOT_ALLOWED",
                        "BALANCE_UNAVAILABLE",
                        "INSUFFICIENT_FUNDS",
                        "MAX_STAKE_PER_FIXTURE_EXCEEDED",
                        "PRICE_NOT_AVAILABLE",
                        "PRICE_CHANGED",
                        "NO_LIQUIDITY",
                        "INSUFFICIENT_LIQUIDITY",
                        "CLIENT_ORDER_ID_REUSED",
                        "PREVIOUS_ATTEMPT_UNRESOLVED",
                        "NOT_FOUND",
                        "INVALID_CURSOR",
                        "INVALID_WINDOW",
                        "ORDER_BUSY",
                        "CONFLICT",
                        "FORBIDDEN",
                        "RATE_LIMITED",
                        "BETTING_SUSPENDED",
                        "EXPIRY_NOT_AVAILABLE",
                        "PUBLIC_API_DISABLED",
                        "SERVICE_UNAVAILABLE",
                        "UPSTREAM_UNAVAILABLE",
                        "FEED_UNAVAILABLE",
                        "FEED_TIMEOUT",
                        "INTERNAL_ERROR"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "404": {
            "description": "Error. `code` is stable; `message` is for humans and may change.",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Error. `code` is stable; `message` is for humans and may change.",
                  "type": "object",
                  "required": [
                    "code",
                    "message"
                  ],
                  "properties": {
                    "code": {
                      "type": "string",
                      "enum": [
                        "VALIDATION_FAILED",
                        "MODE_REQUIRED",
                        "INVALID_STAKE",
                        "INVALID_PRICE",
                        "INVALID_EXPIRY",
                        "CURRENCY_NOT_SUPPORTED",
                        "BOOKMAKER_NOT_AVAILABLE_VIA_API",
                        "BOOKMAKER_NOT_AVAILABLE",
                        "INVALID_API_KEY",
                        "API_ACCESS_DENIED",
                        "ACCOUNT_NOT_ACTIVE",
                        "BETTING_NOT_ALLOWED",
                        "BALANCE_UNAVAILABLE",
                        "INSUFFICIENT_FUNDS",
                        "MAX_STAKE_PER_FIXTURE_EXCEEDED",
                        "PRICE_NOT_AVAILABLE",
                        "PRICE_CHANGED",
                        "NO_LIQUIDITY",
                        "INSUFFICIENT_LIQUIDITY",
                        "CLIENT_ORDER_ID_REUSED",
                        "PREVIOUS_ATTEMPT_UNRESOLVED",
                        "NOT_FOUND",
                        "INVALID_CURSOR",
                        "INVALID_WINDOW",
                        "ORDER_BUSY",
                        "CONFLICT",
                        "FORBIDDEN",
                        "RATE_LIMITED",
                        "BETTING_SUSPENDED",
                        "EXPIRY_NOT_AVAILABLE",
                        "PUBLIC_API_DISABLED",
                        "SERVICE_UNAVAILABLE",
                        "UPSTREAM_UNAVAILABLE",
                        "FEED_UNAVAILABLE",
                        "FEED_TIMEOUT",
                        "INTERNAL_ERROR"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "429": {
            "description": "Error. `code` is stable; `message` is for humans and may change.",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Error. `code` is stable; `message` is for humans and may change.",
                  "type": "object",
                  "required": [
                    "code",
                    "message"
                  ],
                  "properties": {
                    "code": {
                      "type": "string",
                      "enum": [
                        "VALIDATION_FAILED",
                        "MODE_REQUIRED",
                        "INVALID_STAKE",
                        "INVALID_PRICE",
                        "INVALID_EXPIRY",
                        "CURRENCY_NOT_SUPPORTED",
                        "BOOKMAKER_NOT_AVAILABLE_VIA_API",
                        "BOOKMAKER_NOT_AVAILABLE",
                        "INVALID_API_KEY",
                        "API_ACCESS_DENIED",
                        "ACCOUNT_NOT_ACTIVE",
                        "BETTING_NOT_ALLOWED",
                        "BALANCE_UNAVAILABLE",
                        "INSUFFICIENT_FUNDS",
                        "MAX_STAKE_PER_FIXTURE_EXCEEDED",
                        "PRICE_NOT_AVAILABLE",
                        "PRICE_CHANGED",
                        "NO_LIQUIDITY",
                        "INSUFFICIENT_LIQUIDITY",
                        "CLIENT_ORDER_ID_REUSED",
                        "PREVIOUS_ATTEMPT_UNRESOLVED",
                        "NOT_FOUND",
                        "INVALID_CURSOR",
                        "INVALID_WINDOW",
                        "ORDER_BUSY",
                        "CONFLICT",
                        "FORBIDDEN",
                        "RATE_LIMITED",
                        "BETTING_SUSPENDED",
                        "EXPIRY_NOT_AVAILABLE",
                        "PUBLIC_API_DISABLED",
                        "SERVICE_UNAVAILABLE",
                        "UPSTREAM_UNAVAILABLE",
                        "FEED_UNAVAILABLE",
                        "FEED_TIMEOUT",
                        "INTERNAL_ERROR"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "502": {
            "description": "Error. `code` is stable; `message` is for humans and may change.",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Error. `code` is stable; `message` is for humans and may change.",
                  "type": "object",
                  "required": [
                    "code",
                    "message"
                  ],
                  "properties": {
                    "code": {
                      "type": "string",
                      "enum": [
                        "VALIDATION_FAILED",
                        "MODE_REQUIRED",
                        "INVALID_STAKE",
                        "INVALID_PRICE",
                        "INVALID_EXPIRY",
                        "CURRENCY_NOT_SUPPORTED",
                        "BOOKMAKER_NOT_AVAILABLE_VIA_API",
                        "BOOKMAKER_NOT_AVAILABLE",
                        "INVALID_API_KEY",
                        "API_ACCESS_DENIED",
                        "ACCOUNT_NOT_ACTIVE",
                        "BETTING_NOT_ALLOWED",
                        "BALANCE_UNAVAILABLE",
                        "INSUFFICIENT_FUNDS",
                        "MAX_STAKE_PER_FIXTURE_EXCEEDED",
                        "PRICE_NOT_AVAILABLE",
                        "PRICE_CHANGED",
                        "NO_LIQUIDITY",
                        "INSUFFICIENT_LIQUIDITY",
                        "CLIENT_ORDER_ID_REUSED",
                        "PREVIOUS_ATTEMPT_UNRESOLVED",
                        "NOT_FOUND",
                        "INVALID_CURSOR",
                        "INVALID_WINDOW",
                        "ORDER_BUSY",
                        "CONFLICT",
                        "FORBIDDEN",
                        "RATE_LIMITED",
                        "BETTING_SUSPENDED",
                        "EXPIRY_NOT_AVAILABLE",
                        "PUBLIC_API_DISABLED",
                        "SERVICE_UNAVAILABLE",
                        "UPSTREAM_UNAVAILABLE",
                        "FEED_UNAVAILABLE",
                        "FEED_TIMEOUT",
                        "INTERNAL_ERROR"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "503": {
            "description": "Error. `code` is stable; `message` is for humans and may change.",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Error. `code` is stable; `message` is for humans and may change.",
                  "type": "object",
                  "required": [
                    "code",
                    "message"
                  ],
                  "properties": {
                    "code": {
                      "type": "string",
                      "enum": [
                        "VALIDATION_FAILED",
                        "MODE_REQUIRED",
                        "INVALID_STAKE",
                        "INVALID_PRICE",
                        "INVALID_EXPIRY",
                        "CURRENCY_NOT_SUPPORTED",
                        "BOOKMAKER_NOT_AVAILABLE_VIA_API",
                        "BOOKMAKER_NOT_AVAILABLE",
                        "INVALID_API_KEY",
                        "API_ACCESS_DENIED",
                        "ACCOUNT_NOT_ACTIVE",
                        "BETTING_NOT_ALLOWED",
                        "BALANCE_UNAVAILABLE",
                        "INSUFFICIENT_FUNDS",
                        "MAX_STAKE_PER_FIXTURE_EXCEEDED",
                        "PRICE_NOT_AVAILABLE",
                        "PRICE_CHANGED",
                        "NO_LIQUIDITY",
                        "INSUFFICIENT_LIQUIDITY",
                        "CLIENT_ORDER_ID_REUSED",
                        "PREVIOUS_ATTEMPT_UNRESOLVED",
                        "NOT_FOUND",
                        "INVALID_CURSOR",
                        "INVALID_WINDOW",
                        "ORDER_BUSY",
                        "CONFLICT",
                        "FORBIDDEN",
                        "RATE_LIMITED",
                        "BETTING_SUSPENDED",
                        "EXPIRY_NOT_AVAILABLE",
                        "PUBLIC_API_DISABLED",
                        "SERVICE_UNAVAILABLE",
                        "UPSTREAM_UNAVAILABLE",
                        "FEED_UNAVAILABLE",
                        "FEED_TIMEOUT",
                        "INTERNAL_ERROR"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "504": {
            "description": "Error. `code` is stable; `message` is for humans and may change.",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Error. `code` is stable; `message` is for humans and may change.",
                  "type": "object",
                  "required": [
                    "code",
                    "message"
                  ],
                  "properties": {
                    "code": {
                      "type": "string",
                      "enum": [
                        "VALIDATION_FAILED",
                        "MODE_REQUIRED",
                        "INVALID_STAKE",
                        "INVALID_PRICE",
                        "INVALID_EXPIRY",
                        "CURRENCY_NOT_SUPPORTED",
                        "BOOKMAKER_NOT_AVAILABLE_VIA_API",
                        "BOOKMAKER_NOT_AVAILABLE",
                        "INVALID_API_KEY",
                        "API_ACCESS_DENIED",
                        "ACCOUNT_NOT_ACTIVE",
                        "BETTING_NOT_ALLOWED",
                        "BALANCE_UNAVAILABLE",
                        "INSUFFICIENT_FUNDS",
                        "MAX_STAKE_PER_FIXTURE_EXCEEDED",
                        "PRICE_NOT_AVAILABLE",
                        "PRICE_CHANGED",
                        "NO_LIQUIDITY",
                        "INSUFFICIENT_LIQUIDITY",
                        "CLIENT_ORDER_ID_REUSED",
                        "PREVIOUS_ATTEMPT_UNRESOLVED",
                        "NOT_FOUND",
                        "INVALID_CURSOR",
                        "INVALID_WINDOW",
                        "ORDER_BUSY",
                        "CONFLICT",
                        "FORBIDDEN",
                        "RATE_LIMITED",
                        "BETTING_SUSPENDED",
                        "EXPIRY_NOT_AVAILABLE",
                        "PUBLIC_API_DISABLED",
                        "SERVICE_UNAVAILABLE",
                        "UPSTREAM_UNAVAILABLE",
                        "FEED_UNAVAILABLE",
                        "FEED_TIMEOUT",
                        "INTERNAL_ERROR"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          }
        }
      }
    },
    "/v1/en/venues": {
      "get": {
        "summary": "Get Venues",
        "description": "OddsPapi `GET /{lang}/venues`, returned unchanged. The reference shows `en`; see [Languages](/api-reference/overview#languages) for the others.\n\nList venues by explicit IDs.\n\nName fields are returned in the requested language when available.",
        "operationId": "feed_venues",
        "tags": [
          "Reference data"
        ],
        "parameters": [
          {
            "name": "venueIds",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Comma/space-separated venue IDs, e.g. `1234,5678`."
          }
        ],
        "responses": {
          "200": {
            "description": "Returns Venue[]",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Venue"
                  }
                },
                "examples": {
                  "example": {
                    "summary": "Venues list",
                    "value": [
                      {
                        "venueId": 15672,
                        "venueSlug": "levis-stadium",
                        "venueName": "Levi's Stadium",
                        "venueLocation": "Santa Clara, CA, USA"
                      },
                      {
                        "venueId": 6054,
                        "venueSlug": "madison-square-garden",
                        "venueName": "Madison Square Garden",
                        "venueLocation": "New York, NY, USA"
                      }
                    ]
                  }
                }
              }
            }
          },
          "400": {
            "description": "Error. `code` is stable; `message` is for humans and may change.",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Error. `code` is stable; `message` is for humans and may change.",
                  "type": "object",
                  "required": [
                    "code",
                    "message"
                  ],
                  "properties": {
                    "code": {
                      "type": "string",
                      "enum": [
                        "VALIDATION_FAILED",
                        "MODE_REQUIRED",
                        "INVALID_STAKE",
                        "INVALID_PRICE",
                        "INVALID_EXPIRY",
                        "CURRENCY_NOT_SUPPORTED",
                        "BOOKMAKER_NOT_AVAILABLE_VIA_API",
                        "BOOKMAKER_NOT_AVAILABLE",
                        "INVALID_API_KEY",
                        "API_ACCESS_DENIED",
                        "ACCOUNT_NOT_ACTIVE",
                        "BETTING_NOT_ALLOWED",
                        "BALANCE_UNAVAILABLE",
                        "INSUFFICIENT_FUNDS",
                        "MAX_STAKE_PER_FIXTURE_EXCEEDED",
                        "PRICE_NOT_AVAILABLE",
                        "PRICE_CHANGED",
                        "NO_LIQUIDITY",
                        "INSUFFICIENT_LIQUIDITY",
                        "CLIENT_ORDER_ID_REUSED",
                        "PREVIOUS_ATTEMPT_UNRESOLVED",
                        "NOT_FOUND",
                        "INVALID_CURSOR",
                        "INVALID_WINDOW",
                        "ORDER_BUSY",
                        "CONFLICT",
                        "FORBIDDEN",
                        "RATE_LIMITED",
                        "BETTING_SUSPENDED",
                        "EXPIRY_NOT_AVAILABLE",
                        "PUBLIC_API_DISABLED",
                        "SERVICE_UNAVAILABLE",
                        "UPSTREAM_UNAVAILABLE",
                        "FEED_UNAVAILABLE",
                        "FEED_TIMEOUT",
                        "INTERNAL_ERROR"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "401": {
            "description": "Error. `code` is stable; `message` is for humans and may change.",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Error. `code` is stable; `message` is for humans and may change.",
                  "type": "object",
                  "required": [
                    "code",
                    "message"
                  ],
                  "properties": {
                    "code": {
                      "type": "string",
                      "enum": [
                        "VALIDATION_FAILED",
                        "MODE_REQUIRED",
                        "INVALID_STAKE",
                        "INVALID_PRICE",
                        "INVALID_EXPIRY",
                        "CURRENCY_NOT_SUPPORTED",
                        "BOOKMAKER_NOT_AVAILABLE_VIA_API",
                        "BOOKMAKER_NOT_AVAILABLE",
                        "INVALID_API_KEY",
                        "API_ACCESS_DENIED",
                        "ACCOUNT_NOT_ACTIVE",
                        "BETTING_NOT_ALLOWED",
                        "BALANCE_UNAVAILABLE",
                        "INSUFFICIENT_FUNDS",
                        "MAX_STAKE_PER_FIXTURE_EXCEEDED",
                        "PRICE_NOT_AVAILABLE",
                        "PRICE_CHANGED",
                        "NO_LIQUIDITY",
                        "INSUFFICIENT_LIQUIDITY",
                        "CLIENT_ORDER_ID_REUSED",
                        "PREVIOUS_ATTEMPT_UNRESOLVED",
                        "NOT_FOUND",
                        "INVALID_CURSOR",
                        "INVALID_WINDOW",
                        "ORDER_BUSY",
                        "CONFLICT",
                        "FORBIDDEN",
                        "RATE_LIMITED",
                        "BETTING_SUSPENDED",
                        "EXPIRY_NOT_AVAILABLE",
                        "PUBLIC_API_DISABLED",
                        "SERVICE_UNAVAILABLE",
                        "UPSTREAM_UNAVAILABLE",
                        "FEED_UNAVAILABLE",
                        "FEED_TIMEOUT",
                        "INTERNAL_ERROR"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "403": {
            "description": "Error. `code` is stable; `message` is for humans and may change.",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Error. `code` is stable; `message` is for humans and may change.",
                  "type": "object",
                  "required": [
                    "code",
                    "message"
                  ],
                  "properties": {
                    "code": {
                      "type": "string",
                      "enum": [
                        "VALIDATION_FAILED",
                        "MODE_REQUIRED",
                        "INVALID_STAKE",
                        "INVALID_PRICE",
                        "INVALID_EXPIRY",
                        "CURRENCY_NOT_SUPPORTED",
                        "BOOKMAKER_NOT_AVAILABLE_VIA_API",
                        "BOOKMAKER_NOT_AVAILABLE",
                        "INVALID_API_KEY",
                        "API_ACCESS_DENIED",
                        "ACCOUNT_NOT_ACTIVE",
                        "BETTING_NOT_ALLOWED",
                        "BALANCE_UNAVAILABLE",
                        "INSUFFICIENT_FUNDS",
                        "MAX_STAKE_PER_FIXTURE_EXCEEDED",
                        "PRICE_NOT_AVAILABLE",
                        "PRICE_CHANGED",
                        "NO_LIQUIDITY",
                        "INSUFFICIENT_LIQUIDITY",
                        "CLIENT_ORDER_ID_REUSED",
                        "PREVIOUS_ATTEMPT_UNRESOLVED",
                        "NOT_FOUND",
                        "INVALID_CURSOR",
                        "INVALID_WINDOW",
                        "ORDER_BUSY",
                        "CONFLICT",
                        "FORBIDDEN",
                        "RATE_LIMITED",
                        "BETTING_SUSPENDED",
                        "EXPIRY_NOT_AVAILABLE",
                        "PUBLIC_API_DISABLED",
                        "SERVICE_UNAVAILABLE",
                        "UPSTREAM_UNAVAILABLE",
                        "FEED_UNAVAILABLE",
                        "FEED_TIMEOUT",
                        "INTERNAL_ERROR"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "404": {
            "description": "Error. `code` is stable; `message` is for humans and may change.",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Error. `code` is stable; `message` is for humans and may change.",
                  "type": "object",
                  "required": [
                    "code",
                    "message"
                  ],
                  "properties": {
                    "code": {
                      "type": "string",
                      "enum": [
                        "VALIDATION_FAILED",
                        "MODE_REQUIRED",
                        "INVALID_STAKE",
                        "INVALID_PRICE",
                        "INVALID_EXPIRY",
                        "CURRENCY_NOT_SUPPORTED",
                        "BOOKMAKER_NOT_AVAILABLE_VIA_API",
                        "BOOKMAKER_NOT_AVAILABLE",
                        "INVALID_API_KEY",
                        "API_ACCESS_DENIED",
                        "ACCOUNT_NOT_ACTIVE",
                        "BETTING_NOT_ALLOWED",
                        "BALANCE_UNAVAILABLE",
                        "INSUFFICIENT_FUNDS",
                        "MAX_STAKE_PER_FIXTURE_EXCEEDED",
                        "PRICE_NOT_AVAILABLE",
                        "PRICE_CHANGED",
                        "NO_LIQUIDITY",
                        "INSUFFICIENT_LIQUIDITY",
                        "CLIENT_ORDER_ID_REUSED",
                        "PREVIOUS_ATTEMPT_UNRESOLVED",
                        "NOT_FOUND",
                        "INVALID_CURSOR",
                        "INVALID_WINDOW",
                        "ORDER_BUSY",
                        "CONFLICT",
                        "FORBIDDEN",
                        "RATE_LIMITED",
                        "BETTING_SUSPENDED",
                        "EXPIRY_NOT_AVAILABLE",
                        "PUBLIC_API_DISABLED",
                        "SERVICE_UNAVAILABLE",
                        "UPSTREAM_UNAVAILABLE",
                        "FEED_UNAVAILABLE",
                        "FEED_TIMEOUT",
                        "INTERNAL_ERROR"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "429": {
            "description": "Error. `code` is stable; `message` is for humans and may change.",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Error. `code` is stable; `message` is for humans and may change.",
                  "type": "object",
                  "required": [
                    "code",
                    "message"
                  ],
                  "properties": {
                    "code": {
                      "type": "string",
                      "enum": [
                        "VALIDATION_FAILED",
                        "MODE_REQUIRED",
                        "INVALID_STAKE",
                        "INVALID_PRICE",
                        "INVALID_EXPIRY",
                        "CURRENCY_NOT_SUPPORTED",
                        "BOOKMAKER_NOT_AVAILABLE_VIA_API",
                        "BOOKMAKER_NOT_AVAILABLE",
                        "INVALID_API_KEY",
                        "API_ACCESS_DENIED",
                        "ACCOUNT_NOT_ACTIVE",
                        "BETTING_NOT_ALLOWED",
                        "BALANCE_UNAVAILABLE",
                        "INSUFFICIENT_FUNDS",
                        "MAX_STAKE_PER_FIXTURE_EXCEEDED",
                        "PRICE_NOT_AVAILABLE",
                        "PRICE_CHANGED",
                        "NO_LIQUIDITY",
                        "INSUFFICIENT_LIQUIDITY",
                        "CLIENT_ORDER_ID_REUSED",
                        "PREVIOUS_ATTEMPT_UNRESOLVED",
                        "NOT_FOUND",
                        "INVALID_CURSOR",
                        "INVALID_WINDOW",
                        "ORDER_BUSY",
                        "CONFLICT",
                        "FORBIDDEN",
                        "RATE_LIMITED",
                        "BETTING_SUSPENDED",
                        "EXPIRY_NOT_AVAILABLE",
                        "PUBLIC_API_DISABLED",
                        "SERVICE_UNAVAILABLE",
                        "UPSTREAM_UNAVAILABLE",
                        "FEED_UNAVAILABLE",
                        "FEED_TIMEOUT",
                        "INTERNAL_ERROR"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "502": {
            "description": "Error. `code` is stable; `message` is for humans and may change.",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Error. `code` is stable; `message` is for humans and may change.",
                  "type": "object",
                  "required": [
                    "code",
                    "message"
                  ],
                  "properties": {
                    "code": {
                      "type": "string",
                      "enum": [
                        "VALIDATION_FAILED",
                        "MODE_REQUIRED",
                        "INVALID_STAKE",
                        "INVALID_PRICE",
                        "INVALID_EXPIRY",
                        "CURRENCY_NOT_SUPPORTED",
                        "BOOKMAKER_NOT_AVAILABLE_VIA_API",
                        "BOOKMAKER_NOT_AVAILABLE",
                        "INVALID_API_KEY",
                        "API_ACCESS_DENIED",
                        "ACCOUNT_NOT_ACTIVE",
                        "BETTING_NOT_ALLOWED",
                        "BALANCE_UNAVAILABLE",
                        "INSUFFICIENT_FUNDS",
                        "MAX_STAKE_PER_FIXTURE_EXCEEDED",
                        "PRICE_NOT_AVAILABLE",
                        "PRICE_CHANGED",
                        "NO_LIQUIDITY",
                        "INSUFFICIENT_LIQUIDITY",
                        "CLIENT_ORDER_ID_REUSED",
                        "PREVIOUS_ATTEMPT_UNRESOLVED",
                        "NOT_FOUND",
                        "INVALID_CURSOR",
                        "INVALID_WINDOW",
                        "ORDER_BUSY",
                        "CONFLICT",
                        "FORBIDDEN",
                        "RATE_LIMITED",
                        "BETTING_SUSPENDED",
                        "EXPIRY_NOT_AVAILABLE",
                        "PUBLIC_API_DISABLED",
                        "SERVICE_UNAVAILABLE",
                        "UPSTREAM_UNAVAILABLE",
                        "FEED_UNAVAILABLE",
                        "FEED_TIMEOUT",
                        "INTERNAL_ERROR"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "503": {
            "description": "Error. `code` is stable; `message` is for humans and may change.",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Error. `code` is stable; `message` is for humans and may change.",
                  "type": "object",
                  "required": [
                    "code",
                    "message"
                  ],
                  "properties": {
                    "code": {
                      "type": "string",
                      "enum": [
                        "VALIDATION_FAILED",
                        "MODE_REQUIRED",
                        "INVALID_STAKE",
                        "INVALID_PRICE",
                        "INVALID_EXPIRY",
                        "CURRENCY_NOT_SUPPORTED",
                        "BOOKMAKER_NOT_AVAILABLE_VIA_API",
                        "BOOKMAKER_NOT_AVAILABLE",
                        "INVALID_API_KEY",
                        "API_ACCESS_DENIED",
                        "ACCOUNT_NOT_ACTIVE",
                        "BETTING_NOT_ALLOWED",
                        "BALANCE_UNAVAILABLE",
                        "INSUFFICIENT_FUNDS",
                        "MAX_STAKE_PER_FIXTURE_EXCEEDED",
                        "PRICE_NOT_AVAILABLE",
                        "PRICE_CHANGED",
                        "NO_LIQUIDITY",
                        "INSUFFICIENT_LIQUIDITY",
                        "CLIENT_ORDER_ID_REUSED",
                        "PREVIOUS_ATTEMPT_UNRESOLVED",
                        "NOT_FOUND",
                        "INVALID_CURSOR",
                        "INVALID_WINDOW",
                        "ORDER_BUSY",
                        "CONFLICT",
                        "FORBIDDEN",
                        "RATE_LIMITED",
                        "BETTING_SUSPENDED",
                        "EXPIRY_NOT_AVAILABLE",
                        "PUBLIC_API_DISABLED",
                        "SERVICE_UNAVAILABLE",
                        "UPSTREAM_UNAVAILABLE",
                        "FEED_UNAVAILABLE",
                        "FEED_TIMEOUT",
                        "INTERNAL_ERROR"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "504": {
            "description": "Error. `code` is stable; `message` is for humans and may change.",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Error. `code` is stable; `message` is for humans and may change.",
                  "type": "object",
                  "required": [
                    "code",
                    "message"
                  ],
                  "properties": {
                    "code": {
                      "type": "string",
                      "enum": [
                        "VALIDATION_FAILED",
                        "MODE_REQUIRED",
                        "INVALID_STAKE",
                        "INVALID_PRICE",
                        "INVALID_EXPIRY",
                        "CURRENCY_NOT_SUPPORTED",
                        "BOOKMAKER_NOT_AVAILABLE_VIA_API",
                        "BOOKMAKER_NOT_AVAILABLE",
                        "INVALID_API_KEY",
                        "API_ACCESS_DENIED",
                        "ACCOUNT_NOT_ACTIVE",
                        "BETTING_NOT_ALLOWED",
                        "BALANCE_UNAVAILABLE",
                        "INSUFFICIENT_FUNDS",
                        "MAX_STAKE_PER_FIXTURE_EXCEEDED",
                        "PRICE_NOT_AVAILABLE",
                        "PRICE_CHANGED",
                        "NO_LIQUIDITY",
                        "INSUFFICIENT_LIQUIDITY",
                        "CLIENT_ORDER_ID_REUSED",
                        "PREVIOUS_ATTEMPT_UNRESOLVED",
                        "NOT_FOUND",
                        "INVALID_CURSOR",
                        "INVALID_WINDOW",
                        "ORDER_BUSY",
                        "CONFLICT",
                        "FORBIDDEN",
                        "RATE_LIMITED",
                        "BETTING_SUSPENDED",
                        "EXPIRY_NOT_AVAILABLE",
                        "PUBLIC_API_DISABLED",
                        "SERVICE_UNAVAILABLE",
                        "UPSTREAM_UNAVAILABLE",
                        "FEED_UNAVAILABLE",
                        "FEED_TIMEOUT",
                        "INTERNAL_ERROR"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          }
        }
      }
    },
    "/v1/en/fixtures": {
      "get": {
        "summary": "Fixtures Filtered",
        "description": "OddsPapi `GET /{lang}/fixtures`, returned unchanged. The reference shows `en`; see [Languages](/api-reference/overview#languages) for the others.\n\nList fixtures.\n\nLookup mode: `fixtureIds` OR filters (`sportId`, `tournamentId`, `statusId`, optional time range).\n\nIf `bookmakers` is present, bookmaker meta is included and results may be filtered by mapping availability.\n\nWhen you pass `bookmakers`, only your account's bookmakers are allowed: asking for another one answers `403 BOOKMAKER_NOT_AVAILABLE`.",
        "operationId": "feed_fixtures",
        "tags": [
          "Fixtures"
        ],
        "parameters": [
          {
            "name": "fixtureIds",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ]
            },
            "description": "Comma/space-separated fixture IDs (fast path)."
          },
          {
            "name": "sportId",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "null"
                }
              ]
            },
            "description": "Single sport ID."
          },
          {
            "name": "tournamentId",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "null"
                }
              ]
            },
            "description": "Single tournament ID."
          },
          {
            "name": "statusId",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            },
            "description": "Forwarded to OddsPapi unchanged."
          },
          {
            "name": "bookmakers",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ]
            },
            "description": "Comma/space-separated bookmaker slugs. If present (even empty), includes bookmaker META and filters by mapping."
          },
          {
            "name": "startTimeFrom",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "null"
                }
              ]
            },
            "description": "Start time from (epoch seconds)."
          },
          {
            "name": "startTimeTo",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "null"
                }
              ]
            },
            "description": "Start time to (epoch seconds)."
          }
        ],
        "responses": {
          "200": {
            "description": "Returns Fixture[] (fixture meta objects)",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FixtureList"
                },
                "examples": {
                  "example": {
                    "summary": "Fixtures list",
                    "value": [
                      {
                        "fixtureId": "id1000023875243922",
                        "reissuedFixtureId": null,
                        "previousFixtureId": null,
                        "status": {
                          "live": false,
                          "statusId": 2,
                          "statusName": "Finished"
                        },
                        "sport": {
                          "sportId": 10,
                          "sportName": "Soccer"
                        },
                        "tournament": {
                          "tournamentId": 238,
                          "tournamentName": "Liga Portugal",
                          "categoryName": "Portugal"
                        },
                        "season": {
                          "seasonId": 143496,
                          "seasonName": "Liga Portugal 26/27",
                          "seasonRound": 2
                        },
                        "venue": {
                          "venueId": 951,
                          "venueName": "Braga Municipal",
                          "venueLocation": "Braga, Portugal"
                        },
                        "startTime": 1792437300,
                        "trueStartTime": "2026-10-19T19:17:21.664419+00:00",
                        "trueEndTime": "2026-10-19T21:17:33.00531+00:00",
                        "participants": {
                          "participant1Id": 2999,
                          "participant1RotNr": 4132,
                          "participant1Name": "SC Braga",
                          "participant1ShortName": "Braga",
                          "participant1Abbr": "BRA",
                          "participant2Id": 3010,
                          "participant2RotNr": 4133,
                          "participant2Name": "Gil Vicente Barcelos",
                          "participant2ShortName": "Vicente Barcelos",
                          "participant2Abbr": "GIL"
                        },
                        "scores": {
                          "p1": {
                            "period": "p1",
                            "participant1Score": 1,
                            "participant2Score": 0,
                            "updatedAt": "2026-10-19T20:07:15.073052+00:00"
                          },
                          "result": {
                            "period": "result",
                            "participant1Score": 1,
                            "participant2Score": 2,
                            "updatedAt": "2026-10-19T20:54:37.027805+00:00"
                          }
                        },
                        "clock": {
                          "currentPeriod": "p2",
                          "currentTime": "98:02",
                          "remainingTime": null,
                          "remainingTimeInPeriod": null,
                          "stopped": true,
                          "updatedAt": "2026-10-19T21:17:15.236113+00:00"
                        },
                        "expectedPeriods": 2,
                        "periodLength": 45,
                        "externalProviders": {
                          "betgeniusId": 14532333,
                          "betradarId": 75243922,
                          "flashscoreId": "rX6GkgVb",
                          "mollybetId": "2026-10-19,1178,1180",
                          "oddinId": null,
                          "opticoddsId": "20261019047F01A6",
                          "pinnacleId": 1638273301,
                          "sofascoreId": 17243270,
                          "lsportsId": 20502265,
                          "txoddsId": null
                        },
                        "bookmakers": {
                          "draftkings": {
                            "bookmaker": "draftkings",
                            "bookmakerFixtureId": "34825335",
                            "fixturePath": "https://sportsbook.draftkings.com/event/34825335",
                            "hasOdds": true,
                            "staleOdds": false,
                            "staleOddsResponseCode": null,
                            "suspended": true,
                            "participantsRotated": false,
                            "meta": null,
                            "updatedAt": "2026-10-19T21:17:14.329536+00:00"
                          }
                        }
                      }
                    ]
                  }
                }
              }
            }
          },
          "400": {
            "description": "Error. `code` is stable; `message` is for humans and may change.",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Error. `code` is stable; `message` is for humans and may change.",
                  "type": "object",
                  "required": [
                    "code",
                    "message"
                  ],
                  "properties": {
                    "code": {
                      "type": "string",
                      "enum": [
                        "VALIDATION_FAILED",
                        "MODE_REQUIRED",
                        "INVALID_STAKE",
                        "INVALID_PRICE",
                        "INVALID_EXPIRY",
                        "CURRENCY_NOT_SUPPORTED",
                        "BOOKMAKER_NOT_AVAILABLE_VIA_API",
                        "BOOKMAKER_NOT_AVAILABLE",
                        "INVALID_API_KEY",
                        "API_ACCESS_DENIED",
                        "ACCOUNT_NOT_ACTIVE",
                        "BETTING_NOT_ALLOWED",
                        "BALANCE_UNAVAILABLE",
                        "INSUFFICIENT_FUNDS",
                        "MAX_STAKE_PER_FIXTURE_EXCEEDED",
                        "PRICE_NOT_AVAILABLE",
                        "PRICE_CHANGED",
                        "NO_LIQUIDITY",
                        "INSUFFICIENT_LIQUIDITY",
                        "CLIENT_ORDER_ID_REUSED",
                        "PREVIOUS_ATTEMPT_UNRESOLVED",
                        "NOT_FOUND",
                        "INVALID_CURSOR",
                        "INVALID_WINDOW",
                        "ORDER_BUSY",
                        "CONFLICT",
                        "FORBIDDEN",
                        "RATE_LIMITED",
                        "BETTING_SUSPENDED",
                        "EXPIRY_NOT_AVAILABLE",
                        "PUBLIC_API_DISABLED",
                        "SERVICE_UNAVAILABLE",
                        "UPSTREAM_UNAVAILABLE",
                        "FEED_UNAVAILABLE",
                        "FEED_TIMEOUT",
                        "INTERNAL_ERROR"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "401": {
            "description": "Error. `code` is stable; `message` is for humans and may change.",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Error. `code` is stable; `message` is for humans and may change.",
                  "type": "object",
                  "required": [
                    "code",
                    "message"
                  ],
                  "properties": {
                    "code": {
                      "type": "string",
                      "enum": [
                        "VALIDATION_FAILED",
                        "MODE_REQUIRED",
                        "INVALID_STAKE",
                        "INVALID_PRICE",
                        "INVALID_EXPIRY",
                        "CURRENCY_NOT_SUPPORTED",
                        "BOOKMAKER_NOT_AVAILABLE_VIA_API",
                        "BOOKMAKER_NOT_AVAILABLE",
                        "INVALID_API_KEY",
                        "API_ACCESS_DENIED",
                        "ACCOUNT_NOT_ACTIVE",
                        "BETTING_NOT_ALLOWED",
                        "BALANCE_UNAVAILABLE",
                        "INSUFFICIENT_FUNDS",
                        "MAX_STAKE_PER_FIXTURE_EXCEEDED",
                        "PRICE_NOT_AVAILABLE",
                        "PRICE_CHANGED",
                        "NO_LIQUIDITY",
                        "INSUFFICIENT_LIQUIDITY",
                        "CLIENT_ORDER_ID_REUSED",
                        "PREVIOUS_ATTEMPT_UNRESOLVED",
                        "NOT_FOUND",
                        "INVALID_CURSOR",
                        "INVALID_WINDOW",
                        "ORDER_BUSY",
                        "CONFLICT",
                        "FORBIDDEN",
                        "RATE_LIMITED",
                        "BETTING_SUSPENDED",
                        "EXPIRY_NOT_AVAILABLE",
                        "PUBLIC_API_DISABLED",
                        "SERVICE_UNAVAILABLE",
                        "UPSTREAM_UNAVAILABLE",
                        "FEED_UNAVAILABLE",
                        "FEED_TIMEOUT",
                        "INTERNAL_ERROR"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "403": {
            "description": "Error. `code` is stable; `message` is for humans and may change.",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Error. `code` is stable; `message` is for humans and may change.",
                  "type": "object",
                  "required": [
                    "code",
                    "message"
                  ],
                  "properties": {
                    "code": {
                      "type": "string",
                      "enum": [
                        "VALIDATION_FAILED",
                        "MODE_REQUIRED",
                        "INVALID_STAKE",
                        "INVALID_PRICE",
                        "INVALID_EXPIRY",
                        "CURRENCY_NOT_SUPPORTED",
                        "BOOKMAKER_NOT_AVAILABLE_VIA_API",
                        "BOOKMAKER_NOT_AVAILABLE",
                        "INVALID_API_KEY",
                        "API_ACCESS_DENIED",
                        "ACCOUNT_NOT_ACTIVE",
                        "BETTING_NOT_ALLOWED",
                        "BALANCE_UNAVAILABLE",
                        "INSUFFICIENT_FUNDS",
                        "MAX_STAKE_PER_FIXTURE_EXCEEDED",
                        "PRICE_NOT_AVAILABLE",
                        "PRICE_CHANGED",
                        "NO_LIQUIDITY",
                        "INSUFFICIENT_LIQUIDITY",
                        "CLIENT_ORDER_ID_REUSED",
                        "PREVIOUS_ATTEMPT_UNRESOLVED",
                        "NOT_FOUND",
                        "INVALID_CURSOR",
                        "INVALID_WINDOW",
                        "ORDER_BUSY",
                        "CONFLICT",
                        "FORBIDDEN",
                        "RATE_LIMITED",
                        "BETTING_SUSPENDED",
                        "EXPIRY_NOT_AVAILABLE",
                        "PUBLIC_API_DISABLED",
                        "SERVICE_UNAVAILABLE",
                        "UPSTREAM_UNAVAILABLE",
                        "FEED_UNAVAILABLE",
                        "FEED_TIMEOUT",
                        "INTERNAL_ERROR"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "404": {
            "description": "Error. `code` is stable; `message` is for humans and may change.",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Error. `code` is stable; `message` is for humans and may change.",
                  "type": "object",
                  "required": [
                    "code",
                    "message"
                  ],
                  "properties": {
                    "code": {
                      "type": "string",
                      "enum": [
                        "VALIDATION_FAILED",
                        "MODE_REQUIRED",
                        "INVALID_STAKE",
                        "INVALID_PRICE",
                        "INVALID_EXPIRY",
                        "CURRENCY_NOT_SUPPORTED",
                        "BOOKMAKER_NOT_AVAILABLE_VIA_API",
                        "BOOKMAKER_NOT_AVAILABLE",
                        "INVALID_API_KEY",
                        "API_ACCESS_DENIED",
                        "ACCOUNT_NOT_ACTIVE",
                        "BETTING_NOT_ALLOWED",
                        "BALANCE_UNAVAILABLE",
                        "INSUFFICIENT_FUNDS",
                        "MAX_STAKE_PER_FIXTURE_EXCEEDED",
                        "PRICE_NOT_AVAILABLE",
                        "PRICE_CHANGED",
                        "NO_LIQUIDITY",
                        "INSUFFICIENT_LIQUIDITY",
                        "CLIENT_ORDER_ID_REUSED",
                        "PREVIOUS_ATTEMPT_UNRESOLVED",
                        "NOT_FOUND",
                        "INVALID_CURSOR",
                        "INVALID_WINDOW",
                        "ORDER_BUSY",
                        "CONFLICT",
                        "FORBIDDEN",
                        "RATE_LIMITED",
                        "BETTING_SUSPENDED",
                        "EXPIRY_NOT_AVAILABLE",
                        "PUBLIC_API_DISABLED",
                        "SERVICE_UNAVAILABLE",
                        "UPSTREAM_UNAVAILABLE",
                        "FEED_UNAVAILABLE",
                        "FEED_TIMEOUT",
                        "INTERNAL_ERROR"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "429": {
            "description": "Error. `code` is stable; `message` is for humans and may change.",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Error. `code` is stable; `message` is for humans and may change.",
                  "type": "object",
                  "required": [
                    "code",
                    "message"
                  ],
                  "properties": {
                    "code": {
                      "type": "string",
                      "enum": [
                        "VALIDATION_FAILED",
                        "MODE_REQUIRED",
                        "INVALID_STAKE",
                        "INVALID_PRICE",
                        "INVALID_EXPIRY",
                        "CURRENCY_NOT_SUPPORTED",
                        "BOOKMAKER_NOT_AVAILABLE_VIA_API",
                        "BOOKMAKER_NOT_AVAILABLE",
                        "INVALID_API_KEY",
                        "API_ACCESS_DENIED",
                        "ACCOUNT_NOT_ACTIVE",
                        "BETTING_NOT_ALLOWED",
                        "BALANCE_UNAVAILABLE",
                        "INSUFFICIENT_FUNDS",
                        "MAX_STAKE_PER_FIXTURE_EXCEEDED",
                        "PRICE_NOT_AVAILABLE",
                        "PRICE_CHANGED",
                        "NO_LIQUIDITY",
                        "INSUFFICIENT_LIQUIDITY",
                        "CLIENT_ORDER_ID_REUSED",
                        "PREVIOUS_ATTEMPT_UNRESOLVED",
                        "NOT_FOUND",
                        "INVALID_CURSOR",
                        "INVALID_WINDOW",
                        "ORDER_BUSY",
                        "CONFLICT",
                        "FORBIDDEN",
                        "RATE_LIMITED",
                        "BETTING_SUSPENDED",
                        "EXPIRY_NOT_AVAILABLE",
                        "PUBLIC_API_DISABLED",
                        "SERVICE_UNAVAILABLE",
                        "UPSTREAM_UNAVAILABLE",
                        "FEED_UNAVAILABLE",
                        "FEED_TIMEOUT",
                        "INTERNAL_ERROR"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "502": {
            "description": "Error. `code` is stable; `message` is for humans and may change.",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Error. `code` is stable; `message` is for humans and may change.",
                  "type": "object",
                  "required": [
                    "code",
                    "message"
                  ],
                  "properties": {
                    "code": {
                      "type": "string",
                      "enum": [
                        "VALIDATION_FAILED",
                        "MODE_REQUIRED",
                        "INVALID_STAKE",
                        "INVALID_PRICE",
                        "INVALID_EXPIRY",
                        "CURRENCY_NOT_SUPPORTED",
                        "BOOKMAKER_NOT_AVAILABLE_VIA_API",
                        "BOOKMAKER_NOT_AVAILABLE",
                        "INVALID_API_KEY",
                        "API_ACCESS_DENIED",
                        "ACCOUNT_NOT_ACTIVE",
                        "BETTING_NOT_ALLOWED",
                        "BALANCE_UNAVAILABLE",
                        "INSUFFICIENT_FUNDS",
                        "MAX_STAKE_PER_FIXTURE_EXCEEDED",
                        "PRICE_NOT_AVAILABLE",
                        "PRICE_CHANGED",
                        "NO_LIQUIDITY",
                        "INSUFFICIENT_LIQUIDITY",
                        "CLIENT_ORDER_ID_REUSED",
                        "PREVIOUS_ATTEMPT_UNRESOLVED",
                        "NOT_FOUND",
                        "INVALID_CURSOR",
                        "INVALID_WINDOW",
                        "ORDER_BUSY",
                        "CONFLICT",
                        "FORBIDDEN",
                        "RATE_LIMITED",
                        "BETTING_SUSPENDED",
                        "EXPIRY_NOT_AVAILABLE",
                        "PUBLIC_API_DISABLED",
                        "SERVICE_UNAVAILABLE",
                        "UPSTREAM_UNAVAILABLE",
                        "FEED_UNAVAILABLE",
                        "FEED_TIMEOUT",
                        "INTERNAL_ERROR"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "503": {
            "description": "Error. `code` is stable; `message` is for humans and may change.",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Error. `code` is stable; `message` is for humans and may change.",
                  "type": "object",
                  "required": [
                    "code",
                    "message"
                  ],
                  "properties": {
                    "code": {
                      "type": "string",
                      "enum": [
                        "VALIDATION_FAILED",
                        "MODE_REQUIRED",
                        "INVALID_STAKE",
                        "INVALID_PRICE",
                        "INVALID_EXPIRY",
                        "CURRENCY_NOT_SUPPORTED",
                        "BOOKMAKER_NOT_AVAILABLE_VIA_API",
                        "BOOKMAKER_NOT_AVAILABLE",
                        "INVALID_API_KEY",
                        "API_ACCESS_DENIED",
                        "ACCOUNT_NOT_ACTIVE",
                        "BETTING_NOT_ALLOWED",
                        "BALANCE_UNAVAILABLE",
                        "INSUFFICIENT_FUNDS",
                        "MAX_STAKE_PER_FIXTURE_EXCEEDED",
                        "PRICE_NOT_AVAILABLE",
                        "PRICE_CHANGED",
                        "NO_LIQUIDITY",
                        "INSUFFICIENT_LIQUIDITY",
                        "CLIENT_ORDER_ID_REUSED",
                        "PREVIOUS_ATTEMPT_UNRESOLVED",
                        "NOT_FOUND",
                        "INVALID_CURSOR",
                        "INVALID_WINDOW",
                        "ORDER_BUSY",
                        "CONFLICT",
                        "FORBIDDEN",
                        "RATE_LIMITED",
                        "BETTING_SUSPENDED",
                        "EXPIRY_NOT_AVAILABLE",
                        "PUBLIC_API_DISABLED",
                        "SERVICE_UNAVAILABLE",
                        "UPSTREAM_UNAVAILABLE",
                        "FEED_UNAVAILABLE",
                        "FEED_TIMEOUT",
                        "INTERNAL_ERROR"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "504": {
            "description": "Error. `code` is stable; `message` is for humans and may change.",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Error. `code` is stable; `message` is for humans and may change.",
                  "type": "object",
                  "required": [
                    "code",
                    "message"
                  ],
                  "properties": {
                    "code": {
                      "type": "string",
                      "enum": [
                        "VALIDATION_FAILED",
                        "MODE_REQUIRED",
                        "INVALID_STAKE",
                        "INVALID_PRICE",
                        "INVALID_EXPIRY",
                        "CURRENCY_NOT_SUPPORTED",
                        "BOOKMAKER_NOT_AVAILABLE_VIA_API",
                        "BOOKMAKER_NOT_AVAILABLE",
                        "INVALID_API_KEY",
                        "API_ACCESS_DENIED",
                        "ACCOUNT_NOT_ACTIVE",
                        "BETTING_NOT_ALLOWED",
                        "BALANCE_UNAVAILABLE",
                        "INSUFFICIENT_FUNDS",
                        "MAX_STAKE_PER_FIXTURE_EXCEEDED",
                        "PRICE_NOT_AVAILABLE",
                        "PRICE_CHANGED",
                        "NO_LIQUIDITY",
                        "INSUFFICIENT_LIQUIDITY",
                        "CLIENT_ORDER_ID_REUSED",
                        "PREVIOUS_ATTEMPT_UNRESOLVED",
                        "NOT_FOUND",
                        "INVALID_CURSOR",
                        "INVALID_WINDOW",
                        "ORDER_BUSY",
                        "CONFLICT",
                        "FORBIDDEN",
                        "RATE_LIMITED",
                        "BETTING_SUSPENDED",
                        "EXPIRY_NOT_AVAILABLE",
                        "PUBLIC_API_DISABLED",
                        "SERVICE_UNAVAILABLE",
                        "UPSTREAM_UNAVAILABLE",
                        "FEED_UNAVAILABLE",
                        "FEED_TIMEOUT",
                        "INTERNAL_ERROR"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          }
        }
      }
    },
    "/v1/en/fixtures/live": {
      "get": {
        "summary": "Fixtures Live",
        "description": "OddsPapi `GET /{lang}/fixtures/live`, returned unchanged. The reference shows `en`; see [Languages](/api-reference/overview#languages) for the others.\n\nList live fixtures.\n\nLookup mode: optional filters (`bookmakers`, `sportId`, `tournamentId`).\n\nWhen you pass `bookmakers`, only your account's bookmakers are allowed: asking for another one answers `403 BOOKMAKER_NOT_AVAILABLE`.",
        "operationId": "feed_fixtures_live",
        "tags": [
          "Fixtures"
        ],
        "parameters": [
          {
            "name": "sportId",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "null"
                }
              ]
            },
            "description": "Single sport ID."
          },
          {
            "name": "tournamentId",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "null"
                }
              ]
            },
            "description": "Single tournament ID."
          },
          {
            "name": "bookmakers",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ]
            },
            "description": "Comma/space-separated bookmaker slugs."
          }
        ],
        "responses": {
          "200": {
            "description": "Returns Fixture[] (live only)",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FixtureList"
                },
                "examples": {
                  "example": {
                    "summary": "Fixtures list",
                    "value": [
                      {
                        "fixtureId": "id1000023875243922",
                        "reissuedFixtureId": null,
                        "previousFixtureId": null,
                        "status": {
                          "live": false,
                          "statusId": 2,
                          "statusName": "Finished"
                        },
                        "sport": {
                          "sportId": 10,
                          "sportName": "Soccer"
                        },
                        "tournament": {
                          "tournamentId": 238,
                          "tournamentName": "Liga Portugal",
                          "categoryName": "Portugal"
                        },
                        "season": {
                          "seasonId": 143496,
                          "seasonName": "Liga Portugal 26/27",
                          "seasonRound": 2
                        },
                        "venue": {
                          "venueId": 951,
                          "venueName": "Braga Municipal",
                          "venueLocation": "Braga, Portugal"
                        },
                        "startTime": 1792437300,
                        "trueStartTime": "2026-10-19T19:17:21.664419+00:00",
                        "trueEndTime": "2026-10-19T21:17:33.00531+00:00",
                        "participants": {
                          "participant1Id": 2999,
                          "participant1RotNr": 4132,
                          "participant1Name": "SC Braga",
                          "participant1ShortName": "Braga",
                          "participant1Abbr": "BRA",
                          "participant2Id": 3010,
                          "participant2RotNr": 4133,
                          "participant2Name": "Gil Vicente Barcelos",
                          "participant2ShortName": "Vicente Barcelos",
                          "participant2Abbr": "GIL"
                        },
                        "scores": {
                          "p1": {
                            "period": "p1",
                            "participant1Score": 1,
                            "participant2Score": 0,
                            "updatedAt": "2026-10-19T20:07:15.073052+00:00"
                          },
                          "result": {
                            "period": "result",
                            "participant1Score": 1,
                            "participant2Score": 2,
                            "updatedAt": "2026-10-19T20:54:37.027805+00:00"
                          }
                        },
                        "clock": {
                          "currentPeriod": "p2",
                          "currentTime": "98:02",
                          "remainingTime": null,
                          "remainingTimeInPeriod": null,
                          "stopped": true,
                          "updatedAt": "2026-10-19T21:17:15.236113+00:00"
                        },
                        "expectedPeriods": 2,
                        "periodLength": 45,
                        "externalProviders": {
                          "betgeniusId": 14532333,
                          "betradarId": 75243922,
                          "flashscoreId": "rX6GkgVb",
                          "mollybetId": "2026-10-19,1178,1180",
                          "oddinId": null,
                          "opticoddsId": "20261019047F01A6",
                          "pinnacleId": 1638273301,
                          "sofascoreId": 17243270,
                          "lsportsId": 20502265,
                          "txoddsId": null
                        },
                        "bookmakers": {
                          "draftkings": {
                            "bookmaker": "draftkings",
                            "bookmakerFixtureId": "34825335",
                            "fixturePath": "https://sportsbook.draftkings.com/event/34825335",
                            "hasOdds": true,
                            "staleOdds": false,
                            "staleOddsResponseCode": null,
                            "suspended": true,
                            "participantsRotated": false,
                            "meta": null,
                            "updatedAt": "2026-10-19T21:17:14.329536+00:00"
                          }
                        }
                      }
                    ]
                  }
                }
              }
            }
          },
          "400": {
            "description": "Error. `code` is stable; `message` is for humans and may change.",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Error. `code` is stable; `message` is for humans and may change.",
                  "type": "object",
                  "required": [
                    "code",
                    "message"
                  ],
                  "properties": {
                    "code": {
                      "type": "string",
                      "enum": [
                        "VALIDATION_FAILED",
                        "MODE_REQUIRED",
                        "INVALID_STAKE",
                        "INVALID_PRICE",
                        "INVALID_EXPIRY",
                        "CURRENCY_NOT_SUPPORTED",
                        "BOOKMAKER_NOT_AVAILABLE_VIA_API",
                        "BOOKMAKER_NOT_AVAILABLE",
                        "INVALID_API_KEY",
                        "API_ACCESS_DENIED",
                        "ACCOUNT_NOT_ACTIVE",
                        "BETTING_NOT_ALLOWED",
                        "BALANCE_UNAVAILABLE",
                        "INSUFFICIENT_FUNDS",
                        "MAX_STAKE_PER_FIXTURE_EXCEEDED",
                        "PRICE_NOT_AVAILABLE",
                        "PRICE_CHANGED",
                        "NO_LIQUIDITY",
                        "INSUFFICIENT_LIQUIDITY",
                        "CLIENT_ORDER_ID_REUSED",
                        "PREVIOUS_ATTEMPT_UNRESOLVED",
                        "NOT_FOUND",
                        "INVALID_CURSOR",
                        "INVALID_WINDOW",
                        "ORDER_BUSY",
                        "CONFLICT",
                        "FORBIDDEN",
                        "RATE_LIMITED",
                        "BETTING_SUSPENDED",
                        "EXPIRY_NOT_AVAILABLE",
                        "PUBLIC_API_DISABLED",
                        "SERVICE_UNAVAILABLE",
                        "UPSTREAM_UNAVAILABLE",
                        "FEED_UNAVAILABLE",
                        "FEED_TIMEOUT",
                        "INTERNAL_ERROR"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "401": {
            "description": "Error. `code` is stable; `message` is for humans and may change.",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Error. `code` is stable; `message` is for humans and may change.",
                  "type": "object",
                  "required": [
                    "code",
                    "message"
                  ],
                  "properties": {
                    "code": {
                      "type": "string",
                      "enum": [
                        "VALIDATION_FAILED",
                        "MODE_REQUIRED",
                        "INVALID_STAKE",
                        "INVALID_PRICE",
                        "INVALID_EXPIRY",
                        "CURRENCY_NOT_SUPPORTED",
                        "BOOKMAKER_NOT_AVAILABLE_VIA_API",
                        "BOOKMAKER_NOT_AVAILABLE",
                        "INVALID_API_KEY",
                        "API_ACCESS_DENIED",
                        "ACCOUNT_NOT_ACTIVE",
                        "BETTING_NOT_ALLOWED",
                        "BALANCE_UNAVAILABLE",
                        "INSUFFICIENT_FUNDS",
                        "MAX_STAKE_PER_FIXTURE_EXCEEDED",
                        "PRICE_NOT_AVAILABLE",
                        "PRICE_CHANGED",
                        "NO_LIQUIDITY",
                        "INSUFFICIENT_LIQUIDITY",
                        "CLIENT_ORDER_ID_REUSED",
                        "PREVIOUS_ATTEMPT_UNRESOLVED",
                        "NOT_FOUND",
                        "INVALID_CURSOR",
                        "INVALID_WINDOW",
                        "ORDER_BUSY",
                        "CONFLICT",
                        "FORBIDDEN",
                        "RATE_LIMITED",
                        "BETTING_SUSPENDED",
                        "EXPIRY_NOT_AVAILABLE",
                        "PUBLIC_API_DISABLED",
                        "SERVICE_UNAVAILABLE",
                        "UPSTREAM_UNAVAILABLE",
                        "FEED_UNAVAILABLE",
                        "FEED_TIMEOUT",
                        "INTERNAL_ERROR"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "403": {
            "description": "Error. `code` is stable; `message` is for humans and may change.",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Error. `code` is stable; `message` is for humans and may change.",
                  "type": "object",
                  "required": [
                    "code",
                    "message"
                  ],
                  "properties": {
                    "code": {
                      "type": "string",
                      "enum": [
                        "VALIDATION_FAILED",
                        "MODE_REQUIRED",
                        "INVALID_STAKE",
                        "INVALID_PRICE",
                        "INVALID_EXPIRY",
                        "CURRENCY_NOT_SUPPORTED",
                        "BOOKMAKER_NOT_AVAILABLE_VIA_API",
                        "BOOKMAKER_NOT_AVAILABLE",
                        "INVALID_API_KEY",
                        "API_ACCESS_DENIED",
                        "ACCOUNT_NOT_ACTIVE",
                        "BETTING_NOT_ALLOWED",
                        "BALANCE_UNAVAILABLE",
                        "INSUFFICIENT_FUNDS",
                        "MAX_STAKE_PER_FIXTURE_EXCEEDED",
                        "PRICE_NOT_AVAILABLE",
                        "PRICE_CHANGED",
                        "NO_LIQUIDITY",
                        "INSUFFICIENT_LIQUIDITY",
                        "CLIENT_ORDER_ID_REUSED",
                        "PREVIOUS_ATTEMPT_UNRESOLVED",
                        "NOT_FOUND",
                        "INVALID_CURSOR",
                        "INVALID_WINDOW",
                        "ORDER_BUSY",
                        "CONFLICT",
                        "FORBIDDEN",
                        "RATE_LIMITED",
                        "BETTING_SUSPENDED",
                        "EXPIRY_NOT_AVAILABLE",
                        "PUBLIC_API_DISABLED",
                        "SERVICE_UNAVAILABLE",
                        "UPSTREAM_UNAVAILABLE",
                        "FEED_UNAVAILABLE",
                        "FEED_TIMEOUT",
                        "INTERNAL_ERROR"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "404": {
            "description": "Error. `code` is stable; `message` is for humans and may change.",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Error. `code` is stable; `message` is for humans and may change.",
                  "type": "object",
                  "required": [
                    "code",
                    "message"
                  ],
                  "properties": {
                    "code": {
                      "type": "string",
                      "enum": [
                        "VALIDATION_FAILED",
                        "MODE_REQUIRED",
                        "INVALID_STAKE",
                        "INVALID_PRICE",
                        "INVALID_EXPIRY",
                        "CURRENCY_NOT_SUPPORTED",
                        "BOOKMAKER_NOT_AVAILABLE_VIA_API",
                        "BOOKMAKER_NOT_AVAILABLE",
                        "INVALID_API_KEY",
                        "API_ACCESS_DENIED",
                        "ACCOUNT_NOT_ACTIVE",
                        "BETTING_NOT_ALLOWED",
                        "BALANCE_UNAVAILABLE",
                        "INSUFFICIENT_FUNDS",
                        "MAX_STAKE_PER_FIXTURE_EXCEEDED",
                        "PRICE_NOT_AVAILABLE",
                        "PRICE_CHANGED",
                        "NO_LIQUIDITY",
                        "INSUFFICIENT_LIQUIDITY",
                        "CLIENT_ORDER_ID_REUSED",
                        "PREVIOUS_ATTEMPT_UNRESOLVED",
                        "NOT_FOUND",
                        "INVALID_CURSOR",
                        "INVALID_WINDOW",
                        "ORDER_BUSY",
                        "CONFLICT",
                        "FORBIDDEN",
                        "RATE_LIMITED",
                        "BETTING_SUSPENDED",
                        "EXPIRY_NOT_AVAILABLE",
                        "PUBLIC_API_DISABLED",
                        "SERVICE_UNAVAILABLE",
                        "UPSTREAM_UNAVAILABLE",
                        "FEED_UNAVAILABLE",
                        "FEED_TIMEOUT",
                        "INTERNAL_ERROR"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "429": {
            "description": "Error. `code` is stable; `message` is for humans and may change.",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Error. `code` is stable; `message` is for humans and may change.",
                  "type": "object",
                  "required": [
                    "code",
                    "message"
                  ],
                  "properties": {
                    "code": {
                      "type": "string",
                      "enum": [
                        "VALIDATION_FAILED",
                        "MODE_REQUIRED",
                        "INVALID_STAKE",
                        "INVALID_PRICE",
                        "INVALID_EXPIRY",
                        "CURRENCY_NOT_SUPPORTED",
                        "BOOKMAKER_NOT_AVAILABLE_VIA_API",
                        "BOOKMAKER_NOT_AVAILABLE",
                        "INVALID_API_KEY",
                        "API_ACCESS_DENIED",
                        "ACCOUNT_NOT_ACTIVE",
                        "BETTING_NOT_ALLOWED",
                        "BALANCE_UNAVAILABLE",
                        "INSUFFICIENT_FUNDS",
                        "MAX_STAKE_PER_FIXTURE_EXCEEDED",
                        "PRICE_NOT_AVAILABLE",
                        "PRICE_CHANGED",
                        "NO_LIQUIDITY",
                        "INSUFFICIENT_LIQUIDITY",
                        "CLIENT_ORDER_ID_REUSED",
                        "PREVIOUS_ATTEMPT_UNRESOLVED",
                        "NOT_FOUND",
                        "INVALID_CURSOR",
                        "INVALID_WINDOW",
                        "ORDER_BUSY",
                        "CONFLICT",
                        "FORBIDDEN",
                        "RATE_LIMITED",
                        "BETTING_SUSPENDED",
                        "EXPIRY_NOT_AVAILABLE",
                        "PUBLIC_API_DISABLED",
                        "SERVICE_UNAVAILABLE",
                        "UPSTREAM_UNAVAILABLE",
                        "FEED_UNAVAILABLE",
                        "FEED_TIMEOUT",
                        "INTERNAL_ERROR"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "502": {
            "description": "Error. `code` is stable; `message` is for humans and may change.",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Error. `code` is stable; `message` is for humans and may change.",
                  "type": "object",
                  "required": [
                    "code",
                    "message"
                  ],
                  "properties": {
                    "code": {
                      "type": "string",
                      "enum": [
                        "VALIDATION_FAILED",
                        "MODE_REQUIRED",
                        "INVALID_STAKE",
                        "INVALID_PRICE",
                        "INVALID_EXPIRY",
                        "CURRENCY_NOT_SUPPORTED",
                        "BOOKMAKER_NOT_AVAILABLE_VIA_API",
                        "BOOKMAKER_NOT_AVAILABLE",
                        "INVALID_API_KEY",
                        "API_ACCESS_DENIED",
                        "ACCOUNT_NOT_ACTIVE",
                        "BETTING_NOT_ALLOWED",
                        "BALANCE_UNAVAILABLE",
                        "INSUFFICIENT_FUNDS",
                        "MAX_STAKE_PER_FIXTURE_EXCEEDED",
                        "PRICE_NOT_AVAILABLE",
                        "PRICE_CHANGED",
                        "NO_LIQUIDITY",
                        "INSUFFICIENT_LIQUIDITY",
                        "CLIENT_ORDER_ID_REUSED",
                        "PREVIOUS_ATTEMPT_UNRESOLVED",
                        "NOT_FOUND",
                        "INVALID_CURSOR",
                        "INVALID_WINDOW",
                        "ORDER_BUSY",
                        "CONFLICT",
                        "FORBIDDEN",
                        "RATE_LIMITED",
                        "BETTING_SUSPENDED",
                        "EXPIRY_NOT_AVAILABLE",
                        "PUBLIC_API_DISABLED",
                        "SERVICE_UNAVAILABLE",
                        "UPSTREAM_UNAVAILABLE",
                        "FEED_UNAVAILABLE",
                        "FEED_TIMEOUT",
                        "INTERNAL_ERROR"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "503": {
            "description": "Error. `code` is stable; `message` is for humans and may change.",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Error. `code` is stable; `message` is for humans and may change.",
                  "type": "object",
                  "required": [
                    "code",
                    "message"
                  ],
                  "properties": {
                    "code": {
                      "type": "string",
                      "enum": [
                        "VALIDATION_FAILED",
                        "MODE_REQUIRED",
                        "INVALID_STAKE",
                        "INVALID_PRICE",
                        "INVALID_EXPIRY",
                        "CURRENCY_NOT_SUPPORTED",
                        "BOOKMAKER_NOT_AVAILABLE_VIA_API",
                        "BOOKMAKER_NOT_AVAILABLE",
                        "INVALID_API_KEY",
                        "API_ACCESS_DENIED",
                        "ACCOUNT_NOT_ACTIVE",
                        "BETTING_NOT_ALLOWED",
                        "BALANCE_UNAVAILABLE",
                        "INSUFFICIENT_FUNDS",
                        "MAX_STAKE_PER_FIXTURE_EXCEEDED",
                        "PRICE_NOT_AVAILABLE",
                        "PRICE_CHANGED",
                        "NO_LIQUIDITY",
                        "INSUFFICIENT_LIQUIDITY",
                        "CLIENT_ORDER_ID_REUSED",
                        "PREVIOUS_ATTEMPT_UNRESOLVED",
                        "NOT_FOUND",
                        "INVALID_CURSOR",
                        "INVALID_WINDOW",
                        "ORDER_BUSY",
                        "CONFLICT",
                        "FORBIDDEN",
                        "RATE_LIMITED",
                        "BETTING_SUSPENDED",
                        "EXPIRY_NOT_AVAILABLE",
                        "PUBLIC_API_DISABLED",
                        "SERVICE_UNAVAILABLE",
                        "UPSTREAM_UNAVAILABLE",
                        "FEED_UNAVAILABLE",
                        "FEED_TIMEOUT",
                        "INTERNAL_ERROR"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "504": {
            "description": "Error. `code` is stable; `message` is for humans and may change.",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Error. `code` is stable; `message` is for humans and may change.",
                  "type": "object",
                  "required": [
                    "code",
                    "message"
                  ],
                  "properties": {
                    "code": {
                      "type": "string",
                      "enum": [
                        "VALIDATION_FAILED",
                        "MODE_REQUIRED",
                        "INVALID_STAKE",
                        "INVALID_PRICE",
                        "INVALID_EXPIRY",
                        "CURRENCY_NOT_SUPPORTED",
                        "BOOKMAKER_NOT_AVAILABLE_VIA_API",
                        "BOOKMAKER_NOT_AVAILABLE",
                        "INVALID_API_KEY",
                        "API_ACCESS_DENIED",
                        "ACCOUNT_NOT_ACTIVE",
                        "BETTING_NOT_ALLOWED",
                        "BALANCE_UNAVAILABLE",
                        "INSUFFICIENT_FUNDS",
                        "MAX_STAKE_PER_FIXTURE_EXCEEDED",
                        "PRICE_NOT_AVAILABLE",
                        "PRICE_CHANGED",
                        "NO_LIQUIDITY",
                        "INSUFFICIENT_LIQUIDITY",
                        "CLIENT_ORDER_ID_REUSED",
                        "PREVIOUS_ATTEMPT_UNRESOLVED",
                        "NOT_FOUND",
                        "INVALID_CURSOR",
                        "INVALID_WINDOW",
                        "ORDER_BUSY",
                        "CONFLICT",
                        "FORBIDDEN",
                        "RATE_LIMITED",
                        "BETTING_SUSPENDED",
                        "EXPIRY_NOT_AVAILABLE",
                        "PUBLIC_API_DISABLED",
                        "SERVICE_UNAVAILABLE",
                        "UPSTREAM_UNAVAILABLE",
                        "FEED_UNAVAILABLE",
                        "FEED_TIMEOUT",
                        "INTERNAL_ERROR"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          }
        }
      }
    },
    "/v1/en/fixtures/search": {
      "get": {
        "summary": "Search fixtures",
        "description": "OddsPapi `GET /{lang}/fixtures/search`, returned unchanged. The reference shows `en`; see [Languages](/api-reference/overview#languages) for the others.\n\nSearches fixtures by name. OddsPapi does not describe this path in its reference yet.",
        "operationId": "feed_fixtures_search",
        "tags": [
          "Fixtures"
        ],
        "parameters": [
          {
            "name": "query",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            },
            "description": "Forwarded to OddsPapi unchanged."
          },
          {
            "name": "startTimeFrom",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            },
            "description": "Forwarded to OddsPapi unchanged."
          },
          {
            "name": "startTimeTo",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            },
            "description": "Forwarded to OddsPapi unchanged."
          }
        ],
        "responses": {
          "200": {
            "description": "The OddsPapi response, unchanged",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "400": {
            "description": "Error. `code` is stable; `message` is for humans and may change.",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Error. `code` is stable; `message` is for humans and may change.",
                  "type": "object",
                  "required": [
                    "code",
                    "message"
                  ],
                  "properties": {
                    "code": {
                      "type": "string",
                      "enum": [
                        "VALIDATION_FAILED",
                        "MODE_REQUIRED",
                        "INVALID_STAKE",
                        "INVALID_PRICE",
                        "INVALID_EXPIRY",
                        "CURRENCY_NOT_SUPPORTED",
                        "BOOKMAKER_NOT_AVAILABLE_VIA_API",
                        "BOOKMAKER_NOT_AVAILABLE",
                        "INVALID_API_KEY",
                        "API_ACCESS_DENIED",
                        "ACCOUNT_NOT_ACTIVE",
                        "BETTING_NOT_ALLOWED",
                        "BALANCE_UNAVAILABLE",
                        "INSUFFICIENT_FUNDS",
                        "MAX_STAKE_PER_FIXTURE_EXCEEDED",
                        "PRICE_NOT_AVAILABLE",
                        "PRICE_CHANGED",
                        "NO_LIQUIDITY",
                        "INSUFFICIENT_LIQUIDITY",
                        "CLIENT_ORDER_ID_REUSED",
                        "PREVIOUS_ATTEMPT_UNRESOLVED",
                        "NOT_FOUND",
                        "INVALID_CURSOR",
                        "INVALID_WINDOW",
                        "ORDER_BUSY",
                        "CONFLICT",
                        "FORBIDDEN",
                        "RATE_LIMITED",
                        "BETTING_SUSPENDED",
                        "EXPIRY_NOT_AVAILABLE",
                        "PUBLIC_API_DISABLED",
                        "SERVICE_UNAVAILABLE",
                        "UPSTREAM_UNAVAILABLE",
                        "FEED_UNAVAILABLE",
                        "FEED_TIMEOUT",
                        "INTERNAL_ERROR"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "401": {
            "description": "Error. `code` is stable; `message` is for humans and may change.",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Error. `code` is stable; `message` is for humans and may change.",
                  "type": "object",
                  "required": [
                    "code",
                    "message"
                  ],
                  "properties": {
                    "code": {
                      "type": "string",
                      "enum": [
                        "VALIDATION_FAILED",
                        "MODE_REQUIRED",
                        "INVALID_STAKE",
                        "INVALID_PRICE",
                        "INVALID_EXPIRY",
                        "CURRENCY_NOT_SUPPORTED",
                        "BOOKMAKER_NOT_AVAILABLE_VIA_API",
                        "BOOKMAKER_NOT_AVAILABLE",
                        "INVALID_API_KEY",
                        "API_ACCESS_DENIED",
                        "ACCOUNT_NOT_ACTIVE",
                        "BETTING_NOT_ALLOWED",
                        "BALANCE_UNAVAILABLE",
                        "INSUFFICIENT_FUNDS",
                        "MAX_STAKE_PER_FIXTURE_EXCEEDED",
                        "PRICE_NOT_AVAILABLE",
                        "PRICE_CHANGED",
                        "NO_LIQUIDITY",
                        "INSUFFICIENT_LIQUIDITY",
                        "CLIENT_ORDER_ID_REUSED",
                        "PREVIOUS_ATTEMPT_UNRESOLVED",
                        "NOT_FOUND",
                        "INVALID_CURSOR",
                        "INVALID_WINDOW",
                        "ORDER_BUSY",
                        "CONFLICT",
                        "FORBIDDEN",
                        "RATE_LIMITED",
                        "BETTING_SUSPENDED",
                        "EXPIRY_NOT_AVAILABLE",
                        "PUBLIC_API_DISABLED",
                        "SERVICE_UNAVAILABLE",
                        "UPSTREAM_UNAVAILABLE",
                        "FEED_UNAVAILABLE",
                        "FEED_TIMEOUT",
                        "INTERNAL_ERROR"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "403": {
            "description": "Error. `code` is stable; `message` is for humans and may change.",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Error. `code` is stable; `message` is for humans and may change.",
                  "type": "object",
                  "required": [
                    "code",
                    "message"
                  ],
                  "properties": {
                    "code": {
                      "type": "string",
                      "enum": [
                        "VALIDATION_FAILED",
                        "MODE_REQUIRED",
                        "INVALID_STAKE",
                        "INVALID_PRICE",
                        "INVALID_EXPIRY",
                        "CURRENCY_NOT_SUPPORTED",
                        "BOOKMAKER_NOT_AVAILABLE_VIA_API",
                        "BOOKMAKER_NOT_AVAILABLE",
                        "INVALID_API_KEY",
                        "API_ACCESS_DENIED",
                        "ACCOUNT_NOT_ACTIVE",
                        "BETTING_NOT_ALLOWED",
                        "BALANCE_UNAVAILABLE",
                        "INSUFFICIENT_FUNDS",
                        "MAX_STAKE_PER_FIXTURE_EXCEEDED",
                        "PRICE_NOT_AVAILABLE",
                        "PRICE_CHANGED",
                        "NO_LIQUIDITY",
                        "INSUFFICIENT_LIQUIDITY",
                        "CLIENT_ORDER_ID_REUSED",
                        "PREVIOUS_ATTEMPT_UNRESOLVED",
                        "NOT_FOUND",
                        "INVALID_CURSOR",
                        "INVALID_WINDOW",
                        "ORDER_BUSY",
                        "CONFLICT",
                        "FORBIDDEN",
                        "RATE_LIMITED",
                        "BETTING_SUSPENDED",
                        "EXPIRY_NOT_AVAILABLE",
                        "PUBLIC_API_DISABLED",
                        "SERVICE_UNAVAILABLE",
                        "UPSTREAM_UNAVAILABLE",
                        "FEED_UNAVAILABLE",
                        "FEED_TIMEOUT",
                        "INTERNAL_ERROR"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "404": {
            "description": "Error. `code` is stable; `message` is for humans and may change.",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Error. `code` is stable; `message` is for humans and may change.",
                  "type": "object",
                  "required": [
                    "code",
                    "message"
                  ],
                  "properties": {
                    "code": {
                      "type": "string",
                      "enum": [
                        "VALIDATION_FAILED",
                        "MODE_REQUIRED",
                        "INVALID_STAKE",
                        "INVALID_PRICE",
                        "INVALID_EXPIRY",
                        "CURRENCY_NOT_SUPPORTED",
                        "BOOKMAKER_NOT_AVAILABLE_VIA_API",
                        "BOOKMAKER_NOT_AVAILABLE",
                        "INVALID_API_KEY",
                        "API_ACCESS_DENIED",
                        "ACCOUNT_NOT_ACTIVE",
                        "BETTING_NOT_ALLOWED",
                        "BALANCE_UNAVAILABLE",
                        "INSUFFICIENT_FUNDS",
                        "MAX_STAKE_PER_FIXTURE_EXCEEDED",
                        "PRICE_NOT_AVAILABLE",
                        "PRICE_CHANGED",
                        "NO_LIQUIDITY",
                        "INSUFFICIENT_LIQUIDITY",
                        "CLIENT_ORDER_ID_REUSED",
                        "PREVIOUS_ATTEMPT_UNRESOLVED",
                        "NOT_FOUND",
                        "INVALID_CURSOR",
                        "INVALID_WINDOW",
                        "ORDER_BUSY",
                        "CONFLICT",
                        "FORBIDDEN",
                        "RATE_LIMITED",
                        "BETTING_SUSPENDED",
                        "EXPIRY_NOT_AVAILABLE",
                        "PUBLIC_API_DISABLED",
                        "SERVICE_UNAVAILABLE",
                        "UPSTREAM_UNAVAILABLE",
                        "FEED_UNAVAILABLE",
                        "FEED_TIMEOUT",
                        "INTERNAL_ERROR"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "429": {
            "description": "Error. `code` is stable; `message` is for humans and may change.",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Error. `code` is stable; `message` is for humans and may change.",
                  "type": "object",
                  "required": [
                    "code",
                    "message"
                  ],
                  "properties": {
                    "code": {
                      "type": "string",
                      "enum": [
                        "VALIDATION_FAILED",
                        "MODE_REQUIRED",
                        "INVALID_STAKE",
                        "INVALID_PRICE",
                        "INVALID_EXPIRY",
                        "CURRENCY_NOT_SUPPORTED",
                        "BOOKMAKER_NOT_AVAILABLE_VIA_API",
                        "BOOKMAKER_NOT_AVAILABLE",
                        "INVALID_API_KEY",
                        "API_ACCESS_DENIED",
                        "ACCOUNT_NOT_ACTIVE",
                        "BETTING_NOT_ALLOWED",
                        "BALANCE_UNAVAILABLE",
                        "INSUFFICIENT_FUNDS",
                        "MAX_STAKE_PER_FIXTURE_EXCEEDED",
                        "PRICE_NOT_AVAILABLE",
                        "PRICE_CHANGED",
                        "NO_LIQUIDITY",
                        "INSUFFICIENT_LIQUIDITY",
                        "CLIENT_ORDER_ID_REUSED",
                        "PREVIOUS_ATTEMPT_UNRESOLVED",
                        "NOT_FOUND",
                        "INVALID_CURSOR",
                        "INVALID_WINDOW",
                        "ORDER_BUSY",
                        "CONFLICT",
                        "FORBIDDEN",
                        "RATE_LIMITED",
                        "BETTING_SUSPENDED",
                        "EXPIRY_NOT_AVAILABLE",
                        "PUBLIC_API_DISABLED",
                        "SERVICE_UNAVAILABLE",
                        "UPSTREAM_UNAVAILABLE",
                        "FEED_UNAVAILABLE",
                        "FEED_TIMEOUT",
                        "INTERNAL_ERROR"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "502": {
            "description": "Error. `code` is stable; `message` is for humans and may change.",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Error. `code` is stable; `message` is for humans and may change.",
                  "type": "object",
                  "required": [
                    "code",
                    "message"
                  ],
                  "properties": {
                    "code": {
                      "type": "string",
                      "enum": [
                        "VALIDATION_FAILED",
                        "MODE_REQUIRED",
                        "INVALID_STAKE",
                        "INVALID_PRICE",
                        "INVALID_EXPIRY",
                        "CURRENCY_NOT_SUPPORTED",
                        "BOOKMAKER_NOT_AVAILABLE_VIA_API",
                        "BOOKMAKER_NOT_AVAILABLE",
                        "INVALID_API_KEY",
                        "API_ACCESS_DENIED",
                        "ACCOUNT_NOT_ACTIVE",
                        "BETTING_NOT_ALLOWED",
                        "BALANCE_UNAVAILABLE",
                        "INSUFFICIENT_FUNDS",
                        "MAX_STAKE_PER_FIXTURE_EXCEEDED",
                        "PRICE_NOT_AVAILABLE",
                        "PRICE_CHANGED",
                        "NO_LIQUIDITY",
                        "INSUFFICIENT_LIQUIDITY",
                        "CLIENT_ORDER_ID_REUSED",
                        "PREVIOUS_ATTEMPT_UNRESOLVED",
                        "NOT_FOUND",
                        "INVALID_CURSOR",
                        "INVALID_WINDOW",
                        "ORDER_BUSY",
                        "CONFLICT",
                        "FORBIDDEN",
                        "RATE_LIMITED",
                        "BETTING_SUSPENDED",
                        "EXPIRY_NOT_AVAILABLE",
                        "PUBLIC_API_DISABLED",
                        "SERVICE_UNAVAILABLE",
                        "UPSTREAM_UNAVAILABLE",
                        "FEED_UNAVAILABLE",
                        "FEED_TIMEOUT",
                        "INTERNAL_ERROR"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "503": {
            "description": "Error. `code` is stable; `message` is for humans and may change.",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Error. `code` is stable; `message` is for humans and may change.",
                  "type": "object",
                  "required": [
                    "code",
                    "message"
                  ],
                  "properties": {
                    "code": {
                      "type": "string",
                      "enum": [
                        "VALIDATION_FAILED",
                        "MODE_REQUIRED",
                        "INVALID_STAKE",
                        "INVALID_PRICE",
                        "INVALID_EXPIRY",
                        "CURRENCY_NOT_SUPPORTED",
                        "BOOKMAKER_NOT_AVAILABLE_VIA_API",
                        "BOOKMAKER_NOT_AVAILABLE",
                        "INVALID_API_KEY",
                        "API_ACCESS_DENIED",
                        "ACCOUNT_NOT_ACTIVE",
                        "BETTING_NOT_ALLOWED",
                        "BALANCE_UNAVAILABLE",
                        "INSUFFICIENT_FUNDS",
                        "MAX_STAKE_PER_FIXTURE_EXCEEDED",
                        "PRICE_NOT_AVAILABLE",
                        "PRICE_CHANGED",
                        "NO_LIQUIDITY",
                        "INSUFFICIENT_LIQUIDITY",
                        "CLIENT_ORDER_ID_REUSED",
                        "PREVIOUS_ATTEMPT_UNRESOLVED",
                        "NOT_FOUND",
                        "INVALID_CURSOR",
                        "INVALID_WINDOW",
                        "ORDER_BUSY",
                        "CONFLICT",
                        "FORBIDDEN",
                        "RATE_LIMITED",
                        "BETTING_SUSPENDED",
                        "EXPIRY_NOT_AVAILABLE",
                        "PUBLIC_API_DISABLED",
                        "SERVICE_UNAVAILABLE",
                        "UPSTREAM_UNAVAILABLE",
                        "FEED_UNAVAILABLE",
                        "FEED_TIMEOUT",
                        "INTERNAL_ERROR"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "504": {
            "description": "Error. `code` is stable; `message` is for humans and may change.",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Error. `code` is stable; `message` is for humans and may change.",
                  "type": "object",
                  "required": [
                    "code",
                    "message"
                  ],
                  "properties": {
                    "code": {
                      "type": "string",
                      "enum": [
                        "VALIDATION_FAILED",
                        "MODE_REQUIRED",
                        "INVALID_STAKE",
                        "INVALID_PRICE",
                        "INVALID_EXPIRY",
                        "CURRENCY_NOT_SUPPORTED",
                        "BOOKMAKER_NOT_AVAILABLE_VIA_API",
                        "BOOKMAKER_NOT_AVAILABLE",
                        "INVALID_API_KEY",
                        "API_ACCESS_DENIED",
                        "ACCOUNT_NOT_ACTIVE",
                        "BETTING_NOT_ALLOWED",
                        "BALANCE_UNAVAILABLE",
                        "INSUFFICIENT_FUNDS",
                        "MAX_STAKE_PER_FIXTURE_EXCEEDED",
                        "PRICE_NOT_AVAILABLE",
                        "PRICE_CHANGED",
                        "NO_LIQUIDITY",
                        "INSUFFICIENT_LIQUIDITY",
                        "CLIENT_ORDER_ID_REUSED",
                        "PREVIOUS_ATTEMPT_UNRESOLVED",
                        "NOT_FOUND",
                        "INVALID_CURSOR",
                        "INVALID_WINDOW",
                        "ORDER_BUSY",
                        "CONFLICT",
                        "FORBIDDEN",
                        "RATE_LIMITED",
                        "BETTING_SUSPENDED",
                        "EXPIRY_NOT_AVAILABLE",
                        "PUBLIC_API_DISABLED",
                        "SERVICE_UNAVAILABLE",
                        "UPSTREAM_UNAVAILABLE",
                        "FEED_UNAVAILABLE",
                        "FEED_TIMEOUT",
                        "INTERNAL_ERROR"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          }
        }
      }
    },
    "/v1/en/fixtures/today": {
      "get": {
        "summary": "Fixtures Today",
        "description": "OddsPapi `GET /{lang}/fixtures/today`, returned unchanged. The reference shows `en`; see [Languages](/api-reference/overview#languages) for the others.\n\nList today's fixtures.\n\nLookup mode: optional filters (`bookmakers`, `sportId`, `tournamentId`).\n\nWhen you pass `bookmakers`, only your account's bookmakers are allowed: asking for another one answers `403 BOOKMAKER_NOT_AVAILABLE`.",
        "operationId": "feed_fixtures_today",
        "tags": [
          "Fixtures"
        ],
        "parameters": [
          {
            "name": "sportId",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "null"
                }
              ]
            },
            "description": "Single sport ID."
          },
          {
            "name": "tournamentId",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "null"
                }
              ]
            },
            "description": "Single tournament ID."
          },
          {
            "name": "bookmakers",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ]
            },
            "description": "Comma/space-separated bookmaker slugs."
          }
        ],
        "responses": {
          "200": {
            "description": "Returns Fixture[] (fixture meta objects)",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FixtureList"
                },
                "examples": {
                  "example": {
                    "summary": "Today's fixtures",
                    "value": [
                      {
                        "fixtureId": "id1400003171515924",
                        "reissuedFixtureId": null,
                        "previousFixtureId": null,
                        "status": {
                          "live": false,
                          "statusId": 0,
                          "statusName": "Pre-Game"
                        },
                        "sport": {
                          "sportId": 14,
                          "sportName": "American Football"
                        },
                        "tournament": {
                          "tournamentId": 31,
                          "tournamentName": "NFL",
                          "categoryName": "USA"
                        },
                        "season": {
                          "seasonId": 139396,
                          "seasonName": "NFL 26/27",
                          "seasonRound": 6
                        },
                        "venue": {
                          "venueId": 15672,
                          "venueName": "Levi's Stadium",
                          "venueLocation": "Santa Clara, CA, USA"
                        },
                        "startTime": 1792455300,
                        "trueStartTime": null,
                        "trueEndTime": null,
                        "participants": {
                          "participant1Id": 4389,
                          "participant1RotNr": 141,
                          "participant1Name": "San Francisco 49ers",
                          "participant1ShortName": "San Francisco",
                          "participant1Abbr": "SF",
                          "participant2Id": 4432,
                          "participant2RotNr": 140,
                          "participant2Name": "Washington Commanders",
                          "participant2ShortName": "Washington",
                          "participant2Abbr": "WAS"
                        },
                        "scores": {},
                        "clock": {
                          "currentPeriod": null,
                          "currentTime": null,
                          "remainingTime": null,
                          "remainingTimeInPeriod": null,
                          "stopped": null,
                          "updatedAt": null
                        },
                        "expectedPeriods": 4,
                        "periodLength": 15,
                        "externalProviders": {
                          "betgeniusId": null,
                          "betradarId": 71515924,
                          "flashscoreId": "Op9YIhXq",
                          "mollybetId": "2026-10-20,21640,10050390",
                          "oddinId": null,
                          "opticoddsId": "20261020BC02533C",
                          "pinnacleId": 1637707533,
                          "sofascoreId": 16183736,
                          "lsportsId": 19776801,
                          "txoddsId": null
                        },
                        "bookmakers": {
                          "pinnacle": {
                            "bookmaker": "pinnacle",
                            "bookmakerFixtureId": "1637707533",
                            "fixturePath": "https://www.pinnacle.com/en/e/e/e/1637707533",
                            "hasOdds": true,
                            "staleOdds": false,
                            "staleOddsResponseCode": 502,
                            "suspended": false,
                            "participantsRotated": false,
                            "meta": null,
                            "updatedAt": "2026-10-17T14:00:01.921523+00:00"
                          }
                        }
                      }
                    ]
                  }
                }
              }
            }
          },
          "400": {
            "description": "Error. `code` is stable; `message` is for humans and may change.",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Error. `code` is stable; `message` is for humans and may change.",
                  "type": "object",
                  "required": [
                    "code",
                    "message"
                  ],
                  "properties": {
                    "code": {
                      "type": "string",
                      "enum": [
                        "VALIDATION_FAILED",
                        "MODE_REQUIRED",
                        "INVALID_STAKE",
                        "INVALID_PRICE",
                        "INVALID_EXPIRY",
                        "CURRENCY_NOT_SUPPORTED",
                        "BOOKMAKER_NOT_AVAILABLE_VIA_API",
                        "BOOKMAKER_NOT_AVAILABLE",
                        "INVALID_API_KEY",
                        "API_ACCESS_DENIED",
                        "ACCOUNT_NOT_ACTIVE",
                        "BETTING_NOT_ALLOWED",
                        "BALANCE_UNAVAILABLE",
                        "INSUFFICIENT_FUNDS",
                        "MAX_STAKE_PER_FIXTURE_EXCEEDED",
                        "PRICE_NOT_AVAILABLE",
                        "PRICE_CHANGED",
                        "NO_LIQUIDITY",
                        "INSUFFICIENT_LIQUIDITY",
                        "CLIENT_ORDER_ID_REUSED",
                        "PREVIOUS_ATTEMPT_UNRESOLVED",
                        "NOT_FOUND",
                        "INVALID_CURSOR",
                        "INVALID_WINDOW",
                        "ORDER_BUSY",
                        "CONFLICT",
                        "FORBIDDEN",
                        "RATE_LIMITED",
                        "BETTING_SUSPENDED",
                        "EXPIRY_NOT_AVAILABLE",
                        "PUBLIC_API_DISABLED",
                        "SERVICE_UNAVAILABLE",
                        "UPSTREAM_UNAVAILABLE",
                        "FEED_UNAVAILABLE",
                        "FEED_TIMEOUT",
                        "INTERNAL_ERROR"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "401": {
            "description": "Error. `code` is stable; `message` is for humans and may change.",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Error. `code` is stable; `message` is for humans and may change.",
                  "type": "object",
                  "required": [
                    "code",
                    "message"
                  ],
                  "properties": {
                    "code": {
                      "type": "string",
                      "enum": [
                        "VALIDATION_FAILED",
                        "MODE_REQUIRED",
                        "INVALID_STAKE",
                        "INVALID_PRICE",
                        "INVALID_EXPIRY",
                        "CURRENCY_NOT_SUPPORTED",
                        "BOOKMAKER_NOT_AVAILABLE_VIA_API",
                        "BOOKMAKER_NOT_AVAILABLE",
                        "INVALID_API_KEY",
                        "API_ACCESS_DENIED",
                        "ACCOUNT_NOT_ACTIVE",
                        "BETTING_NOT_ALLOWED",
                        "BALANCE_UNAVAILABLE",
                        "INSUFFICIENT_FUNDS",
                        "MAX_STAKE_PER_FIXTURE_EXCEEDED",
                        "PRICE_NOT_AVAILABLE",
                        "PRICE_CHANGED",
                        "NO_LIQUIDITY",
                        "INSUFFICIENT_LIQUIDITY",
                        "CLIENT_ORDER_ID_REUSED",
                        "PREVIOUS_ATTEMPT_UNRESOLVED",
                        "NOT_FOUND",
                        "INVALID_CURSOR",
                        "INVALID_WINDOW",
                        "ORDER_BUSY",
                        "CONFLICT",
                        "FORBIDDEN",
                        "RATE_LIMITED",
                        "BETTING_SUSPENDED",
                        "EXPIRY_NOT_AVAILABLE",
                        "PUBLIC_API_DISABLED",
                        "SERVICE_UNAVAILABLE",
                        "UPSTREAM_UNAVAILABLE",
                        "FEED_UNAVAILABLE",
                        "FEED_TIMEOUT",
                        "INTERNAL_ERROR"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "403": {
            "description": "Error. `code` is stable; `message` is for humans and may change.",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Error. `code` is stable; `message` is for humans and may change.",
                  "type": "object",
                  "required": [
                    "code",
                    "message"
                  ],
                  "properties": {
                    "code": {
                      "type": "string",
                      "enum": [
                        "VALIDATION_FAILED",
                        "MODE_REQUIRED",
                        "INVALID_STAKE",
                        "INVALID_PRICE",
                        "INVALID_EXPIRY",
                        "CURRENCY_NOT_SUPPORTED",
                        "BOOKMAKER_NOT_AVAILABLE_VIA_API",
                        "BOOKMAKER_NOT_AVAILABLE",
                        "INVALID_API_KEY",
                        "API_ACCESS_DENIED",
                        "ACCOUNT_NOT_ACTIVE",
                        "BETTING_NOT_ALLOWED",
                        "BALANCE_UNAVAILABLE",
                        "INSUFFICIENT_FUNDS",
                        "MAX_STAKE_PER_FIXTURE_EXCEEDED",
                        "PRICE_NOT_AVAILABLE",
                        "PRICE_CHANGED",
                        "NO_LIQUIDITY",
                        "INSUFFICIENT_LIQUIDITY",
                        "CLIENT_ORDER_ID_REUSED",
                        "PREVIOUS_ATTEMPT_UNRESOLVED",
                        "NOT_FOUND",
                        "INVALID_CURSOR",
                        "INVALID_WINDOW",
                        "ORDER_BUSY",
                        "CONFLICT",
                        "FORBIDDEN",
                        "RATE_LIMITED",
                        "BETTING_SUSPENDED",
                        "EXPIRY_NOT_AVAILABLE",
                        "PUBLIC_API_DISABLED",
                        "SERVICE_UNAVAILABLE",
                        "UPSTREAM_UNAVAILABLE",
                        "FEED_UNAVAILABLE",
                        "FEED_TIMEOUT",
                        "INTERNAL_ERROR"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "404": {
            "description": "Error. `code` is stable; `message` is for humans and may change.",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Error. `code` is stable; `message` is for humans and may change.",
                  "type": "object",
                  "required": [
                    "code",
                    "message"
                  ],
                  "properties": {
                    "code": {
                      "type": "string",
                      "enum": [
                        "VALIDATION_FAILED",
                        "MODE_REQUIRED",
                        "INVALID_STAKE",
                        "INVALID_PRICE",
                        "INVALID_EXPIRY",
                        "CURRENCY_NOT_SUPPORTED",
                        "BOOKMAKER_NOT_AVAILABLE_VIA_API",
                        "BOOKMAKER_NOT_AVAILABLE",
                        "INVALID_API_KEY",
                        "API_ACCESS_DENIED",
                        "ACCOUNT_NOT_ACTIVE",
                        "BETTING_NOT_ALLOWED",
                        "BALANCE_UNAVAILABLE",
                        "INSUFFICIENT_FUNDS",
                        "MAX_STAKE_PER_FIXTURE_EXCEEDED",
                        "PRICE_NOT_AVAILABLE",
                        "PRICE_CHANGED",
                        "NO_LIQUIDITY",
                        "INSUFFICIENT_LIQUIDITY",
                        "CLIENT_ORDER_ID_REUSED",
                        "PREVIOUS_ATTEMPT_UNRESOLVED",
                        "NOT_FOUND",
                        "INVALID_CURSOR",
                        "INVALID_WINDOW",
                        "ORDER_BUSY",
                        "CONFLICT",
                        "FORBIDDEN",
                        "RATE_LIMITED",
                        "BETTING_SUSPENDED",
                        "EXPIRY_NOT_AVAILABLE",
                        "PUBLIC_API_DISABLED",
                        "SERVICE_UNAVAILABLE",
                        "UPSTREAM_UNAVAILABLE",
                        "FEED_UNAVAILABLE",
                        "FEED_TIMEOUT",
                        "INTERNAL_ERROR"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "429": {
            "description": "Error. `code` is stable; `message` is for humans and may change.",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Error. `code` is stable; `message` is for humans and may change.",
                  "type": "object",
                  "required": [
                    "code",
                    "message"
                  ],
                  "properties": {
                    "code": {
                      "type": "string",
                      "enum": [
                        "VALIDATION_FAILED",
                        "MODE_REQUIRED",
                        "INVALID_STAKE",
                        "INVALID_PRICE",
                        "INVALID_EXPIRY",
                        "CURRENCY_NOT_SUPPORTED",
                        "BOOKMAKER_NOT_AVAILABLE_VIA_API",
                        "BOOKMAKER_NOT_AVAILABLE",
                        "INVALID_API_KEY",
                        "API_ACCESS_DENIED",
                        "ACCOUNT_NOT_ACTIVE",
                        "BETTING_NOT_ALLOWED",
                        "BALANCE_UNAVAILABLE",
                        "INSUFFICIENT_FUNDS",
                        "MAX_STAKE_PER_FIXTURE_EXCEEDED",
                        "PRICE_NOT_AVAILABLE",
                        "PRICE_CHANGED",
                        "NO_LIQUIDITY",
                        "INSUFFICIENT_LIQUIDITY",
                        "CLIENT_ORDER_ID_REUSED",
                        "PREVIOUS_ATTEMPT_UNRESOLVED",
                        "NOT_FOUND",
                        "INVALID_CURSOR",
                        "INVALID_WINDOW",
                        "ORDER_BUSY",
                        "CONFLICT",
                        "FORBIDDEN",
                        "RATE_LIMITED",
                        "BETTING_SUSPENDED",
                        "EXPIRY_NOT_AVAILABLE",
                        "PUBLIC_API_DISABLED",
                        "SERVICE_UNAVAILABLE",
                        "UPSTREAM_UNAVAILABLE",
                        "FEED_UNAVAILABLE",
                        "FEED_TIMEOUT",
                        "INTERNAL_ERROR"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "502": {
            "description": "Error. `code` is stable; `message` is for humans and may change.",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Error. `code` is stable; `message` is for humans and may change.",
                  "type": "object",
                  "required": [
                    "code",
                    "message"
                  ],
                  "properties": {
                    "code": {
                      "type": "string",
                      "enum": [
                        "VALIDATION_FAILED",
                        "MODE_REQUIRED",
                        "INVALID_STAKE",
                        "INVALID_PRICE",
                        "INVALID_EXPIRY",
                        "CURRENCY_NOT_SUPPORTED",
                        "BOOKMAKER_NOT_AVAILABLE_VIA_API",
                        "BOOKMAKER_NOT_AVAILABLE",
                        "INVALID_API_KEY",
                        "API_ACCESS_DENIED",
                        "ACCOUNT_NOT_ACTIVE",
                        "BETTING_NOT_ALLOWED",
                        "BALANCE_UNAVAILABLE",
                        "INSUFFICIENT_FUNDS",
                        "MAX_STAKE_PER_FIXTURE_EXCEEDED",
                        "PRICE_NOT_AVAILABLE",
                        "PRICE_CHANGED",
                        "NO_LIQUIDITY",
                        "INSUFFICIENT_LIQUIDITY",
                        "CLIENT_ORDER_ID_REUSED",
                        "PREVIOUS_ATTEMPT_UNRESOLVED",
                        "NOT_FOUND",
                        "INVALID_CURSOR",
                        "INVALID_WINDOW",
                        "ORDER_BUSY",
                        "CONFLICT",
                        "FORBIDDEN",
                        "RATE_LIMITED",
                        "BETTING_SUSPENDED",
                        "EXPIRY_NOT_AVAILABLE",
                        "PUBLIC_API_DISABLED",
                        "SERVICE_UNAVAILABLE",
                        "UPSTREAM_UNAVAILABLE",
                        "FEED_UNAVAILABLE",
                        "FEED_TIMEOUT",
                        "INTERNAL_ERROR"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "503": {
            "description": "Error. `code` is stable; `message` is for humans and may change.",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Error. `code` is stable; `message` is for humans and may change.",
                  "type": "object",
                  "required": [
                    "code",
                    "message"
                  ],
                  "properties": {
                    "code": {
                      "type": "string",
                      "enum": [
                        "VALIDATION_FAILED",
                        "MODE_REQUIRED",
                        "INVALID_STAKE",
                        "INVALID_PRICE",
                        "INVALID_EXPIRY",
                        "CURRENCY_NOT_SUPPORTED",
                        "BOOKMAKER_NOT_AVAILABLE_VIA_API",
                        "BOOKMAKER_NOT_AVAILABLE",
                        "INVALID_API_KEY",
                        "API_ACCESS_DENIED",
                        "ACCOUNT_NOT_ACTIVE",
                        "BETTING_NOT_ALLOWED",
                        "BALANCE_UNAVAILABLE",
                        "INSUFFICIENT_FUNDS",
                        "MAX_STAKE_PER_FIXTURE_EXCEEDED",
                        "PRICE_NOT_AVAILABLE",
                        "PRICE_CHANGED",
                        "NO_LIQUIDITY",
                        "INSUFFICIENT_LIQUIDITY",
                        "CLIENT_ORDER_ID_REUSED",
                        "PREVIOUS_ATTEMPT_UNRESOLVED",
                        "NOT_FOUND",
                        "INVALID_CURSOR",
                        "INVALID_WINDOW",
                        "ORDER_BUSY",
                        "CONFLICT",
                        "FORBIDDEN",
                        "RATE_LIMITED",
                        "BETTING_SUSPENDED",
                        "EXPIRY_NOT_AVAILABLE",
                        "PUBLIC_API_DISABLED",
                        "SERVICE_UNAVAILABLE",
                        "UPSTREAM_UNAVAILABLE",
                        "FEED_UNAVAILABLE",
                        "FEED_TIMEOUT",
                        "INTERNAL_ERROR"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "504": {
            "description": "Error. `code` is stable; `message` is for humans and may change.",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Error. `code` is stable; `message` is for humans and may change.",
                  "type": "object",
                  "required": [
                    "code",
                    "message"
                  ],
                  "properties": {
                    "code": {
                      "type": "string",
                      "enum": [
                        "VALIDATION_FAILED",
                        "MODE_REQUIRED",
                        "INVALID_STAKE",
                        "INVALID_PRICE",
                        "INVALID_EXPIRY",
                        "CURRENCY_NOT_SUPPORTED",
                        "BOOKMAKER_NOT_AVAILABLE_VIA_API",
                        "BOOKMAKER_NOT_AVAILABLE",
                        "INVALID_API_KEY",
                        "API_ACCESS_DENIED",
                        "ACCOUNT_NOT_ACTIVE",
                        "BETTING_NOT_ALLOWED",
                        "BALANCE_UNAVAILABLE",
                        "INSUFFICIENT_FUNDS",
                        "MAX_STAKE_PER_FIXTURE_EXCEEDED",
                        "PRICE_NOT_AVAILABLE",
                        "PRICE_CHANGED",
                        "NO_LIQUIDITY",
                        "INSUFFICIENT_LIQUIDITY",
                        "CLIENT_ORDER_ID_REUSED",
                        "PREVIOUS_ATTEMPT_UNRESOLVED",
                        "NOT_FOUND",
                        "INVALID_CURSOR",
                        "INVALID_WINDOW",
                        "ORDER_BUSY",
                        "CONFLICT",
                        "FORBIDDEN",
                        "RATE_LIMITED",
                        "BETTING_SUSPENDED",
                        "EXPIRY_NOT_AVAILABLE",
                        "PUBLIC_API_DISABLED",
                        "SERVICE_UNAVAILABLE",
                        "UPSTREAM_UNAVAILABLE",
                        "FEED_UNAVAILABLE",
                        "FEED_TIMEOUT",
                        "INTERNAL_ERROR"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          }
        }
      }
    },
    "/v1/en/fixtures/odds": {
      "get": {
        "summary": "Fixture Odds",
        "description": "OddsPapi `GET /{lang}/fixtures/odds`, returned unchanged. The reference shows `en`; see [Languages](/api-reference/overview#languages) for the others.\n\nGet current odds for a fixture.\n\nLookup mode: required `fixtureId` + optional `bookmakers`, optional filtering flags.\n\nIf `since` is provided, returns odds updates with `changedAt >= since`.\n\nOdds are limited to your account's bookmakers: without `bookmakers`, you get all of them; asking for another one answers `403 BOOKMAKER_NOT_AVAILABLE`.",
        "operationId": "feed_fixtures_odds",
        "tags": [
          "Odds"
        ],
        "parameters": [
          {
            "name": "fixtureId",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Single fixture ID (e.g. id1400003171515924)."
          },
          {
            "name": "bookmakers",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ]
            },
            "description": "Comma/space-separated bookmaker slugs (default: all)."
          },
          {
            "name": "since",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "null"
                }
              ]
            },
            "description": "changedAt >= since (ms)"
          },
          {
            "name": "activeOnly",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            },
            "description": "Forwarded to OddsPapi unchanged."
          },
          {
            "name": "marketActive",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "boolean"
                },
                {
                  "type": "null"
                }
              ]
            },
            "description": "If set, filter by marketActive flag."
          },
          {
            "name": "mainLine",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "boolean"
                },
                {
                  "type": "null"
                }
              ]
            },
            "description": "If set, filter by mainLine flag."
          }
        ],
        "responses": {
          "200": {
            "description": "Returns FixtureOddsResponse (fixture meta + odds + bookmaker meta)",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FixtureOddsResponse"
                },
                "examples": {
                  "example": {
                    "summary": "Fixture odds",
                    "value": {
                      "fixtureId": "id1100013273682356",
                      "reissuedFixtureId": null,
                      "previousFixtureId": null,
                      "status": {
                        "live": false,
                        "statusId": 0,
                        "statusName": "Pre-Game"
                      },
                      "sport": {
                        "sportId": 11,
                        "sportName": "Basketball"
                      },
                      "tournament": {
                        "tournamentId": 132,
                        "tournamentName": "NBA",
                        "categoryName": "USA"
                      },
                      "season": {
                        "seasonId": 142074,
                        "seasonName": "NBA 26/27",
                        "seasonRound": 1
                      },
                      "venue": {
                        "venueId": 6054,
                        "venueName": "Madison Square Garden",
                        "venueLocation": "New York, NY, USA"
                      },
                      "startTime": 1792537200,
                      "trueStartTime": null,
                      "trueEndTime": null,
                      "participants": {
                        "participant1Id": 3421,
                        "participant1RotNr": 504,
                        "participant1Name": "New York Knicks",
                        "participant1ShortName": "New York",
                        "participant1Abbr": "NYK",
                        "participant2Id": 3420,
                        "participant2RotNr": 503,
                        "participant2Name": "Philadelphia 76ers",
                        "participant2ShortName": "Philadelphia",
                        "participant2Abbr": "PHI"
                      },
                      "scores": {},
                      "clock": {
                        "currentPeriod": null,
                        "currentTime": null,
                        "remainingTime": null,
                        "remainingTimeInPeriod": null,
                        "stopped": null,
                        "updatedAt": null
                      },
                      "expectedPeriods": 4,
                      "periodLength": 12,
                      "externalProviders": {
                        "betgeniusId": 14304079,
                        "betradarId": 73682356,
                        "flashscoreId": "prbYk4Kq",
                        "mollybetId": "2026-10-20,29093,29094",
                        "oddinId": null,
                        "opticoddsId": "20261020D42F1162",
                        "pinnacleId": 1633801639,
                        "sofascoreId": 16814811,
                        "lsportsId": 19766754,
                        "txoddsId": null
                      },
                      "odds": {
                        "pinnacle": {
                          "id1100013273682356:pinnacle:111470:0": {
                            "outcomeId": 111470,
                            "playerId": 0,
                            "price": 1.689,
                            "active": true,
                            "changedAt": 1792444223199,
                            "bookmaker": "pinnacle",
                            "limit": 326,
                            "marketId": 111470,
                            "marketActive": true,
                            "mainLine": false,
                            "bookmakerMarketId": "altLine/4/487/1633801639/3772269294/57414014940/0/teamTotal",
                            "bookmakerOutcomeId": "home/116.5/over",
                            "bookmakerChangedAt": 1792444222717,
                            "priceFractional": "31/45",
                            "priceAmerican": -145
                          },
                          "id1100013273682356:pinnacle:111471:0": {
                            "outcomeId": 111471,
                            "playerId": 0,
                            "price": 2.19,
                            "active": true,
                            "changedAt": 1792444223199,
                            "bookmaker": "pinnacle",
                            "limit": 225,
                            "marketId": 111470,
                            "marketActive": true,
                            "mainLine": false,
                            "bookmakerMarketId": "altLine/4/487/1633801639/3772269294/57414014940/0/teamTotal",
                            "bookmakerOutcomeId": "home/116.5/under",
                            "bookmakerChangedAt": 1792444222717,
                            "priceFractional": "119/100",
                            "priceAmerican": 119
                          }
                        }
                      },
                      "bookmakers": {
                        "pinnacle": {
                          "bookmaker": "pinnacle",
                          "bookmakerFixtureId": "1633801639",
                          "fixturePath": "https://www.pinnacle.com/en/e/e/e/1633801639",
                          "hasOdds": true,
                          "staleOdds": false,
                          "staleOddsResponseCode": 502,
                          "suspended": false,
                          "participantsRotated": false,
                          "meta": null,
                          "updatedAt": "2026-10-18T13:00:45.998318+00:00"
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Error. `code` is stable; `message` is for humans and may change.",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Error. `code` is stable; `message` is for humans and may change.",
                  "type": "object",
                  "required": [
                    "code",
                    "message"
                  ],
                  "properties": {
                    "code": {
                      "type": "string",
                      "enum": [
                        "VALIDATION_FAILED",
                        "MODE_REQUIRED",
                        "INVALID_STAKE",
                        "INVALID_PRICE",
                        "INVALID_EXPIRY",
                        "CURRENCY_NOT_SUPPORTED",
                        "BOOKMAKER_NOT_AVAILABLE_VIA_API",
                        "BOOKMAKER_NOT_AVAILABLE",
                        "INVALID_API_KEY",
                        "API_ACCESS_DENIED",
                        "ACCOUNT_NOT_ACTIVE",
                        "BETTING_NOT_ALLOWED",
                        "BALANCE_UNAVAILABLE",
                        "INSUFFICIENT_FUNDS",
                        "MAX_STAKE_PER_FIXTURE_EXCEEDED",
                        "PRICE_NOT_AVAILABLE",
                        "PRICE_CHANGED",
                        "NO_LIQUIDITY",
                        "INSUFFICIENT_LIQUIDITY",
                        "CLIENT_ORDER_ID_REUSED",
                        "PREVIOUS_ATTEMPT_UNRESOLVED",
                        "NOT_FOUND",
                        "INVALID_CURSOR",
                        "INVALID_WINDOW",
                        "ORDER_BUSY",
                        "CONFLICT",
                        "FORBIDDEN",
                        "RATE_LIMITED",
                        "BETTING_SUSPENDED",
                        "EXPIRY_NOT_AVAILABLE",
                        "PUBLIC_API_DISABLED",
                        "SERVICE_UNAVAILABLE",
                        "UPSTREAM_UNAVAILABLE",
                        "FEED_UNAVAILABLE",
                        "FEED_TIMEOUT",
                        "INTERNAL_ERROR"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "401": {
            "description": "Error. `code` is stable; `message` is for humans and may change.",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Error. `code` is stable; `message` is for humans and may change.",
                  "type": "object",
                  "required": [
                    "code",
                    "message"
                  ],
                  "properties": {
                    "code": {
                      "type": "string",
                      "enum": [
                        "VALIDATION_FAILED",
                        "MODE_REQUIRED",
                        "INVALID_STAKE",
                        "INVALID_PRICE",
                        "INVALID_EXPIRY",
                        "CURRENCY_NOT_SUPPORTED",
                        "BOOKMAKER_NOT_AVAILABLE_VIA_API",
                        "BOOKMAKER_NOT_AVAILABLE",
                        "INVALID_API_KEY",
                        "API_ACCESS_DENIED",
                        "ACCOUNT_NOT_ACTIVE",
                        "BETTING_NOT_ALLOWED",
                        "BALANCE_UNAVAILABLE",
                        "INSUFFICIENT_FUNDS",
                        "MAX_STAKE_PER_FIXTURE_EXCEEDED",
                        "PRICE_NOT_AVAILABLE",
                        "PRICE_CHANGED",
                        "NO_LIQUIDITY",
                        "INSUFFICIENT_LIQUIDITY",
                        "CLIENT_ORDER_ID_REUSED",
                        "PREVIOUS_ATTEMPT_UNRESOLVED",
                        "NOT_FOUND",
                        "INVALID_CURSOR",
                        "INVALID_WINDOW",
                        "ORDER_BUSY",
                        "CONFLICT",
                        "FORBIDDEN",
                        "RATE_LIMITED",
                        "BETTING_SUSPENDED",
                        "EXPIRY_NOT_AVAILABLE",
                        "PUBLIC_API_DISABLED",
                        "SERVICE_UNAVAILABLE",
                        "UPSTREAM_UNAVAILABLE",
                        "FEED_UNAVAILABLE",
                        "FEED_TIMEOUT",
                        "INTERNAL_ERROR"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "403": {
            "description": "Error. `code` is stable; `message` is for humans and may change.",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Error. `code` is stable; `message` is for humans and may change.",
                  "type": "object",
                  "required": [
                    "code",
                    "message"
                  ],
                  "properties": {
                    "code": {
                      "type": "string",
                      "enum": [
                        "VALIDATION_FAILED",
                        "MODE_REQUIRED",
                        "INVALID_STAKE",
                        "INVALID_PRICE",
                        "INVALID_EXPIRY",
                        "CURRENCY_NOT_SUPPORTED",
                        "BOOKMAKER_NOT_AVAILABLE_VIA_API",
                        "BOOKMAKER_NOT_AVAILABLE",
                        "INVALID_API_KEY",
                        "API_ACCESS_DENIED",
                        "ACCOUNT_NOT_ACTIVE",
                        "BETTING_NOT_ALLOWED",
                        "BALANCE_UNAVAILABLE",
                        "INSUFFICIENT_FUNDS",
                        "MAX_STAKE_PER_FIXTURE_EXCEEDED",
                        "PRICE_NOT_AVAILABLE",
                        "PRICE_CHANGED",
                        "NO_LIQUIDITY",
                        "INSUFFICIENT_LIQUIDITY",
                        "CLIENT_ORDER_ID_REUSED",
                        "PREVIOUS_ATTEMPT_UNRESOLVED",
                        "NOT_FOUND",
                        "INVALID_CURSOR",
                        "INVALID_WINDOW",
                        "ORDER_BUSY",
                        "CONFLICT",
                        "FORBIDDEN",
                        "RATE_LIMITED",
                        "BETTING_SUSPENDED",
                        "EXPIRY_NOT_AVAILABLE",
                        "PUBLIC_API_DISABLED",
                        "SERVICE_UNAVAILABLE",
                        "UPSTREAM_UNAVAILABLE",
                        "FEED_UNAVAILABLE",
                        "FEED_TIMEOUT",
                        "INTERNAL_ERROR"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "404": {
            "description": "Error. `code` is stable; `message` is for humans and may change.",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Error. `code` is stable; `message` is for humans and may change.",
                  "type": "object",
                  "required": [
                    "code",
                    "message"
                  ],
                  "properties": {
                    "code": {
                      "type": "string",
                      "enum": [
                        "VALIDATION_FAILED",
                        "MODE_REQUIRED",
                        "INVALID_STAKE",
                        "INVALID_PRICE",
                        "INVALID_EXPIRY",
                        "CURRENCY_NOT_SUPPORTED",
                        "BOOKMAKER_NOT_AVAILABLE_VIA_API",
                        "BOOKMAKER_NOT_AVAILABLE",
                        "INVALID_API_KEY",
                        "API_ACCESS_DENIED",
                        "ACCOUNT_NOT_ACTIVE",
                        "BETTING_NOT_ALLOWED",
                        "BALANCE_UNAVAILABLE",
                        "INSUFFICIENT_FUNDS",
                        "MAX_STAKE_PER_FIXTURE_EXCEEDED",
                        "PRICE_NOT_AVAILABLE",
                        "PRICE_CHANGED",
                        "NO_LIQUIDITY",
                        "INSUFFICIENT_LIQUIDITY",
                        "CLIENT_ORDER_ID_REUSED",
                        "PREVIOUS_ATTEMPT_UNRESOLVED",
                        "NOT_FOUND",
                        "INVALID_CURSOR",
                        "INVALID_WINDOW",
                        "ORDER_BUSY",
                        "CONFLICT",
                        "FORBIDDEN",
                        "RATE_LIMITED",
                        "BETTING_SUSPENDED",
                        "EXPIRY_NOT_AVAILABLE",
                        "PUBLIC_API_DISABLED",
                        "SERVICE_UNAVAILABLE",
                        "UPSTREAM_UNAVAILABLE",
                        "FEED_UNAVAILABLE",
                        "FEED_TIMEOUT",
                        "INTERNAL_ERROR"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "429": {
            "description": "Error. `code` is stable; `message` is for humans and may change.",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Error. `code` is stable; `message` is for humans and may change.",
                  "type": "object",
                  "required": [
                    "code",
                    "message"
                  ],
                  "properties": {
                    "code": {
                      "type": "string",
                      "enum": [
                        "VALIDATION_FAILED",
                        "MODE_REQUIRED",
                        "INVALID_STAKE",
                        "INVALID_PRICE",
                        "INVALID_EXPIRY",
                        "CURRENCY_NOT_SUPPORTED",
                        "BOOKMAKER_NOT_AVAILABLE_VIA_API",
                        "BOOKMAKER_NOT_AVAILABLE",
                        "INVALID_API_KEY",
                        "API_ACCESS_DENIED",
                        "ACCOUNT_NOT_ACTIVE",
                        "BETTING_NOT_ALLOWED",
                        "BALANCE_UNAVAILABLE",
                        "INSUFFICIENT_FUNDS",
                        "MAX_STAKE_PER_FIXTURE_EXCEEDED",
                        "PRICE_NOT_AVAILABLE",
                        "PRICE_CHANGED",
                        "NO_LIQUIDITY",
                        "INSUFFICIENT_LIQUIDITY",
                        "CLIENT_ORDER_ID_REUSED",
                        "PREVIOUS_ATTEMPT_UNRESOLVED",
                        "NOT_FOUND",
                        "INVALID_CURSOR",
                        "INVALID_WINDOW",
                        "ORDER_BUSY",
                        "CONFLICT",
                        "FORBIDDEN",
                        "RATE_LIMITED",
                        "BETTING_SUSPENDED",
                        "EXPIRY_NOT_AVAILABLE",
                        "PUBLIC_API_DISABLED",
                        "SERVICE_UNAVAILABLE",
                        "UPSTREAM_UNAVAILABLE",
                        "FEED_UNAVAILABLE",
                        "FEED_TIMEOUT",
                        "INTERNAL_ERROR"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "502": {
            "description": "Error. `code` is stable; `message` is for humans and may change.",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Error. `code` is stable; `message` is for humans and may change.",
                  "type": "object",
                  "required": [
                    "code",
                    "message"
                  ],
                  "properties": {
                    "code": {
                      "type": "string",
                      "enum": [
                        "VALIDATION_FAILED",
                        "MODE_REQUIRED",
                        "INVALID_STAKE",
                        "INVALID_PRICE",
                        "INVALID_EXPIRY",
                        "CURRENCY_NOT_SUPPORTED",
                        "BOOKMAKER_NOT_AVAILABLE_VIA_API",
                        "BOOKMAKER_NOT_AVAILABLE",
                        "INVALID_API_KEY",
                        "API_ACCESS_DENIED",
                        "ACCOUNT_NOT_ACTIVE",
                        "BETTING_NOT_ALLOWED",
                        "BALANCE_UNAVAILABLE",
                        "INSUFFICIENT_FUNDS",
                        "MAX_STAKE_PER_FIXTURE_EXCEEDED",
                        "PRICE_NOT_AVAILABLE",
                        "PRICE_CHANGED",
                        "NO_LIQUIDITY",
                        "INSUFFICIENT_LIQUIDITY",
                        "CLIENT_ORDER_ID_REUSED",
                        "PREVIOUS_ATTEMPT_UNRESOLVED",
                        "NOT_FOUND",
                        "INVALID_CURSOR",
                        "INVALID_WINDOW",
                        "ORDER_BUSY",
                        "CONFLICT",
                        "FORBIDDEN",
                        "RATE_LIMITED",
                        "BETTING_SUSPENDED",
                        "EXPIRY_NOT_AVAILABLE",
                        "PUBLIC_API_DISABLED",
                        "SERVICE_UNAVAILABLE",
                        "UPSTREAM_UNAVAILABLE",
                        "FEED_UNAVAILABLE",
                        "FEED_TIMEOUT",
                        "INTERNAL_ERROR"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "503": {
            "description": "Error. `code` is stable; `message` is for humans and may change.",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Error. `code` is stable; `message` is for humans and may change.",
                  "type": "object",
                  "required": [
                    "code",
                    "message"
                  ],
                  "properties": {
                    "code": {
                      "type": "string",
                      "enum": [
                        "VALIDATION_FAILED",
                        "MODE_REQUIRED",
                        "INVALID_STAKE",
                        "INVALID_PRICE",
                        "INVALID_EXPIRY",
                        "CURRENCY_NOT_SUPPORTED",
                        "BOOKMAKER_NOT_AVAILABLE_VIA_API",
                        "BOOKMAKER_NOT_AVAILABLE",
                        "INVALID_API_KEY",
                        "API_ACCESS_DENIED",
                        "ACCOUNT_NOT_ACTIVE",
                        "BETTING_NOT_ALLOWED",
                        "BALANCE_UNAVAILABLE",
                        "INSUFFICIENT_FUNDS",
                        "MAX_STAKE_PER_FIXTURE_EXCEEDED",
                        "PRICE_NOT_AVAILABLE",
                        "PRICE_CHANGED",
                        "NO_LIQUIDITY",
                        "INSUFFICIENT_LIQUIDITY",
                        "CLIENT_ORDER_ID_REUSED",
                        "PREVIOUS_ATTEMPT_UNRESOLVED",
                        "NOT_FOUND",
                        "INVALID_CURSOR",
                        "INVALID_WINDOW",
                        "ORDER_BUSY",
                        "CONFLICT",
                        "FORBIDDEN",
                        "RATE_LIMITED",
                        "BETTING_SUSPENDED",
                        "EXPIRY_NOT_AVAILABLE",
                        "PUBLIC_API_DISABLED",
                        "SERVICE_UNAVAILABLE",
                        "UPSTREAM_UNAVAILABLE",
                        "FEED_UNAVAILABLE",
                        "FEED_TIMEOUT",
                        "INTERNAL_ERROR"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "504": {
            "description": "Error. `code` is stable; `message` is for humans and may change.",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Error. `code` is stable; `message` is for humans and may change.",
                  "type": "object",
                  "required": [
                    "code",
                    "message"
                  ],
                  "properties": {
                    "code": {
                      "type": "string",
                      "enum": [
                        "VALIDATION_FAILED",
                        "MODE_REQUIRED",
                        "INVALID_STAKE",
                        "INVALID_PRICE",
                        "INVALID_EXPIRY",
                        "CURRENCY_NOT_SUPPORTED",
                        "BOOKMAKER_NOT_AVAILABLE_VIA_API",
                        "BOOKMAKER_NOT_AVAILABLE",
                        "INVALID_API_KEY",
                        "API_ACCESS_DENIED",
                        "ACCOUNT_NOT_ACTIVE",
                        "BETTING_NOT_ALLOWED",
                        "BALANCE_UNAVAILABLE",
                        "INSUFFICIENT_FUNDS",
                        "MAX_STAKE_PER_FIXTURE_EXCEEDED",
                        "PRICE_NOT_AVAILABLE",
                        "PRICE_CHANGED",
                        "NO_LIQUIDITY",
                        "INSUFFICIENT_LIQUIDITY",
                        "CLIENT_ORDER_ID_REUSED",
                        "PREVIOUS_ATTEMPT_UNRESOLVED",
                        "NOT_FOUND",
                        "INVALID_CURSOR",
                        "INVALID_WINDOW",
                        "ORDER_BUSY",
                        "CONFLICT",
                        "FORBIDDEN",
                        "RATE_LIMITED",
                        "BETTING_SUSPENDED",
                        "EXPIRY_NOT_AVAILABLE",
                        "PUBLIC_API_DISABLED",
                        "SERVICE_UNAVAILABLE",
                        "UPSTREAM_UNAVAILABLE",
                        "FEED_UNAVAILABLE",
                        "FEED_TIMEOUT",
                        "INTERNAL_ERROR"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          }
        }
      }
    },
    "/v1/en/fixtures/odds/clv": {
      "get": {
        "summary": "Fixture Odds CLV",
        "description": "OddsPapi `GET /{lang}/fixtures/odds/clv`, returned unchanged. The reference shows `en`; see [Languages](/api-reference/overview#languages) for the others.\n\nGet opening vs closing line values (OLV/CLV) for a fixture.\n\nLookup mode: required `fixtureId` + optional `bookmakers` OR optional `oddsIds`.\n\nOdds are limited to your account's bookmakers: without `bookmakers`, you get all of them; asking for another one answers `403 BOOKMAKER_NOT_AVAILABLE`.",
        "operationId": "feed_fixtures_odds_clv",
        "tags": [
          "Odds"
        ],
        "parameters": [
          {
            "name": "fixtureId",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Single fixture ID (e.g. id1400003171515924)."
          },
          {
            "name": "bookmakers",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ]
            },
            "description": "Comma/space-separated bookmaker slugs (default: all)."
          },
          {
            "name": "oddsIds",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ]
            },
            "description": "Optional: comma/space-separated oddsIds to restrict the response."
          }
        ],
        "responses": {
          "200": {
            "description": "Returns FixtureClvResponse (fixture meta + OLV/CLV pairs)",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FixtureClvResponse"
                },
                "examples": {
                  "example": {
                    "summary": "Fixture CLV/OLV",
                    "value": {
                      "fixtureId": "id1400003171515924",
                      "reissuedFixtureId": null,
                      "previousFixtureId": null,
                      "status": {
                        "live": false,
                        "statusId": 0,
                        "statusName": "Pre-Game"
                      },
                      "sport": {
                        "sportId": 14,
                        "sportName": "American Football"
                      },
                      "tournament": {
                        "tournamentId": 31,
                        "tournamentName": "NFL",
                        "categoryName": "USA"
                      },
                      "season": {
                        "seasonId": 139396,
                        "seasonName": "NFL 26/27",
                        "seasonRound": 6
                      },
                      "venue": {
                        "venueId": 15672,
                        "venueName": "Levi's Stadium",
                        "venueLocation": "Santa Clara, CA, USA"
                      },
                      "startTime": 1792455300,
                      "trueStartTime": null,
                      "trueEndTime": null,
                      "participants": {
                        "participant1Id": 4389,
                        "participant1RotNr": 141,
                        "participant1Name": "San Francisco 49ers",
                        "participant1ShortName": "San Francisco",
                        "participant1Abbr": "SF",
                        "participant2Id": 4432,
                        "participant2RotNr": 140,
                        "participant2Name": "Washington Commanders",
                        "participant2ShortName": "Washington",
                        "participant2Abbr": "WAS"
                      },
                      "scores": {},
                      "clock": {
                        "currentPeriod": null,
                        "currentTime": null,
                        "remainingTime": null,
                        "remainingTimeInPeriod": null,
                        "stopped": null,
                        "updatedAt": null
                      },
                      "expectedPeriods": 4,
                      "periodLength": 15,
                      "externalProviders": {
                        "betgeniusId": null,
                        "betradarId": 71515924,
                        "flashscoreId": "Op9YIhXq",
                        "mollybetId": "2026-10-20,21640,10050390",
                        "oddinId": null,
                        "opticoddsId": "20261020BC02533C",
                        "pinnacleId": 1637707533,
                        "sofascoreId": 16183736,
                        "lsportsId": 19776801,
                        "txoddsId": null
                      },
                      "odds": {
                        "pinnacle": {
                          "id1400003171515924:pinnacle:14100:0": {
                            "clv": null,
                            "olv": {
                              "bookmaker": "pinnacle",
                              "outcomeId": 14100,
                              "playerId": 0,
                              "price": 2.25,
                              "priceFractional": "5/4",
                              "priceAmerican": 125,
                              "active": true,
                              "limit": 3750,
                              "changedAt": 1792080445959
                            }
                          },
                          "id1400003171515924:pinnacle:14101:0": {
                            "clv": null,
                            "olv": {
                              "bookmaker": "pinnacle",
                              "outcomeId": 14101,
                              "playerId": 0,
                              "price": 1.68,
                              "priceFractional": "17/25",
                              "priceAmerican": -147,
                              "active": true,
                              "limit": 5514,
                              "changedAt": 1792080445959
                            }
                          }
                        }
                      },
                      "bookmakers": {
                        "pinnacle": {
                          "bookmaker": "pinnacle",
                          "bookmakerFixtureId": "1637707533",
                          "fixturePath": "https://www.pinnacle.com/en/e/e/e/1637707533",
                          "hasOdds": true,
                          "staleOdds": false,
                          "staleOddsResponseCode": 502,
                          "suspended": false,
                          "participantsRotated": false,
                          "meta": null,
                          "updatedAt": "2026-10-17T14:00:01.921523+00:00"
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Error. `code` is stable; `message` is for humans and may change.",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Error. `code` is stable; `message` is for humans and may change.",
                  "type": "object",
                  "required": [
                    "code",
                    "message"
                  ],
                  "properties": {
                    "code": {
                      "type": "string",
                      "enum": [
                        "VALIDATION_FAILED",
                        "MODE_REQUIRED",
                        "INVALID_STAKE",
                        "INVALID_PRICE",
                        "INVALID_EXPIRY",
                        "CURRENCY_NOT_SUPPORTED",
                        "BOOKMAKER_NOT_AVAILABLE_VIA_API",
                        "BOOKMAKER_NOT_AVAILABLE",
                        "INVALID_API_KEY",
                        "API_ACCESS_DENIED",
                        "ACCOUNT_NOT_ACTIVE",
                        "BETTING_NOT_ALLOWED",
                        "BALANCE_UNAVAILABLE",
                        "INSUFFICIENT_FUNDS",
                        "MAX_STAKE_PER_FIXTURE_EXCEEDED",
                        "PRICE_NOT_AVAILABLE",
                        "PRICE_CHANGED",
                        "NO_LIQUIDITY",
                        "INSUFFICIENT_LIQUIDITY",
                        "CLIENT_ORDER_ID_REUSED",
                        "PREVIOUS_ATTEMPT_UNRESOLVED",
                        "NOT_FOUND",
                        "INVALID_CURSOR",
                        "INVALID_WINDOW",
                        "ORDER_BUSY",
                        "CONFLICT",
                        "FORBIDDEN",
                        "RATE_LIMITED",
                        "BETTING_SUSPENDED",
                        "EXPIRY_NOT_AVAILABLE",
                        "PUBLIC_API_DISABLED",
                        "SERVICE_UNAVAILABLE",
                        "UPSTREAM_UNAVAILABLE",
                        "FEED_UNAVAILABLE",
                        "FEED_TIMEOUT",
                        "INTERNAL_ERROR"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "401": {
            "description": "Error. `code` is stable; `message` is for humans and may change.",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Error. `code` is stable; `message` is for humans and may change.",
                  "type": "object",
                  "required": [
                    "code",
                    "message"
                  ],
                  "properties": {
                    "code": {
                      "type": "string",
                      "enum": [
                        "VALIDATION_FAILED",
                        "MODE_REQUIRED",
                        "INVALID_STAKE",
                        "INVALID_PRICE",
                        "INVALID_EXPIRY",
                        "CURRENCY_NOT_SUPPORTED",
                        "BOOKMAKER_NOT_AVAILABLE_VIA_API",
                        "BOOKMAKER_NOT_AVAILABLE",
                        "INVALID_API_KEY",
                        "API_ACCESS_DENIED",
                        "ACCOUNT_NOT_ACTIVE",
                        "BETTING_NOT_ALLOWED",
                        "BALANCE_UNAVAILABLE",
                        "INSUFFICIENT_FUNDS",
                        "MAX_STAKE_PER_FIXTURE_EXCEEDED",
                        "PRICE_NOT_AVAILABLE",
                        "PRICE_CHANGED",
                        "NO_LIQUIDITY",
                        "INSUFFICIENT_LIQUIDITY",
                        "CLIENT_ORDER_ID_REUSED",
                        "PREVIOUS_ATTEMPT_UNRESOLVED",
                        "NOT_FOUND",
                        "INVALID_CURSOR",
                        "INVALID_WINDOW",
                        "ORDER_BUSY",
                        "CONFLICT",
                        "FORBIDDEN",
                        "RATE_LIMITED",
                        "BETTING_SUSPENDED",
                        "EXPIRY_NOT_AVAILABLE",
                        "PUBLIC_API_DISABLED",
                        "SERVICE_UNAVAILABLE",
                        "UPSTREAM_UNAVAILABLE",
                        "FEED_UNAVAILABLE",
                        "FEED_TIMEOUT",
                        "INTERNAL_ERROR"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "403": {
            "description": "Error. `code` is stable; `message` is for humans and may change.",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Error. `code` is stable; `message` is for humans and may change.",
                  "type": "object",
                  "required": [
                    "code",
                    "message"
                  ],
                  "properties": {
                    "code": {
                      "type": "string",
                      "enum": [
                        "VALIDATION_FAILED",
                        "MODE_REQUIRED",
                        "INVALID_STAKE",
                        "INVALID_PRICE",
                        "INVALID_EXPIRY",
                        "CURRENCY_NOT_SUPPORTED",
                        "BOOKMAKER_NOT_AVAILABLE_VIA_API",
                        "BOOKMAKER_NOT_AVAILABLE",
                        "INVALID_API_KEY",
                        "API_ACCESS_DENIED",
                        "ACCOUNT_NOT_ACTIVE",
                        "BETTING_NOT_ALLOWED",
                        "BALANCE_UNAVAILABLE",
                        "INSUFFICIENT_FUNDS",
                        "MAX_STAKE_PER_FIXTURE_EXCEEDED",
                        "PRICE_NOT_AVAILABLE",
                        "PRICE_CHANGED",
                        "NO_LIQUIDITY",
                        "INSUFFICIENT_LIQUIDITY",
                        "CLIENT_ORDER_ID_REUSED",
                        "PREVIOUS_ATTEMPT_UNRESOLVED",
                        "NOT_FOUND",
                        "INVALID_CURSOR",
                        "INVALID_WINDOW",
                        "ORDER_BUSY",
                        "CONFLICT",
                        "FORBIDDEN",
                        "RATE_LIMITED",
                        "BETTING_SUSPENDED",
                        "EXPIRY_NOT_AVAILABLE",
                        "PUBLIC_API_DISABLED",
                        "SERVICE_UNAVAILABLE",
                        "UPSTREAM_UNAVAILABLE",
                        "FEED_UNAVAILABLE",
                        "FEED_TIMEOUT",
                        "INTERNAL_ERROR"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "404": {
            "description": "Error. `code` is stable; `message` is for humans and may change.",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Error. `code` is stable; `message` is for humans and may change.",
                  "type": "object",
                  "required": [
                    "code",
                    "message"
                  ],
                  "properties": {
                    "code": {
                      "type": "string",
                      "enum": [
                        "VALIDATION_FAILED",
                        "MODE_REQUIRED",
                        "INVALID_STAKE",
                        "INVALID_PRICE",
                        "INVALID_EXPIRY",
                        "CURRENCY_NOT_SUPPORTED",
                        "BOOKMAKER_NOT_AVAILABLE_VIA_API",
                        "BOOKMAKER_NOT_AVAILABLE",
                        "INVALID_API_KEY",
                        "API_ACCESS_DENIED",
                        "ACCOUNT_NOT_ACTIVE",
                        "BETTING_NOT_ALLOWED",
                        "BALANCE_UNAVAILABLE",
                        "INSUFFICIENT_FUNDS",
                        "MAX_STAKE_PER_FIXTURE_EXCEEDED",
                        "PRICE_NOT_AVAILABLE",
                        "PRICE_CHANGED",
                        "NO_LIQUIDITY",
                        "INSUFFICIENT_LIQUIDITY",
                        "CLIENT_ORDER_ID_REUSED",
                        "PREVIOUS_ATTEMPT_UNRESOLVED",
                        "NOT_FOUND",
                        "INVALID_CURSOR",
                        "INVALID_WINDOW",
                        "ORDER_BUSY",
                        "CONFLICT",
                        "FORBIDDEN",
                        "RATE_LIMITED",
                        "BETTING_SUSPENDED",
                        "EXPIRY_NOT_AVAILABLE",
                        "PUBLIC_API_DISABLED",
                        "SERVICE_UNAVAILABLE",
                        "UPSTREAM_UNAVAILABLE",
                        "FEED_UNAVAILABLE",
                        "FEED_TIMEOUT",
                        "INTERNAL_ERROR"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "429": {
            "description": "Error. `code` is stable; `message` is for humans and may change.",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Error. `code` is stable; `message` is for humans and may change.",
                  "type": "object",
                  "required": [
                    "code",
                    "message"
                  ],
                  "properties": {
                    "code": {
                      "type": "string",
                      "enum": [
                        "VALIDATION_FAILED",
                        "MODE_REQUIRED",
                        "INVALID_STAKE",
                        "INVALID_PRICE",
                        "INVALID_EXPIRY",
                        "CURRENCY_NOT_SUPPORTED",
                        "BOOKMAKER_NOT_AVAILABLE_VIA_API",
                        "BOOKMAKER_NOT_AVAILABLE",
                        "INVALID_API_KEY",
                        "API_ACCESS_DENIED",
                        "ACCOUNT_NOT_ACTIVE",
                        "BETTING_NOT_ALLOWED",
                        "BALANCE_UNAVAILABLE",
                        "INSUFFICIENT_FUNDS",
                        "MAX_STAKE_PER_FIXTURE_EXCEEDED",
                        "PRICE_NOT_AVAILABLE",
                        "PRICE_CHANGED",
                        "NO_LIQUIDITY",
                        "INSUFFICIENT_LIQUIDITY",
                        "CLIENT_ORDER_ID_REUSED",
                        "PREVIOUS_ATTEMPT_UNRESOLVED",
                        "NOT_FOUND",
                        "INVALID_CURSOR",
                        "INVALID_WINDOW",
                        "ORDER_BUSY",
                        "CONFLICT",
                        "FORBIDDEN",
                        "RATE_LIMITED",
                        "BETTING_SUSPENDED",
                        "EXPIRY_NOT_AVAILABLE",
                        "PUBLIC_API_DISABLED",
                        "SERVICE_UNAVAILABLE",
                        "UPSTREAM_UNAVAILABLE",
                        "FEED_UNAVAILABLE",
                        "FEED_TIMEOUT",
                        "INTERNAL_ERROR"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "502": {
            "description": "Error. `code` is stable; `message` is for humans and may change.",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Error. `code` is stable; `message` is for humans and may change.",
                  "type": "object",
                  "required": [
                    "code",
                    "message"
                  ],
                  "properties": {
                    "code": {
                      "type": "string",
                      "enum": [
                        "VALIDATION_FAILED",
                        "MODE_REQUIRED",
                        "INVALID_STAKE",
                        "INVALID_PRICE",
                        "INVALID_EXPIRY",
                        "CURRENCY_NOT_SUPPORTED",
                        "BOOKMAKER_NOT_AVAILABLE_VIA_API",
                        "BOOKMAKER_NOT_AVAILABLE",
                        "INVALID_API_KEY",
                        "API_ACCESS_DENIED",
                        "ACCOUNT_NOT_ACTIVE",
                        "BETTING_NOT_ALLOWED",
                        "BALANCE_UNAVAILABLE",
                        "INSUFFICIENT_FUNDS",
                        "MAX_STAKE_PER_FIXTURE_EXCEEDED",
                        "PRICE_NOT_AVAILABLE",
                        "PRICE_CHANGED",
                        "NO_LIQUIDITY",
                        "INSUFFICIENT_LIQUIDITY",
                        "CLIENT_ORDER_ID_REUSED",
                        "PREVIOUS_ATTEMPT_UNRESOLVED",
                        "NOT_FOUND",
                        "INVALID_CURSOR",
                        "INVALID_WINDOW",
                        "ORDER_BUSY",
                        "CONFLICT",
                        "FORBIDDEN",
                        "RATE_LIMITED",
                        "BETTING_SUSPENDED",
                        "EXPIRY_NOT_AVAILABLE",
                        "PUBLIC_API_DISABLED",
                        "SERVICE_UNAVAILABLE",
                        "UPSTREAM_UNAVAILABLE",
                        "FEED_UNAVAILABLE",
                        "FEED_TIMEOUT",
                        "INTERNAL_ERROR"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "503": {
            "description": "Error. `code` is stable; `message` is for humans and may change.",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Error. `code` is stable; `message` is for humans and may change.",
                  "type": "object",
                  "required": [
                    "code",
                    "message"
                  ],
                  "properties": {
                    "code": {
                      "type": "string",
                      "enum": [
                        "VALIDATION_FAILED",
                        "MODE_REQUIRED",
                        "INVALID_STAKE",
                        "INVALID_PRICE",
                        "INVALID_EXPIRY",
                        "CURRENCY_NOT_SUPPORTED",
                        "BOOKMAKER_NOT_AVAILABLE_VIA_API",
                        "BOOKMAKER_NOT_AVAILABLE",
                        "INVALID_API_KEY",
                        "API_ACCESS_DENIED",
                        "ACCOUNT_NOT_ACTIVE",
                        "BETTING_NOT_ALLOWED",
                        "BALANCE_UNAVAILABLE",
                        "INSUFFICIENT_FUNDS",
                        "MAX_STAKE_PER_FIXTURE_EXCEEDED",
                        "PRICE_NOT_AVAILABLE",
                        "PRICE_CHANGED",
                        "NO_LIQUIDITY",
                        "INSUFFICIENT_LIQUIDITY",
                        "CLIENT_ORDER_ID_REUSED",
                        "PREVIOUS_ATTEMPT_UNRESOLVED",
                        "NOT_FOUND",
                        "INVALID_CURSOR",
                        "INVALID_WINDOW",
                        "ORDER_BUSY",
                        "CONFLICT",
                        "FORBIDDEN",
                        "RATE_LIMITED",
                        "BETTING_SUSPENDED",
                        "EXPIRY_NOT_AVAILABLE",
                        "PUBLIC_API_DISABLED",
                        "SERVICE_UNAVAILABLE",
                        "UPSTREAM_UNAVAILABLE",
                        "FEED_UNAVAILABLE",
                        "FEED_TIMEOUT",
                        "INTERNAL_ERROR"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "504": {
            "description": "Error. `code` is stable; `message` is for humans and may change.",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Error. `code` is stable; `message` is for humans and may change.",
                  "type": "object",
                  "required": [
                    "code",
                    "message"
                  ],
                  "properties": {
                    "code": {
                      "type": "string",
                      "enum": [
                        "VALIDATION_FAILED",
                        "MODE_REQUIRED",
                        "INVALID_STAKE",
                        "INVALID_PRICE",
                        "INVALID_EXPIRY",
                        "CURRENCY_NOT_SUPPORTED",
                        "BOOKMAKER_NOT_AVAILABLE_VIA_API",
                        "BOOKMAKER_NOT_AVAILABLE",
                        "INVALID_API_KEY",
                        "API_ACCESS_DENIED",
                        "ACCOUNT_NOT_ACTIVE",
                        "BETTING_NOT_ALLOWED",
                        "BALANCE_UNAVAILABLE",
                        "INSUFFICIENT_FUNDS",
                        "MAX_STAKE_PER_FIXTURE_EXCEEDED",
                        "PRICE_NOT_AVAILABLE",
                        "PRICE_CHANGED",
                        "NO_LIQUIDITY",
                        "INSUFFICIENT_LIQUIDITY",
                        "CLIENT_ORDER_ID_REUSED",
                        "PREVIOUS_ATTEMPT_UNRESOLVED",
                        "NOT_FOUND",
                        "INVALID_CURSOR",
                        "INVALID_WINDOW",
                        "ORDER_BUSY",
                        "CONFLICT",
                        "FORBIDDEN",
                        "RATE_LIMITED",
                        "BETTING_SUSPENDED",
                        "EXPIRY_NOT_AVAILABLE",
                        "PUBLIC_API_DISABLED",
                        "SERVICE_UNAVAILABLE",
                        "UPSTREAM_UNAVAILABLE",
                        "FEED_UNAVAILABLE",
                        "FEED_TIMEOUT",
                        "INTERNAL_ERROR"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          }
        }
      }
    },
    "/v1/en/fixtures/odds/historical": {
      "get": {
        "summary": "Fixture Odds Historical",
        "description": "OddsPapi `GET /{lang}/fixtures/odds/historical`, returned unchanged. The reference shows `en`; see [Languages](/api-reference/overview#languages) for the others.\n\nGet historical odds timeline for a fixture.\n\nLookup mode: required `fixtureId` + (`bookmaker` required when `oddsIds` is not provided) OR `oddsIds`.\n\n`bookmaker` or `oddsIds` is required, and the bookmaker must be one of your account's: another one answers `403 BOOKMAKER_NOT_AVAILABLE`.",
        "operationId": "feed_fixtures_odds_historical",
        "tags": [
          "Odds"
        ],
        "parameters": [
          {
            "name": "fixtureId",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Single fixture ID (e.g. id1400003171515924)."
          },
          {
            "name": "bookmaker",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ]
            },
            "description": "Single bookmaker slug. RULE: If oddsIds is NOT provided, you must pass exactly ONE bookmaker."
          },
          {
            "name": "oddsIds",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ]
            },
            "description": "Optional: comma/space-separated oddsIds to restrict the response."
          }
        ],
        "responses": {
          "200": {
            "description": "Returns FixtureHistoricalOddsResponse (fixture meta + time-series odds)",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FixtureHistoricalOddsResponse"
                },
                "examples": {
                  "example": {
                    "summary": "Historical odds",
                    "value": {
                      "fixtureId": "id1400003171515924",
                      "reissuedFixtureId": null,
                      "previousFixtureId": null,
                      "status": {
                        "live": false,
                        "statusId": 0,
                        "statusName": "Pre-Game"
                      },
                      "sport": {
                        "sportId": 14,
                        "sportName": "American Football"
                      },
                      "tournament": {
                        "tournamentId": 31,
                        "tournamentName": "NFL",
                        "categoryName": "USA"
                      },
                      "season": {
                        "seasonId": 139396,
                        "seasonName": "NFL 26/27",
                        "seasonRound": 6
                      },
                      "venue": {
                        "venueId": 15672,
                        "venueName": "Levi's Stadium",
                        "venueLocation": "Santa Clara, CA, USA"
                      },
                      "startTime": 1792455300,
                      "trueStartTime": null,
                      "trueEndTime": null,
                      "participants": {
                        "participant1Id": 4389,
                        "participant1RotNr": 141,
                        "participant1Name": "San Francisco 49ers",
                        "participant1ShortName": "San Francisco",
                        "participant1Abbr": "SF",
                        "participant2Id": 4432,
                        "participant2RotNr": 140,
                        "participant2Name": "Washington Commanders",
                        "participant2ShortName": "Washington",
                        "participant2Abbr": "WAS"
                      },
                      "scores": {},
                      "clock": {
                        "currentPeriod": null,
                        "currentTime": null,
                        "remainingTime": null,
                        "remainingTimeInPeriod": null,
                        "stopped": null,
                        "updatedAt": null
                      },
                      "expectedPeriods": 4,
                      "periodLength": 15,
                      "externalProviders": {
                        "betgeniusId": null,
                        "betradarId": 71515924,
                        "flashscoreId": "Op9YIhXq",
                        "mollybetId": "2026-10-20,21640,10050390",
                        "oddinId": null,
                        "opticoddsId": "20261020BC02533C",
                        "pinnacleId": 1637707533,
                        "sofascoreId": 16183736,
                        "lsportsId": 19776801,
                        "txoddsId": null
                      },
                      "odds": {
                        "pinnacle": {
                          "id1400003171515924:pinnacle:14100:0": {
                            "1792080445959": {
                              "bookmaker": "pinnacle",
                              "outcomeId": 14100,
                              "playerId": 0,
                              "price": 2.25,
                              "active": true,
                              "changedAt": 1792080445959,
                              "marketActive": true,
                              "mainLine": false,
                              "priceFractional": "5/4",
                              "priceAmerican": 125,
                              "marketId": 14100,
                              "limit": 3750
                            },
                            "1792089957678": {
                              "bookmaker": "pinnacle",
                              "outcomeId": 14100,
                              "playerId": 0,
                              "price": 2.24,
                              "active": true,
                              "changedAt": 1792089957678,
                              "marketActive": true,
                              "mainLine": false,
                              "priceFractional": "31/25",
                              "priceAmerican": 124,
                              "marketId": 14100,
                              "limit": 3750
                            }
                          },
                          "id1400003171515924:pinnacle:14101:0": {
                            "1792080445959": {
                              "bookmaker": "pinnacle",
                              "outcomeId": 14101,
                              "playerId": 0,
                              "price": 1.68,
                              "active": true,
                              "changedAt": 1792080445959,
                              "marketActive": true,
                              "mainLine": false,
                              "priceFractional": "17/25",
                              "priceAmerican": -147,
                              "marketId": 14100,
                              "limit": 5514
                            },
                            "1792089957678": {
                              "bookmaker": "pinnacle",
                              "outcomeId": 14101,
                              "playerId": 0,
                              "price": 1.684,
                              "active": true,
                              "changedAt": 1792089957678,
                              "marketActive": true,
                              "mainLine": false,
                              "priceFractional": "13/19",
                              "priceAmerican": -146,
                              "marketId": 14100,
                              "limit": 5482
                            }
                          }
                        }
                      },
                      "bookmakers": {
                        "pinnacle": {
                          "bookmaker": "pinnacle",
                          "bookmakerFixtureId": "1637707533",
                          "fixturePath": "https://www.pinnacle.com/en/e/e/e/1637707533",
                          "hasOdds": true,
                          "staleOdds": false,
                          "staleOddsResponseCode": 502,
                          "suspended": false,
                          "participantsRotated": false,
                          "meta": null,
                          "updatedAt": "2026-10-17T14:00:01.921523+00:00"
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Error. `code` is stable; `message` is for humans and may change.",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Error. `code` is stable; `message` is for humans and may change.",
                  "type": "object",
                  "required": [
                    "code",
                    "message"
                  ],
                  "properties": {
                    "code": {
                      "type": "string",
                      "enum": [
                        "VALIDATION_FAILED",
                        "MODE_REQUIRED",
                        "INVALID_STAKE",
                        "INVALID_PRICE",
                        "INVALID_EXPIRY",
                        "CURRENCY_NOT_SUPPORTED",
                        "BOOKMAKER_NOT_AVAILABLE_VIA_API",
                        "BOOKMAKER_NOT_AVAILABLE",
                        "INVALID_API_KEY",
                        "API_ACCESS_DENIED",
                        "ACCOUNT_NOT_ACTIVE",
                        "BETTING_NOT_ALLOWED",
                        "BALANCE_UNAVAILABLE",
                        "INSUFFICIENT_FUNDS",
                        "MAX_STAKE_PER_FIXTURE_EXCEEDED",
                        "PRICE_NOT_AVAILABLE",
                        "PRICE_CHANGED",
                        "NO_LIQUIDITY",
                        "INSUFFICIENT_LIQUIDITY",
                        "CLIENT_ORDER_ID_REUSED",
                        "PREVIOUS_ATTEMPT_UNRESOLVED",
                        "NOT_FOUND",
                        "INVALID_CURSOR",
                        "INVALID_WINDOW",
                        "ORDER_BUSY",
                        "CONFLICT",
                        "FORBIDDEN",
                        "RATE_LIMITED",
                        "BETTING_SUSPENDED",
                        "EXPIRY_NOT_AVAILABLE",
                        "PUBLIC_API_DISABLED",
                        "SERVICE_UNAVAILABLE",
                        "UPSTREAM_UNAVAILABLE",
                        "FEED_UNAVAILABLE",
                        "FEED_TIMEOUT",
                        "INTERNAL_ERROR"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "401": {
            "description": "Error. `code` is stable; `message` is for humans and may change.",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Error. `code` is stable; `message` is for humans and may change.",
                  "type": "object",
                  "required": [
                    "code",
                    "message"
                  ],
                  "properties": {
                    "code": {
                      "type": "string",
                      "enum": [
                        "VALIDATION_FAILED",
                        "MODE_REQUIRED",
                        "INVALID_STAKE",
                        "INVALID_PRICE",
                        "INVALID_EXPIRY",
                        "CURRENCY_NOT_SUPPORTED",
                        "BOOKMAKER_NOT_AVAILABLE_VIA_API",
                        "BOOKMAKER_NOT_AVAILABLE",
                        "INVALID_API_KEY",
                        "API_ACCESS_DENIED",
                        "ACCOUNT_NOT_ACTIVE",
                        "BETTING_NOT_ALLOWED",
                        "BALANCE_UNAVAILABLE",
                        "INSUFFICIENT_FUNDS",
                        "MAX_STAKE_PER_FIXTURE_EXCEEDED",
                        "PRICE_NOT_AVAILABLE",
                        "PRICE_CHANGED",
                        "NO_LIQUIDITY",
                        "INSUFFICIENT_LIQUIDITY",
                        "CLIENT_ORDER_ID_REUSED",
                        "PREVIOUS_ATTEMPT_UNRESOLVED",
                        "NOT_FOUND",
                        "INVALID_CURSOR",
                        "INVALID_WINDOW",
                        "ORDER_BUSY",
                        "CONFLICT",
                        "FORBIDDEN",
                        "RATE_LIMITED",
                        "BETTING_SUSPENDED",
                        "EXPIRY_NOT_AVAILABLE",
                        "PUBLIC_API_DISABLED",
                        "SERVICE_UNAVAILABLE",
                        "UPSTREAM_UNAVAILABLE",
                        "FEED_UNAVAILABLE",
                        "FEED_TIMEOUT",
                        "INTERNAL_ERROR"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "403": {
            "description": "Error. `code` is stable; `message` is for humans and may change.",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Error. `code` is stable; `message` is for humans and may change.",
                  "type": "object",
                  "required": [
                    "code",
                    "message"
                  ],
                  "properties": {
                    "code": {
                      "type": "string",
                      "enum": [
                        "VALIDATION_FAILED",
                        "MODE_REQUIRED",
                        "INVALID_STAKE",
                        "INVALID_PRICE",
                        "INVALID_EXPIRY",
                        "CURRENCY_NOT_SUPPORTED",
                        "BOOKMAKER_NOT_AVAILABLE_VIA_API",
                        "BOOKMAKER_NOT_AVAILABLE",
                        "INVALID_API_KEY",
                        "API_ACCESS_DENIED",
                        "ACCOUNT_NOT_ACTIVE",
                        "BETTING_NOT_ALLOWED",
                        "BALANCE_UNAVAILABLE",
                        "INSUFFICIENT_FUNDS",
                        "MAX_STAKE_PER_FIXTURE_EXCEEDED",
                        "PRICE_NOT_AVAILABLE",
                        "PRICE_CHANGED",
                        "NO_LIQUIDITY",
                        "INSUFFICIENT_LIQUIDITY",
                        "CLIENT_ORDER_ID_REUSED",
                        "PREVIOUS_ATTEMPT_UNRESOLVED",
                        "NOT_FOUND",
                        "INVALID_CURSOR",
                        "INVALID_WINDOW",
                        "ORDER_BUSY",
                        "CONFLICT",
                        "FORBIDDEN",
                        "RATE_LIMITED",
                        "BETTING_SUSPENDED",
                        "EXPIRY_NOT_AVAILABLE",
                        "PUBLIC_API_DISABLED",
                        "SERVICE_UNAVAILABLE",
                        "UPSTREAM_UNAVAILABLE",
                        "FEED_UNAVAILABLE",
                        "FEED_TIMEOUT",
                        "INTERNAL_ERROR"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "404": {
            "description": "Error. `code` is stable; `message` is for humans and may change.",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Error. `code` is stable; `message` is for humans and may change.",
                  "type": "object",
                  "required": [
                    "code",
                    "message"
                  ],
                  "properties": {
                    "code": {
                      "type": "string",
                      "enum": [
                        "VALIDATION_FAILED",
                        "MODE_REQUIRED",
                        "INVALID_STAKE",
                        "INVALID_PRICE",
                        "INVALID_EXPIRY",
                        "CURRENCY_NOT_SUPPORTED",
                        "BOOKMAKER_NOT_AVAILABLE_VIA_API",
                        "BOOKMAKER_NOT_AVAILABLE",
                        "INVALID_API_KEY",
                        "API_ACCESS_DENIED",
                        "ACCOUNT_NOT_ACTIVE",
                        "BETTING_NOT_ALLOWED",
                        "BALANCE_UNAVAILABLE",
                        "INSUFFICIENT_FUNDS",
                        "MAX_STAKE_PER_FIXTURE_EXCEEDED",
                        "PRICE_NOT_AVAILABLE",
                        "PRICE_CHANGED",
                        "NO_LIQUIDITY",
                        "INSUFFICIENT_LIQUIDITY",
                        "CLIENT_ORDER_ID_REUSED",
                        "PREVIOUS_ATTEMPT_UNRESOLVED",
                        "NOT_FOUND",
                        "INVALID_CURSOR",
                        "INVALID_WINDOW",
                        "ORDER_BUSY",
                        "CONFLICT",
                        "FORBIDDEN",
                        "RATE_LIMITED",
                        "BETTING_SUSPENDED",
                        "EXPIRY_NOT_AVAILABLE",
                        "PUBLIC_API_DISABLED",
                        "SERVICE_UNAVAILABLE",
                        "UPSTREAM_UNAVAILABLE",
                        "FEED_UNAVAILABLE",
                        "FEED_TIMEOUT",
                        "INTERNAL_ERROR"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "429": {
            "description": "Error. `code` is stable; `message` is for humans and may change.",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Error. `code` is stable; `message` is for humans and may change.",
                  "type": "object",
                  "required": [
                    "code",
                    "message"
                  ],
                  "properties": {
                    "code": {
                      "type": "string",
                      "enum": [
                        "VALIDATION_FAILED",
                        "MODE_REQUIRED",
                        "INVALID_STAKE",
                        "INVALID_PRICE",
                        "INVALID_EXPIRY",
                        "CURRENCY_NOT_SUPPORTED",
                        "BOOKMAKER_NOT_AVAILABLE_VIA_API",
                        "BOOKMAKER_NOT_AVAILABLE",
                        "INVALID_API_KEY",
                        "API_ACCESS_DENIED",
                        "ACCOUNT_NOT_ACTIVE",
                        "BETTING_NOT_ALLOWED",
                        "BALANCE_UNAVAILABLE",
                        "INSUFFICIENT_FUNDS",
                        "MAX_STAKE_PER_FIXTURE_EXCEEDED",
                        "PRICE_NOT_AVAILABLE",
                        "PRICE_CHANGED",
                        "NO_LIQUIDITY",
                        "INSUFFICIENT_LIQUIDITY",
                        "CLIENT_ORDER_ID_REUSED",
                        "PREVIOUS_ATTEMPT_UNRESOLVED",
                        "NOT_FOUND",
                        "INVALID_CURSOR",
                        "INVALID_WINDOW",
                        "ORDER_BUSY",
                        "CONFLICT",
                        "FORBIDDEN",
                        "RATE_LIMITED",
                        "BETTING_SUSPENDED",
                        "EXPIRY_NOT_AVAILABLE",
                        "PUBLIC_API_DISABLED",
                        "SERVICE_UNAVAILABLE",
                        "UPSTREAM_UNAVAILABLE",
                        "FEED_UNAVAILABLE",
                        "FEED_TIMEOUT",
                        "INTERNAL_ERROR"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "502": {
            "description": "Error. `code` is stable; `message` is for humans and may change.",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Error. `code` is stable; `message` is for humans and may change.",
                  "type": "object",
                  "required": [
                    "code",
                    "message"
                  ],
                  "properties": {
                    "code": {
                      "type": "string",
                      "enum": [
                        "VALIDATION_FAILED",
                        "MODE_REQUIRED",
                        "INVALID_STAKE",
                        "INVALID_PRICE",
                        "INVALID_EXPIRY",
                        "CURRENCY_NOT_SUPPORTED",
                        "BOOKMAKER_NOT_AVAILABLE_VIA_API",
                        "BOOKMAKER_NOT_AVAILABLE",
                        "INVALID_API_KEY",
                        "API_ACCESS_DENIED",
                        "ACCOUNT_NOT_ACTIVE",
                        "BETTING_NOT_ALLOWED",
                        "BALANCE_UNAVAILABLE",
                        "INSUFFICIENT_FUNDS",
                        "MAX_STAKE_PER_FIXTURE_EXCEEDED",
                        "PRICE_NOT_AVAILABLE",
                        "PRICE_CHANGED",
                        "NO_LIQUIDITY",
                        "INSUFFICIENT_LIQUIDITY",
                        "CLIENT_ORDER_ID_REUSED",
                        "PREVIOUS_ATTEMPT_UNRESOLVED",
                        "NOT_FOUND",
                        "INVALID_CURSOR",
                        "INVALID_WINDOW",
                        "ORDER_BUSY",
                        "CONFLICT",
                        "FORBIDDEN",
                        "RATE_LIMITED",
                        "BETTING_SUSPENDED",
                        "EXPIRY_NOT_AVAILABLE",
                        "PUBLIC_API_DISABLED",
                        "SERVICE_UNAVAILABLE",
                        "UPSTREAM_UNAVAILABLE",
                        "FEED_UNAVAILABLE",
                        "FEED_TIMEOUT",
                        "INTERNAL_ERROR"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "503": {
            "description": "Error. `code` is stable; `message` is for humans and may change.",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Error. `code` is stable; `message` is for humans and may change.",
                  "type": "object",
                  "required": [
                    "code",
                    "message"
                  ],
                  "properties": {
                    "code": {
                      "type": "string",
                      "enum": [
                        "VALIDATION_FAILED",
                        "MODE_REQUIRED",
                        "INVALID_STAKE",
                        "INVALID_PRICE",
                        "INVALID_EXPIRY",
                        "CURRENCY_NOT_SUPPORTED",
                        "BOOKMAKER_NOT_AVAILABLE_VIA_API",
                        "BOOKMAKER_NOT_AVAILABLE",
                        "INVALID_API_KEY",
                        "API_ACCESS_DENIED",
                        "ACCOUNT_NOT_ACTIVE",
                        "BETTING_NOT_ALLOWED",
                        "BALANCE_UNAVAILABLE",
                        "INSUFFICIENT_FUNDS",
                        "MAX_STAKE_PER_FIXTURE_EXCEEDED",
                        "PRICE_NOT_AVAILABLE",
                        "PRICE_CHANGED",
                        "NO_LIQUIDITY",
                        "INSUFFICIENT_LIQUIDITY",
                        "CLIENT_ORDER_ID_REUSED",
                        "PREVIOUS_ATTEMPT_UNRESOLVED",
                        "NOT_FOUND",
                        "INVALID_CURSOR",
                        "INVALID_WINDOW",
                        "ORDER_BUSY",
                        "CONFLICT",
                        "FORBIDDEN",
                        "RATE_LIMITED",
                        "BETTING_SUSPENDED",
                        "EXPIRY_NOT_AVAILABLE",
                        "PUBLIC_API_DISABLED",
                        "SERVICE_UNAVAILABLE",
                        "UPSTREAM_UNAVAILABLE",
                        "FEED_UNAVAILABLE",
                        "FEED_TIMEOUT",
                        "INTERNAL_ERROR"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "504": {
            "description": "Error. `code` is stable; `message` is for humans and may change.",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Error. `code` is stable; `message` is for humans and may change.",
                  "type": "object",
                  "required": [
                    "code",
                    "message"
                  ],
                  "properties": {
                    "code": {
                      "type": "string",
                      "enum": [
                        "VALIDATION_FAILED",
                        "MODE_REQUIRED",
                        "INVALID_STAKE",
                        "INVALID_PRICE",
                        "INVALID_EXPIRY",
                        "CURRENCY_NOT_SUPPORTED",
                        "BOOKMAKER_NOT_AVAILABLE_VIA_API",
                        "BOOKMAKER_NOT_AVAILABLE",
                        "INVALID_API_KEY",
                        "API_ACCESS_DENIED",
                        "ACCOUNT_NOT_ACTIVE",
                        "BETTING_NOT_ALLOWED",
                        "BALANCE_UNAVAILABLE",
                        "INSUFFICIENT_FUNDS",
                        "MAX_STAKE_PER_FIXTURE_EXCEEDED",
                        "PRICE_NOT_AVAILABLE",
                        "PRICE_CHANGED",
                        "NO_LIQUIDITY",
                        "INSUFFICIENT_LIQUIDITY",
                        "CLIENT_ORDER_ID_REUSED",
                        "PREVIOUS_ATTEMPT_UNRESOLVED",
                        "NOT_FOUND",
                        "INVALID_CURSOR",
                        "INVALID_WINDOW",
                        "ORDER_BUSY",
                        "CONFLICT",
                        "FORBIDDEN",
                        "RATE_LIMITED",
                        "BETTING_SUSPENDED",
                        "EXPIRY_NOT_AVAILABLE",
                        "PUBLIC_API_DISABLED",
                        "SERVICE_UNAVAILABLE",
                        "UPSTREAM_UNAVAILABLE",
                        "FEED_UNAVAILABLE",
                        "FEED_TIMEOUT",
                        "INTERNAL_ERROR"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          }
        }
      }
    },
    "/v1/en/fixtures/odds/main": {
      "get": {
        "summary": "Fixtures Odds Main",
        "description": "OddsPapi `GET /{lang}/fixtures/odds/main`, returned unchanged. The reference shows `en`; see [Languages](/api-reference/overview#languages) for the others.\n\nGet current main odds for multiple fixtures.\n\nLookup mode: provide exactly one of:\n- `tournamentId` (recommended)\n- `fixtureIds` (fast path)\n\nIf `since` is provided, returns odds updates with `changedAt >= since`.\n\n**Capped at 100 fixtures per call.** The limit is fixed and cannot be raised by a parameter — `limit`, `offset`, `cursor` and `page` are not supported and are ignored if sent. Truncation is silent: a `tournamentId` with more than 100 fixtures, or a `fixtureIds` list longer than 100, still returns `200` with only the first 100 entries and no warning. To cover a larger tournament, list the fixtures first with `/fixtures?tournamentId=...` (uncapped) and then request odds in chunks of 100 via `fixtureIds`.\n\nResponse size is driven by the number of **bookmakers**, not the number of fixtures. A single top-league call with `bookmakers=*` can return tens of MiB and take ten seconds, while the same call narrowed to one bookmaker returns well under a MiB in under a second. Always pass an explicit `bookmakers` list in production.\n\nOdds are limited to your account's bookmakers: without `bookmakers`, you get all of them; asking for another one answers `403 BOOKMAKER_NOT_AVAILABLE`.",
        "operationId": "feed_fixtures_odds_main",
        "tags": [
          "Odds"
        ],
        "parameters": [
          {
            "name": "tournamentId",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "null"
                }
              ]
            },
            "description": "Single tournamentId. Required if `fixtureIds` is not provided. Only the first 100 fixtures of the tournament are returned; see the endpoint description for chunking."
          },
          {
            "name": "fixtureIds",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ]
            },
            "description": "Comma/space-separated fixtureIds (fast path). Required if `tournamentId` is not provided. Maximum 100 ids — anything beyond the first 100 is silently dropped."
          },
          {
            "name": "bookmakers",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ]
            },
            "description": "Comma/space-separated bookmaker slugs (default: all)."
          },
          {
            "name": "since",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "null"
                }
              ]
            },
            "description": "changedAt >= since (ms). If provided, returns also inactive odds."
          },
          {
            "name": "activeOnly",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            },
            "description": "Forwarded to OddsPapi unchanged."
          }
        ],
        "responses": {
          "200": {
            "description": "Returns an array of fixtures (fixture meta + odds + bookmaker meta).",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/FixtureOddsResponse"
                  }
                },
                "examples": {
                  "example": {
                    "summary": "Odds by tournament (fixtures list with odds)",
                    "value": [
                      {
                        "fixtureId": "id1400003171515924",
                        "reissuedFixtureId": null,
                        "previousFixtureId": null,
                        "status": {
                          "live": false,
                          "statusId": 0,
                          "statusName": "Pre-Game"
                        },
                        "sport": {
                          "sportId": 14,
                          "sportName": "American Football"
                        },
                        "tournament": {
                          "tournamentId": 31,
                          "tournamentName": "NFL",
                          "categoryName": "USA"
                        },
                        "season": {
                          "seasonId": 139396,
                          "seasonName": "NFL 26/27",
                          "seasonRound": 6
                        },
                        "venue": {
                          "venueId": 15672,
                          "venueName": "Levi's Stadium",
                          "venueLocation": "Santa Clara, CA, USA"
                        },
                        "startTime": 1792455300,
                        "trueStartTime": null,
                        "trueEndTime": null,
                        "participants": {
                          "participant1Id": 4389,
                          "participant1RotNr": 141,
                          "participant1Name": "San Francisco 49ers",
                          "participant1ShortName": "San Francisco",
                          "participant1Abbr": "SF",
                          "participant2Id": 4432,
                          "participant2RotNr": 140,
                          "participant2Name": "Washington Commanders",
                          "participant2ShortName": "Washington",
                          "participant2Abbr": "WAS"
                        },
                        "scores": {},
                        "clock": {
                          "currentPeriod": null,
                          "currentTime": null,
                          "remainingTime": null,
                          "remainingTimeInPeriod": null,
                          "stopped": null,
                          "updatedAt": null
                        },
                        "expectedPeriods": 4,
                        "periodLength": 15,
                        "externalProviders": {
                          "betgeniusId": null,
                          "betradarId": 71515924,
                          "flashscoreId": "Op9YIhXq",
                          "mollybetId": "2026-10-20,21640,10050390",
                          "oddinId": null,
                          "opticoddsId": "20261020BC02533C",
                          "pinnacleId": 1637707533,
                          "sofascoreId": 16183736,
                          "lsportsId": 19776801,
                          "txoddsId": null
                        },
                        "odds": {
                          "pinnacle": {
                            "id1400003171515924:pinnacle:141149:0": {
                              "outcomeId": 141149,
                              "playerId": 0,
                              "price": 1.675,
                              "active": true,
                              "changedAt": 1792444043445,
                              "bookmaker": "pinnacle",
                              "limit": 3333,
                              "marketId": 141149,
                              "marketActive": true,
                              "mainLine": true,
                              "bookmakerMarketId": "line/15/889/1637707533/3772268293/1/teamTotal",
                              "bookmakerOutcomeId": "away/9.5/over",
                              "bookmakerChangedAt": 1792444043163,
                              "priceFractional": "27/40",
                              "priceAmerican": -148
                            },
                            "id1400003171515924:pinnacle:141150:0": {
                              "outcomeId": 141150,
                              "playerId": 0,
                              "price": 2.29,
                              "active": true,
                              "changedAt": 1792444043445,
                              "bookmaker": "pinnacle",
                              "limit": 2250,
                              "marketId": 141149,
                              "marketActive": true,
                              "mainLine": true,
                              "bookmakerMarketId": "line/15/889/1637707533/3772268293/1/teamTotal",
                              "bookmakerOutcomeId": "away/9.5/under",
                              "bookmakerChangedAt": 1792444043163,
                              "priceFractional": "129/100",
                              "priceAmerican": 129
                            }
                          }
                        },
                        "bookmakers": {
                          "pinnacle": {
                            "bookmaker": "pinnacle",
                            "bookmakerFixtureId": "1637707533",
                            "fixturePath": "https://www.pinnacle.com/en/e/e/e/1637707533",
                            "hasOdds": true,
                            "staleOdds": false,
                            "staleOddsResponseCode": 502,
                            "suspended": false,
                            "participantsRotated": false,
                            "meta": null,
                            "updatedAt": "2026-10-17T14:00:01.921523+00:00"
                          }
                        }
                      }
                    ]
                  }
                }
              }
            }
          },
          "400": {
            "description": "Error. `code` is stable; `message` is for humans and may change.",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Error. `code` is stable; `message` is for humans and may change.",
                  "type": "object",
                  "required": [
                    "code",
                    "message"
                  ],
                  "properties": {
                    "code": {
                      "type": "string",
                      "enum": [
                        "VALIDATION_FAILED",
                        "MODE_REQUIRED",
                        "INVALID_STAKE",
                        "INVALID_PRICE",
                        "INVALID_EXPIRY",
                        "CURRENCY_NOT_SUPPORTED",
                        "BOOKMAKER_NOT_AVAILABLE_VIA_API",
                        "BOOKMAKER_NOT_AVAILABLE",
                        "INVALID_API_KEY",
                        "API_ACCESS_DENIED",
                        "ACCOUNT_NOT_ACTIVE",
                        "BETTING_NOT_ALLOWED",
                        "BALANCE_UNAVAILABLE",
                        "INSUFFICIENT_FUNDS",
                        "MAX_STAKE_PER_FIXTURE_EXCEEDED",
                        "PRICE_NOT_AVAILABLE",
                        "PRICE_CHANGED",
                        "NO_LIQUIDITY",
                        "INSUFFICIENT_LIQUIDITY",
                        "CLIENT_ORDER_ID_REUSED",
                        "PREVIOUS_ATTEMPT_UNRESOLVED",
                        "NOT_FOUND",
                        "INVALID_CURSOR",
                        "INVALID_WINDOW",
                        "ORDER_BUSY",
                        "CONFLICT",
                        "FORBIDDEN",
                        "RATE_LIMITED",
                        "BETTING_SUSPENDED",
                        "EXPIRY_NOT_AVAILABLE",
                        "PUBLIC_API_DISABLED",
                        "SERVICE_UNAVAILABLE",
                        "UPSTREAM_UNAVAILABLE",
                        "FEED_UNAVAILABLE",
                        "FEED_TIMEOUT",
                        "INTERNAL_ERROR"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "401": {
            "description": "Error. `code` is stable; `message` is for humans and may change.",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Error. `code` is stable; `message` is for humans and may change.",
                  "type": "object",
                  "required": [
                    "code",
                    "message"
                  ],
                  "properties": {
                    "code": {
                      "type": "string",
                      "enum": [
                        "VALIDATION_FAILED",
                        "MODE_REQUIRED",
                        "INVALID_STAKE",
                        "INVALID_PRICE",
                        "INVALID_EXPIRY",
                        "CURRENCY_NOT_SUPPORTED",
                        "BOOKMAKER_NOT_AVAILABLE_VIA_API",
                        "BOOKMAKER_NOT_AVAILABLE",
                        "INVALID_API_KEY",
                        "API_ACCESS_DENIED",
                        "ACCOUNT_NOT_ACTIVE",
                        "BETTING_NOT_ALLOWED",
                        "BALANCE_UNAVAILABLE",
                        "INSUFFICIENT_FUNDS",
                        "MAX_STAKE_PER_FIXTURE_EXCEEDED",
                        "PRICE_NOT_AVAILABLE",
                        "PRICE_CHANGED",
                        "NO_LIQUIDITY",
                        "INSUFFICIENT_LIQUIDITY",
                        "CLIENT_ORDER_ID_REUSED",
                        "PREVIOUS_ATTEMPT_UNRESOLVED",
                        "NOT_FOUND",
                        "INVALID_CURSOR",
                        "INVALID_WINDOW",
                        "ORDER_BUSY",
                        "CONFLICT",
                        "FORBIDDEN",
                        "RATE_LIMITED",
                        "BETTING_SUSPENDED",
                        "EXPIRY_NOT_AVAILABLE",
                        "PUBLIC_API_DISABLED",
                        "SERVICE_UNAVAILABLE",
                        "UPSTREAM_UNAVAILABLE",
                        "FEED_UNAVAILABLE",
                        "FEED_TIMEOUT",
                        "INTERNAL_ERROR"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "403": {
            "description": "Error. `code` is stable; `message` is for humans and may change.",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Error. `code` is stable; `message` is for humans and may change.",
                  "type": "object",
                  "required": [
                    "code",
                    "message"
                  ],
                  "properties": {
                    "code": {
                      "type": "string",
                      "enum": [
                        "VALIDATION_FAILED",
                        "MODE_REQUIRED",
                        "INVALID_STAKE",
                        "INVALID_PRICE",
                        "INVALID_EXPIRY",
                        "CURRENCY_NOT_SUPPORTED",
                        "BOOKMAKER_NOT_AVAILABLE_VIA_API",
                        "BOOKMAKER_NOT_AVAILABLE",
                        "INVALID_API_KEY",
                        "API_ACCESS_DENIED",
                        "ACCOUNT_NOT_ACTIVE",
                        "BETTING_NOT_ALLOWED",
                        "BALANCE_UNAVAILABLE",
                        "INSUFFICIENT_FUNDS",
                        "MAX_STAKE_PER_FIXTURE_EXCEEDED",
                        "PRICE_NOT_AVAILABLE",
                        "PRICE_CHANGED",
                        "NO_LIQUIDITY",
                        "INSUFFICIENT_LIQUIDITY",
                        "CLIENT_ORDER_ID_REUSED",
                        "PREVIOUS_ATTEMPT_UNRESOLVED",
                        "NOT_FOUND",
                        "INVALID_CURSOR",
                        "INVALID_WINDOW",
                        "ORDER_BUSY",
                        "CONFLICT",
                        "FORBIDDEN",
                        "RATE_LIMITED",
                        "BETTING_SUSPENDED",
                        "EXPIRY_NOT_AVAILABLE",
                        "PUBLIC_API_DISABLED",
                        "SERVICE_UNAVAILABLE",
                        "UPSTREAM_UNAVAILABLE",
                        "FEED_UNAVAILABLE",
                        "FEED_TIMEOUT",
                        "INTERNAL_ERROR"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "404": {
            "description": "Error. `code` is stable; `message` is for humans and may change.",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Error. `code` is stable; `message` is for humans and may change.",
                  "type": "object",
                  "required": [
                    "code",
                    "message"
                  ],
                  "properties": {
                    "code": {
                      "type": "string",
                      "enum": [
                        "VALIDATION_FAILED",
                        "MODE_REQUIRED",
                        "INVALID_STAKE",
                        "INVALID_PRICE",
                        "INVALID_EXPIRY",
                        "CURRENCY_NOT_SUPPORTED",
                        "BOOKMAKER_NOT_AVAILABLE_VIA_API",
                        "BOOKMAKER_NOT_AVAILABLE",
                        "INVALID_API_KEY",
                        "API_ACCESS_DENIED",
                        "ACCOUNT_NOT_ACTIVE",
                        "BETTING_NOT_ALLOWED",
                        "BALANCE_UNAVAILABLE",
                        "INSUFFICIENT_FUNDS",
                        "MAX_STAKE_PER_FIXTURE_EXCEEDED",
                        "PRICE_NOT_AVAILABLE",
                        "PRICE_CHANGED",
                        "NO_LIQUIDITY",
                        "INSUFFICIENT_LIQUIDITY",
                        "CLIENT_ORDER_ID_REUSED",
                        "PREVIOUS_ATTEMPT_UNRESOLVED",
                        "NOT_FOUND",
                        "INVALID_CURSOR",
                        "INVALID_WINDOW",
                        "ORDER_BUSY",
                        "CONFLICT",
                        "FORBIDDEN",
                        "RATE_LIMITED",
                        "BETTING_SUSPENDED",
                        "EXPIRY_NOT_AVAILABLE",
                        "PUBLIC_API_DISABLED",
                        "SERVICE_UNAVAILABLE",
                        "UPSTREAM_UNAVAILABLE",
                        "FEED_UNAVAILABLE",
                        "FEED_TIMEOUT",
                        "INTERNAL_ERROR"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "429": {
            "description": "Error. `code` is stable; `message` is for humans and may change.",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Error. `code` is stable; `message` is for humans and may change.",
                  "type": "object",
                  "required": [
                    "code",
                    "message"
                  ],
                  "properties": {
                    "code": {
                      "type": "string",
                      "enum": [
                        "VALIDATION_FAILED",
                        "MODE_REQUIRED",
                        "INVALID_STAKE",
                        "INVALID_PRICE",
                        "INVALID_EXPIRY",
                        "CURRENCY_NOT_SUPPORTED",
                        "BOOKMAKER_NOT_AVAILABLE_VIA_API",
                        "BOOKMAKER_NOT_AVAILABLE",
                        "INVALID_API_KEY",
                        "API_ACCESS_DENIED",
                        "ACCOUNT_NOT_ACTIVE",
                        "BETTING_NOT_ALLOWED",
                        "BALANCE_UNAVAILABLE",
                        "INSUFFICIENT_FUNDS",
                        "MAX_STAKE_PER_FIXTURE_EXCEEDED",
                        "PRICE_NOT_AVAILABLE",
                        "PRICE_CHANGED",
                        "NO_LIQUIDITY",
                        "INSUFFICIENT_LIQUIDITY",
                        "CLIENT_ORDER_ID_REUSED",
                        "PREVIOUS_ATTEMPT_UNRESOLVED",
                        "NOT_FOUND",
                        "INVALID_CURSOR",
                        "INVALID_WINDOW",
                        "ORDER_BUSY",
                        "CONFLICT",
                        "FORBIDDEN",
                        "RATE_LIMITED",
                        "BETTING_SUSPENDED",
                        "EXPIRY_NOT_AVAILABLE",
                        "PUBLIC_API_DISABLED",
                        "SERVICE_UNAVAILABLE",
                        "UPSTREAM_UNAVAILABLE",
                        "FEED_UNAVAILABLE",
                        "FEED_TIMEOUT",
                        "INTERNAL_ERROR"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "502": {
            "description": "Error. `code` is stable; `message` is for humans and may change.",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Error. `code` is stable; `message` is for humans and may change.",
                  "type": "object",
                  "required": [
                    "code",
                    "message"
                  ],
                  "properties": {
                    "code": {
                      "type": "string",
                      "enum": [
                        "VALIDATION_FAILED",
                        "MODE_REQUIRED",
                        "INVALID_STAKE",
                        "INVALID_PRICE",
                        "INVALID_EXPIRY",
                        "CURRENCY_NOT_SUPPORTED",
                        "BOOKMAKER_NOT_AVAILABLE_VIA_API",
                        "BOOKMAKER_NOT_AVAILABLE",
                        "INVALID_API_KEY",
                        "API_ACCESS_DENIED",
                        "ACCOUNT_NOT_ACTIVE",
                        "BETTING_NOT_ALLOWED",
                        "BALANCE_UNAVAILABLE",
                        "INSUFFICIENT_FUNDS",
                        "MAX_STAKE_PER_FIXTURE_EXCEEDED",
                        "PRICE_NOT_AVAILABLE",
                        "PRICE_CHANGED",
                        "NO_LIQUIDITY",
                        "INSUFFICIENT_LIQUIDITY",
                        "CLIENT_ORDER_ID_REUSED",
                        "PREVIOUS_ATTEMPT_UNRESOLVED",
                        "NOT_FOUND",
                        "INVALID_CURSOR",
                        "INVALID_WINDOW",
                        "ORDER_BUSY",
                        "CONFLICT",
                        "FORBIDDEN",
                        "RATE_LIMITED",
                        "BETTING_SUSPENDED",
                        "EXPIRY_NOT_AVAILABLE",
                        "PUBLIC_API_DISABLED",
                        "SERVICE_UNAVAILABLE",
                        "UPSTREAM_UNAVAILABLE",
                        "FEED_UNAVAILABLE",
                        "FEED_TIMEOUT",
                        "INTERNAL_ERROR"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "503": {
            "description": "Error. `code` is stable; `message` is for humans and may change.",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Error. `code` is stable; `message` is for humans and may change.",
                  "type": "object",
                  "required": [
                    "code",
                    "message"
                  ],
                  "properties": {
                    "code": {
                      "type": "string",
                      "enum": [
                        "VALIDATION_FAILED",
                        "MODE_REQUIRED",
                        "INVALID_STAKE",
                        "INVALID_PRICE",
                        "INVALID_EXPIRY",
                        "CURRENCY_NOT_SUPPORTED",
                        "BOOKMAKER_NOT_AVAILABLE_VIA_API",
                        "BOOKMAKER_NOT_AVAILABLE",
                        "INVALID_API_KEY",
                        "API_ACCESS_DENIED",
                        "ACCOUNT_NOT_ACTIVE",
                        "BETTING_NOT_ALLOWED",
                        "BALANCE_UNAVAILABLE",
                        "INSUFFICIENT_FUNDS",
                        "MAX_STAKE_PER_FIXTURE_EXCEEDED",
                        "PRICE_NOT_AVAILABLE",
                        "PRICE_CHANGED",
                        "NO_LIQUIDITY",
                        "INSUFFICIENT_LIQUIDITY",
                        "CLIENT_ORDER_ID_REUSED",
                        "PREVIOUS_ATTEMPT_UNRESOLVED",
                        "NOT_FOUND",
                        "INVALID_CURSOR",
                        "INVALID_WINDOW",
                        "ORDER_BUSY",
                        "CONFLICT",
                        "FORBIDDEN",
                        "RATE_LIMITED",
                        "BETTING_SUSPENDED",
                        "EXPIRY_NOT_AVAILABLE",
                        "PUBLIC_API_DISABLED",
                        "SERVICE_UNAVAILABLE",
                        "UPSTREAM_UNAVAILABLE",
                        "FEED_UNAVAILABLE",
                        "FEED_TIMEOUT",
                        "INTERNAL_ERROR"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "504": {
            "description": "Error. `code` is stable; `message` is for humans and may change.",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Error. `code` is stable; `message` is for humans and may change.",
                  "type": "object",
                  "required": [
                    "code",
                    "message"
                  ],
                  "properties": {
                    "code": {
                      "type": "string",
                      "enum": [
                        "VALIDATION_FAILED",
                        "MODE_REQUIRED",
                        "INVALID_STAKE",
                        "INVALID_PRICE",
                        "INVALID_EXPIRY",
                        "CURRENCY_NOT_SUPPORTED",
                        "BOOKMAKER_NOT_AVAILABLE_VIA_API",
                        "BOOKMAKER_NOT_AVAILABLE",
                        "INVALID_API_KEY",
                        "API_ACCESS_DENIED",
                        "ACCOUNT_NOT_ACTIVE",
                        "BETTING_NOT_ALLOWED",
                        "BALANCE_UNAVAILABLE",
                        "INSUFFICIENT_FUNDS",
                        "MAX_STAKE_PER_FIXTURE_EXCEEDED",
                        "PRICE_NOT_AVAILABLE",
                        "PRICE_CHANGED",
                        "NO_LIQUIDITY",
                        "INSUFFICIENT_LIQUIDITY",
                        "CLIENT_ORDER_ID_REUSED",
                        "PREVIOUS_ATTEMPT_UNRESOLVED",
                        "NOT_FOUND",
                        "INVALID_CURSOR",
                        "INVALID_WINDOW",
                        "ORDER_BUSY",
                        "CONFLICT",
                        "FORBIDDEN",
                        "RATE_LIMITED",
                        "BETTING_SUSPENDED",
                        "EXPIRY_NOT_AVAILABLE",
                        "PUBLIC_API_DISABLED",
                        "SERVICE_UNAVAILABLE",
                        "UPSTREAM_UNAVAILABLE",
                        "FEED_UNAVAILABLE",
                        "FEED_TIMEOUT",
                        "INTERNAL_ERROR"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          }
        }
      }
    },
    "/v1/betslip": {
      "get": {
        "summary": "Get the betslip",
        "tags": [
          "Betslip"
        ],
        "description": "Prices and stake limits for one selection at each bookmaker, with the account's rules applied. Without `bookmaker`, every bookmaker of the account is quoted. Fields are null when `active` is false.",
        "parameters": [
          {
            "schema": {
              "minLength": 1,
              "maxLength": 255,
              "type": "string"
            },
            "in": "query",
            "name": "fixtureId",
            "required": true
          },
          {
            "schema": {
              "type": "integer"
            },
            "in": "query",
            "name": "outcomeId",
            "required": true
          },
          {
            "schema": {
              "default": 0,
              "type": "integer"
            },
            "in": "query",
            "name": "playerId",
            "required": false
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "minLength": 1,
                "maxLength": 64,
                "type": "string"
              }
            },
            "in": "query",
            "name": "bookmaker",
            "required": false,
            "description": "Repeat the parameter to ask for several values"
          }
        ],
        "security": [
          {
            "apiKey": []
          }
        ],
        "responses": {
          "200": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "fixtureId",
                    "outcomeId",
                    "playerId",
                    "bookmakers"
                  ],
                  "properties": {
                    "fixtureId": {
                      "type": "string"
                    },
                    "outcomeId": {
                      "type": "integer"
                    },
                    "playerId": {
                      "type": "integer"
                    },
                    "bookmakers": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "required": [
                          "bookmaker",
                          "active",
                          "price",
                          "minStake",
                          "maxStake"
                        ],
                        "properties": {
                          "bookmaker": {
                            "type": "string"
                          },
                          "active": {
                            "description": "false when the bookmaker cannot take a bet on this selection right now",
                            "type": "boolean"
                          },
                          "price": {
                            "description": "Price the account gets, after its rules. Sent as minPrice, it books at the bookmaker's current price.",
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "minStake": {
                            "anyOf": [
                              {
                                "description": "Smallest stake the bookmaker accepts",
                                "type": "object",
                                "required": [
                                  "amount",
                                  "amountCents",
                                  "currency"
                                ],
                                "properties": {
                                  "amount": {
                                    "pattern": "^-?\\d+\\.\\d{2}$",
                                    "description": "Decimal string, two decimals",
                                    "type": "string"
                                  },
                                  "amountCents": {
                                    "description": "The same amount in integer cents: amount times 100",
                                    "type": "integer"
                                  },
                                  "currency": {
                                    "description": "ISO 4217 code",
                                    "type": "string"
                                  }
                                }
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "maxStake": {
                            "anyOf": [
                              {
                                "description": "Largest stake the account can place at this bookmaker",
                                "type": "object",
                                "required": [
                                  "amount",
                                  "amountCents",
                                  "currency"
                                ],
                                "properties": {
                                  "amount": {
                                    "pattern": "^-?\\d+\\.\\d{2}$",
                                    "description": "Decimal string, two decimals",
                                    "type": "string"
                                  },
                                  "amountCents": {
                                    "description": "The same amount in integer cents: amount times 100",
                                    "type": "integer"
                                  },
                                  "currency": {
                                    "description": "ISO 4217 code",
                                    "type": "string"
                                  }
                                }
                              },
                              {
                                "type": "null"
                              }
                            ]
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Error. `code` is stable; `message` is for humans and may change.",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Error. `code` is stable; `message` is for humans and may change.",
                  "type": "object",
                  "required": [
                    "code",
                    "message"
                  ],
                  "properties": {
                    "code": {
                      "type": "string",
                      "enum": [
                        "VALIDATION_FAILED",
                        "MODE_REQUIRED",
                        "INVALID_STAKE",
                        "INVALID_PRICE",
                        "INVALID_EXPIRY",
                        "CURRENCY_NOT_SUPPORTED",
                        "BOOKMAKER_NOT_AVAILABLE_VIA_API",
                        "BOOKMAKER_NOT_AVAILABLE",
                        "INVALID_API_KEY",
                        "API_ACCESS_DENIED",
                        "ACCOUNT_NOT_ACTIVE",
                        "BETTING_NOT_ALLOWED",
                        "BALANCE_UNAVAILABLE",
                        "INSUFFICIENT_FUNDS",
                        "MAX_STAKE_PER_FIXTURE_EXCEEDED",
                        "PRICE_NOT_AVAILABLE",
                        "PRICE_CHANGED",
                        "NO_LIQUIDITY",
                        "INSUFFICIENT_LIQUIDITY",
                        "CLIENT_ORDER_ID_REUSED",
                        "PREVIOUS_ATTEMPT_UNRESOLVED",
                        "NOT_FOUND",
                        "INVALID_CURSOR",
                        "INVALID_WINDOW",
                        "ORDER_BUSY",
                        "CONFLICT",
                        "FORBIDDEN",
                        "RATE_LIMITED",
                        "BETTING_SUSPENDED",
                        "EXPIRY_NOT_AVAILABLE",
                        "PUBLIC_API_DISABLED",
                        "SERVICE_UNAVAILABLE",
                        "UPSTREAM_UNAVAILABLE",
                        "FEED_UNAVAILABLE",
                        "FEED_TIMEOUT",
                        "INTERNAL_ERROR"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "401": {
            "description": "Error. `code` is stable; `message` is for humans and may change.",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Error. `code` is stable; `message` is for humans and may change.",
                  "type": "object",
                  "required": [
                    "code",
                    "message"
                  ],
                  "properties": {
                    "code": {
                      "type": "string",
                      "enum": [
                        "VALIDATION_FAILED",
                        "MODE_REQUIRED",
                        "INVALID_STAKE",
                        "INVALID_PRICE",
                        "INVALID_EXPIRY",
                        "CURRENCY_NOT_SUPPORTED",
                        "BOOKMAKER_NOT_AVAILABLE_VIA_API",
                        "BOOKMAKER_NOT_AVAILABLE",
                        "INVALID_API_KEY",
                        "API_ACCESS_DENIED",
                        "ACCOUNT_NOT_ACTIVE",
                        "BETTING_NOT_ALLOWED",
                        "BALANCE_UNAVAILABLE",
                        "INSUFFICIENT_FUNDS",
                        "MAX_STAKE_PER_FIXTURE_EXCEEDED",
                        "PRICE_NOT_AVAILABLE",
                        "PRICE_CHANGED",
                        "NO_LIQUIDITY",
                        "INSUFFICIENT_LIQUIDITY",
                        "CLIENT_ORDER_ID_REUSED",
                        "PREVIOUS_ATTEMPT_UNRESOLVED",
                        "NOT_FOUND",
                        "INVALID_CURSOR",
                        "INVALID_WINDOW",
                        "ORDER_BUSY",
                        "CONFLICT",
                        "FORBIDDEN",
                        "RATE_LIMITED",
                        "BETTING_SUSPENDED",
                        "EXPIRY_NOT_AVAILABLE",
                        "PUBLIC_API_DISABLED",
                        "SERVICE_UNAVAILABLE",
                        "UPSTREAM_UNAVAILABLE",
                        "FEED_UNAVAILABLE",
                        "FEED_TIMEOUT",
                        "INTERNAL_ERROR"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "403": {
            "description": "Error. `code` is stable; `message` is for humans and may change.",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Error. `code` is stable; `message` is for humans and may change.",
                  "type": "object",
                  "required": [
                    "code",
                    "message"
                  ],
                  "properties": {
                    "code": {
                      "type": "string",
                      "enum": [
                        "VALIDATION_FAILED",
                        "MODE_REQUIRED",
                        "INVALID_STAKE",
                        "INVALID_PRICE",
                        "INVALID_EXPIRY",
                        "CURRENCY_NOT_SUPPORTED",
                        "BOOKMAKER_NOT_AVAILABLE_VIA_API",
                        "BOOKMAKER_NOT_AVAILABLE",
                        "INVALID_API_KEY",
                        "API_ACCESS_DENIED",
                        "ACCOUNT_NOT_ACTIVE",
                        "BETTING_NOT_ALLOWED",
                        "BALANCE_UNAVAILABLE",
                        "INSUFFICIENT_FUNDS",
                        "MAX_STAKE_PER_FIXTURE_EXCEEDED",
                        "PRICE_NOT_AVAILABLE",
                        "PRICE_CHANGED",
                        "NO_LIQUIDITY",
                        "INSUFFICIENT_LIQUIDITY",
                        "CLIENT_ORDER_ID_REUSED",
                        "PREVIOUS_ATTEMPT_UNRESOLVED",
                        "NOT_FOUND",
                        "INVALID_CURSOR",
                        "INVALID_WINDOW",
                        "ORDER_BUSY",
                        "CONFLICT",
                        "FORBIDDEN",
                        "RATE_LIMITED",
                        "BETTING_SUSPENDED",
                        "EXPIRY_NOT_AVAILABLE",
                        "PUBLIC_API_DISABLED",
                        "SERVICE_UNAVAILABLE",
                        "UPSTREAM_UNAVAILABLE",
                        "FEED_UNAVAILABLE",
                        "FEED_TIMEOUT",
                        "INTERNAL_ERROR"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "404": {
            "description": "Error. `code` is stable; `message` is for humans and may change.",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Error. `code` is stable; `message` is for humans and may change.",
                  "type": "object",
                  "required": [
                    "code",
                    "message"
                  ],
                  "properties": {
                    "code": {
                      "type": "string",
                      "enum": [
                        "VALIDATION_FAILED",
                        "MODE_REQUIRED",
                        "INVALID_STAKE",
                        "INVALID_PRICE",
                        "INVALID_EXPIRY",
                        "CURRENCY_NOT_SUPPORTED",
                        "BOOKMAKER_NOT_AVAILABLE_VIA_API",
                        "BOOKMAKER_NOT_AVAILABLE",
                        "INVALID_API_KEY",
                        "API_ACCESS_DENIED",
                        "ACCOUNT_NOT_ACTIVE",
                        "BETTING_NOT_ALLOWED",
                        "BALANCE_UNAVAILABLE",
                        "INSUFFICIENT_FUNDS",
                        "MAX_STAKE_PER_FIXTURE_EXCEEDED",
                        "PRICE_NOT_AVAILABLE",
                        "PRICE_CHANGED",
                        "NO_LIQUIDITY",
                        "INSUFFICIENT_LIQUIDITY",
                        "CLIENT_ORDER_ID_REUSED",
                        "PREVIOUS_ATTEMPT_UNRESOLVED",
                        "NOT_FOUND",
                        "INVALID_CURSOR",
                        "INVALID_WINDOW",
                        "ORDER_BUSY",
                        "CONFLICT",
                        "FORBIDDEN",
                        "RATE_LIMITED",
                        "BETTING_SUSPENDED",
                        "EXPIRY_NOT_AVAILABLE",
                        "PUBLIC_API_DISABLED",
                        "SERVICE_UNAVAILABLE",
                        "UPSTREAM_UNAVAILABLE",
                        "FEED_UNAVAILABLE",
                        "FEED_TIMEOUT",
                        "INTERNAL_ERROR"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "429": {
            "description": "Error. `code` is stable; `message` is for humans and may change.",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Error. `code` is stable; `message` is for humans and may change.",
                  "type": "object",
                  "required": [
                    "code",
                    "message"
                  ],
                  "properties": {
                    "code": {
                      "type": "string",
                      "enum": [
                        "VALIDATION_FAILED",
                        "MODE_REQUIRED",
                        "INVALID_STAKE",
                        "INVALID_PRICE",
                        "INVALID_EXPIRY",
                        "CURRENCY_NOT_SUPPORTED",
                        "BOOKMAKER_NOT_AVAILABLE_VIA_API",
                        "BOOKMAKER_NOT_AVAILABLE",
                        "INVALID_API_KEY",
                        "API_ACCESS_DENIED",
                        "ACCOUNT_NOT_ACTIVE",
                        "BETTING_NOT_ALLOWED",
                        "BALANCE_UNAVAILABLE",
                        "INSUFFICIENT_FUNDS",
                        "MAX_STAKE_PER_FIXTURE_EXCEEDED",
                        "PRICE_NOT_AVAILABLE",
                        "PRICE_CHANGED",
                        "NO_LIQUIDITY",
                        "INSUFFICIENT_LIQUIDITY",
                        "CLIENT_ORDER_ID_REUSED",
                        "PREVIOUS_ATTEMPT_UNRESOLVED",
                        "NOT_FOUND",
                        "INVALID_CURSOR",
                        "INVALID_WINDOW",
                        "ORDER_BUSY",
                        "CONFLICT",
                        "FORBIDDEN",
                        "RATE_LIMITED",
                        "BETTING_SUSPENDED",
                        "EXPIRY_NOT_AVAILABLE",
                        "PUBLIC_API_DISABLED",
                        "SERVICE_UNAVAILABLE",
                        "UPSTREAM_UNAVAILABLE",
                        "FEED_UNAVAILABLE",
                        "FEED_TIMEOUT",
                        "INTERNAL_ERROR"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "502": {
            "description": "Error. `code` is stable; `message` is for humans and may change.",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Error. `code` is stable; `message` is for humans and may change.",
                  "type": "object",
                  "required": [
                    "code",
                    "message"
                  ],
                  "properties": {
                    "code": {
                      "type": "string",
                      "enum": [
                        "VALIDATION_FAILED",
                        "MODE_REQUIRED",
                        "INVALID_STAKE",
                        "INVALID_PRICE",
                        "INVALID_EXPIRY",
                        "CURRENCY_NOT_SUPPORTED",
                        "BOOKMAKER_NOT_AVAILABLE_VIA_API",
                        "BOOKMAKER_NOT_AVAILABLE",
                        "INVALID_API_KEY",
                        "API_ACCESS_DENIED",
                        "ACCOUNT_NOT_ACTIVE",
                        "BETTING_NOT_ALLOWED",
                        "BALANCE_UNAVAILABLE",
                        "INSUFFICIENT_FUNDS",
                        "MAX_STAKE_PER_FIXTURE_EXCEEDED",
                        "PRICE_NOT_AVAILABLE",
                        "PRICE_CHANGED",
                        "NO_LIQUIDITY",
                        "INSUFFICIENT_LIQUIDITY",
                        "CLIENT_ORDER_ID_REUSED",
                        "PREVIOUS_ATTEMPT_UNRESOLVED",
                        "NOT_FOUND",
                        "INVALID_CURSOR",
                        "INVALID_WINDOW",
                        "ORDER_BUSY",
                        "CONFLICT",
                        "FORBIDDEN",
                        "RATE_LIMITED",
                        "BETTING_SUSPENDED",
                        "EXPIRY_NOT_AVAILABLE",
                        "PUBLIC_API_DISABLED",
                        "SERVICE_UNAVAILABLE",
                        "UPSTREAM_UNAVAILABLE",
                        "FEED_UNAVAILABLE",
                        "FEED_TIMEOUT",
                        "INTERNAL_ERROR"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "503": {
            "description": "Error. `code` is stable; `message` is for humans and may change.",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Error. `code` is stable; `message` is for humans and may change.",
                  "type": "object",
                  "required": [
                    "code",
                    "message"
                  ],
                  "properties": {
                    "code": {
                      "type": "string",
                      "enum": [
                        "VALIDATION_FAILED",
                        "MODE_REQUIRED",
                        "INVALID_STAKE",
                        "INVALID_PRICE",
                        "INVALID_EXPIRY",
                        "CURRENCY_NOT_SUPPORTED",
                        "BOOKMAKER_NOT_AVAILABLE_VIA_API",
                        "BOOKMAKER_NOT_AVAILABLE",
                        "INVALID_API_KEY",
                        "API_ACCESS_DENIED",
                        "ACCOUNT_NOT_ACTIVE",
                        "BETTING_NOT_ALLOWED",
                        "BALANCE_UNAVAILABLE",
                        "INSUFFICIENT_FUNDS",
                        "MAX_STAKE_PER_FIXTURE_EXCEEDED",
                        "PRICE_NOT_AVAILABLE",
                        "PRICE_CHANGED",
                        "NO_LIQUIDITY",
                        "INSUFFICIENT_LIQUIDITY",
                        "CLIENT_ORDER_ID_REUSED",
                        "PREVIOUS_ATTEMPT_UNRESOLVED",
                        "NOT_FOUND",
                        "INVALID_CURSOR",
                        "INVALID_WINDOW",
                        "ORDER_BUSY",
                        "CONFLICT",
                        "FORBIDDEN",
                        "RATE_LIMITED",
                        "BETTING_SUSPENDED",
                        "EXPIRY_NOT_AVAILABLE",
                        "PUBLIC_API_DISABLED",
                        "SERVICE_UNAVAILABLE",
                        "UPSTREAM_UNAVAILABLE",
                        "FEED_UNAVAILABLE",
                        "FEED_TIMEOUT",
                        "INTERNAL_ERROR"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          }
        }
      }
    },
    "/v1/orders": {
      "get": {
        "summary": "List orders",
        "tags": [
          "Orders"
        ],
        "description": "The account's orders, newest first, dashboard orders included. A page filtered on status can hold fewer than `limit` orders and still carry a `nextCursor`: keep following it until it is null.",
        "parameters": [
          {
            "schema": {
              "type": "array",
              "items": {
                "type": "string",
                "enum": [
                  "PENDING",
                  "PARTIALLY_FILLED",
                  "FILLED",
                  "EXPIRED",
                  "CANCELLED",
                  "REJECTED"
                ]
              }
            },
            "in": "query",
            "name": "status",
            "required": false,
            "description": "Repeat the parameter to ask for several statuses"
          },
          {
            "schema": {
              "minLength": 1,
              "maxLength": 255,
              "type": "string"
            },
            "in": "query",
            "name": "fixtureId",
            "required": false
          },
          {
            "schema": {
              "format": "date-time",
              "type": "string"
            },
            "in": "query",
            "name": "from",
            "required": false,
            "description": "createdAt at or after"
          },
          {
            "schema": {
              "format": "date-time",
              "type": "string"
            },
            "in": "query",
            "name": "to",
            "required": false,
            "description": "createdAt before"
          },
          {
            "schema": {
              "minLength": 1,
              "maxLength": 512,
              "type": "string"
            },
            "in": "query",
            "name": "cursor",
            "required": false
          },
          {
            "schema": {
              "minimum": 1,
              "maximum": 200,
              "default": 50,
              "type": "integer"
            },
            "in": "query",
            "name": "limit",
            "required": false
          }
        ],
        "security": [
          {
            "apiKey": []
          }
        ],
        "responses": {
          "200": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "orders",
                    "nextCursor"
                  ],
                  "properties": {
                    "orders": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "required": [
                          "id",
                          "clientOrderId",
                          "status",
                          "selection",
                          "side",
                          "bookmakers",
                          "requestedStake",
                          "filledStake",
                          "remainingStake",
                          "minPrice",
                          "averageFilledPrice",
                          "acceptBetterOdds",
                          "acceptPartialStake",
                          "expiresAt",
                          "createdAt",
                          "updatedAt",
                          "version",
                          "bets"
                        ],
                        "properties": {
                          "id": {
                            "format": "uuid",
                            "type": "string"
                          },
                          "clientOrderId": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "status": {
                            "type": "string",
                            "enum": [
                              "PENDING",
                              "PARTIALLY_FILLED",
                              "FILLED",
                              "EXPIRED",
                              "CANCELLED",
                              "REJECTED"
                            ]
                          },
                          "selection": {
                            "type": "object",
                            "required": [
                              "fixtureId",
                              "outcomeId",
                              "playerId",
                              "sportId",
                              "tournamentId",
                              "marketId"
                            ],
                            "properties": {
                              "fixtureId": {
                                "type": "string"
                              },
                              "outcomeId": {
                                "type": "integer"
                              },
                              "playerId": {
                                "type": "integer"
                              },
                              "sportId": {
                                "type": "integer"
                              },
                              "tournamentId": {
                                "anyOf": [
                                  {
                                    "type": "integer"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "marketId": {
                                "type": "integer"
                              }
                            }
                          },
                          "side": {
                            "description": "Only back is supported in v1",
                            "type": "string",
                            "enum": [
                              "back"
                            ]
                          },
                          "bookmakers": {
                            "description": "Bookmakers the stake was split across",
                            "type": "array",
                            "items": {
                              "type": "string"
                            }
                          },
                          "requestedStake": {
                            "description": "Money amount",
                            "type": "object",
                            "required": [
                              "amount",
                              "amountCents",
                              "currency"
                            ],
                            "properties": {
                              "amount": {
                                "pattern": "^-?\\d+\\.\\d{2}$",
                                "description": "Decimal string, two decimals",
                                "type": "string"
                              },
                              "amountCents": {
                                "description": "The same amount in integer cents: amount times 100",
                                "type": "integer"
                              },
                              "currency": {
                                "description": "ISO 4217 code",
                                "type": "string"
                              }
                            }
                          },
                          "filledStake": {
                            "description": "Money amount",
                            "type": "object",
                            "required": [
                              "amount",
                              "amountCents",
                              "currency"
                            ],
                            "properties": {
                              "amount": {
                                "pattern": "^-?\\d+\\.\\d{2}$",
                                "description": "Decimal string, two decimals",
                                "type": "string"
                              },
                              "amountCents": {
                                "description": "The same amount in integer cents: amount times 100",
                                "type": "integer"
                              },
                              "currency": {
                                "description": "ISO 4217 code",
                                "type": "string"
                              }
                            }
                          },
                          "remainingStake": {
                            "description": "Money amount",
                            "type": "object",
                            "required": [
                              "amount",
                              "amountCents",
                              "currency"
                            ],
                            "properties": {
                              "amount": {
                                "pattern": "^-?\\d+\\.\\d{2}$",
                                "description": "Decimal string, two decimals",
                                "type": "string"
                              },
                              "amountCents": {
                                "description": "The same amount in integer cents: amount times 100",
                                "type": "integer"
                              },
                              "currency": {
                                "description": "ISO 4217 code",
                                "type": "string"
                              }
                            }
                          },
                          "minPrice": {
                            "description": "Decimal price floor",
                            "type": "string"
                          },
                          "averageFilledPrice": {
                            "anyOf": [
                              {
                                "description": "Stake-weighted price of the filled legs",
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "acceptBetterOdds": {
                            "type": "boolean"
                          },
                          "acceptPartialStake": {
                            "type": "boolean"
                          },
                          "expiresAt": {
                            "anyOf": [
                              {
                                "format": "date-time",
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "createdAt": {
                            "format": "date-time",
                            "type": "string"
                          },
                          "updatedAt": {
                            "format": "date-time",
                            "type": "string"
                          },
                          "version": {
                            "description": "Goes up by one at every change of the order or one of its bets",
                            "type": "integer"
                          },
                          "bets": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "required": [
                                "id",
                                "orderId",
                                "bookmaker",
                                "status",
                                "requestedStake",
                                "filledStake",
                                "filledPrice",
                                "declineReason",
                                "placedAt",
                                "filledAt",
                                "settlement"
                              ],
                              "properties": {
                                "id": {
                                  "format": "uuid",
                                  "type": "string"
                                },
                                "orderId": {
                                  "format": "uuid",
                                  "type": "string"
                                },
                                "bookmaker": {
                                  "type": "string"
                                },
                                "status": {
                                  "type": "string",
                                  "enum": [
                                    "PENDING",
                                    "WAITING",
                                    "PARTIALLY_PLACED",
                                    "PLACED",
                                    "REJECTED",
                                    "CANCELLED",
                                    "SETTLED"
                                  ]
                                },
                                "requestedStake": {
                                  "description": "Money amount",
                                  "type": "object",
                                  "required": [
                                    "amount",
                                    "amountCents",
                                    "currency"
                                  ],
                                  "properties": {
                                    "amount": {
                                      "pattern": "^-?\\d+\\.\\d{2}$",
                                      "description": "Decimal string, two decimals",
                                      "type": "string"
                                    },
                                    "amountCents": {
                                      "description": "The same amount in integer cents: amount times 100",
                                      "type": "integer"
                                    },
                                    "currency": {
                                      "description": "ISO 4217 code",
                                      "type": "string"
                                    }
                                  }
                                },
                                "filledStake": {
                                  "anyOf": [
                                    {
                                      "description": "Money amount",
                                      "type": "object",
                                      "required": [
                                        "amount",
                                        "amountCents",
                                        "currency"
                                      ],
                                      "properties": {
                                        "amount": {
                                          "pattern": "^-?\\d+\\.\\d{2}$",
                                          "description": "Decimal string, two decimals",
                                          "type": "string"
                                        },
                                        "amountCents": {
                                          "description": "The same amount in integer cents: amount times 100",
                                          "type": "integer"
                                        },
                                        "currency": {
                                          "description": "ISO 4217 code",
                                          "type": "string"
                                        }
                                      }
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ]
                                },
                                "filledPrice": {
                                  "anyOf": [
                                    {
                                      "type": "string"
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ]
                                },
                                "declineReason": {
                                  "anyOf": [
                                    {
                                      "type": "string"
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ]
                                },
                                "placedAt": {
                                  "anyOf": [
                                    {
                                      "format": "date-time",
                                      "type": "string"
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ]
                                },
                                "filledAt": {
                                  "anyOf": [
                                    {
                                      "format": "date-time",
                                      "type": "string"
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ]
                                },
                                "settlement": {
                                  "type": "object",
                                  "required": [
                                    "status",
                                    "amount",
                                    "settledAt"
                                  ],
                                  "properties": {
                                    "status": {
                                      "type": "string",
                                      "enum": [
                                        "UNSETTLED",
                                        "WON",
                                        "LOST",
                                        "VOID",
                                        "HALF_WON",
                                        "HALF_LOST",
                                        "PUSH",
                                        "CASHOUT"
                                      ]
                                    },
                                    "amount": {
                                      "description": "Profit or loss of the account on this bet",
                                      "anyOf": [
                                        {
                                          "description": "Money amount",
                                          "type": "object",
                                          "required": [
                                            "amount",
                                            "amountCents",
                                            "currency"
                                          ],
                                          "properties": {
                                            "amount": {
                                              "pattern": "^-?\\d+\\.\\d{2}$",
                                              "description": "Decimal string, two decimals",
                                              "type": "string"
                                            },
                                            "amountCents": {
                                              "description": "The same amount in integer cents: amount times 100",
                                              "type": "integer"
                                            },
                                            "currency": {
                                              "description": "ISO 4217 code",
                                              "type": "string"
                                            }
                                          }
                                        },
                                        {
                                          "type": "null"
                                        }
                                      ]
                                    },
                                    "settledAt": {
                                      "anyOf": [
                                        {
                                          "format": "date-time",
                                          "type": "string"
                                        },
                                        {
                                          "type": "null"
                                        }
                                      ]
                                    }
                                  }
                                }
                              }
                            }
                          }
                        }
                      }
                    },
                    "nextCursor": {
                      "anyOf": [
                        {
                          "description": "Pass it back as cursor for the next page; null on the last page",
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Error. `code` is stable; `message` is for humans and may change.",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Error. `code` is stable; `message` is for humans and may change.",
                  "type": "object",
                  "required": [
                    "code",
                    "message"
                  ],
                  "properties": {
                    "code": {
                      "type": "string",
                      "enum": [
                        "VALIDATION_FAILED",
                        "MODE_REQUIRED",
                        "INVALID_STAKE",
                        "INVALID_PRICE",
                        "INVALID_EXPIRY",
                        "CURRENCY_NOT_SUPPORTED",
                        "BOOKMAKER_NOT_AVAILABLE_VIA_API",
                        "BOOKMAKER_NOT_AVAILABLE",
                        "INVALID_API_KEY",
                        "API_ACCESS_DENIED",
                        "ACCOUNT_NOT_ACTIVE",
                        "BETTING_NOT_ALLOWED",
                        "BALANCE_UNAVAILABLE",
                        "INSUFFICIENT_FUNDS",
                        "MAX_STAKE_PER_FIXTURE_EXCEEDED",
                        "PRICE_NOT_AVAILABLE",
                        "PRICE_CHANGED",
                        "NO_LIQUIDITY",
                        "INSUFFICIENT_LIQUIDITY",
                        "CLIENT_ORDER_ID_REUSED",
                        "PREVIOUS_ATTEMPT_UNRESOLVED",
                        "NOT_FOUND",
                        "INVALID_CURSOR",
                        "INVALID_WINDOW",
                        "ORDER_BUSY",
                        "CONFLICT",
                        "FORBIDDEN",
                        "RATE_LIMITED",
                        "BETTING_SUSPENDED",
                        "EXPIRY_NOT_AVAILABLE",
                        "PUBLIC_API_DISABLED",
                        "SERVICE_UNAVAILABLE",
                        "UPSTREAM_UNAVAILABLE",
                        "FEED_UNAVAILABLE",
                        "FEED_TIMEOUT",
                        "INTERNAL_ERROR"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "401": {
            "description": "Error. `code` is stable; `message` is for humans and may change.",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Error. `code` is stable; `message` is for humans and may change.",
                  "type": "object",
                  "required": [
                    "code",
                    "message"
                  ],
                  "properties": {
                    "code": {
                      "type": "string",
                      "enum": [
                        "VALIDATION_FAILED",
                        "MODE_REQUIRED",
                        "INVALID_STAKE",
                        "INVALID_PRICE",
                        "INVALID_EXPIRY",
                        "CURRENCY_NOT_SUPPORTED",
                        "BOOKMAKER_NOT_AVAILABLE_VIA_API",
                        "BOOKMAKER_NOT_AVAILABLE",
                        "INVALID_API_KEY",
                        "API_ACCESS_DENIED",
                        "ACCOUNT_NOT_ACTIVE",
                        "BETTING_NOT_ALLOWED",
                        "BALANCE_UNAVAILABLE",
                        "INSUFFICIENT_FUNDS",
                        "MAX_STAKE_PER_FIXTURE_EXCEEDED",
                        "PRICE_NOT_AVAILABLE",
                        "PRICE_CHANGED",
                        "NO_LIQUIDITY",
                        "INSUFFICIENT_LIQUIDITY",
                        "CLIENT_ORDER_ID_REUSED",
                        "PREVIOUS_ATTEMPT_UNRESOLVED",
                        "NOT_FOUND",
                        "INVALID_CURSOR",
                        "INVALID_WINDOW",
                        "ORDER_BUSY",
                        "CONFLICT",
                        "FORBIDDEN",
                        "RATE_LIMITED",
                        "BETTING_SUSPENDED",
                        "EXPIRY_NOT_AVAILABLE",
                        "PUBLIC_API_DISABLED",
                        "SERVICE_UNAVAILABLE",
                        "UPSTREAM_UNAVAILABLE",
                        "FEED_UNAVAILABLE",
                        "FEED_TIMEOUT",
                        "INTERNAL_ERROR"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "403": {
            "description": "Error. `code` is stable; `message` is for humans and may change.",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Error. `code` is stable; `message` is for humans and may change.",
                  "type": "object",
                  "required": [
                    "code",
                    "message"
                  ],
                  "properties": {
                    "code": {
                      "type": "string",
                      "enum": [
                        "VALIDATION_FAILED",
                        "MODE_REQUIRED",
                        "INVALID_STAKE",
                        "INVALID_PRICE",
                        "INVALID_EXPIRY",
                        "CURRENCY_NOT_SUPPORTED",
                        "BOOKMAKER_NOT_AVAILABLE_VIA_API",
                        "BOOKMAKER_NOT_AVAILABLE",
                        "INVALID_API_KEY",
                        "API_ACCESS_DENIED",
                        "ACCOUNT_NOT_ACTIVE",
                        "BETTING_NOT_ALLOWED",
                        "BALANCE_UNAVAILABLE",
                        "INSUFFICIENT_FUNDS",
                        "MAX_STAKE_PER_FIXTURE_EXCEEDED",
                        "PRICE_NOT_AVAILABLE",
                        "PRICE_CHANGED",
                        "NO_LIQUIDITY",
                        "INSUFFICIENT_LIQUIDITY",
                        "CLIENT_ORDER_ID_REUSED",
                        "PREVIOUS_ATTEMPT_UNRESOLVED",
                        "NOT_FOUND",
                        "INVALID_CURSOR",
                        "INVALID_WINDOW",
                        "ORDER_BUSY",
                        "CONFLICT",
                        "FORBIDDEN",
                        "RATE_LIMITED",
                        "BETTING_SUSPENDED",
                        "EXPIRY_NOT_AVAILABLE",
                        "PUBLIC_API_DISABLED",
                        "SERVICE_UNAVAILABLE",
                        "UPSTREAM_UNAVAILABLE",
                        "FEED_UNAVAILABLE",
                        "FEED_TIMEOUT",
                        "INTERNAL_ERROR"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "429": {
            "description": "Error. `code` is stable; `message` is for humans and may change.",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Error. `code` is stable; `message` is for humans and may change.",
                  "type": "object",
                  "required": [
                    "code",
                    "message"
                  ],
                  "properties": {
                    "code": {
                      "type": "string",
                      "enum": [
                        "VALIDATION_FAILED",
                        "MODE_REQUIRED",
                        "INVALID_STAKE",
                        "INVALID_PRICE",
                        "INVALID_EXPIRY",
                        "CURRENCY_NOT_SUPPORTED",
                        "BOOKMAKER_NOT_AVAILABLE_VIA_API",
                        "BOOKMAKER_NOT_AVAILABLE",
                        "INVALID_API_KEY",
                        "API_ACCESS_DENIED",
                        "ACCOUNT_NOT_ACTIVE",
                        "BETTING_NOT_ALLOWED",
                        "BALANCE_UNAVAILABLE",
                        "INSUFFICIENT_FUNDS",
                        "MAX_STAKE_PER_FIXTURE_EXCEEDED",
                        "PRICE_NOT_AVAILABLE",
                        "PRICE_CHANGED",
                        "NO_LIQUIDITY",
                        "INSUFFICIENT_LIQUIDITY",
                        "CLIENT_ORDER_ID_REUSED",
                        "PREVIOUS_ATTEMPT_UNRESOLVED",
                        "NOT_FOUND",
                        "INVALID_CURSOR",
                        "INVALID_WINDOW",
                        "ORDER_BUSY",
                        "CONFLICT",
                        "FORBIDDEN",
                        "RATE_LIMITED",
                        "BETTING_SUSPENDED",
                        "EXPIRY_NOT_AVAILABLE",
                        "PUBLIC_API_DISABLED",
                        "SERVICE_UNAVAILABLE",
                        "UPSTREAM_UNAVAILABLE",
                        "FEED_UNAVAILABLE",
                        "FEED_TIMEOUT",
                        "INTERNAL_ERROR"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "503": {
            "description": "Error. `code` is stable; `message` is for humans and may change.",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Error. `code` is stable; `message` is for humans and may change.",
                  "type": "object",
                  "required": [
                    "code",
                    "message"
                  ],
                  "properties": {
                    "code": {
                      "type": "string",
                      "enum": [
                        "VALIDATION_FAILED",
                        "MODE_REQUIRED",
                        "INVALID_STAKE",
                        "INVALID_PRICE",
                        "INVALID_EXPIRY",
                        "CURRENCY_NOT_SUPPORTED",
                        "BOOKMAKER_NOT_AVAILABLE_VIA_API",
                        "BOOKMAKER_NOT_AVAILABLE",
                        "INVALID_API_KEY",
                        "API_ACCESS_DENIED",
                        "ACCOUNT_NOT_ACTIVE",
                        "BETTING_NOT_ALLOWED",
                        "BALANCE_UNAVAILABLE",
                        "INSUFFICIENT_FUNDS",
                        "MAX_STAKE_PER_FIXTURE_EXCEEDED",
                        "PRICE_NOT_AVAILABLE",
                        "PRICE_CHANGED",
                        "NO_LIQUIDITY",
                        "INSUFFICIENT_LIQUIDITY",
                        "CLIENT_ORDER_ID_REUSED",
                        "PREVIOUS_ATTEMPT_UNRESOLVED",
                        "NOT_FOUND",
                        "INVALID_CURSOR",
                        "INVALID_WINDOW",
                        "ORDER_BUSY",
                        "CONFLICT",
                        "FORBIDDEN",
                        "RATE_LIMITED",
                        "BETTING_SUSPENDED",
                        "EXPIRY_NOT_AVAILABLE",
                        "PUBLIC_API_DISABLED",
                        "SERVICE_UNAVAILABLE",
                        "UPSTREAM_UNAVAILABLE",
                        "FEED_UNAVAILABLE",
                        "FEED_TIMEOUT",
                        "INTERNAL_ERROR"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          }
        }
      },
      "post": {
        "summary": "Place or preview an order",
        "tags": [
          "Orders"
        ],
        "description": "mode \"place\" answers 201 with the new order, or 200 with the existing order when the same request is resent with its clientOrderId. mode \"preview\" answers 200 with what would be placed now, status PREVIEW, and stores nothing.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "mode",
                  "clientOrderId",
                  "fixtureId",
                  "outcomeId",
                  "side",
                  "stake",
                  "minPrice",
                  "acceptBetterOdds",
                  "acceptPartialStake"
                ],
                "properties": {
                  "mode": {
                    "description": "\"preview\" applies rules and limits and stores nothing; \"place\" places the order. No default.",
                    "type": "string",
                    "enum": [
                      "preview",
                      "place"
                    ]
                  },
                  "clientOrderId": {
                    "minLength": 1,
                    "maxLength": 200,
                    "description": "Unique per account. Resending the same request with it returns the same order.",
                    "type": "string"
                  },
                  "fixtureId": {
                    "minLength": 1,
                    "maxLength": 255,
                    "type": "string"
                  },
                  "outcomeId": {
                    "type": "integer"
                  },
                  "playerId": {
                    "minimum": 0,
                    "default": 0,
                    "type": "integer"
                  },
                  "side": {
                    "description": "Only back is supported in v1",
                    "type": "string",
                    "enum": [
                      "back"
                    ]
                  },
                  "bookmakers": {
                    "minItems": 1,
                    "maxItems": 50,
                    "description": "Bookmakers to split the stake across. Omitted: every bookmaker of the account, except those closed to the API.",
                    "type": "array",
                    "items": {
                      "minLength": 1,
                      "maxLength": 64,
                      "type": "string"
                    }
                  },
                  "stake": {
                    "type": "object",
                    "required": [
                      "amount",
                      "currency"
                    ],
                    "properties": {
                      "amount": {
                        "pattern": "^\\d+(\\.\\d{1,2})?$",
                        "description": "Positive decimal string, at most two decimals",
                        "type": "string"
                      },
                      "currency": {
                        "pattern": "^[A-Z]{3}$",
                        "description": "ISO 4217 code; must be the account currency (USD)",
                        "type": "string"
                      }
                    }
                  },
                  "minPrice": {
                    "pattern": "^\\d+(\\.\\d{1,4})?$",
                    "description": "Decimal price floor, at least 1.001",
                    "type": "string"
                  },
                  "acceptBetterOdds": {
                    "type": "boolean"
                  },
                  "acceptPartialStake": {
                    "description": "true without expiresAt: immediate or cancel; false: fill or kill",
                    "type": "boolean"
                  },
                  "expiresAt": {
                    "format": "date-time",
                    "description": "Keep working the remainder until then, at most 1 hour ahead",
                    "type": "string"
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKey": []
          }
        ],
        "responses": {
          "200": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "anyOf": [
                    {
                      "type": "object",
                      "required": [
                        "id",
                        "clientOrderId",
                        "status",
                        "selection",
                        "side",
                        "bookmakers",
                        "requestedStake",
                        "filledStake",
                        "remainingStake",
                        "minPrice",
                        "averageFilledPrice",
                        "acceptBetterOdds",
                        "acceptPartialStake",
                        "expiresAt",
                        "createdAt",
                        "updatedAt",
                        "version",
                        "bets"
                      ],
                      "properties": {
                        "id": {
                          "format": "uuid",
                          "type": "string"
                        },
                        "clientOrderId": {
                          "anyOf": [
                            {
                              "type": "string"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "status": {
                          "type": "string",
                          "enum": [
                            "PENDING",
                            "PARTIALLY_FILLED",
                            "FILLED",
                            "EXPIRED",
                            "CANCELLED",
                            "REJECTED"
                          ]
                        },
                        "selection": {
                          "type": "object",
                          "required": [
                            "fixtureId",
                            "outcomeId",
                            "playerId",
                            "sportId",
                            "tournamentId",
                            "marketId"
                          ],
                          "properties": {
                            "fixtureId": {
                              "type": "string"
                            },
                            "outcomeId": {
                              "type": "integer"
                            },
                            "playerId": {
                              "type": "integer"
                            },
                            "sportId": {
                              "type": "integer"
                            },
                            "tournamentId": {
                              "anyOf": [
                                {
                                  "type": "integer"
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            },
                            "marketId": {
                              "type": "integer"
                            }
                          }
                        },
                        "side": {
                          "description": "Only back is supported in v1",
                          "type": "string",
                          "enum": [
                            "back"
                          ]
                        },
                        "bookmakers": {
                          "description": "Bookmakers the stake was split across",
                          "type": "array",
                          "items": {
                            "type": "string"
                          }
                        },
                        "requestedStake": {
                          "description": "Money amount",
                          "type": "object",
                          "required": [
                            "amount",
                            "amountCents",
                            "currency"
                          ],
                          "properties": {
                            "amount": {
                              "pattern": "^-?\\d+\\.\\d{2}$",
                              "description": "Decimal string, two decimals",
                              "type": "string"
                            },
                            "amountCents": {
                              "description": "The same amount in integer cents: amount times 100",
                              "type": "integer"
                            },
                            "currency": {
                              "description": "ISO 4217 code",
                              "type": "string"
                            }
                          }
                        },
                        "filledStake": {
                          "description": "Money amount",
                          "type": "object",
                          "required": [
                            "amount",
                            "amountCents",
                            "currency"
                          ],
                          "properties": {
                            "amount": {
                              "pattern": "^-?\\d+\\.\\d{2}$",
                              "description": "Decimal string, two decimals",
                              "type": "string"
                            },
                            "amountCents": {
                              "description": "The same amount in integer cents: amount times 100",
                              "type": "integer"
                            },
                            "currency": {
                              "description": "ISO 4217 code",
                              "type": "string"
                            }
                          }
                        },
                        "remainingStake": {
                          "description": "Money amount",
                          "type": "object",
                          "required": [
                            "amount",
                            "amountCents",
                            "currency"
                          ],
                          "properties": {
                            "amount": {
                              "pattern": "^-?\\d+\\.\\d{2}$",
                              "description": "Decimal string, two decimals",
                              "type": "string"
                            },
                            "amountCents": {
                              "description": "The same amount in integer cents: amount times 100",
                              "type": "integer"
                            },
                            "currency": {
                              "description": "ISO 4217 code",
                              "type": "string"
                            }
                          }
                        },
                        "minPrice": {
                          "description": "Decimal price floor",
                          "type": "string"
                        },
                        "averageFilledPrice": {
                          "anyOf": [
                            {
                              "description": "Stake-weighted price of the filled legs",
                              "type": "string"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "acceptBetterOdds": {
                          "type": "boolean"
                        },
                        "acceptPartialStake": {
                          "type": "boolean"
                        },
                        "expiresAt": {
                          "anyOf": [
                            {
                              "format": "date-time",
                              "type": "string"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "createdAt": {
                          "format": "date-time",
                          "type": "string"
                        },
                        "updatedAt": {
                          "format": "date-time",
                          "type": "string"
                        },
                        "version": {
                          "description": "Goes up by one at every change of the order or one of its bets",
                          "type": "integer"
                        },
                        "bets": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "required": [
                              "id",
                              "orderId",
                              "bookmaker",
                              "status",
                              "requestedStake",
                              "filledStake",
                              "filledPrice",
                              "declineReason",
                              "placedAt",
                              "filledAt",
                              "settlement"
                            ],
                            "properties": {
                              "id": {
                                "format": "uuid",
                                "type": "string"
                              },
                              "orderId": {
                                "format": "uuid",
                                "type": "string"
                              },
                              "bookmaker": {
                                "type": "string"
                              },
                              "status": {
                                "type": "string",
                                "enum": [
                                  "PENDING",
                                  "WAITING",
                                  "PARTIALLY_PLACED",
                                  "PLACED",
                                  "REJECTED",
                                  "CANCELLED",
                                  "SETTLED"
                                ]
                              },
                              "requestedStake": {
                                "description": "Money amount",
                                "type": "object",
                                "required": [
                                  "amount",
                                  "amountCents",
                                  "currency"
                                ],
                                "properties": {
                                  "amount": {
                                    "pattern": "^-?\\d+\\.\\d{2}$",
                                    "description": "Decimal string, two decimals",
                                    "type": "string"
                                  },
                                  "amountCents": {
                                    "description": "The same amount in integer cents: amount times 100",
                                    "type": "integer"
                                  },
                                  "currency": {
                                    "description": "ISO 4217 code",
                                    "type": "string"
                                  }
                                }
                              },
                              "filledStake": {
                                "anyOf": [
                                  {
                                    "description": "Money amount",
                                    "type": "object",
                                    "required": [
                                      "amount",
                                      "amountCents",
                                      "currency"
                                    ],
                                    "properties": {
                                      "amount": {
                                        "pattern": "^-?\\d+\\.\\d{2}$",
                                        "description": "Decimal string, two decimals",
                                        "type": "string"
                                      },
                                      "amountCents": {
                                        "description": "The same amount in integer cents: amount times 100",
                                        "type": "integer"
                                      },
                                      "currency": {
                                        "description": "ISO 4217 code",
                                        "type": "string"
                                      }
                                    }
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "filledPrice": {
                                "anyOf": [
                                  {
                                    "type": "string"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "declineReason": {
                                "anyOf": [
                                  {
                                    "type": "string"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "placedAt": {
                                "anyOf": [
                                  {
                                    "format": "date-time",
                                    "type": "string"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "filledAt": {
                                "anyOf": [
                                  {
                                    "format": "date-time",
                                    "type": "string"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "settlement": {
                                "type": "object",
                                "required": [
                                  "status",
                                  "amount",
                                  "settledAt"
                                ],
                                "properties": {
                                  "status": {
                                    "type": "string",
                                    "enum": [
                                      "UNSETTLED",
                                      "WON",
                                      "LOST",
                                      "VOID",
                                      "HALF_WON",
                                      "HALF_LOST",
                                      "PUSH",
                                      "CASHOUT"
                                    ]
                                  },
                                  "amount": {
                                    "description": "Profit or loss of the account on this bet",
                                    "anyOf": [
                                      {
                                        "description": "Money amount",
                                        "type": "object",
                                        "required": [
                                          "amount",
                                          "amountCents",
                                          "currency"
                                        ],
                                        "properties": {
                                          "amount": {
                                            "pattern": "^-?\\d+\\.\\d{2}$",
                                            "description": "Decimal string, two decimals",
                                            "type": "string"
                                          },
                                          "amountCents": {
                                            "description": "The same amount in integer cents: amount times 100",
                                            "type": "integer"
                                          },
                                          "currency": {
                                            "description": "ISO 4217 code",
                                            "type": "string"
                                          }
                                        }
                                      },
                                      {
                                        "type": "null"
                                      }
                                    ]
                                  },
                                  "settledAt": {
                                    "anyOf": [
                                      {
                                        "format": "date-time",
                                        "type": "string"
                                      },
                                      {
                                        "type": "null"
                                      }
                                    ]
                                  }
                                }
                              }
                            }
                          }
                        }
                      }
                    },
                    {
                      "type": "object",
                      "required": [
                        "clientOrderId",
                        "status",
                        "selection",
                        "side",
                        "bookmakers",
                        "requestedStake",
                        "filledStake",
                        "remainingStake",
                        "minPrice",
                        "averageFilledPrice",
                        "acceptBetterOdds",
                        "acceptPartialStake",
                        "expiresAt",
                        "bets"
                      ],
                      "properties": {
                        "clientOrderId": {
                          "type": "string"
                        },
                        "status": {
                          "type": "string",
                          "enum": [
                            "PREVIEW"
                          ]
                        },
                        "selection": {
                          "type": "object",
                          "required": [
                            "fixtureId",
                            "outcomeId",
                            "playerId",
                            "sportId",
                            "tournamentId",
                            "marketId"
                          ],
                          "properties": {
                            "fixtureId": {
                              "type": "string"
                            },
                            "outcomeId": {
                              "type": "integer"
                            },
                            "playerId": {
                              "type": "integer"
                            },
                            "sportId": {
                              "anyOf": [
                                {
                                  "type": "integer"
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            },
                            "tournamentId": {
                              "anyOf": [
                                {
                                  "type": "integer"
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            },
                            "marketId": {
                              "anyOf": [
                                {
                                  "type": "integer"
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            }
                          }
                        },
                        "side": {
                          "description": "Only back is supported in v1",
                          "type": "string",
                          "enum": [
                            "back"
                          ]
                        },
                        "bookmakers": {
                          "description": "Bookmakers the stake was split across",
                          "type": "array",
                          "items": {
                            "type": "string"
                          }
                        },
                        "requestedStake": {
                          "description": "Money amount",
                          "type": "object",
                          "required": [
                            "amount",
                            "amountCents",
                            "currency"
                          ],
                          "properties": {
                            "amount": {
                              "pattern": "^-?\\d+\\.\\d{2}$",
                              "description": "Decimal string, two decimals",
                              "type": "string"
                            },
                            "amountCents": {
                              "description": "The same amount in integer cents: amount times 100",
                              "type": "integer"
                            },
                            "currency": {
                              "description": "ISO 4217 code",
                              "type": "string"
                            }
                          }
                        },
                        "filledStake": {
                          "description": "Money amount",
                          "type": "object",
                          "required": [
                            "amount",
                            "amountCents",
                            "currency"
                          ],
                          "properties": {
                            "amount": {
                              "pattern": "^-?\\d+\\.\\d{2}$",
                              "description": "Decimal string, two decimals",
                              "type": "string"
                            },
                            "amountCents": {
                              "description": "The same amount in integer cents: amount times 100",
                              "type": "integer"
                            },
                            "currency": {
                              "description": "ISO 4217 code",
                              "type": "string"
                            }
                          }
                        },
                        "remainingStake": {
                          "description": "Money amount",
                          "type": "object",
                          "required": [
                            "amount",
                            "amountCents",
                            "currency"
                          ],
                          "properties": {
                            "amount": {
                              "pattern": "^-?\\d+\\.\\d{2}$",
                              "description": "Decimal string, two decimals",
                              "type": "string"
                            },
                            "amountCents": {
                              "description": "The same amount in integer cents: amount times 100",
                              "type": "integer"
                            },
                            "currency": {
                              "description": "ISO 4217 code",
                              "type": "string"
                            }
                          }
                        },
                        "minPrice": {
                          "description": "Decimal price floor",
                          "type": "string"
                        },
                        "averageFilledPrice": {
                          "anyOf": [
                            {
                              "description": "Stake-weighted price of the filled legs",
                              "type": "string"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "acceptBetterOdds": {
                          "type": "boolean"
                        },
                        "acceptPartialStake": {
                          "type": "boolean"
                        },
                        "expiresAt": {
                          "anyOf": [
                            {
                              "format": "date-time",
                              "type": "string"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "bets": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "required": [
                              "bookmaker",
                              "status",
                              "requestedStake",
                              "filledStake",
                              "filledPrice",
                              "declineReason"
                            ],
                            "properties": {
                              "bookmaker": {
                                "type": "string"
                              },
                              "status": {
                                "type": "string",
                                "enum": [
                                  "PENDING",
                                  "WAITING",
                                  "PARTIALLY_PLACED",
                                  "PLACED",
                                  "REJECTED",
                                  "CANCELLED",
                                  "SETTLED"
                                ]
                              },
                              "requestedStake": {
                                "description": "Money amount",
                                "type": "object",
                                "required": [
                                  "amount",
                                  "amountCents",
                                  "currency"
                                ],
                                "properties": {
                                  "amount": {
                                    "pattern": "^-?\\d+\\.\\d{2}$",
                                    "description": "Decimal string, two decimals",
                                    "type": "string"
                                  },
                                  "amountCents": {
                                    "description": "The same amount in integer cents: amount times 100",
                                    "type": "integer"
                                  },
                                  "currency": {
                                    "description": "ISO 4217 code",
                                    "type": "string"
                                  }
                                }
                              },
                              "filledStake": {
                                "anyOf": [
                                  {
                                    "description": "Money amount",
                                    "type": "object",
                                    "required": [
                                      "amount",
                                      "amountCents",
                                      "currency"
                                    ],
                                    "properties": {
                                      "amount": {
                                        "pattern": "^-?\\d+\\.\\d{2}$",
                                        "description": "Decimal string, two decimals",
                                        "type": "string"
                                      },
                                      "amountCents": {
                                        "description": "The same amount in integer cents: amount times 100",
                                        "type": "integer"
                                      },
                                      "currency": {
                                        "description": "ISO 4217 code",
                                        "type": "string"
                                      }
                                    }
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "filledPrice": {
                                "anyOf": [
                                  {
                                    "type": "string"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "declineReason": {
                                "anyOf": [
                                  {
                                    "type": "string"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              }
                            }
                          }
                        }
                      }
                    }
                  ]
                }
              }
            }
          },
          "201": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "id",
                    "clientOrderId",
                    "status",
                    "selection",
                    "side",
                    "bookmakers",
                    "requestedStake",
                    "filledStake",
                    "remainingStake",
                    "minPrice",
                    "averageFilledPrice",
                    "acceptBetterOdds",
                    "acceptPartialStake",
                    "expiresAt",
                    "createdAt",
                    "updatedAt",
                    "version",
                    "bets"
                  ],
                  "properties": {
                    "id": {
                      "format": "uuid",
                      "type": "string"
                    },
                    "clientOrderId": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "status": {
                      "type": "string",
                      "enum": [
                        "PENDING",
                        "PARTIALLY_FILLED",
                        "FILLED",
                        "EXPIRED",
                        "CANCELLED",
                        "REJECTED"
                      ]
                    },
                    "selection": {
                      "type": "object",
                      "required": [
                        "fixtureId",
                        "outcomeId",
                        "playerId",
                        "sportId",
                        "tournamentId",
                        "marketId"
                      ],
                      "properties": {
                        "fixtureId": {
                          "type": "string"
                        },
                        "outcomeId": {
                          "type": "integer"
                        },
                        "playerId": {
                          "type": "integer"
                        },
                        "sportId": {
                          "type": "integer"
                        },
                        "tournamentId": {
                          "anyOf": [
                            {
                              "type": "integer"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "marketId": {
                          "type": "integer"
                        }
                      }
                    },
                    "side": {
                      "description": "Only back is supported in v1",
                      "type": "string",
                      "enum": [
                        "back"
                      ]
                    },
                    "bookmakers": {
                      "description": "Bookmakers the stake was split across",
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "requestedStake": {
                      "description": "Money amount",
                      "type": "object",
                      "required": [
                        "amount",
                        "amountCents",
                        "currency"
                      ],
                      "properties": {
                        "amount": {
                          "pattern": "^-?\\d+\\.\\d{2}$",
                          "description": "Decimal string, two decimals",
                          "type": "string"
                        },
                        "amountCents": {
                          "description": "The same amount in integer cents: amount times 100",
                          "type": "integer"
                        },
                        "currency": {
                          "description": "ISO 4217 code",
                          "type": "string"
                        }
                      }
                    },
                    "filledStake": {
                      "description": "Money amount",
                      "type": "object",
                      "required": [
                        "amount",
                        "amountCents",
                        "currency"
                      ],
                      "properties": {
                        "amount": {
                          "pattern": "^-?\\d+\\.\\d{2}$",
                          "description": "Decimal string, two decimals",
                          "type": "string"
                        },
                        "amountCents": {
                          "description": "The same amount in integer cents: amount times 100",
                          "type": "integer"
                        },
                        "currency": {
                          "description": "ISO 4217 code",
                          "type": "string"
                        }
                      }
                    },
                    "remainingStake": {
                      "description": "Money amount",
                      "type": "object",
                      "required": [
                        "amount",
                        "amountCents",
                        "currency"
                      ],
                      "properties": {
                        "amount": {
                          "pattern": "^-?\\d+\\.\\d{2}$",
                          "description": "Decimal string, two decimals",
                          "type": "string"
                        },
                        "amountCents": {
                          "description": "The same amount in integer cents: amount times 100",
                          "type": "integer"
                        },
                        "currency": {
                          "description": "ISO 4217 code",
                          "type": "string"
                        }
                      }
                    },
                    "minPrice": {
                      "description": "Decimal price floor",
                      "type": "string"
                    },
                    "averageFilledPrice": {
                      "anyOf": [
                        {
                          "description": "Stake-weighted price of the filled legs",
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "acceptBetterOdds": {
                      "type": "boolean"
                    },
                    "acceptPartialStake": {
                      "type": "boolean"
                    },
                    "expiresAt": {
                      "anyOf": [
                        {
                          "format": "date-time",
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "createdAt": {
                      "format": "date-time",
                      "type": "string"
                    },
                    "updatedAt": {
                      "format": "date-time",
                      "type": "string"
                    },
                    "version": {
                      "description": "Goes up by one at every change of the order or one of its bets",
                      "type": "integer"
                    },
                    "bets": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "required": [
                          "id",
                          "orderId",
                          "bookmaker",
                          "status",
                          "requestedStake",
                          "filledStake",
                          "filledPrice",
                          "declineReason",
                          "placedAt",
                          "filledAt",
                          "settlement"
                        ],
                        "properties": {
                          "id": {
                            "format": "uuid",
                            "type": "string"
                          },
                          "orderId": {
                            "format": "uuid",
                            "type": "string"
                          },
                          "bookmaker": {
                            "type": "string"
                          },
                          "status": {
                            "type": "string",
                            "enum": [
                              "PENDING",
                              "WAITING",
                              "PARTIALLY_PLACED",
                              "PLACED",
                              "REJECTED",
                              "CANCELLED",
                              "SETTLED"
                            ]
                          },
                          "requestedStake": {
                            "description": "Money amount",
                            "type": "object",
                            "required": [
                              "amount",
                              "amountCents",
                              "currency"
                            ],
                            "properties": {
                              "amount": {
                                "pattern": "^-?\\d+\\.\\d{2}$",
                                "description": "Decimal string, two decimals",
                                "type": "string"
                              },
                              "amountCents": {
                                "description": "The same amount in integer cents: amount times 100",
                                "type": "integer"
                              },
                              "currency": {
                                "description": "ISO 4217 code",
                                "type": "string"
                              }
                            }
                          },
                          "filledStake": {
                            "anyOf": [
                              {
                                "description": "Money amount",
                                "type": "object",
                                "required": [
                                  "amount",
                                  "amountCents",
                                  "currency"
                                ],
                                "properties": {
                                  "amount": {
                                    "pattern": "^-?\\d+\\.\\d{2}$",
                                    "description": "Decimal string, two decimals",
                                    "type": "string"
                                  },
                                  "amountCents": {
                                    "description": "The same amount in integer cents: amount times 100",
                                    "type": "integer"
                                  },
                                  "currency": {
                                    "description": "ISO 4217 code",
                                    "type": "string"
                                  }
                                }
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "filledPrice": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "declineReason": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "placedAt": {
                            "anyOf": [
                              {
                                "format": "date-time",
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "filledAt": {
                            "anyOf": [
                              {
                                "format": "date-time",
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "settlement": {
                            "type": "object",
                            "required": [
                              "status",
                              "amount",
                              "settledAt"
                            ],
                            "properties": {
                              "status": {
                                "type": "string",
                                "enum": [
                                  "UNSETTLED",
                                  "WON",
                                  "LOST",
                                  "VOID",
                                  "HALF_WON",
                                  "HALF_LOST",
                                  "PUSH",
                                  "CASHOUT"
                                ]
                              },
                              "amount": {
                                "description": "Profit or loss of the account on this bet",
                                "anyOf": [
                                  {
                                    "description": "Money amount",
                                    "type": "object",
                                    "required": [
                                      "amount",
                                      "amountCents",
                                      "currency"
                                    ],
                                    "properties": {
                                      "amount": {
                                        "pattern": "^-?\\d+\\.\\d{2}$",
                                        "description": "Decimal string, two decimals",
                                        "type": "string"
                                      },
                                      "amountCents": {
                                        "description": "The same amount in integer cents: amount times 100",
                                        "type": "integer"
                                      },
                                      "currency": {
                                        "description": "ISO 4217 code",
                                        "type": "string"
                                      }
                                    }
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "settledAt": {
                                "anyOf": [
                                  {
                                    "format": "date-time",
                                    "type": "string"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              }
                            }
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Error. `code` is stable; `message` is for humans and may change.",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Error. `code` is stable; `message` is for humans and may change.",
                  "type": "object",
                  "required": [
                    "code",
                    "message"
                  ],
                  "properties": {
                    "code": {
                      "type": "string",
                      "enum": [
                        "VALIDATION_FAILED",
                        "MODE_REQUIRED",
                        "INVALID_STAKE",
                        "INVALID_PRICE",
                        "INVALID_EXPIRY",
                        "CURRENCY_NOT_SUPPORTED",
                        "BOOKMAKER_NOT_AVAILABLE_VIA_API",
                        "BOOKMAKER_NOT_AVAILABLE",
                        "INVALID_API_KEY",
                        "API_ACCESS_DENIED",
                        "ACCOUNT_NOT_ACTIVE",
                        "BETTING_NOT_ALLOWED",
                        "BALANCE_UNAVAILABLE",
                        "INSUFFICIENT_FUNDS",
                        "MAX_STAKE_PER_FIXTURE_EXCEEDED",
                        "PRICE_NOT_AVAILABLE",
                        "PRICE_CHANGED",
                        "NO_LIQUIDITY",
                        "INSUFFICIENT_LIQUIDITY",
                        "CLIENT_ORDER_ID_REUSED",
                        "PREVIOUS_ATTEMPT_UNRESOLVED",
                        "NOT_FOUND",
                        "INVALID_CURSOR",
                        "INVALID_WINDOW",
                        "ORDER_BUSY",
                        "CONFLICT",
                        "FORBIDDEN",
                        "RATE_LIMITED",
                        "BETTING_SUSPENDED",
                        "EXPIRY_NOT_AVAILABLE",
                        "PUBLIC_API_DISABLED",
                        "SERVICE_UNAVAILABLE",
                        "UPSTREAM_UNAVAILABLE",
                        "FEED_UNAVAILABLE",
                        "FEED_TIMEOUT",
                        "INTERNAL_ERROR"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "401": {
            "description": "Error. `code` is stable; `message` is for humans and may change.",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Error. `code` is stable; `message` is for humans and may change.",
                  "type": "object",
                  "required": [
                    "code",
                    "message"
                  ],
                  "properties": {
                    "code": {
                      "type": "string",
                      "enum": [
                        "VALIDATION_FAILED",
                        "MODE_REQUIRED",
                        "INVALID_STAKE",
                        "INVALID_PRICE",
                        "INVALID_EXPIRY",
                        "CURRENCY_NOT_SUPPORTED",
                        "BOOKMAKER_NOT_AVAILABLE_VIA_API",
                        "BOOKMAKER_NOT_AVAILABLE",
                        "INVALID_API_KEY",
                        "API_ACCESS_DENIED",
                        "ACCOUNT_NOT_ACTIVE",
                        "BETTING_NOT_ALLOWED",
                        "BALANCE_UNAVAILABLE",
                        "INSUFFICIENT_FUNDS",
                        "MAX_STAKE_PER_FIXTURE_EXCEEDED",
                        "PRICE_NOT_AVAILABLE",
                        "PRICE_CHANGED",
                        "NO_LIQUIDITY",
                        "INSUFFICIENT_LIQUIDITY",
                        "CLIENT_ORDER_ID_REUSED",
                        "PREVIOUS_ATTEMPT_UNRESOLVED",
                        "NOT_FOUND",
                        "INVALID_CURSOR",
                        "INVALID_WINDOW",
                        "ORDER_BUSY",
                        "CONFLICT",
                        "FORBIDDEN",
                        "RATE_LIMITED",
                        "BETTING_SUSPENDED",
                        "EXPIRY_NOT_AVAILABLE",
                        "PUBLIC_API_DISABLED",
                        "SERVICE_UNAVAILABLE",
                        "UPSTREAM_UNAVAILABLE",
                        "FEED_UNAVAILABLE",
                        "FEED_TIMEOUT",
                        "INTERNAL_ERROR"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "403": {
            "description": "Error. `code` is stable; `message` is for humans and may change.",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Error. `code` is stable; `message` is for humans and may change.",
                  "type": "object",
                  "required": [
                    "code",
                    "message"
                  ],
                  "properties": {
                    "code": {
                      "type": "string",
                      "enum": [
                        "VALIDATION_FAILED",
                        "MODE_REQUIRED",
                        "INVALID_STAKE",
                        "INVALID_PRICE",
                        "INVALID_EXPIRY",
                        "CURRENCY_NOT_SUPPORTED",
                        "BOOKMAKER_NOT_AVAILABLE_VIA_API",
                        "BOOKMAKER_NOT_AVAILABLE",
                        "INVALID_API_KEY",
                        "API_ACCESS_DENIED",
                        "ACCOUNT_NOT_ACTIVE",
                        "BETTING_NOT_ALLOWED",
                        "BALANCE_UNAVAILABLE",
                        "INSUFFICIENT_FUNDS",
                        "MAX_STAKE_PER_FIXTURE_EXCEEDED",
                        "PRICE_NOT_AVAILABLE",
                        "PRICE_CHANGED",
                        "NO_LIQUIDITY",
                        "INSUFFICIENT_LIQUIDITY",
                        "CLIENT_ORDER_ID_REUSED",
                        "PREVIOUS_ATTEMPT_UNRESOLVED",
                        "NOT_FOUND",
                        "INVALID_CURSOR",
                        "INVALID_WINDOW",
                        "ORDER_BUSY",
                        "CONFLICT",
                        "FORBIDDEN",
                        "RATE_LIMITED",
                        "BETTING_SUSPENDED",
                        "EXPIRY_NOT_AVAILABLE",
                        "PUBLIC_API_DISABLED",
                        "SERVICE_UNAVAILABLE",
                        "UPSTREAM_UNAVAILABLE",
                        "FEED_UNAVAILABLE",
                        "FEED_TIMEOUT",
                        "INTERNAL_ERROR"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "409": {
            "description": "Error. `code` is stable; `message` is for humans and may change.",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Error. `code` is stable; `message` is for humans and may change.",
                  "type": "object",
                  "required": [
                    "code",
                    "message"
                  ],
                  "properties": {
                    "code": {
                      "type": "string",
                      "enum": [
                        "VALIDATION_FAILED",
                        "MODE_REQUIRED",
                        "INVALID_STAKE",
                        "INVALID_PRICE",
                        "INVALID_EXPIRY",
                        "CURRENCY_NOT_SUPPORTED",
                        "BOOKMAKER_NOT_AVAILABLE_VIA_API",
                        "BOOKMAKER_NOT_AVAILABLE",
                        "INVALID_API_KEY",
                        "API_ACCESS_DENIED",
                        "ACCOUNT_NOT_ACTIVE",
                        "BETTING_NOT_ALLOWED",
                        "BALANCE_UNAVAILABLE",
                        "INSUFFICIENT_FUNDS",
                        "MAX_STAKE_PER_FIXTURE_EXCEEDED",
                        "PRICE_NOT_AVAILABLE",
                        "PRICE_CHANGED",
                        "NO_LIQUIDITY",
                        "INSUFFICIENT_LIQUIDITY",
                        "CLIENT_ORDER_ID_REUSED",
                        "PREVIOUS_ATTEMPT_UNRESOLVED",
                        "NOT_FOUND",
                        "INVALID_CURSOR",
                        "INVALID_WINDOW",
                        "ORDER_BUSY",
                        "CONFLICT",
                        "FORBIDDEN",
                        "RATE_LIMITED",
                        "BETTING_SUSPENDED",
                        "EXPIRY_NOT_AVAILABLE",
                        "PUBLIC_API_DISABLED",
                        "SERVICE_UNAVAILABLE",
                        "UPSTREAM_UNAVAILABLE",
                        "FEED_UNAVAILABLE",
                        "FEED_TIMEOUT",
                        "INTERNAL_ERROR"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "429": {
            "description": "Error. `code` is stable; `message` is for humans and may change.",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Error. `code` is stable; `message` is for humans and may change.",
                  "type": "object",
                  "required": [
                    "code",
                    "message"
                  ],
                  "properties": {
                    "code": {
                      "type": "string",
                      "enum": [
                        "VALIDATION_FAILED",
                        "MODE_REQUIRED",
                        "INVALID_STAKE",
                        "INVALID_PRICE",
                        "INVALID_EXPIRY",
                        "CURRENCY_NOT_SUPPORTED",
                        "BOOKMAKER_NOT_AVAILABLE_VIA_API",
                        "BOOKMAKER_NOT_AVAILABLE",
                        "INVALID_API_KEY",
                        "API_ACCESS_DENIED",
                        "ACCOUNT_NOT_ACTIVE",
                        "BETTING_NOT_ALLOWED",
                        "BALANCE_UNAVAILABLE",
                        "INSUFFICIENT_FUNDS",
                        "MAX_STAKE_PER_FIXTURE_EXCEEDED",
                        "PRICE_NOT_AVAILABLE",
                        "PRICE_CHANGED",
                        "NO_LIQUIDITY",
                        "INSUFFICIENT_LIQUIDITY",
                        "CLIENT_ORDER_ID_REUSED",
                        "PREVIOUS_ATTEMPT_UNRESOLVED",
                        "NOT_FOUND",
                        "INVALID_CURSOR",
                        "INVALID_WINDOW",
                        "ORDER_BUSY",
                        "CONFLICT",
                        "FORBIDDEN",
                        "RATE_LIMITED",
                        "BETTING_SUSPENDED",
                        "EXPIRY_NOT_AVAILABLE",
                        "PUBLIC_API_DISABLED",
                        "SERVICE_UNAVAILABLE",
                        "UPSTREAM_UNAVAILABLE",
                        "FEED_UNAVAILABLE",
                        "FEED_TIMEOUT",
                        "INTERNAL_ERROR"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "502": {
            "description": "Error. `code` is stable; `message` is for humans and may change.",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Error. `code` is stable; `message` is for humans and may change.",
                  "type": "object",
                  "required": [
                    "code",
                    "message"
                  ],
                  "properties": {
                    "code": {
                      "type": "string",
                      "enum": [
                        "VALIDATION_FAILED",
                        "MODE_REQUIRED",
                        "INVALID_STAKE",
                        "INVALID_PRICE",
                        "INVALID_EXPIRY",
                        "CURRENCY_NOT_SUPPORTED",
                        "BOOKMAKER_NOT_AVAILABLE_VIA_API",
                        "BOOKMAKER_NOT_AVAILABLE",
                        "INVALID_API_KEY",
                        "API_ACCESS_DENIED",
                        "ACCOUNT_NOT_ACTIVE",
                        "BETTING_NOT_ALLOWED",
                        "BALANCE_UNAVAILABLE",
                        "INSUFFICIENT_FUNDS",
                        "MAX_STAKE_PER_FIXTURE_EXCEEDED",
                        "PRICE_NOT_AVAILABLE",
                        "PRICE_CHANGED",
                        "NO_LIQUIDITY",
                        "INSUFFICIENT_LIQUIDITY",
                        "CLIENT_ORDER_ID_REUSED",
                        "PREVIOUS_ATTEMPT_UNRESOLVED",
                        "NOT_FOUND",
                        "INVALID_CURSOR",
                        "INVALID_WINDOW",
                        "ORDER_BUSY",
                        "CONFLICT",
                        "FORBIDDEN",
                        "RATE_LIMITED",
                        "BETTING_SUSPENDED",
                        "EXPIRY_NOT_AVAILABLE",
                        "PUBLIC_API_DISABLED",
                        "SERVICE_UNAVAILABLE",
                        "UPSTREAM_UNAVAILABLE",
                        "FEED_UNAVAILABLE",
                        "FEED_TIMEOUT",
                        "INTERNAL_ERROR"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "503": {
            "description": "Error. `code` is stable; `message` is for humans and may change.",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Error. `code` is stable; `message` is for humans and may change.",
                  "type": "object",
                  "required": [
                    "code",
                    "message"
                  ],
                  "properties": {
                    "code": {
                      "type": "string",
                      "enum": [
                        "VALIDATION_FAILED",
                        "MODE_REQUIRED",
                        "INVALID_STAKE",
                        "INVALID_PRICE",
                        "INVALID_EXPIRY",
                        "CURRENCY_NOT_SUPPORTED",
                        "BOOKMAKER_NOT_AVAILABLE_VIA_API",
                        "BOOKMAKER_NOT_AVAILABLE",
                        "INVALID_API_KEY",
                        "API_ACCESS_DENIED",
                        "ACCOUNT_NOT_ACTIVE",
                        "BETTING_NOT_ALLOWED",
                        "BALANCE_UNAVAILABLE",
                        "INSUFFICIENT_FUNDS",
                        "MAX_STAKE_PER_FIXTURE_EXCEEDED",
                        "PRICE_NOT_AVAILABLE",
                        "PRICE_CHANGED",
                        "NO_LIQUIDITY",
                        "INSUFFICIENT_LIQUIDITY",
                        "CLIENT_ORDER_ID_REUSED",
                        "PREVIOUS_ATTEMPT_UNRESOLVED",
                        "NOT_FOUND",
                        "INVALID_CURSOR",
                        "INVALID_WINDOW",
                        "ORDER_BUSY",
                        "CONFLICT",
                        "FORBIDDEN",
                        "RATE_LIMITED",
                        "BETTING_SUSPENDED",
                        "EXPIRY_NOT_AVAILABLE",
                        "PUBLIC_API_DISABLED",
                        "SERVICE_UNAVAILABLE",
                        "UPSTREAM_UNAVAILABLE",
                        "FEED_UNAVAILABLE",
                        "FEED_TIMEOUT",
                        "INTERNAL_ERROR"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          }
        }
      }
    },
    "/v1/orders/{id}": {
      "get": {
        "summary": "Get an order",
        "tags": [
          "Orders"
        ],
        "description": "One of the account's orders with its bets. Orders placed from the dashboard are included.",
        "parameters": [
          {
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "in": "path",
            "name": "id",
            "required": true
          }
        ],
        "security": [
          {
            "apiKey": []
          }
        ],
        "responses": {
          "200": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "id",
                    "clientOrderId",
                    "status",
                    "selection",
                    "side",
                    "bookmakers",
                    "requestedStake",
                    "filledStake",
                    "remainingStake",
                    "minPrice",
                    "averageFilledPrice",
                    "acceptBetterOdds",
                    "acceptPartialStake",
                    "expiresAt",
                    "createdAt",
                    "updatedAt",
                    "version",
                    "bets"
                  ],
                  "properties": {
                    "id": {
                      "format": "uuid",
                      "type": "string"
                    },
                    "clientOrderId": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "status": {
                      "type": "string",
                      "enum": [
                        "PENDING",
                        "PARTIALLY_FILLED",
                        "FILLED",
                        "EXPIRED",
                        "CANCELLED",
                        "REJECTED"
                      ]
                    },
                    "selection": {
                      "type": "object",
                      "required": [
                        "fixtureId",
                        "outcomeId",
                        "playerId",
                        "sportId",
                        "tournamentId",
                        "marketId"
                      ],
                      "properties": {
                        "fixtureId": {
                          "type": "string"
                        },
                        "outcomeId": {
                          "type": "integer"
                        },
                        "playerId": {
                          "type": "integer"
                        },
                        "sportId": {
                          "type": "integer"
                        },
                        "tournamentId": {
                          "anyOf": [
                            {
                              "type": "integer"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "marketId": {
                          "type": "integer"
                        }
                      }
                    },
                    "side": {
                      "description": "Only back is supported in v1",
                      "type": "string",
                      "enum": [
                        "back"
                      ]
                    },
                    "bookmakers": {
                      "description": "Bookmakers the stake was split across",
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "requestedStake": {
                      "description": "Money amount",
                      "type": "object",
                      "required": [
                        "amount",
                        "amountCents",
                        "currency"
                      ],
                      "properties": {
                        "amount": {
                          "pattern": "^-?\\d+\\.\\d{2}$",
                          "description": "Decimal string, two decimals",
                          "type": "string"
                        },
                        "amountCents": {
                          "description": "The same amount in integer cents: amount times 100",
                          "type": "integer"
                        },
                        "currency": {
                          "description": "ISO 4217 code",
                          "type": "string"
                        }
                      }
                    },
                    "filledStake": {
                      "description": "Money amount",
                      "type": "object",
                      "required": [
                        "amount",
                        "amountCents",
                        "currency"
                      ],
                      "properties": {
                        "amount": {
                          "pattern": "^-?\\d+\\.\\d{2}$",
                          "description": "Decimal string, two decimals",
                          "type": "string"
                        },
                        "amountCents": {
                          "description": "The same amount in integer cents: amount times 100",
                          "type": "integer"
                        },
                        "currency": {
                          "description": "ISO 4217 code",
                          "type": "string"
                        }
                      }
                    },
                    "remainingStake": {
                      "description": "Money amount",
                      "type": "object",
                      "required": [
                        "amount",
                        "amountCents",
                        "currency"
                      ],
                      "properties": {
                        "amount": {
                          "pattern": "^-?\\d+\\.\\d{2}$",
                          "description": "Decimal string, two decimals",
                          "type": "string"
                        },
                        "amountCents": {
                          "description": "The same amount in integer cents: amount times 100",
                          "type": "integer"
                        },
                        "currency": {
                          "description": "ISO 4217 code",
                          "type": "string"
                        }
                      }
                    },
                    "minPrice": {
                      "description": "Decimal price floor",
                      "type": "string"
                    },
                    "averageFilledPrice": {
                      "anyOf": [
                        {
                          "description": "Stake-weighted price of the filled legs",
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "acceptBetterOdds": {
                      "type": "boolean"
                    },
                    "acceptPartialStake": {
                      "type": "boolean"
                    },
                    "expiresAt": {
                      "anyOf": [
                        {
                          "format": "date-time",
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "createdAt": {
                      "format": "date-time",
                      "type": "string"
                    },
                    "updatedAt": {
                      "format": "date-time",
                      "type": "string"
                    },
                    "version": {
                      "description": "Goes up by one at every change of the order or one of its bets",
                      "type": "integer"
                    },
                    "bets": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "required": [
                          "id",
                          "orderId",
                          "bookmaker",
                          "status",
                          "requestedStake",
                          "filledStake",
                          "filledPrice",
                          "declineReason",
                          "placedAt",
                          "filledAt",
                          "settlement"
                        ],
                        "properties": {
                          "id": {
                            "format": "uuid",
                            "type": "string"
                          },
                          "orderId": {
                            "format": "uuid",
                            "type": "string"
                          },
                          "bookmaker": {
                            "type": "string"
                          },
                          "status": {
                            "type": "string",
                            "enum": [
                              "PENDING",
                              "WAITING",
                              "PARTIALLY_PLACED",
                              "PLACED",
                              "REJECTED",
                              "CANCELLED",
                              "SETTLED"
                            ]
                          },
                          "requestedStake": {
                            "description": "Money amount",
                            "type": "object",
                            "required": [
                              "amount",
                              "amountCents",
                              "currency"
                            ],
                            "properties": {
                              "amount": {
                                "pattern": "^-?\\d+\\.\\d{2}$",
                                "description": "Decimal string, two decimals",
                                "type": "string"
                              },
                              "amountCents": {
                                "description": "The same amount in integer cents: amount times 100",
                                "type": "integer"
                              },
                              "currency": {
                                "description": "ISO 4217 code",
                                "type": "string"
                              }
                            }
                          },
                          "filledStake": {
                            "anyOf": [
                              {
                                "description": "Money amount",
                                "type": "object",
                                "required": [
                                  "amount",
                                  "amountCents",
                                  "currency"
                                ],
                                "properties": {
                                  "amount": {
                                    "pattern": "^-?\\d+\\.\\d{2}$",
                                    "description": "Decimal string, two decimals",
                                    "type": "string"
                                  },
                                  "amountCents": {
                                    "description": "The same amount in integer cents: amount times 100",
                                    "type": "integer"
                                  },
                                  "currency": {
                                    "description": "ISO 4217 code",
                                    "type": "string"
                                  }
                                }
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "filledPrice": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "declineReason": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "placedAt": {
                            "anyOf": [
                              {
                                "format": "date-time",
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "filledAt": {
                            "anyOf": [
                              {
                                "format": "date-time",
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "settlement": {
                            "type": "object",
                            "required": [
                              "status",
                              "amount",
                              "settledAt"
                            ],
                            "properties": {
                              "status": {
                                "type": "string",
                                "enum": [
                                  "UNSETTLED",
                                  "WON",
                                  "LOST",
                                  "VOID",
                                  "HALF_WON",
                                  "HALF_LOST",
                                  "PUSH",
                                  "CASHOUT"
                                ]
                              },
                              "amount": {
                                "description": "Profit or loss of the account on this bet",
                                "anyOf": [
                                  {
                                    "description": "Money amount",
                                    "type": "object",
                                    "required": [
                                      "amount",
                                      "amountCents",
                                      "currency"
                                    ],
                                    "properties": {
                                      "amount": {
                                        "pattern": "^-?\\d+\\.\\d{2}$",
                                        "description": "Decimal string, two decimals",
                                        "type": "string"
                                      },
                                      "amountCents": {
                                        "description": "The same amount in integer cents: amount times 100",
                                        "type": "integer"
                                      },
                                      "currency": {
                                        "description": "ISO 4217 code",
                                        "type": "string"
                                      }
                                    }
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "settledAt": {
                                "anyOf": [
                                  {
                                    "format": "date-time",
                                    "type": "string"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              }
                            }
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Error. `code` is stable; `message` is for humans and may change.",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Error. `code` is stable; `message` is for humans and may change.",
                  "type": "object",
                  "required": [
                    "code",
                    "message"
                  ],
                  "properties": {
                    "code": {
                      "type": "string",
                      "enum": [
                        "VALIDATION_FAILED",
                        "MODE_REQUIRED",
                        "INVALID_STAKE",
                        "INVALID_PRICE",
                        "INVALID_EXPIRY",
                        "CURRENCY_NOT_SUPPORTED",
                        "BOOKMAKER_NOT_AVAILABLE_VIA_API",
                        "BOOKMAKER_NOT_AVAILABLE",
                        "INVALID_API_KEY",
                        "API_ACCESS_DENIED",
                        "ACCOUNT_NOT_ACTIVE",
                        "BETTING_NOT_ALLOWED",
                        "BALANCE_UNAVAILABLE",
                        "INSUFFICIENT_FUNDS",
                        "MAX_STAKE_PER_FIXTURE_EXCEEDED",
                        "PRICE_NOT_AVAILABLE",
                        "PRICE_CHANGED",
                        "NO_LIQUIDITY",
                        "INSUFFICIENT_LIQUIDITY",
                        "CLIENT_ORDER_ID_REUSED",
                        "PREVIOUS_ATTEMPT_UNRESOLVED",
                        "NOT_FOUND",
                        "INVALID_CURSOR",
                        "INVALID_WINDOW",
                        "ORDER_BUSY",
                        "CONFLICT",
                        "FORBIDDEN",
                        "RATE_LIMITED",
                        "BETTING_SUSPENDED",
                        "EXPIRY_NOT_AVAILABLE",
                        "PUBLIC_API_DISABLED",
                        "SERVICE_UNAVAILABLE",
                        "UPSTREAM_UNAVAILABLE",
                        "FEED_UNAVAILABLE",
                        "FEED_TIMEOUT",
                        "INTERNAL_ERROR"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "401": {
            "description": "Error. `code` is stable; `message` is for humans and may change.",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Error. `code` is stable; `message` is for humans and may change.",
                  "type": "object",
                  "required": [
                    "code",
                    "message"
                  ],
                  "properties": {
                    "code": {
                      "type": "string",
                      "enum": [
                        "VALIDATION_FAILED",
                        "MODE_REQUIRED",
                        "INVALID_STAKE",
                        "INVALID_PRICE",
                        "INVALID_EXPIRY",
                        "CURRENCY_NOT_SUPPORTED",
                        "BOOKMAKER_NOT_AVAILABLE_VIA_API",
                        "BOOKMAKER_NOT_AVAILABLE",
                        "INVALID_API_KEY",
                        "API_ACCESS_DENIED",
                        "ACCOUNT_NOT_ACTIVE",
                        "BETTING_NOT_ALLOWED",
                        "BALANCE_UNAVAILABLE",
                        "INSUFFICIENT_FUNDS",
                        "MAX_STAKE_PER_FIXTURE_EXCEEDED",
                        "PRICE_NOT_AVAILABLE",
                        "PRICE_CHANGED",
                        "NO_LIQUIDITY",
                        "INSUFFICIENT_LIQUIDITY",
                        "CLIENT_ORDER_ID_REUSED",
                        "PREVIOUS_ATTEMPT_UNRESOLVED",
                        "NOT_FOUND",
                        "INVALID_CURSOR",
                        "INVALID_WINDOW",
                        "ORDER_BUSY",
                        "CONFLICT",
                        "FORBIDDEN",
                        "RATE_LIMITED",
                        "BETTING_SUSPENDED",
                        "EXPIRY_NOT_AVAILABLE",
                        "PUBLIC_API_DISABLED",
                        "SERVICE_UNAVAILABLE",
                        "UPSTREAM_UNAVAILABLE",
                        "FEED_UNAVAILABLE",
                        "FEED_TIMEOUT",
                        "INTERNAL_ERROR"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "403": {
            "description": "Error. `code` is stable; `message` is for humans and may change.",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Error. `code` is stable; `message` is for humans and may change.",
                  "type": "object",
                  "required": [
                    "code",
                    "message"
                  ],
                  "properties": {
                    "code": {
                      "type": "string",
                      "enum": [
                        "VALIDATION_FAILED",
                        "MODE_REQUIRED",
                        "INVALID_STAKE",
                        "INVALID_PRICE",
                        "INVALID_EXPIRY",
                        "CURRENCY_NOT_SUPPORTED",
                        "BOOKMAKER_NOT_AVAILABLE_VIA_API",
                        "BOOKMAKER_NOT_AVAILABLE",
                        "INVALID_API_KEY",
                        "API_ACCESS_DENIED",
                        "ACCOUNT_NOT_ACTIVE",
                        "BETTING_NOT_ALLOWED",
                        "BALANCE_UNAVAILABLE",
                        "INSUFFICIENT_FUNDS",
                        "MAX_STAKE_PER_FIXTURE_EXCEEDED",
                        "PRICE_NOT_AVAILABLE",
                        "PRICE_CHANGED",
                        "NO_LIQUIDITY",
                        "INSUFFICIENT_LIQUIDITY",
                        "CLIENT_ORDER_ID_REUSED",
                        "PREVIOUS_ATTEMPT_UNRESOLVED",
                        "NOT_FOUND",
                        "INVALID_CURSOR",
                        "INVALID_WINDOW",
                        "ORDER_BUSY",
                        "CONFLICT",
                        "FORBIDDEN",
                        "RATE_LIMITED",
                        "BETTING_SUSPENDED",
                        "EXPIRY_NOT_AVAILABLE",
                        "PUBLIC_API_DISABLED",
                        "SERVICE_UNAVAILABLE",
                        "UPSTREAM_UNAVAILABLE",
                        "FEED_UNAVAILABLE",
                        "FEED_TIMEOUT",
                        "INTERNAL_ERROR"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "404": {
            "description": "Error. `code` is stable; `message` is for humans and may change.",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Error. `code` is stable; `message` is for humans and may change.",
                  "type": "object",
                  "required": [
                    "code",
                    "message"
                  ],
                  "properties": {
                    "code": {
                      "type": "string",
                      "enum": [
                        "VALIDATION_FAILED",
                        "MODE_REQUIRED",
                        "INVALID_STAKE",
                        "INVALID_PRICE",
                        "INVALID_EXPIRY",
                        "CURRENCY_NOT_SUPPORTED",
                        "BOOKMAKER_NOT_AVAILABLE_VIA_API",
                        "BOOKMAKER_NOT_AVAILABLE",
                        "INVALID_API_KEY",
                        "API_ACCESS_DENIED",
                        "ACCOUNT_NOT_ACTIVE",
                        "BETTING_NOT_ALLOWED",
                        "BALANCE_UNAVAILABLE",
                        "INSUFFICIENT_FUNDS",
                        "MAX_STAKE_PER_FIXTURE_EXCEEDED",
                        "PRICE_NOT_AVAILABLE",
                        "PRICE_CHANGED",
                        "NO_LIQUIDITY",
                        "INSUFFICIENT_LIQUIDITY",
                        "CLIENT_ORDER_ID_REUSED",
                        "PREVIOUS_ATTEMPT_UNRESOLVED",
                        "NOT_FOUND",
                        "INVALID_CURSOR",
                        "INVALID_WINDOW",
                        "ORDER_BUSY",
                        "CONFLICT",
                        "FORBIDDEN",
                        "RATE_LIMITED",
                        "BETTING_SUSPENDED",
                        "EXPIRY_NOT_AVAILABLE",
                        "PUBLIC_API_DISABLED",
                        "SERVICE_UNAVAILABLE",
                        "UPSTREAM_UNAVAILABLE",
                        "FEED_UNAVAILABLE",
                        "FEED_TIMEOUT",
                        "INTERNAL_ERROR"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "429": {
            "description": "Error. `code` is stable; `message` is for humans and may change.",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Error. `code` is stable; `message` is for humans and may change.",
                  "type": "object",
                  "required": [
                    "code",
                    "message"
                  ],
                  "properties": {
                    "code": {
                      "type": "string",
                      "enum": [
                        "VALIDATION_FAILED",
                        "MODE_REQUIRED",
                        "INVALID_STAKE",
                        "INVALID_PRICE",
                        "INVALID_EXPIRY",
                        "CURRENCY_NOT_SUPPORTED",
                        "BOOKMAKER_NOT_AVAILABLE_VIA_API",
                        "BOOKMAKER_NOT_AVAILABLE",
                        "INVALID_API_KEY",
                        "API_ACCESS_DENIED",
                        "ACCOUNT_NOT_ACTIVE",
                        "BETTING_NOT_ALLOWED",
                        "BALANCE_UNAVAILABLE",
                        "INSUFFICIENT_FUNDS",
                        "MAX_STAKE_PER_FIXTURE_EXCEEDED",
                        "PRICE_NOT_AVAILABLE",
                        "PRICE_CHANGED",
                        "NO_LIQUIDITY",
                        "INSUFFICIENT_LIQUIDITY",
                        "CLIENT_ORDER_ID_REUSED",
                        "PREVIOUS_ATTEMPT_UNRESOLVED",
                        "NOT_FOUND",
                        "INVALID_CURSOR",
                        "INVALID_WINDOW",
                        "ORDER_BUSY",
                        "CONFLICT",
                        "FORBIDDEN",
                        "RATE_LIMITED",
                        "BETTING_SUSPENDED",
                        "EXPIRY_NOT_AVAILABLE",
                        "PUBLIC_API_DISABLED",
                        "SERVICE_UNAVAILABLE",
                        "UPSTREAM_UNAVAILABLE",
                        "FEED_UNAVAILABLE",
                        "FEED_TIMEOUT",
                        "INTERNAL_ERROR"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "503": {
            "description": "Error. `code` is stable; `message` is for humans and may change.",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Error. `code` is stable; `message` is for humans and may change.",
                  "type": "object",
                  "required": [
                    "code",
                    "message"
                  ],
                  "properties": {
                    "code": {
                      "type": "string",
                      "enum": [
                        "VALIDATION_FAILED",
                        "MODE_REQUIRED",
                        "INVALID_STAKE",
                        "INVALID_PRICE",
                        "INVALID_EXPIRY",
                        "CURRENCY_NOT_SUPPORTED",
                        "BOOKMAKER_NOT_AVAILABLE_VIA_API",
                        "BOOKMAKER_NOT_AVAILABLE",
                        "INVALID_API_KEY",
                        "API_ACCESS_DENIED",
                        "ACCOUNT_NOT_ACTIVE",
                        "BETTING_NOT_ALLOWED",
                        "BALANCE_UNAVAILABLE",
                        "INSUFFICIENT_FUNDS",
                        "MAX_STAKE_PER_FIXTURE_EXCEEDED",
                        "PRICE_NOT_AVAILABLE",
                        "PRICE_CHANGED",
                        "NO_LIQUIDITY",
                        "INSUFFICIENT_LIQUIDITY",
                        "CLIENT_ORDER_ID_REUSED",
                        "PREVIOUS_ATTEMPT_UNRESOLVED",
                        "NOT_FOUND",
                        "INVALID_CURSOR",
                        "INVALID_WINDOW",
                        "ORDER_BUSY",
                        "CONFLICT",
                        "FORBIDDEN",
                        "RATE_LIMITED",
                        "BETTING_SUSPENDED",
                        "EXPIRY_NOT_AVAILABLE",
                        "PUBLIC_API_DISABLED",
                        "SERVICE_UNAVAILABLE",
                        "UPSTREAM_UNAVAILABLE",
                        "FEED_UNAVAILABLE",
                        "FEED_TIMEOUT",
                        "INTERNAL_ERROR"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          }
        }
      }
    },
    "/v1/orders/{id}/cancel": {
      "post": {
        "summary": "Cancel an order",
        "tags": [
          "Orders"
        ],
        "description": "Stops the expiry remainder and asks the bookmaker to cancel every bet it has not accepted yet. A bet the bookmaker accepted cannot be recalled. Each bet is tagged with its outcome; cancelling again gives the same answer. Not counted against any per-key rate limit.",
        "parameters": [
          {
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "in": "path",
            "name": "id",
            "required": true
          }
        ],
        "security": [
          {
            "apiKey": []
          }
        ],
        "responses": {
          "200": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "id",
                    "clientOrderId",
                    "status",
                    "selection",
                    "side",
                    "bookmakers",
                    "requestedStake",
                    "filledStake",
                    "remainingStake",
                    "minPrice",
                    "averageFilledPrice",
                    "acceptBetterOdds",
                    "acceptPartialStake",
                    "expiresAt",
                    "createdAt",
                    "updatedAt",
                    "version",
                    "remainder",
                    "bets"
                  ],
                  "properties": {
                    "id": {
                      "format": "uuid",
                      "type": "string"
                    },
                    "clientOrderId": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "status": {
                      "type": "string",
                      "enum": [
                        "PENDING",
                        "PARTIALLY_FILLED",
                        "FILLED",
                        "EXPIRED",
                        "CANCELLED",
                        "REJECTED"
                      ]
                    },
                    "selection": {
                      "type": "object",
                      "required": [
                        "fixtureId",
                        "outcomeId",
                        "playerId",
                        "sportId",
                        "tournamentId",
                        "marketId"
                      ],
                      "properties": {
                        "fixtureId": {
                          "type": "string"
                        },
                        "outcomeId": {
                          "type": "integer"
                        },
                        "playerId": {
                          "type": "integer"
                        },
                        "sportId": {
                          "type": "integer"
                        },
                        "tournamentId": {
                          "anyOf": [
                            {
                              "type": "integer"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "marketId": {
                          "type": "integer"
                        }
                      }
                    },
                    "side": {
                      "description": "Only back is supported in v1",
                      "type": "string",
                      "enum": [
                        "back"
                      ]
                    },
                    "bookmakers": {
                      "description": "Bookmakers the stake was split across",
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "requestedStake": {
                      "description": "Money amount",
                      "type": "object",
                      "required": [
                        "amount",
                        "amountCents",
                        "currency"
                      ],
                      "properties": {
                        "amount": {
                          "pattern": "^-?\\d+\\.\\d{2}$",
                          "description": "Decimal string, two decimals",
                          "type": "string"
                        },
                        "amountCents": {
                          "description": "The same amount in integer cents: amount times 100",
                          "type": "integer"
                        },
                        "currency": {
                          "description": "ISO 4217 code",
                          "type": "string"
                        }
                      }
                    },
                    "filledStake": {
                      "description": "Money amount",
                      "type": "object",
                      "required": [
                        "amount",
                        "amountCents",
                        "currency"
                      ],
                      "properties": {
                        "amount": {
                          "pattern": "^-?\\d+\\.\\d{2}$",
                          "description": "Decimal string, two decimals",
                          "type": "string"
                        },
                        "amountCents": {
                          "description": "The same amount in integer cents: amount times 100",
                          "type": "integer"
                        },
                        "currency": {
                          "description": "ISO 4217 code",
                          "type": "string"
                        }
                      }
                    },
                    "remainingStake": {
                      "description": "Money amount",
                      "type": "object",
                      "required": [
                        "amount",
                        "amountCents",
                        "currency"
                      ],
                      "properties": {
                        "amount": {
                          "pattern": "^-?\\d+\\.\\d{2}$",
                          "description": "Decimal string, two decimals",
                          "type": "string"
                        },
                        "amountCents": {
                          "description": "The same amount in integer cents: amount times 100",
                          "type": "integer"
                        },
                        "currency": {
                          "description": "ISO 4217 code",
                          "type": "string"
                        }
                      }
                    },
                    "minPrice": {
                      "description": "Decimal price floor",
                      "type": "string"
                    },
                    "averageFilledPrice": {
                      "anyOf": [
                        {
                          "description": "Stake-weighted price of the filled legs",
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "acceptBetterOdds": {
                      "type": "boolean"
                    },
                    "acceptPartialStake": {
                      "type": "boolean"
                    },
                    "expiresAt": {
                      "anyOf": [
                        {
                          "format": "date-time",
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "createdAt": {
                      "format": "date-time",
                      "type": "string"
                    },
                    "updatedAt": {
                      "format": "date-time",
                      "type": "string"
                    },
                    "version": {
                      "description": "Goes up by one at every change of the order or one of its bets",
                      "type": "integer"
                    },
                    "remainder": {
                      "type": "string",
                      "enum": [
                        "cancelled",
                        "alreadyTerminal",
                        "none"
                      ]
                    },
                    "bets": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "required": [
                          "id",
                          "orderId",
                          "bookmaker",
                          "status",
                          "requestedStake",
                          "filledStake",
                          "filledPrice",
                          "declineReason",
                          "placedAt",
                          "filledAt",
                          "settlement",
                          "cancellation"
                        ],
                        "properties": {
                          "id": {
                            "format": "uuid",
                            "type": "string"
                          },
                          "orderId": {
                            "format": "uuid",
                            "type": "string"
                          },
                          "bookmaker": {
                            "type": "string"
                          },
                          "status": {
                            "type": "string",
                            "enum": [
                              "PENDING",
                              "WAITING",
                              "PARTIALLY_PLACED",
                              "PLACED",
                              "REJECTED",
                              "CANCELLED",
                              "SETTLED"
                            ]
                          },
                          "requestedStake": {
                            "description": "Money amount",
                            "type": "object",
                            "required": [
                              "amount",
                              "amountCents",
                              "currency"
                            ],
                            "properties": {
                              "amount": {
                                "pattern": "^-?\\d+\\.\\d{2}$",
                                "description": "Decimal string, two decimals",
                                "type": "string"
                              },
                              "amountCents": {
                                "description": "The same amount in integer cents: amount times 100",
                                "type": "integer"
                              },
                              "currency": {
                                "description": "ISO 4217 code",
                                "type": "string"
                              }
                            }
                          },
                          "filledStake": {
                            "anyOf": [
                              {
                                "description": "Money amount",
                                "type": "object",
                                "required": [
                                  "amount",
                                  "amountCents",
                                  "currency"
                                ],
                                "properties": {
                                  "amount": {
                                    "pattern": "^-?\\d+\\.\\d{2}$",
                                    "description": "Decimal string, two decimals",
                                    "type": "string"
                                  },
                                  "amountCents": {
                                    "description": "The same amount in integer cents: amount times 100",
                                    "type": "integer"
                                  },
                                  "currency": {
                                    "description": "ISO 4217 code",
                                    "type": "string"
                                  }
                                }
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "filledPrice": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "declineReason": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "placedAt": {
                            "anyOf": [
                              {
                                "format": "date-time",
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "filledAt": {
                            "anyOf": [
                              {
                                "format": "date-time",
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "settlement": {
                            "type": "object",
                            "required": [
                              "status",
                              "amount",
                              "settledAt"
                            ],
                            "properties": {
                              "status": {
                                "type": "string",
                                "enum": [
                                  "UNSETTLED",
                                  "WON",
                                  "LOST",
                                  "VOID",
                                  "HALF_WON",
                                  "HALF_LOST",
                                  "PUSH",
                                  "CASHOUT"
                                ]
                              },
                              "amount": {
                                "description": "Profit or loss of the account on this bet",
                                "anyOf": [
                                  {
                                    "description": "Money amount",
                                    "type": "object",
                                    "required": [
                                      "amount",
                                      "amountCents",
                                      "currency"
                                    ],
                                    "properties": {
                                      "amount": {
                                        "pattern": "^-?\\d+\\.\\d{2}$",
                                        "description": "Decimal string, two decimals",
                                        "type": "string"
                                      },
                                      "amountCents": {
                                        "description": "The same amount in integer cents: amount times 100",
                                        "type": "integer"
                                      },
                                      "currency": {
                                        "description": "ISO 4217 code",
                                        "type": "string"
                                      }
                                    }
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "settledAt": {
                                "anyOf": [
                                  {
                                    "format": "date-time",
                                    "type": "string"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              }
                            }
                          },
                          "cancellation": {
                            "type": "string",
                            "enum": [
                              "cancelled",
                              "alreadyTerminal",
                              "notRecallable"
                            ]
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Error. `code` is stable; `message` is for humans and may change.",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Error. `code` is stable; `message` is for humans and may change.",
                  "type": "object",
                  "required": [
                    "code",
                    "message"
                  ],
                  "properties": {
                    "code": {
                      "type": "string",
                      "enum": [
                        "VALIDATION_FAILED",
                        "MODE_REQUIRED",
                        "INVALID_STAKE",
                        "INVALID_PRICE",
                        "INVALID_EXPIRY",
                        "CURRENCY_NOT_SUPPORTED",
                        "BOOKMAKER_NOT_AVAILABLE_VIA_API",
                        "BOOKMAKER_NOT_AVAILABLE",
                        "INVALID_API_KEY",
                        "API_ACCESS_DENIED",
                        "ACCOUNT_NOT_ACTIVE",
                        "BETTING_NOT_ALLOWED",
                        "BALANCE_UNAVAILABLE",
                        "INSUFFICIENT_FUNDS",
                        "MAX_STAKE_PER_FIXTURE_EXCEEDED",
                        "PRICE_NOT_AVAILABLE",
                        "PRICE_CHANGED",
                        "NO_LIQUIDITY",
                        "INSUFFICIENT_LIQUIDITY",
                        "CLIENT_ORDER_ID_REUSED",
                        "PREVIOUS_ATTEMPT_UNRESOLVED",
                        "NOT_FOUND",
                        "INVALID_CURSOR",
                        "INVALID_WINDOW",
                        "ORDER_BUSY",
                        "CONFLICT",
                        "FORBIDDEN",
                        "RATE_LIMITED",
                        "BETTING_SUSPENDED",
                        "EXPIRY_NOT_AVAILABLE",
                        "PUBLIC_API_DISABLED",
                        "SERVICE_UNAVAILABLE",
                        "UPSTREAM_UNAVAILABLE",
                        "FEED_UNAVAILABLE",
                        "FEED_TIMEOUT",
                        "INTERNAL_ERROR"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "401": {
            "description": "Error. `code` is stable; `message` is for humans and may change.",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Error. `code` is stable; `message` is for humans and may change.",
                  "type": "object",
                  "required": [
                    "code",
                    "message"
                  ],
                  "properties": {
                    "code": {
                      "type": "string",
                      "enum": [
                        "VALIDATION_FAILED",
                        "MODE_REQUIRED",
                        "INVALID_STAKE",
                        "INVALID_PRICE",
                        "INVALID_EXPIRY",
                        "CURRENCY_NOT_SUPPORTED",
                        "BOOKMAKER_NOT_AVAILABLE_VIA_API",
                        "BOOKMAKER_NOT_AVAILABLE",
                        "INVALID_API_KEY",
                        "API_ACCESS_DENIED",
                        "ACCOUNT_NOT_ACTIVE",
                        "BETTING_NOT_ALLOWED",
                        "BALANCE_UNAVAILABLE",
                        "INSUFFICIENT_FUNDS",
                        "MAX_STAKE_PER_FIXTURE_EXCEEDED",
                        "PRICE_NOT_AVAILABLE",
                        "PRICE_CHANGED",
                        "NO_LIQUIDITY",
                        "INSUFFICIENT_LIQUIDITY",
                        "CLIENT_ORDER_ID_REUSED",
                        "PREVIOUS_ATTEMPT_UNRESOLVED",
                        "NOT_FOUND",
                        "INVALID_CURSOR",
                        "INVALID_WINDOW",
                        "ORDER_BUSY",
                        "CONFLICT",
                        "FORBIDDEN",
                        "RATE_LIMITED",
                        "BETTING_SUSPENDED",
                        "EXPIRY_NOT_AVAILABLE",
                        "PUBLIC_API_DISABLED",
                        "SERVICE_UNAVAILABLE",
                        "UPSTREAM_UNAVAILABLE",
                        "FEED_UNAVAILABLE",
                        "FEED_TIMEOUT",
                        "INTERNAL_ERROR"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "403": {
            "description": "Error. `code` is stable; `message` is for humans and may change.",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Error. `code` is stable; `message` is for humans and may change.",
                  "type": "object",
                  "required": [
                    "code",
                    "message"
                  ],
                  "properties": {
                    "code": {
                      "type": "string",
                      "enum": [
                        "VALIDATION_FAILED",
                        "MODE_REQUIRED",
                        "INVALID_STAKE",
                        "INVALID_PRICE",
                        "INVALID_EXPIRY",
                        "CURRENCY_NOT_SUPPORTED",
                        "BOOKMAKER_NOT_AVAILABLE_VIA_API",
                        "BOOKMAKER_NOT_AVAILABLE",
                        "INVALID_API_KEY",
                        "API_ACCESS_DENIED",
                        "ACCOUNT_NOT_ACTIVE",
                        "BETTING_NOT_ALLOWED",
                        "BALANCE_UNAVAILABLE",
                        "INSUFFICIENT_FUNDS",
                        "MAX_STAKE_PER_FIXTURE_EXCEEDED",
                        "PRICE_NOT_AVAILABLE",
                        "PRICE_CHANGED",
                        "NO_LIQUIDITY",
                        "INSUFFICIENT_LIQUIDITY",
                        "CLIENT_ORDER_ID_REUSED",
                        "PREVIOUS_ATTEMPT_UNRESOLVED",
                        "NOT_FOUND",
                        "INVALID_CURSOR",
                        "INVALID_WINDOW",
                        "ORDER_BUSY",
                        "CONFLICT",
                        "FORBIDDEN",
                        "RATE_LIMITED",
                        "BETTING_SUSPENDED",
                        "EXPIRY_NOT_AVAILABLE",
                        "PUBLIC_API_DISABLED",
                        "SERVICE_UNAVAILABLE",
                        "UPSTREAM_UNAVAILABLE",
                        "FEED_UNAVAILABLE",
                        "FEED_TIMEOUT",
                        "INTERNAL_ERROR"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "404": {
            "description": "Error. `code` is stable; `message` is for humans and may change.",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Error. `code` is stable; `message` is for humans and may change.",
                  "type": "object",
                  "required": [
                    "code",
                    "message"
                  ],
                  "properties": {
                    "code": {
                      "type": "string",
                      "enum": [
                        "VALIDATION_FAILED",
                        "MODE_REQUIRED",
                        "INVALID_STAKE",
                        "INVALID_PRICE",
                        "INVALID_EXPIRY",
                        "CURRENCY_NOT_SUPPORTED",
                        "BOOKMAKER_NOT_AVAILABLE_VIA_API",
                        "BOOKMAKER_NOT_AVAILABLE",
                        "INVALID_API_KEY",
                        "API_ACCESS_DENIED",
                        "ACCOUNT_NOT_ACTIVE",
                        "BETTING_NOT_ALLOWED",
                        "BALANCE_UNAVAILABLE",
                        "INSUFFICIENT_FUNDS",
                        "MAX_STAKE_PER_FIXTURE_EXCEEDED",
                        "PRICE_NOT_AVAILABLE",
                        "PRICE_CHANGED",
                        "NO_LIQUIDITY",
                        "INSUFFICIENT_LIQUIDITY",
                        "CLIENT_ORDER_ID_REUSED",
                        "PREVIOUS_ATTEMPT_UNRESOLVED",
                        "NOT_FOUND",
                        "INVALID_CURSOR",
                        "INVALID_WINDOW",
                        "ORDER_BUSY",
                        "CONFLICT",
                        "FORBIDDEN",
                        "RATE_LIMITED",
                        "BETTING_SUSPENDED",
                        "EXPIRY_NOT_AVAILABLE",
                        "PUBLIC_API_DISABLED",
                        "SERVICE_UNAVAILABLE",
                        "UPSTREAM_UNAVAILABLE",
                        "FEED_UNAVAILABLE",
                        "FEED_TIMEOUT",
                        "INTERNAL_ERROR"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "409": {
            "description": "Error. `code` is stable; `message` is for humans and may change.",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Error. `code` is stable; `message` is for humans and may change.",
                  "type": "object",
                  "required": [
                    "code",
                    "message"
                  ],
                  "properties": {
                    "code": {
                      "type": "string",
                      "enum": [
                        "VALIDATION_FAILED",
                        "MODE_REQUIRED",
                        "INVALID_STAKE",
                        "INVALID_PRICE",
                        "INVALID_EXPIRY",
                        "CURRENCY_NOT_SUPPORTED",
                        "BOOKMAKER_NOT_AVAILABLE_VIA_API",
                        "BOOKMAKER_NOT_AVAILABLE",
                        "INVALID_API_KEY",
                        "API_ACCESS_DENIED",
                        "ACCOUNT_NOT_ACTIVE",
                        "BETTING_NOT_ALLOWED",
                        "BALANCE_UNAVAILABLE",
                        "INSUFFICIENT_FUNDS",
                        "MAX_STAKE_PER_FIXTURE_EXCEEDED",
                        "PRICE_NOT_AVAILABLE",
                        "PRICE_CHANGED",
                        "NO_LIQUIDITY",
                        "INSUFFICIENT_LIQUIDITY",
                        "CLIENT_ORDER_ID_REUSED",
                        "PREVIOUS_ATTEMPT_UNRESOLVED",
                        "NOT_FOUND",
                        "INVALID_CURSOR",
                        "INVALID_WINDOW",
                        "ORDER_BUSY",
                        "CONFLICT",
                        "FORBIDDEN",
                        "RATE_LIMITED",
                        "BETTING_SUSPENDED",
                        "EXPIRY_NOT_AVAILABLE",
                        "PUBLIC_API_DISABLED",
                        "SERVICE_UNAVAILABLE",
                        "UPSTREAM_UNAVAILABLE",
                        "FEED_UNAVAILABLE",
                        "FEED_TIMEOUT",
                        "INTERNAL_ERROR"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "429": {
            "description": "Error. `code` is stable; `message` is for humans and may change.",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Error. `code` is stable; `message` is for humans and may change.",
                  "type": "object",
                  "required": [
                    "code",
                    "message"
                  ],
                  "properties": {
                    "code": {
                      "type": "string",
                      "enum": [
                        "VALIDATION_FAILED",
                        "MODE_REQUIRED",
                        "INVALID_STAKE",
                        "INVALID_PRICE",
                        "INVALID_EXPIRY",
                        "CURRENCY_NOT_SUPPORTED",
                        "BOOKMAKER_NOT_AVAILABLE_VIA_API",
                        "BOOKMAKER_NOT_AVAILABLE",
                        "INVALID_API_KEY",
                        "API_ACCESS_DENIED",
                        "ACCOUNT_NOT_ACTIVE",
                        "BETTING_NOT_ALLOWED",
                        "BALANCE_UNAVAILABLE",
                        "INSUFFICIENT_FUNDS",
                        "MAX_STAKE_PER_FIXTURE_EXCEEDED",
                        "PRICE_NOT_AVAILABLE",
                        "PRICE_CHANGED",
                        "NO_LIQUIDITY",
                        "INSUFFICIENT_LIQUIDITY",
                        "CLIENT_ORDER_ID_REUSED",
                        "PREVIOUS_ATTEMPT_UNRESOLVED",
                        "NOT_FOUND",
                        "INVALID_CURSOR",
                        "INVALID_WINDOW",
                        "ORDER_BUSY",
                        "CONFLICT",
                        "FORBIDDEN",
                        "RATE_LIMITED",
                        "BETTING_SUSPENDED",
                        "EXPIRY_NOT_AVAILABLE",
                        "PUBLIC_API_DISABLED",
                        "SERVICE_UNAVAILABLE",
                        "UPSTREAM_UNAVAILABLE",
                        "FEED_UNAVAILABLE",
                        "FEED_TIMEOUT",
                        "INTERNAL_ERROR"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "502": {
            "description": "Error. `code` is stable; `message` is for humans and may change.",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Error. `code` is stable; `message` is for humans and may change.",
                  "type": "object",
                  "required": [
                    "code",
                    "message"
                  ],
                  "properties": {
                    "code": {
                      "type": "string",
                      "enum": [
                        "VALIDATION_FAILED",
                        "MODE_REQUIRED",
                        "INVALID_STAKE",
                        "INVALID_PRICE",
                        "INVALID_EXPIRY",
                        "CURRENCY_NOT_SUPPORTED",
                        "BOOKMAKER_NOT_AVAILABLE_VIA_API",
                        "BOOKMAKER_NOT_AVAILABLE",
                        "INVALID_API_KEY",
                        "API_ACCESS_DENIED",
                        "ACCOUNT_NOT_ACTIVE",
                        "BETTING_NOT_ALLOWED",
                        "BALANCE_UNAVAILABLE",
                        "INSUFFICIENT_FUNDS",
                        "MAX_STAKE_PER_FIXTURE_EXCEEDED",
                        "PRICE_NOT_AVAILABLE",
                        "PRICE_CHANGED",
                        "NO_LIQUIDITY",
                        "INSUFFICIENT_LIQUIDITY",
                        "CLIENT_ORDER_ID_REUSED",
                        "PREVIOUS_ATTEMPT_UNRESOLVED",
                        "NOT_FOUND",
                        "INVALID_CURSOR",
                        "INVALID_WINDOW",
                        "ORDER_BUSY",
                        "CONFLICT",
                        "FORBIDDEN",
                        "RATE_LIMITED",
                        "BETTING_SUSPENDED",
                        "EXPIRY_NOT_AVAILABLE",
                        "PUBLIC_API_DISABLED",
                        "SERVICE_UNAVAILABLE",
                        "UPSTREAM_UNAVAILABLE",
                        "FEED_UNAVAILABLE",
                        "FEED_TIMEOUT",
                        "INTERNAL_ERROR"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "503": {
            "description": "Error. `code` is stable; `message` is for humans and may change.",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Error. `code` is stable; `message` is for humans and may change.",
                  "type": "object",
                  "required": [
                    "code",
                    "message"
                  ],
                  "properties": {
                    "code": {
                      "type": "string",
                      "enum": [
                        "VALIDATION_FAILED",
                        "MODE_REQUIRED",
                        "INVALID_STAKE",
                        "INVALID_PRICE",
                        "INVALID_EXPIRY",
                        "CURRENCY_NOT_SUPPORTED",
                        "BOOKMAKER_NOT_AVAILABLE_VIA_API",
                        "BOOKMAKER_NOT_AVAILABLE",
                        "INVALID_API_KEY",
                        "API_ACCESS_DENIED",
                        "ACCOUNT_NOT_ACTIVE",
                        "BETTING_NOT_ALLOWED",
                        "BALANCE_UNAVAILABLE",
                        "INSUFFICIENT_FUNDS",
                        "MAX_STAKE_PER_FIXTURE_EXCEEDED",
                        "PRICE_NOT_AVAILABLE",
                        "PRICE_CHANGED",
                        "NO_LIQUIDITY",
                        "INSUFFICIENT_LIQUIDITY",
                        "CLIENT_ORDER_ID_REUSED",
                        "PREVIOUS_ATTEMPT_UNRESOLVED",
                        "NOT_FOUND",
                        "INVALID_CURSOR",
                        "INVALID_WINDOW",
                        "ORDER_BUSY",
                        "CONFLICT",
                        "FORBIDDEN",
                        "RATE_LIMITED",
                        "BETTING_SUSPENDED",
                        "EXPIRY_NOT_AVAILABLE",
                        "PUBLIC_API_DISABLED",
                        "SERVICE_UNAVAILABLE",
                        "UPSTREAM_UNAVAILABLE",
                        "FEED_UNAVAILABLE",
                        "FEED_TIMEOUT",
                        "INTERNAL_ERROR"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          }
        }
      }
    },
    "/v1/orders/by-client-id/{clientOrderId}": {
      "get": {
        "summary": "Get an order by its clientOrderId",
        "tags": [
          "Orders"
        ],
        "description": "One of the account's orders, found by the clientOrderId it was placed with.",
        "parameters": [
          {
            "schema": {
              "minLength": 1,
              "maxLength": 200,
              "type": "string"
            },
            "in": "path",
            "name": "clientOrderId",
            "required": true
          }
        ],
        "security": [
          {
            "apiKey": []
          }
        ],
        "responses": {
          "200": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "id",
                    "clientOrderId",
                    "status",
                    "selection",
                    "side",
                    "bookmakers",
                    "requestedStake",
                    "filledStake",
                    "remainingStake",
                    "minPrice",
                    "averageFilledPrice",
                    "acceptBetterOdds",
                    "acceptPartialStake",
                    "expiresAt",
                    "createdAt",
                    "updatedAt",
                    "version",
                    "bets"
                  ],
                  "properties": {
                    "id": {
                      "format": "uuid",
                      "type": "string"
                    },
                    "clientOrderId": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "status": {
                      "type": "string",
                      "enum": [
                        "PENDING",
                        "PARTIALLY_FILLED",
                        "FILLED",
                        "EXPIRED",
                        "CANCELLED",
                        "REJECTED"
                      ]
                    },
                    "selection": {
                      "type": "object",
                      "required": [
                        "fixtureId",
                        "outcomeId",
                        "playerId",
                        "sportId",
                        "tournamentId",
                        "marketId"
                      ],
                      "properties": {
                        "fixtureId": {
                          "type": "string"
                        },
                        "outcomeId": {
                          "type": "integer"
                        },
                        "playerId": {
                          "type": "integer"
                        },
                        "sportId": {
                          "type": "integer"
                        },
                        "tournamentId": {
                          "anyOf": [
                            {
                              "type": "integer"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "marketId": {
                          "type": "integer"
                        }
                      }
                    },
                    "side": {
                      "description": "Only back is supported in v1",
                      "type": "string",
                      "enum": [
                        "back"
                      ]
                    },
                    "bookmakers": {
                      "description": "Bookmakers the stake was split across",
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "requestedStake": {
                      "description": "Money amount",
                      "type": "object",
                      "required": [
                        "amount",
                        "amountCents",
                        "currency"
                      ],
                      "properties": {
                        "amount": {
                          "pattern": "^-?\\d+\\.\\d{2}$",
                          "description": "Decimal string, two decimals",
                          "type": "string"
                        },
                        "amountCents": {
                          "description": "The same amount in integer cents: amount times 100",
                          "type": "integer"
                        },
                        "currency": {
                          "description": "ISO 4217 code",
                          "type": "string"
                        }
                      }
                    },
                    "filledStake": {
                      "description": "Money amount",
                      "type": "object",
                      "required": [
                        "amount",
                        "amountCents",
                        "currency"
                      ],
                      "properties": {
                        "amount": {
                          "pattern": "^-?\\d+\\.\\d{2}$",
                          "description": "Decimal string, two decimals",
                          "type": "string"
                        },
                        "amountCents": {
                          "description": "The same amount in integer cents: amount times 100",
                          "type": "integer"
                        },
                        "currency": {
                          "description": "ISO 4217 code",
                          "type": "string"
                        }
                      }
                    },
                    "remainingStake": {
                      "description": "Money amount",
                      "type": "object",
                      "required": [
                        "amount",
                        "amountCents",
                        "currency"
                      ],
                      "properties": {
                        "amount": {
                          "pattern": "^-?\\d+\\.\\d{2}$",
                          "description": "Decimal string, two decimals",
                          "type": "string"
                        },
                        "amountCents": {
                          "description": "The same amount in integer cents: amount times 100",
                          "type": "integer"
                        },
                        "currency": {
                          "description": "ISO 4217 code",
                          "type": "string"
                        }
                      }
                    },
                    "minPrice": {
                      "description": "Decimal price floor",
                      "type": "string"
                    },
                    "averageFilledPrice": {
                      "anyOf": [
                        {
                          "description": "Stake-weighted price of the filled legs",
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "acceptBetterOdds": {
                      "type": "boolean"
                    },
                    "acceptPartialStake": {
                      "type": "boolean"
                    },
                    "expiresAt": {
                      "anyOf": [
                        {
                          "format": "date-time",
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "createdAt": {
                      "format": "date-time",
                      "type": "string"
                    },
                    "updatedAt": {
                      "format": "date-time",
                      "type": "string"
                    },
                    "version": {
                      "description": "Goes up by one at every change of the order or one of its bets",
                      "type": "integer"
                    },
                    "bets": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "required": [
                          "id",
                          "orderId",
                          "bookmaker",
                          "status",
                          "requestedStake",
                          "filledStake",
                          "filledPrice",
                          "declineReason",
                          "placedAt",
                          "filledAt",
                          "settlement"
                        ],
                        "properties": {
                          "id": {
                            "format": "uuid",
                            "type": "string"
                          },
                          "orderId": {
                            "format": "uuid",
                            "type": "string"
                          },
                          "bookmaker": {
                            "type": "string"
                          },
                          "status": {
                            "type": "string",
                            "enum": [
                              "PENDING",
                              "WAITING",
                              "PARTIALLY_PLACED",
                              "PLACED",
                              "REJECTED",
                              "CANCELLED",
                              "SETTLED"
                            ]
                          },
                          "requestedStake": {
                            "description": "Money amount",
                            "type": "object",
                            "required": [
                              "amount",
                              "amountCents",
                              "currency"
                            ],
                            "properties": {
                              "amount": {
                                "pattern": "^-?\\d+\\.\\d{2}$",
                                "description": "Decimal string, two decimals",
                                "type": "string"
                              },
                              "amountCents": {
                                "description": "The same amount in integer cents: amount times 100",
                                "type": "integer"
                              },
                              "currency": {
                                "description": "ISO 4217 code",
                                "type": "string"
                              }
                            }
                          },
                          "filledStake": {
                            "anyOf": [
                              {
                                "description": "Money amount",
                                "type": "object",
                                "required": [
                                  "amount",
                                  "amountCents",
                                  "currency"
                                ],
                                "properties": {
                                  "amount": {
                                    "pattern": "^-?\\d+\\.\\d{2}$",
                                    "description": "Decimal string, two decimals",
                                    "type": "string"
                                  },
                                  "amountCents": {
                                    "description": "The same amount in integer cents: amount times 100",
                                    "type": "integer"
                                  },
                                  "currency": {
                                    "description": "ISO 4217 code",
                                    "type": "string"
                                  }
                                }
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "filledPrice": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "declineReason": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "placedAt": {
                            "anyOf": [
                              {
                                "format": "date-time",
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "filledAt": {
                            "anyOf": [
                              {
                                "format": "date-time",
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "settlement": {
                            "type": "object",
                            "required": [
                              "status",
                              "amount",
                              "settledAt"
                            ],
                            "properties": {
                              "status": {
                                "type": "string",
                                "enum": [
                                  "UNSETTLED",
                                  "WON",
                                  "LOST",
                                  "VOID",
                                  "HALF_WON",
                                  "HALF_LOST",
                                  "PUSH",
                                  "CASHOUT"
                                ]
                              },
                              "amount": {
                                "description": "Profit or loss of the account on this bet",
                                "anyOf": [
                                  {
                                    "description": "Money amount",
                                    "type": "object",
                                    "required": [
                                      "amount",
                                      "amountCents",
                                      "currency"
                                    ],
                                    "properties": {
                                      "amount": {
                                        "pattern": "^-?\\d+\\.\\d{2}$",
                                        "description": "Decimal string, two decimals",
                                        "type": "string"
                                      },
                                      "amountCents": {
                                        "description": "The same amount in integer cents: amount times 100",
                                        "type": "integer"
                                      },
                                      "currency": {
                                        "description": "ISO 4217 code",
                                        "type": "string"
                                      }
                                    }
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "settledAt": {
                                "anyOf": [
                                  {
                                    "format": "date-time",
                                    "type": "string"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              }
                            }
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Error. `code` is stable; `message` is for humans and may change.",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Error. `code` is stable; `message` is for humans and may change.",
                  "type": "object",
                  "required": [
                    "code",
                    "message"
                  ],
                  "properties": {
                    "code": {
                      "type": "string",
                      "enum": [
                        "VALIDATION_FAILED",
                        "MODE_REQUIRED",
                        "INVALID_STAKE",
                        "INVALID_PRICE",
                        "INVALID_EXPIRY",
                        "CURRENCY_NOT_SUPPORTED",
                        "BOOKMAKER_NOT_AVAILABLE_VIA_API",
                        "BOOKMAKER_NOT_AVAILABLE",
                        "INVALID_API_KEY",
                        "API_ACCESS_DENIED",
                        "ACCOUNT_NOT_ACTIVE",
                        "BETTING_NOT_ALLOWED",
                        "BALANCE_UNAVAILABLE",
                        "INSUFFICIENT_FUNDS",
                        "MAX_STAKE_PER_FIXTURE_EXCEEDED",
                        "PRICE_NOT_AVAILABLE",
                        "PRICE_CHANGED",
                        "NO_LIQUIDITY",
                        "INSUFFICIENT_LIQUIDITY",
                        "CLIENT_ORDER_ID_REUSED",
                        "PREVIOUS_ATTEMPT_UNRESOLVED",
                        "NOT_FOUND",
                        "INVALID_CURSOR",
                        "INVALID_WINDOW",
                        "ORDER_BUSY",
                        "CONFLICT",
                        "FORBIDDEN",
                        "RATE_LIMITED",
                        "BETTING_SUSPENDED",
                        "EXPIRY_NOT_AVAILABLE",
                        "PUBLIC_API_DISABLED",
                        "SERVICE_UNAVAILABLE",
                        "UPSTREAM_UNAVAILABLE",
                        "FEED_UNAVAILABLE",
                        "FEED_TIMEOUT",
                        "INTERNAL_ERROR"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "401": {
            "description": "Error. `code` is stable; `message` is for humans and may change.",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Error. `code` is stable; `message` is for humans and may change.",
                  "type": "object",
                  "required": [
                    "code",
                    "message"
                  ],
                  "properties": {
                    "code": {
                      "type": "string",
                      "enum": [
                        "VALIDATION_FAILED",
                        "MODE_REQUIRED",
                        "INVALID_STAKE",
                        "INVALID_PRICE",
                        "INVALID_EXPIRY",
                        "CURRENCY_NOT_SUPPORTED",
                        "BOOKMAKER_NOT_AVAILABLE_VIA_API",
                        "BOOKMAKER_NOT_AVAILABLE",
                        "INVALID_API_KEY",
                        "API_ACCESS_DENIED",
                        "ACCOUNT_NOT_ACTIVE",
                        "BETTING_NOT_ALLOWED",
                        "BALANCE_UNAVAILABLE",
                        "INSUFFICIENT_FUNDS",
                        "MAX_STAKE_PER_FIXTURE_EXCEEDED",
                        "PRICE_NOT_AVAILABLE",
                        "PRICE_CHANGED",
                        "NO_LIQUIDITY",
                        "INSUFFICIENT_LIQUIDITY",
                        "CLIENT_ORDER_ID_REUSED",
                        "PREVIOUS_ATTEMPT_UNRESOLVED",
                        "NOT_FOUND",
                        "INVALID_CURSOR",
                        "INVALID_WINDOW",
                        "ORDER_BUSY",
                        "CONFLICT",
                        "FORBIDDEN",
                        "RATE_LIMITED",
                        "BETTING_SUSPENDED",
                        "EXPIRY_NOT_AVAILABLE",
                        "PUBLIC_API_DISABLED",
                        "SERVICE_UNAVAILABLE",
                        "UPSTREAM_UNAVAILABLE",
                        "FEED_UNAVAILABLE",
                        "FEED_TIMEOUT",
                        "INTERNAL_ERROR"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "403": {
            "description": "Error. `code` is stable; `message` is for humans and may change.",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Error. `code` is stable; `message` is for humans and may change.",
                  "type": "object",
                  "required": [
                    "code",
                    "message"
                  ],
                  "properties": {
                    "code": {
                      "type": "string",
                      "enum": [
                        "VALIDATION_FAILED",
                        "MODE_REQUIRED",
                        "INVALID_STAKE",
                        "INVALID_PRICE",
                        "INVALID_EXPIRY",
                        "CURRENCY_NOT_SUPPORTED",
                        "BOOKMAKER_NOT_AVAILABLE_VIA_API",
                        "BOOKMAKER_NOT_AVAILABLE",
                        "INVALID_API_KEY",
                        "API_ACCESS_DENIED",
                        "ACCOUNT_NOT_ACTIVE",
                        "BETTING_NOT_ALLOWED",
                        "BALANCE_UNAVAILABLE",
                        "INSUFFICIENT_FUNDS",
                        "MAX_STAKE_PER_FIXTURE_EXCEEDED",
                        "PRICE_NOT_AVAILABLE",
                        "PRICE_CHANGED",
                        "NO_LIQUIDITY",
                        "INSUFFICIENT_LIQUIDITY",
                        "CLIENT_ORDER_ID_REUSED",
                        "PREVIOUS_ATTEMPT_UNRESOLVED",
                        "NOT_FOUND",
                        "INVALID_CURSOR",
                        "INVALID_WINDOW",
                        "ORDER_BUSY",
                        "CONFLICT",
                        "FORBIDDEN",
                        "RATE_LIMITED",
                        "BETTING_SUSPENDED",
                        "EXPIRY_NOT_AVAILABLE",
                        "PUBLIC_API_DISABLED",
                        "SERVICE_UNAVAILABLE",
                        "UPSTREAM_UNAVAILABLE",
                        "FEED_UNAVAILABLE",
                        "FEED_TIMEOUT",
                        "INTERNAL_ERROR"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "404": {
            "description": "Error. `code` is stable; `message` is for humans and may change.",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Error. `code` is stable; `message` is for humans and may change.",
                  "type": "object",
                  "required": [
                    "code",
                    "message"
                  ],
                  "properties": {
                    "code": {
                      "type": "string",
                      "enum": [
                        "VALIDATION_FAILED",
                        "MODE_REQUIRED",
                        "INVALID_STAKE",
                        "INVALID_PRICE",
                        "INVALID_EXPIRY",
                        "CURRENCY_NOT_SUPPORTED",
                        "BOOKMAKER_NOT_AVAILABLE_VIA_API",
                        "BOOKMAKER_NOT_AVAILABLE",
                        "INVALID_API_KEY",
                        "API_ACCESS_DENIED",
                        "ACCOUNT_NOT_ACTIVE",
                        "BETTING_NOT_ALLOWED",
                        "BALANCE_UNAVAILABLE",
                        "INSUFFICIENT_FUNDS",
                        "MAX_STAKE_PER_FIXTURE_EXCEEDED",
                        "PRICE_NOT_AVAILABLE",
                        "PRICE_CHANGED",
                        "NO_LIQUIDITY",
                        "INSUFFICIENT_LIQUIDITY",
                        "CLIENT_ORDER_ID_REUSED",
                        "PREVIOUS_ATTEMPT_UNRESOLVED",
                        "NOT_FOUND",
                        "INVALID_CURSOR",
                        "INVALID_WINDOW",
                        "ORDER_BUSY",
                        "CONFLICT",
                        "FORBIDDEN",
                        "RATE_LIMITED",
                        "BETTING_SUSPENDED",
                        "EXPIRY_NOT_AVAILABLE",
                        "PUBLIC_API_DISABLED",
                        "SERVICE_UNAVAILABLE",
                        "UPSTREAM_UNAVAILABLE",
                        "FEED_UNAVAILABLE",
                        "FEED_TIMEOUT",
                        "INTERNAL_ERROR"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "429": {
            "description": "Error. `code` is stable; `message` is for humans and may change.",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Error. `code` is stable; `message` is for humans and may change.",
                  "type": "object",
                  "required": [
                    "code",
                    "message"
                  ],
                  "properties": {
                    "code": {
                      "type": "string",
                      "enum": [
                        "VALIDATION_FAILED",
                        "MODE_REQUIRED",
                        "INVALID_STAKE",
                        "INVALID_PRICE",
                        "INVALID_EXPIRY",
                        "CURRENCY_NOT_SUPPORTED",
                        "BOOKMAKER_NOT_AVAILABLE_VIA_API",
                        "BOOKMAKER_NOT_AVAILABLE",
                        "INVALID_API_KEY",
                        "API_ACCESS_DENIED",
                        "ACCOUNT_NOT_ACTIVE",
                        "BETTING_NOT_ALLOWED",
                        "BALANCE_UNAVAILABLE",
                        "INSUFFICIENT_FUNDS",
                        "MAX_STAKE_PER_FIXTURE_EXCEEDED",
                        "PRICE_NOT_AVAILABLE",
                        "PRICE_CHANGED",
                        "NO_LIQUIDITY",
                        "INSUFFICIENT_LIQUIDITY",
                        "CLIENT_ORDER_ID_REUSED",
                        "PREVIOUS_ATTEMPT_UNRESOLVED",
                        "NOT_FOUND",
                        "INVALID_CURSOR",
                        "INVALID_WINDOW",
                        "ORDER_BUSY",
                        "CONFLICT",
                        "FORBIDDEN",
                        "RATE_LIMITED",
                        "BETTING_SUSPENDED",
                        "EXPIRY_NOT_AVAILABLE",
                        "PUBLIC_API_DISABLED",
                        "SERVICE_UNAVAILABLE",
                        "UPSTREAM_UNAVAILABLE",
                        "FEED_UNAVAILABLE",
                        "FEED_TIMEOUT",
                        "INTERNAL_ERROR"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "503": {
            "description": "Error. `code` is stable; `message` is for humans and may change.",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Error. `code` is stable; `message` is for humans and may change.",
                  "type": "object",
                  "required": [
                    "code",
                    "message"
                  ],
                  "properties": {
                    "code": {
                      "type": "string",
                      "enum": [
                        "VALIDATION_FAILED",
                        "MODE_REQUIRED",
                        "INVALID_STAKE",
                        "INVALID_PRICE",
                        "INVALID_EXPIRY",
                        "CURRENCY_NOT_SUPPORTED",
                        "BOOKMAKER_NOT_AVAILABLE_VIA_API",
                        "BOOKMAKER_NOT_AVAILABLE",
                        "INVALID_API_KEY",
                        "API_ACCESS_DENIED",
                        "ACCOUNT_NOT_ACTIVE",
                        "BETTING_NOT_ALLOWED",
                        "BALANCE_UNAVAILABLE",
                        "INSUFFICIENT_FUNDS",
                        "MAX_STAKE_PER_FIXTURE_EXCEEDED",
                        "PRICE_NOT_AVAILABLE",
                        "PRICE_CHANGED",
                        "NO_LIQUIDITY",
                        "INSUFFICIENT_LIQUIDITY",
                        "CLIENT_ORDER_ID_REUSED",
                        "PREVIOUS_ATTEMPT_UNRESOLVED",
                        "NOT_FOUND",
                        "INVALID_CURSOR",
                        "INVALID_WINDOW",
                        "ORDER_BUSY",
                        "CONFLICT",
                        "FORBIDDEN",
                        "RATE_LIMITED",
                        "BETTING_SUSPENDED",
                        "EXPIRY_NOT_AVAILABLE",
                        "PUBLIC_API_DISABLED",
                        "SERVICE_UNAVAILABLE",
                        "UPSTREAM_UNAVAILABLE",
                        "FEED_UNAVAILABLE",
                        "FEED_TIMEOUT",
                        "INTERNAL_ERROR"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          }
        }
      }
    },
    "/v1/orders/cancel-all": {
      "post": {
        "summary": "Cancel working orders",
        "tags": [
          "Orders"
        ],
        "description": "Cancels the working orders of the account, of one fixture, or the listed orders. One call handles at most 200 orders: while nextCursor is not null, call again with it to continue. Listed ids that match no order of the account (under fixtureId when given) come back in notFound. Orders busy with a placement come back in busy: cancel them again shortly. Not counted against any per-key rate limit.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "fixtureId": {
                    "minLength": 1,
                    "maxLength": 255,
                    "type": "string"
                  },
                  "orderIds": {
                    "minItems": 1,
                    "maxItems": 200,
                    "type": "array",
                    "items": {
                      "format": "uuid",
                      "type": "string"
                    }
                  },
                  "cursor": {
                    "minLength": 1,
                    "maxLength": 512,
                    "description": "nextCursor of the previous call; not with orderIds",
                    "type": "string"
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKey": []
          }
        ],
        "responses": {
          "200": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "orders",
                    "notFound",
                    "busy",
                    "nextCursor"
                  ],
                  "properties": {
                    "orders": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "required": [
                          "id",
                          "clientOrderId",
                          "status",
                          "selection",
                          "side",
                          "bookmakers",
                          "requestedStake",
                          "filledStake",
                          "remainingStake",
                          "minPrice",
                          "averageFilledPrice",
                          "acceptBetterOdds",
                          "acceptPartialStake",
                          "expiresAt",
                          "createdAt",
                          "updatedAt",
                          "version",
                          "remainder",
                          "bets"
                        ],
                        "properties": {
                          "id": {
                            "format": "uuid",
                            "type": "string"
                          },
                          "clientOrderId": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "status": {
                            "type": "string",
                            "enum": [
                              "PENDING",
                              "PARTIALLY_FILLED",
                              "FILLED",
                              "EXPIRED",
                              "CANCELLED",
                              "REJECTED"
                            ]
                          },
                          "selection": {
                            "type": "object",
                            "required": [
                              "fixtureId",
                              "outcomeId",
                              "playerId",
                              "sportId",
                              "tournamentId",
                              "marketId"
                            ],
                            "properties": {
                              "fixtureId": {
                                "type": "string"
                              },
                              "outcomeId": {
                                "type": "integer"
                              },
                              "playerId": {
                                "type": "integer"
                              },
                              "sportId": {
                                "type": "integer"
                              },
                              "tournamentId": {
                                "anyOf": [
                                  {
                                    "type": "integer"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "marketId": {
                                "type": "integer"
                              }
                            }
                          },
                          "side": {
                            "description": "Only back is supported in v1",
                            "type": "string",
                            "enum": [
                              "back"
                            ]
                          },
                          "bookmakers": {
                            "description": "Bookmakers the stake was split across",
                            "type": "array",
                            "items": {
                              "type": "string"
                            }
                          },
                          "requestedStake": {
                            "description": "Money amount",
                            "type": "object",
                            "required": [
                              "amount",
                              "amountCents",
                              "currency"
                            ],
                            "properties": {
                              "amount": {
                                "pattern": "^-?\\d+\\.\\d{2}$",
                                "description": "Decimal string, two decimals",
                                "type": "string"
                              },
                              "amountCents": {
                                "description": "The same amount in integer cents: amount times 100",
                                "type": "integer"
                              },
                              "currency": {
                                "description": "ISO 4217 code",
                                "type": "string"
                              }
                            }
                          },
                          "filledStake": {
                            "description": "Money amount",
                            "type": "object",
                            "required": [
                              "amount",
                              "amountCents",
                              "currency"
                            ],
                            "properties": {
                              "amount": {
                                "pattern": "^-?\\d+\\.\\d{2}$",
                                "description": "Decimal string, two decimals",
                                "type": "string"
                              },
                              "amountCents": {
                                "description": "The same amount in integer cents: amount times 100",
                                "type": "integer"
                              },
                              "currency": {
                                "description": "ISO 4217 code",
                                "type": "string"
                              }
                            }
                          },
                          "remainingStake": {
                            "description": "Money amount",
                            "type": "object",
                            "required": [
                              "amount",
                              "amountCents",
                              "currency"
                            ],
                            "properties": {
                              "amount": {
                                "pattern": "^-?\\d+\\.\\d{2}$",
                                "description": "Decimal string, two decimals",
                                "type": "string"
                              },
                              "amountCents": {
                                "description": "The same amount in integer cents: amount times 100",
                                "type": "integer"
                              },
                              "currency": {
                                "description": "ISO 4217 code",
                                "type": "string"
                              }
                            }
                          },
                          "minPrice": {
                            "description": "Decimal price floor",
                            "type": "string"
                          },
                          "averageFilledPrice": {
                            "anyOf": [
                              {
                                "description": "Stake-weighted price of the filled legs",
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "acceptBetterOdds": {
                            "type": "boolean"
                          },
                          "acceptPartialStake": {
                            "type": "boolean"
                          },
                          "expiresAt": {
                            "anyOf": [
                              {
                                "format": "date-time",
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "createdAt": {
                            "format": "date-time",
                            "type": "string"
                          },
                          "updatedAt": {
                            "format": "date-time",
                            "type": "string"
                          },
                          "version": {
                            "description": "Goes up by one at every change of the order or one of its bets",
                            "type": "integer"
                          },
                          "remainder": {
                            "type": "string",
                            "enum": [
                              "cancelled",
                              "alreadyTerminal",
                              "none"
                            ]
                          },
                          "bets": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "required": [
                                "id",
                                "orderId",
                                "bookmaker",
                                "status",
                                "requestedStake",
                                "filledStake",
                                "filledPrice",
                                "declineReason",
                                "placedAt",
                                "filledAt",
                                "settlement",
                                "cancellation"
                              ],
                              "properties": {
                                "id": {
                                  "format": "uuid",
                                  "type": "string"
                                },
                                "orderId": {
                                  "format": "uuid",
                                  "type": "string"
                                },
                                "bookmaker": {
                                  "type": "string"
                                },
                                "status": {
                                  "type": "string",
                                  "enum": [
                                    "PENDING",
                                    "WAITING",
                                    "PARTIALLY_PLACED",
                                    "PLACED",
                                    "REJECTED",
                                    "CANCELLED",
                                    "SETTLED"
                                  ]
                                },
                                "requestedStake": {
                                  "description": "Money amount",
                                  "type": "object",
                                  "required": [
                                    "amount",
                                    "amountCents",
                                    "currency"
                                  ],
                                  "properties": {
                                    "amount": {
                                      "pattern": "^-?\\d+\\.\\d{2}$",
                                      "description": "Decimal string, two decimals",
                                      "type": "string"
                                    },
                                    "amountCents": {
                                      "description": "The same amount in integer cents: amount times 100",
                                      "type": "integer"
                                    },
                                    "currency": {
                                      "description": "ISO 4217 code",
                                      "type": "string"
                                    }
                                  }
                                },
                                "filledStake": {
                                  "anyOf": [
                                    {
                                      "description": "Money amount",
                                      "type": "object",
                                      "required": [
                                        "amount",
                                        "amountCents",
                                        "currency"
                                      ],
                                      "properties": {
                                        "amount": {
                                          "pattern": "^-?\\d+\\.\\d{2}$",
                                          "description": "Decimal string, two decimals",
                                          "type": "string"
                                        },
                                        "amountCents": {
                                          "description": "The same amount in integer cents: amount times 100",
                                          "type": "integer"
                                        },
                                        "currency": {
                                          "description": "ISO 4217 code",
                                          "type": "string"
                                        }
                                      }
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ]
                                },
                                "filledPrice": {
                                  "anyOf": [
                                    {
                                      "type": "string"
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ]
                                },
                                "declineReason": {
                                  "anyOf": [
                                    {
                                      "type": "string"
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ]
                                },
                                "placedAt": {
                                  "anyOf": [
                                    {
                                      "format": "date-time",
                                      "type": "string"
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ]
                                },
                                "filledAt": {
                                  "anyOf": [
                                    {
                                      "format": "date-time",
                                      "type": "string"
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ]
                                },
                                "settlement": {
                                  "type": "object",
                                  "required": [
                                    "status",
                                    "amount",
                                    "settledAt"
                                  ],
                                  "properties": {
                                    "status": {
                                      "type": "string",
                                      "enum": [
                                        "UNSETTLED",
                                        "WON",
                                        "LOST",
                                        "VOID",
                                        "HALF_WON",
                                        "HALF_LOST",
                                        "PUSH",
                                        "CASHOUT"
                                      ]
                                    },
                                    "amount": {
                                      "description": "Profit or loss of the account on this bet",
                                      "anyOf": [
                                        {
                                          "description": "Money amount",
                                          "type": "object",
                                          "required": [
                                            "amount",
                                            "amountCents",
                                            "currency"
                                          ],
                                          "properties": {
                                            "amount": {
                                              "pattern": "^-?\\d+\\.\\d{2}$",
                                              "description": "Decimal string, two decimals",
                                              "type": "string"
                                            },
                                            "amountCents": {
                                              "description": "The same amount in integer cents: amount times 100",
                                              "type": "integer"
                                            },
                                            "currency": {
                                              "description": "ISO 4217 code",
                                              "type": "string"
                                            }
                                          }
                                        },
                                        {
                                          "type": "null"
                                        }
                                      ]
                                    },
                                    "settledAt": {
                                      "anyOf": [
                                        {
                                          "format": "date-time",
                                          "type": "string"
                                        },
                                        {
                                          "type": "null"
                                        }
                                      ]
                                    }
                                  }
                                },
                                "cancellation": {
                                  "type": "string",
                                  "enum": [
                                    "cancelled",
                                    "alreadyTerminal",
                                    "notRecallable"
                                  ]
                                }
                              }
                            }
                          }
                        }
                      }
                    },
                    "notFound": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "busy": {
                      "type": "array",
                      "items": {
                        "format": "uuid",
                        "type": "string"
                      }
                    },
                    "nextCursor": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Error. `code` is stable; `message` is for humans and may change.",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Error. `code` is stable; `message` is for humans and may change.",
                  "type": "object",
                  "required": [
                    "code",
                    "message"
                  ],
                  "properties": {
                    "code": {
                      "type": "string",
                      "enum": [
                        "VALIDATION_FAILED",
                        "MODE_REQUIRED",
                        "INVALID_STAKE",
                        "INVALID_PRICE",
                        "INVALID_EXPIRY",
                        "CURRENCY_NOT_SUPPORTED",
                        "BOOKMAKER_NOT_AVAILABLE_VIA_API",
                        "BOOKMAKER_NOT_AVAILABLE",
                        "INVALID_API_KEY",
                        "API_ACCESS_DENIED",
                        "ACCOUNT_NOT_ACTIVE",
                        "BETTING_NOT_ALLOWED",
                        "BALANCE_UNAVAILABLE",
                        "INSUFFICIENT_FUNDS",
                        "MAX_STAKE_PER_FIXTURE_EXCEEDED",
                        "PRICE_NOT_AVAILABLE",
                        "PRICE_CHANGED",
                        "NO_LIQUIDITY",
                        "INSUFFICIENT_LIQUIDITY",
                        "CLIENT_ORDER_ID_REUSED",
                        "PREVIOUS_ATTEMPT_UNRESOLVED",
                        "NOT_FOUND",
                        "INVALID_CURSOR",
                        "INVALID_WINDOW",
                        "ORDER_BUSY",
                        "CONFLICT",
                        "FORBIDDEN",
                        "RATE_LIMITED",
                        "BETTING_SUSPENDED",
                        "EXPIRY_NOT_AVAILABLE",
                        "PUBLIC_API_DISABLED",
                        "SERVICE_UNAVAILABLE",
                        "UPSTREAM_UNAVAILABLE",
                        "FEED_UNAVAILABLE",
                        "FEED_TIMEOUT",
                        "INTERNAL_ERROR"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "401": {
            "description": "Error. `code` is stable; `message` is for humans and may change.",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Error. `code` is stable; `message` is for humans and may change.",
                  "type": "object",
                  "required": [
                    "code",
                    "message"
                  ],
                  "properties": {
                    "code": {
                      "type": "string",
                      "enum": [
                        "VALIDATION_FAILED",
                        "MODE_REQUIRED",
                        "INVALID_STAKE",
                        "INVALID_PRICE",
                        "INVALID_EXPIRY",
                        "CURRENCY_NOT_SUPPORTED",
                        "BOOKMAKER_NOT_AVAILABLE_VIA_API",
                        "BOOKMAKER_NOT_AVAILABLE",
                        "INVALID_API_KEY",
                        "API_ACCESS_DENIED",
                        "ACCOUNT_NOT_ACTIVE",
                        "BETTING_NOT_ALLOWED",
                        "BALANCE_UNAVAILABLE",
                        "INSUFFICIENT_FUNDS",
                        "MAX_STAKE_PER_FIXTURE_EXCEEDED",
                        "PRICE_NOT_AVAILABLE",
                        "PRICE_CHANGED",
                        "NO_LIQUIDITY",
                        "INSUFFICIENT_LIQUIDITY",
                        "CLIENT_ORDER_ID_REUSED",
                        "PREVIOUS_ATTEMPT_UNRESOLVED",
                        "NOT_FOUND",
                        "INVALID_CURSOR",
                        "INVALID_WINDOW",
                        "ORDER_BUSY",
                        "CONFLICT",
                        "FORBIDDEN",
                        "RATE_LIMITED",
                        "BETTING_SUSPENDED",
                        "EXPIRY_NOT_AVAILABLE",
                        "PUBLIC_API_DISABLED",
                        "SERVICE_UNAVAILABLE",
                        "UPSTREAM_UNAVAILABLE",
                        "FEED_UNAVAILABLE",
                        "FEED_TIMEOUT",
                        "INTERNAL_ERROR"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "403": {
            "description": "Error. `code` is stable; `message` is for humans and may change.",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Error. `code` is stable; `message` is for humans and may change.",
                  "type": "object",
                  "required": [
                    "code",
                    "message"
                  ],
                  "properties": {
                    "code": {
                      "type": "string",
                      "enum": [
                        "VALIDATION_FAILED",
                        "MODE_REQUIRED",
                        "INVALID_STAKE",
                        "INVALID_PRICE",
                        "INVALID_EXPIRY",
                        "CURRENCY_NOT_SUPPORTED",
                        "BOOKMAKER_NOT_AVAILABLE_VIA_API",
                        "BOOKMAKER_NOT_AVAILABLE",
                        "INVALID_API_KEY",
                        "API_ACCESS_DENIED",
                        "ACCOUNT_NOT_ACTIVE",
                        "BETTING_NOT_ALLOWED",
                        "BALANCE_UNAVAILABLE",
                        "INSUFFICIENT_FUNDS",
                        "MAX_STAKE_PER_FIXTURE_EXCEEDED",
                        "PRICE_NOT_AVAILABLE",
                        "PRICE_CHANGED",
                        "NO_LIQUIDITY",
                        "INSUFFICIENT_LIQUIDITY",
                        "CLIENT_ORDER_ID_REUSED",
                        "PREVIOUS_ATTEMPT_UNRESOLVED",
                        "NOT_FOUND",
                        "INVALID_CURSOR",
                        "INVALID_WINDOW",
                        "ORDER_BUSY",
                        "CONFLICT",
                        "FORBIDDEN",
                        "RATE_LIMITED",
                        "BETTING_SUSPENDED",
                        "EXPIRY_NOT_AVAILABLE",
                        "PUBLIC_API_DISABLED",
                        "SERVICE_UNAVAILABLE",
                        "UPSTREAM_UNAVAILABLE",
                        "FEED_UNAVAILABLE",
                        "FEED_TIMEOUT",
                        "INTERNAL_ERROR"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "404": {
            "description": "Error. `code` is stable; `message` is for humans and may change.",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Error. `code` is stable; `message` is for humans and may change.",
                  "type": "object",
                  "required": [
                    "code",
                    "message"
                  ],
                  "properties": {
                    "code": {
                      "type": "string",
                      "enum": [
                        "VALIDATION_FAILED",
                        "MODE_REQUIRED",
                        "INVALID_STAKE",
                        "INVALID_PRICE",
                        "INVALID_EXPIRY",
                        "CURRENCY_NOT_SUPPORTED",
                        "BOOKMAKER_NOT_AVAILABLE_VIA_API",
                        "BOOKMAKER_NOT_AVAILABLE",
                        "INVALID_API_KEY",
                        "API_ACCESS_DENIED",
                        "ACCOUNT_NOT_ACTIVE",
                        "BETTING_NOT_ALLOWED",
                        "BALANCE_UNAVAILABLE",
                        "INSUFFICIENT_FUNDS",
                        "MAX_STAKE_PER_FIXTURE_EXCEEDED",
                        "PRICE_NOT_AVAILABLE",
                        "PRICE_CHANGED",
                        "NO_LIQUIDITY",
                        "INSUFFICIENT_LIQUIDITY",
                        "CLIENT_ORDER_ID_REUSED",
                        "PREVIOUS_ATTEMPT_UNRESOLVED",
                        "NOT_FOUND",
                        "INVALID_CURSOR",
                        "INVALID_WINDOW",
                        "ORDER_BUSY",
                        "CONFLICT",
                        "FORBIDDEN",
                        "RATE_LIMITED",
                        "BETTING_SUSPENDED",
                        "EXPIRY_NOT_AVAILABLE",
                        "PUBLIC_API_DISABLED",
                        "SERVICE_UNAVAILABLE",
                        "UPSTREAM_UNAVAILABLE",
                        "FEED_UNAVAILABLE",
                        "FEED_TIMEOUT",
                        "INTERNAL_ERROR"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "409": {
            "description": "Error. `code` is stable; `message` is for humans and may change.",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Error. `code` is stable; `message` is for humans and may change.",
                  "type": "object",
                  "required": [
                    "code",
                    "message"
                  ],
                  "properties": {
                    "code": {
                      "type": "string",
                      "enum": [
                        "VALIDATION_FAILED",
                        "MODE_REQUIRED",
                        "INVALID_STAKE",
                        "INVALID_PRICE",
                        "INVALID_EXPIRY",
                        "CURRENCY_NOT_SUPPORTED",
                        "BOOKMAKER_NOT_AVAILABLE_VIA_API",
                        "BOOKMAKER_NOT_AVAILABLE",
                        "INVALID_API_KEY",
                        "API_ACCESS_DENIED",
                        "ACCOUNT_NOT_ACTIVE",
                        "BETTING_NOT_ALLOWED",
                        "BALANCE_UNAVAILABLE",
                        "INSUFFICIENT_FUNDS",
                        "MAX_STAKE_PER_FIXTURE_EXCEEDED",
                        "PRICE_NOT_AVAILABLE",
                        "PRICE_CHANGED",
                        "NO_LIQUIDITY",
                        "INSUFFICIENT_LIQUIDITY",
                        "CLIENT_ORDER_ID_REUSED",
                        "PREVIOUS_ATTEMPT_UNRESOLVED",
                        "NOT_FOUND",
                        "INVALID_CURSOR",
                        "INVALID_WINDOW",
                        "ORDER_BUSY",
                        "CONFLICT",
                        "FORBIDDEN",
                        "RATE_LIMITED",
                        "BETTING_SUSPENDED",
                        "EXPIRY_NOT_AVAILABLE",
                        "PUBLIC_API_DISABLED",
                        "SERVICE_UNAVAILABLE",
                        "UPSTREAM_UNAVAILABLE",
                        "FEED_UNAVAILABLE",
                        "FEED_TIMEOUT",
                        "INTERNAL_ERROR"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "429": {
            "description": "Error. `code` is stable; `message` is for humans and may change.",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Error. `code` is stable; `message` is for humans and may change.",
                  "type": "object",
                  "required": [
                    "code",
                    "message"
                  ],
                  "properties": {
                    "code": {
                      "type": "string",
                      "enum": [
                        "VALIDATION_FAILED",
                        "MODE_REQUIRED",
                        "INVALID_STAKE",
                        "INVALID_PRICE",
                        "INVALID_EXPIRY",
                        "CURRENCY_NOT_SUPPORTED",
                        "BOOKMAKER_NOT_AVAILABLE_VIA_API",
                        "BOOKMAKER_NOT_AVAILABLE",
                        "INVALID_API_KEY",
                        "API_ACCESS_DENIED",
                        "ACCOUNT_NOT_ACTIVE",
                        "BETTING_NOT_ALLOWED",
                        "BALANCE_UNAVAILABLE",
                        "INSUFFICIENT_FUNDS",
                        "MAX_STAKE_PER_FIXTURE_EXCEEDED",
                        "PRICE_NOT_AVAILABLE",
                        "PRICE_CHANGED",
                        "NO_LIQUIDITY",
                        "INSUFFICIENT_LIQUIDITY",
                        "CLIENT_ORDER_ID_REUSED",
                        "PREVIOUS_ATTEMPT_UNRESOLVED",
                        "NOT_FOUND",
                        "INVALID_CURSOR",
                        "INVALID_WINDOW",
                        "ORDER_BUSY",
                        "CONFLICT",
                        "FORBIDDEN",
                        "RATE_LIMITED",
                        "BETTING_SUSPENDED",
                        "EXPIRY_NOT_AVAILABLE",
                        "PUBLIC_API_DISABLED",
                        "SERVICE_UNAVAILABLE",
                        "UPSTREAM_UNAVAILABLE",
                        "FEED_UNAVAILABLE",
                        "FEED_TIMEOUT",
                        "INTERNAL_ERROR"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "502": {
            "description": "Error. `code` is stable; `message` is for humans and may change.",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Error. `code` is stable; `message` is for humans and may change.",
                  "type": "object",
                  "required": [
                    "code",
                    "message"
                  ],
                  "properties": {
                    "code": {
                      "type": "string",
                      "enum": [
                        "VALIDATION_FAILED",
                        "MODE_REQUIRED",
                        "INVALID_STAKE",
                        "INVALID_PRICE",
                        "INVALID_EXPIRY",
                        "CURRENCY_NOT_SUPPORTED",
                        "BOOKMAKER_NOT_AVAILABLE_VIA_API",
                        "BOOKMAKER_NOT_AVAILABLE",
                        "INVALID_API_KEY",
                        "API_ACCESS_DENIED",
                        "ACCOUNT_NOT_ACTIVE",
                        "BETTING_NOT_ALLOWED",
                        "BALANCE_UNAVAILABLE",
                        "INSUFFICIENT_FUNDS",
                        "MAX_STAKE_PER_FIXTURE_EXCEEDED",
                        "PRICE_NOT_AVAILABLE",
                        "PRICE_CHANGED",
                        "NO_LIQUIDITY",
                        "INSUFFICIENT_LIQUIDITY",
                        "CLIENT_ORDER_ID_REUSED",
                        "PREVIOUS_ATTEMPT_UNRESOLVED",
                        "NOT_FOUND",
                        "INVALID_CURSOR",
                        "INVALID_WINDOW",
                        "ORDER_BUSY",
                        "CONFLICT",
                        "FORBIDDEN",
                        "RATE_LIMITED",
                        "BETTING_SUSPENDED",
                        "EXPIRY_NOT_AVAILABLE",
                        "PUBLIC_API_DISABLED",
                        "SERVICE_UNAVAILABLE",
                        "UPSTREAM_UNAVAILABLE",
                        "FEED_UNAVAILABLE",
                        "FEED_TIMEOUT",
                        "INTERNAL_ERROR"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "503": {
            "description": "Error. `code` is stable; `message` is for humans and may change.",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Error. `code` is stable; `message` is for humans and may change.",
                  "type": "object",
                  "required": [
                    "code",
                    "message"
                  ],
                  "properties": {
                    "code": {
                      "type": "string",
                      "enum": [
                        "VALIDATION_FAILED",
                        "MODE_REQUIRED",
                        "INVALID_STAKE",
                        "INVALID_PRICE",
                        "INVALID_EXPIRY",
                        "CURRENCY_NOT_SUPPORTED",
                        "BOOKMAKER_NOT_AVAILABLE_VIA_API",
                        "BOOKMAKER_NOT_AVAILABLE",
                        "INVALID_API_KEY",
                        "API_ACCESS_DENIED",
                        "ACCOUNT_NOT_ACTIVE",
                        "BETTING_NOT_ALLOWED",
                        "BALANCE_UNAVAILABLE",
                        "INSUFFICIENT_FUNDS",
                        "MAX_STAKE_PER_FIXTURE_EXCEEDED",
                        "PRICE_NOT_AVAILABLE",
                        "PRICE_CHANGED",
                        "NO_LIQUIDITY",
                        "INSUFFICIENT_LIQUIDITY",
                        "CLIENT_ORDER_ID_REUSED",
                        "PREVIOUS_ATTEMPT_UNRESOLVED",
                        "NOT_FOUND",
                        "INVALID_CURSOR",
                        "INVALID_WINDOW",
                        "ORDER_BUSY",
                        "CONFLICT",
                        "FORBIDDEN",
                        "RATE_LIMITED",
                        "BETTING_SUSPENDED",
                        "EXPIRY_NOT_AVAILABLE",
                        "PUBLIC_API_DISABLED",
                        "SERVICE_UNAVAILABLE",
                        "UPSTREAM_UNAVAILABLE",
                        "FEED_UNAVAILABLE",
                        "FEED_TIMEOUT",
                        "INTERNAL_ERROR"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          }
        }
      }
    },
    "/v1/bets": {
      "get": {
        "summary": "List bets",
        "tags": [
          "Bets"
        ],
        "description": "The account's bets, newest first, dashboard bets included. Every filter narrows the result.",
        "parameters": [
          {
            "schema": {
              "type": "array",
              "items": {
                "type": "string",
                "enum": [
                  "PENDING",
                  "WAITING",
                  "PARTIALLY_PLACED",
                  "PLACED",
                  "REJECTED",
                  "CANCELLED",
                  "SETTLED"
                ]
              }
            },
            "in": "query",
            "name": "status",
            "required": false,
            "description": "Repeat the parameter to ask for several values"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "type": "string",
                "enum": [
                  "UNSETTLED",
                  "WON",
                  "LOST",
                  "VOID",
                  "HALF_WON",
                  "HALF_LOST",
                  "PUSH",
                  "CASHOUT"
                ]
              }
            },
            "in": "query",
            "name": "settlementStatus",
            "required": false,
            "description": "Repeat the parameter to ask for several values"
          },
          {
            "schema": {
              "minLength": 1,
              "maxLength": 255,
              "type": "string"
            },
            "in": "query",
            "name": "fixtureId",
            "required": false
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "minLength": 1,
                "maxLength": 64,
                "type": "string"
              }
            },
            "in": "query",
            "name": "bookmaker",
            "required": false,
            "description": "Repeat the parameter to ask for several values"
          },
          {
            "schema": {
              "format": "date-time",
              "type": "string"
            },
            "in": "query",
            "name": "from",
            "required": false,
            "description": "createdAt at or after"
          },
          {
            "schema": {
              "format": "date-time",
              "type": "string"
            },
            "in": "query",
            "name": "to",
            "required": false,
            "description": "createdAt before"
          },
          {
            "schema": {
              "format": "date-time",
              "type": "string"
            },
            "in": "query",
            "name": "settledFrom",
            "required": false,
            "description": "settlement.settledAt at or after"
          },
          {
            "schema": {
              "format": "date-time",
              "type": "string"
            },
            "in": "query",
            "name": "settledTo",
            "required": false,
            "description": "settlement.settledAt before"
          },
          {
            "schema": {
              "minLength": 1,
              "maxLength": 512,
              "type": "string"
            },
            "in": "query",
            "name": "cursor",
            "required": false
          },
          {
            "schema": {
              "minimum": 1,
              "maximum": 200,
              "default": 50,
              "type": "integer"
            },
            "in": "query",
            "name": "limit",
            "required": false
          }
        ],
        "security": [
          {
            "apiKey": []
          }
        ],
        "responses": {
          "200": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "bets",
                    "nextCursor"
                  ],
                  "properties": {
                    "bets": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "required": [
                          "id",
                          "orderId",
                          "bookmaker",
                          "status",
                          "requestedStake",
                          "filledStake",
                          "filledPrice",
                          "declineReason",
                          "placedAt",
                          "filledAt",
                          "settlement",
                          "selection",
                          "createdAt"
                        ],
                        "properties": {
                          "id": {
                            "format": "uuid",
                            "type": "string"
                          },
                          "orderId": {
                            "description": "Null for a bet placed before orders were recorded",
                            "anyOf": [
                              {
                                "format": "uuid",
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "bookmaker": {
                            "type": "string"
                          },
                          "status": {
                            "type": "string",
                            "enum": [
                              "PENDING",
                              "WAITING",
                              "PARTIALLY_PLACED",
                              "PLACED",
                              "REJECTED",
                              "CANCELLED",
                              "SETTLED"
                            ]
                          },
                          "requestedStake": {
                            "description": "Money amount",
                            "type": "object",
                            "required": [
                              "amount",
                              "amountCents",
                              "currency"
                            ],
                            "properties": {
                              "amount": {
                                "pattern": "^-?\\d+\\.\\d{2}$",
                                "description": "Decimal string, two decimals",
                                "type": "string"
                              },
                              "amountCents": {
                                "description": "The same amount in integer cents: amount times 100",
                                "type": "integer"
                              },
                              "currency": {
                                "description": "ISO 4217 code",
                                "type": "string"
                              }
                            }
                          },
                          "filledStake": {
                            "anyOf": [
                              {
                                "description": "Money amount",
                                "type": "object",
                                "required": [
                                  "amount",
                                  "amountCents",
                                  "currency"
                                ],
                                "properties": {
                                  "amount": {
                                    "pattern": "^-?\\d+\\.\\d{2}$",
                                    "description": "Decimal string, two decimals",
                                    "type": "string"
                                  },
                                  "amountCents": {
                                    "description": "The same amount in integer cents: amount times 100",
                                    "type": "integer"
                                  },
                                  "currency": {
                                    "description": "ISO 4217 code",
                                    "type": "string"
                                  }
                                }
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "filledPrice": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "declineReason": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "placedAt": {
                            "anyOf": [
                              {
                                "format": "date-time",
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "filledAt": {
                            "anyOf": [
                              {
                                "format": "date-time",
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "settlement": {
                            "type": "object",
                            "required": [
                              "status",
                              "amount",
                              "settledAt"
                            ],
                            "properties": {
                              "status": {
                                "type": "string",
                                "enum": [
                                  "UNSETTLED",
                                  "WON",
                                  "LOST",
                                  "VOID",
                                  "HALF_WON",
                                  "HALF_LOST",
                                  "PUSH",
                                  "CASHOUT"
                                ]
                              },
                              "amount": {
                                "description": "Profit or loss of the account on this bet",
                                "anyOf": [
                                  {
                                    "description": "Money amount",
                                    "type": "object",
                                    "required": [
                                      "amount",
                                      "amountCents",
                                      "currency"
                                    ],
                                    "properties": {
                                      "amount": {
                                        "pattern": "^-?\\d+\\.\\d{2}$",
                                        "description": "Decimal string, two decimals",
                                        "type": "string"
                                      },
                                      "amountCents": {
                                        "description": "The same amount in integer cents: amount times 100",
                                        "type": "integer"
                                      },
                                      "currency": {
                                        "description": "ISO 4217 code",
                                        "type": "string"
                                      }
                                    }
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "settledAt": {
                                "anyOf": [
                                  {
                                    "format": "date-time",
                                    "type": "string"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              }
                            }
                          },
                          "selection": {
                            "type": "object",
                            "required": [
                              "fixtureId",
                              "outcomeId",
                              "playerId",
                              "sportId",
                              "tournamentId",
                              "marketId"
                            ],
                            "properties": {
                              "fixtureId": {
                                "type": "string"
                              },
                              "outcomeId": {
                                "type": "integer"
                              },
                              "playerId": {
                                "type": "integer"
                              },
                              "sportId": {
                                "type": "integer"
                              },
                              "tournamentId": {
                                "anyOf": [
                                  {
                                    "type": "integer"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "marketId": {
                                "type": "integer"
                              }
                            }
                          },
                          "createdAt": {
                            "format": "date-time",
                            "type": "string"
                          }
                        }
                      }
                    },
                    "nextCursor": {
                      "anyOf": [
                        {
                          "description": "Pass it back as cursor for the next page; null on the last page",
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Error. `code` is stable; `message` is for humans and may change.",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Error. `code` is stable; `message` is for humans and may change.",
                  "type": "object",
                  "required": [
                    "code",
                    "message"
                  ],
                  "properties": {
                    "code": {
                      "type": "string",
                      "enum": [
                        "VALIDATION_FAILED",
                        "MODE_REQUIRED",
                        "INVALID_STAKE",
                        "INVALID_PRICE",
                        "INVALID_EXPIRY",
                        "CURRENCY_NOT_SUPPORTED",
                        "BOOKMAKER_NOT_AVAILABLE_VIA_API",
                        "BOOKMAKER_NOT_AVAILABLE",
                        "INVALID_API_KEY",
                        "API_ACCESS_DENIED",
                        "ACCOUNT_NOT_ACTIVE",
                        "BETTING_NOT_ALLOWED",
                        "BALANCE_UNAVAILABLE",
                        "INSUFFICIENT_FUNDS",
                        "MAX_STAKE_PER_FIXTURE_EXCEEDED",
                        "PRICE_NOT_AVAILABLE",
                        "PRICE_CHANGED",
                        "NO_LIQUIDITY",
                        "INSUFFICIENT_LIQUIDITY",
                        "CLIENT_ORDER_ID_REUSED",
                        "PREVIOUS_ATTEMPT_UNRESOLVED",
                        "NOT_FOUND",
                        "INVALID_CURSOR",
                        "INVALID_WINDOW",
                        "ORDER_BUSY",
                        "CONFLICT",
                        "FORBIDDEN",
                        "RATE_LIMITED",
                        "BETTING_SUSPENDED",
                        "EXPIRY_NOT_AVAILABLE",
                        "PUBLIC_API_DISABLED",
                        "SERVICE_UNAVAILABLE",
                        "UPSTREAM_UNAVAILABLE",
                        "FEED_UNAVAILABLE",
                        "FEED_TIMEOUT",
                        "INTERNAL_ERROR"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "401": {
            "description": "Error. `code` is stable; `message` is for humans and may change.",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Error. `code` is stable; `message` is for humans and may change.",
                  "type": "object",
                  "required": [
                    "code",
                    "message"
                  ],
                  "properties": {
                    "code": {
                      "type": "string",
                      "enum": [
                        "VALIDATION_FAILED",
                        "MODE_REQUIRED",
                        "INVALID_STAKE",
                        "INVALID_PRICE",
                        "INVALID_EXPIRY",
                        "CURRENCY_NOT_SUPPORTED",
                        "BOOKMAKER_NOT_AVAILABLE_VIA_API",
                        "BOOKMAKER_NOT_AVAILABLE",
                        "INVALID_API_KEY",
                        "API_ACCESS_DENIED",
                        "ACCOUNT_NOT_ACTIVE",
                        "BETTING_NOT_ALLOWED",
                        "BALANCE_UNAVAILABLE",
                        "INSUFFICIENT_FUNDS",
                        "MAX_STAKE_PER_FIXTURE_EXCEEDED",
                        "PRICE_NOT_AVAILABLE",
                        "PRICE_CHANGED",
                        "NO_LIQUIDITY",
                        "INSUFFICIENT_LIQUIDITY",
                        "CLIENT_ORDER_ID_REUSED",
                        "PREVIOUS_ATTEMPT_UNRESOLVED",
                        "NOT_FOUND",
                        "INVALID_CURSOR",
                        "INVALID_WINDOW",
                        "ORDER_BUSY",
                        "CONFLICT",
                        "FORBIDDEN",
                        "RATE_LIMITED",
                        "BETTING_SUSPENDED",
                        "EXPIRY_NOT_AVAILABLE",
                        "PUBLIC_API_DISABLED",
                        "SERVICE_UNAVAILABLE",
                        "UPSTREAM_UNAVAILABLE",
                        "FEED_UNAVAILABLE",
                        "FEED_TIMEOUT",
                        "INTERNAL_ERROR"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "403": {
            "description": "Error. `code` is stable; `message` is for humans and may change.",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Error. `code` is stable; `message` is for humans and may change.",
                  "type": "object",
                  "required": [
                    "code",
                    "message"
                  ],
                  "properties": {
                    "code": {
                      "type": "string",
                      "enum": [
                        "VALIDATION_FAILED",
                        "MODE_REQUIRED",
                        "INVALID_STAKE",
                        "INVALID_PRICE",
                        "INVALID_EXPIRY",
                        "CURRENCY_NOT_SUPPORTED",
                        "BOOKMAKER_NOT_AVAILABLE_VIA_API",
                        "BOOKMAKER_NOT_AVAILABLE",
                        "INVALID_API_KEY",
                        "API_ACCESS_DENIED",
                        "ACCOUNT_NOT_ACTIVE",
                        "BETTING_NOT_ALLOWED",
                        "BALANCE_UNAVAILABLE",
                        "INSUFFICIENT_FUNDS",
                        "MAX_STAKE_PER_FIXTURE_EXCEEDED",
                        "PRICE_NOT_AVAILABLE",
                        "PRICE_CHANGED",
                        "NO_LIQUIDITY",
                        "INSUFFICIENT_LIQUIDITY",
                        "CLIENT_ORDER_ID_REUSED",
                        "PREVIOUS_ATTEMPT_UNRESOLVED",
                        "NOT_FOUND",
                        "INVALID_CURSOR",
                        "INVALID_WINDOW",
                        "ORDER_BUSY",
                        "CONFLICT",
                        "FORBIDDEN",
                        "RATE_LIMITED",
                        "BETTING_SUSPENDED",
                        "EXPIRY_NOT_AVAILABLE",
                        "PUBLIC_API_DISABLED",
                        "SERVICE_UNAVAILABLE",
                        "UPSTREAM_UNAVAILABLE",
                        "FEED_UNAVAILABLE",
                        "FEED_TIMEOUT",
                        "INTERNAL_ERROR"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "429": {
            "description": "Error. `code` is stable; `message` is for humans and may change.",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Error. `code` is stable; `message` is for humans and may change.",
                  "type": "object",
                  "required": [
                    "code",
                    "message"
                  ],
                  "properties": {
                    "code": {
                      "type": "string",
                      "enum": [
                        "VALIDATION_FAILED",
                        "MODE_REQUIRED",
                        "INVALID_STAKE",
                        "INVALID_PRICE",
                        "INVALID_EXPIRY",
                        "CURRENCY_NOT_SUPPORTED",
                        "BOOKMAKER_NOT_AVAILABLE_VIA_API",
                        "BOOKMAKER_NOT_AVAILABLE",
                        "INVALID_API_KEY",
                        "API_ACCESS_DENIED",
                        "ACCOUNT_NOT_ACTIVE",
                        "BETTING_NOT_ALLOWED",
                        "BALANCE_UNAVAILABLE",
                        "INSUFFICIENT_FUNDS",
                        "MAX_STAKE_PER_FIXTURE_EXCEEDED",
                        "PRICE_NOT_AVAILABLE",
                        "PRICE_CHANGED",
                        "NO_LIQUIDITY",
                        "INSUFFICIENT_LIQUIDITY",
                        "CLIENT_ORDER_ID_REUSED",
                        "PREVIOUS_ATTEMPT_UNRESOLVED",
                        "NOT_FOUND",
                        "INVALID_CURSOR",
                        "INVALID_WINDOW",
                        "ORDER_BUSY",
                        "CONFLICT",
                        "FORBIDDEN",
                        "RATE_LIMITED",
                        "BETTING_SUSPENDED",
                        "EXPIRY_NOT_AVAILABLE",
                        "PUBLIC_API_DISABLED",
                        "SERVICE_UNAVAILABLE",
                        "UPSTREAM_UNAVAILABLE",
                        "FEED_UNAVAILABLE",
                        "FEED_TIMEOUT",
                        "INTERNAL_ERROR"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "503": {
            "description": "Error. `code` is stable; `message` is for humans and may change.",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Error. `code` is stable; `message` is for humans and may change.",
                  "type": "object",
                  "required": [
                    "code",
                    "message"
                  ],
                  "properties": {
                    "code": {
                      "type": "string",
                      "enum": [
                        "VALIDATION_FAILED",
                        "MODE_REQUIRED",
                        "INVALID_STAKE",
                        "INVALID_PRICE",
                        "INVALID_EXPIRY",
                        "CURRENCY_NOT_SUPPORTED",
                        "BOOKMAKER_NOT_AVAILABLE_VIA_API",
                        "BOOKMAKER_NOT_AVAILABLE",
                        "INVALID_API_KEY",
                        "API_ACCESS_DENIED",
                        "ACCOUNT_NOT_ACTIVE",
                        "BETTING_NOT_ALLOWED",
                        "BALANCE_UNAVAILABLE",
                        "INSUFFICIENT_FUNDS",
                        "MAX_STAKE_PER_FIXTURE_EXCEEDED",
                        "PRICE_NOT_AVAILABLE",
                        "PRICE_CHANGED",
                        "NO_LIQUIDITY",
                        "INSUFFICIENT_LIQUIDITY",
                        "CLIENT_ORDER_ID_REUSED",
                        "PREVIOUS_ATTEMPT_UNRESOLVED",
                        "NOT_FOUND",
                        "INVALID_CURSOR",
                        "INVALID_WINDOW",
                        "ORDER_BUSY",
                        "CONFLICT",
                        "FORBIDDEN",
                        "RATE_LIMITED",
                        "BETTING_SUSPENDED",
                        "EXPIRY_NOT_AVAILABLE",
                        "PUBLIC_API_DISABLED",
                        "SERVICE_UNAVAILABLE",
                        "UPSTREAM_UNAVAILABLE",
                        "FEED_UNAVAILABLE",
                        "FEED_TIMEOUT",
                        "INTERNAL_ERROR"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          }
        }
      }
    },
    "/v1/bets/{id}": {
      "get": {
        "summary": "Get a bet",
        "tags": [
          "Bets"
        ],
        "description": "One of the account's bets. Bets placed from the dashboard are included.",
        "parameters": [
          {
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "in": "path",
            "name": "id",
            "required": true
          }
        ],
        "security": [
          {
            "apiKey": []
          }
        ],
        "responses": {
          "200": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "id",
                    "orderId",
                    "bookmaker",
                    "status",
                    "requestedStake",
                    "filledStake",
                    "filledPrice",
                    "declineReason",
                    "placedAt",
                    "filledAt",
                    "settlement",
                    "selection",
                    "createdAt"
                  ],
                  "properties": {
                    "id": {
                      "format": "uuid",
                      "type": "string"
                    },
                    "orderId": {
                      "description": "Null for a bet placed before orders were recorded",
                      "anyOf": [
                        {
                          "format": "uuid",
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "bookmaker": {
                      "type": "string"
                    },
                    "status": {
                      "type": "string",
                      "enum": [
                        "PENDING",
                        "WAITING",
                        "PARTIALLY_PLACED",
                        "PLACED",
                        "REJECTED",
                        "CANCELLED",
                        "SETTLED"
                      ]
                    },
                    "requestedStake": {
                      "description": "Money amount",
                      "type": "object",
                      "required": [
                        "amount",
                        "amountCents",
                        "currency"
                      ],
                      "properties": {
                        "amount": {
                          "pattern": "^-?\\d+\\.\\d{2}$",
                          "description": "Decimal string, two decimals",
                          "type": "string"
                        },
                        "amountCents": {
                          "description": "The same amount in integer cents: amount times 100",
                          "type": "integer"
                        },
                        "currency": {
                          "description": "ISO 4217 code",
                          "type": "string"
                        }
                      }
                    },
                    "filledStake": {
                      "anyOf": [
                        {
                          "description": "Money amount",
                          "type": "object",
                          "required": [
                            "amount",
                            "amountCents",
                            "currency"
                          ],
                          "properties": {
                            "amount": {
                              "pattern": "^-?\\d+\\.\\d{2}$",
                              "description": "Decimal string, two decimals",
                              "type": "string"
                            },
                            "amountCents": {
                              "description": "The same amount in integer cents: amount times 100",
                              "type": "integer"
                            },
                            "currency": {
                              "description": "ISO 4217 code",
                              "type": "string"
                            }
                          }
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "filledPrice": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "declineReason": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "placedAt": {
                      "anyOf": [
                        {
                          "format": "date-time",
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "filledAt": {
                      "anyOf": [
                        {
                          "format": "date-time",
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "settlement": {
                      "type": "object",
                      "required": [
                        "status",
                        "amount",
                        "settledAt"
                      ],
                      "properties": {
                        "status": {
                          "type": "string",
                          "enum": [
                            "UNSETTLED",
                            "WON",
                            "LOST",
                            "VOID",
                            "HALF_WON",
                            "HALF_LOST",
                            "PUSH",
                            "CASHOUT"
                          ]
                        },
                        "amount": {
                          "description": "Profit or loss of the account on this bet",
                          "anyOf": [
                            {
                              "description": "Money amount",
                              "type": "object",
                              "required": [
                                "amount",
                                "amountCents",
                                "currency"
                              ],
                              "properties": {
                                "amount": {
                                  "pattern": "^-?\\d+\\.\\d{2}$",
                                  "description": "Decimal string, two decimals",
                                  "type": "string"
                                },
                                "amountCents": {
                                  "description": "The same amount in integer cents: amount times 100",
                                  "type": "integer"
                                },
                                "currency": {
                                  "description": "ISO 4217 code",
                                  "type": "string"
                                }
                              }
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "settledAt": {
                          "anyOf": [
                            {
                              "format": "date-time",
                              "type": "string"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        }
                      }
                    },
                    "selection": {
                      "type": "object",
                      "required": [
                        "fixtureId",
                        "outcomeId",
                        "playerId",
                        "sportId",
                        "tournamentId",
                        "marketId"
                      ],
                      "properties": {
                        "fixtureId": {
                          "type": "string"
                        },
                        "outcomeId": {
                          "type": "integer"
                        },
                        "playerId": {
                          "type": "integer"
                        },
                        "sportId": {
                          "type": "integer"
                        },
                        "tournamentId": {
                          "anyOf": [
                            {
                              "type": "integer"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "marketId": {
                          "type": "integer"
                        }
                      }
                    },
                    "createdAt": {
                      "format": "date-time",
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Error. `code` is stable; `message` is for humans and may change.",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Error. `code` is stable; `message` is for humans and may change.",
                  "type": "object",
                  "required": [
                    "code",
                    "message"
                  ],
                  "properties": {
                    "code": {
                      "type": "string",
                      "enum": [
                        "VALIDATION_FAILED",
                        "MODE_REQUIRED",
                        "INVALID_STAKE",
                        "INVALID_PRICE",
                        "INVALID_EXPIRY",
                        "CURRENCY_NOT_SUPPORTED",
                        "BOOKMAKER_NOT_AVAILABLE_VIA_API",
                        "BOOKMAKER_NOT_AVAILABLE",
                        "INVALID_API_KEY",
                        "API_ACCESS_DENIED",
                        "ACCOUNT_NOT_ACTIVE",
                        "BETTING_NOT_ALLOWED",
                        "BALANCE_UNAVAILABLE",
                        "INSUFFICIENT_FUNDS",
                        "MAX_STAKE_PER_FIXTURE_EXCEEDED",
                        "PRICE_NOT_AVAILABLE",
                        "PRICE_CHANGED",
                        "NO_LIQUIDITY",
                        "INSUFFICIENT_LIQUIDITY",
                        "CLIENT_ORDER_ID_REUSED",
                        "PREVIOUS_ATTEMPT_UNRESOLVED",
                        "NOT_FOUND",
                        "INVALID_CURSOR",
                        "INVALID_WINDOW",
                        "ORDER_BUSY",
                        "CONFLICT",
                        "FORBIDDEN",
                        "RATE_LIMITED",
                        "BETTING_SUSPENDED",
                        "EXPIRY_NOT_AVAILABLE",
                        "PUBLIC_API_DISABLED",
                        "SERVICE_UNAVAILABLE",
                        "UPSTREAM_UNAVAILABLE",
                        "FEED_UNAVAILABLE",
                        "FEED_TIMEOUT",
                        "INTERNAL_ERROR"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "401": {
            "description": "Error. `code` is stable; `message` is for humans and may change.",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Error. `code` is stable; `message` is for humans and may change.",
                  "type": "object",
                  "required": [
                    "code",
                    "message"
                  ],
                  "properties": {
                    "code": {
                      "type": "string",
                      "enum": [
                        "VALIDATION_FAILED",
                        "MODE_REQUIRED",
                        "INVALID_STAKE",
                        "INVALID_PRICE",
                        "INVALID_EXPIRY",
                        "CURRENCY_NOT_SUPPORTED",
                        "BOOKMAKER_NOT_AVAILABLE_VIA_API",
                        "BOOKMAKER_NOT_AVAILABLE",
                        "INVALID_API_KEY",
                        "API_ACCESS_DENIED",
                        "ACCOUNT_NOT_ACTIVE",
                        "BETTING_NOT_ALLOWED",
                        "BALANCE_UNAVAILABLE",
                        "INSUFFICIENT_FUNDS",
                        "MAX_STAKE_PER_FIXTURE_EXCEEDED",
                        "PRICE_NOT_AVAILABLE",
                        "PRICE_CHANGED",
                        "NO_LIQUIDITY",
                        "INSUFFICIENT_LIQUIDITY",
                        "CLIENT_ORDER_ID_REUSED",
                        "PREVIOUS_ATTEMPT_UNRESOLVED",
                        "NOT_FOUND",
                        "INVALID_CURSOR",
                        "INVALID_WINDOW",
                        "ORDER_BUSY",
                        "CONFLICT",
                        "FORBIDDEN",
                        "RATE_LIMITED",
                        "BETTING_SUSPENDED",
                        "EXPIRY_NOT_AVAILABLE",
                        "PUBLIC_API_DISABLED",
                        "SERVICE_UNAVAILABLE",
                        "UPSTREAM_UNAVAILABLE",
                        "FEED_UNAVAILABLE",
                        "FEED_TIMEOUT",
                        "INTERNAL_ERROR"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "403": {
            "description": "Error. `code` is stable; `message` is for humans and may change.",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Error. `code` is stable; `message` is for humans and may change.",
                  "type": "object",
                  "required": [
                    "code",
                    "message"
                  ],
                  "properties": {
                    "code": {
                      "type": "string",
                      "enum": [
                        "VALIDATION_FAILED",
                        "MODE_REQUIRED",
                        "INVALID_STAKE",
                        "INVALID_PRICE",
                        "INVALID_EXPIRY",
                        "CURRENCY_NOT_SUPPORTED",
                        "BOOKMAKER_NOT_AVAILABLE_VIA_API",
                        "BOOKMAKER_NOT_AVAILABLE",
                        "INVALID_API_KEY",
                        "API_ACCESS_DENIED",
                        "ACCOUNT_NOT_ACTIVE",
                        "BETTING_NOT_ALLOWED",
                        "BALANCE_UNAVAILABLE",
                        "INSUFFICIENT_FUNDS",
                        "MAX_STAKE_PER_FIXTURE_EXCEEDED",
                        "PRICE_NOT_AVAILABLE",
                        "PRICE_CHANGED",
                        "NO_LIQUIDITY",
                        "INSUFFICIENT_LIQUIDITY",
                        "CLIENT_ORDER_ID_REUSED",
                        "PREVIOUS_ATTEMPT_UNRESOLVED",
                        "NOT_FOUND",
                        "INVALID_CURSOR",
                        "INVALID_WINDOW",
                        "ORDER_BUSY",
                        "CONFLICT",
                        "FORBIDDEN",
                        "RATE_LIMITED",
                        "BETTING_SUSPENDED",
                        "EXPIRY_NOT_AVAILABLE",
                        "PUBLIC_API_DISABLED",
                        "SERVICE_UNAVAILABLE",
                        "UPSTREAM_UNAVAILABLE",
                        "FEED_UNAVAILABLE",
                        "FEED_TIMEOUT",
                        "INTERNAL_ERROR"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "404": {
            "description": "Error. `code` is stable; `message` is for humans and may change.",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Error. `code` is stable; `message` is for humans and may change.",
                  "type": "object",
                  "required": [
                    "code",
                    "message"
                  ],
                  "properties": {
                    "code": {
                      "type": "string",
                      "enum": [
                        "VALIDATION_FAILED",
                        "MODE_REQUIRED",
                        "INVALID_STAKE",
                        "INVALID_PRICE",
                        "INVALID_EXPIRY",
                        "CURRENCY_NOT_SUPPORTED",
                        "BOOKMAKER_NOT_AVAILABLE_VIA_API",
                        "BOOKMAKER_NOT_AVAILABLE",
                        "INVALID_API_KEY",
                        "API_ACCESS_DENIED",
                        "ACCOUNT_NOT_ACTIVE",
                        "BETTING_NOT_ALLOWED",
                        "BALANCE_UNAVAILABLE",
                        "INSUFFICIENT_FUNDS",
                        "MAX_STAKE_PER_FIXTURE_EXCEEDED",
                        "PRICE_NOT_AVAILABLE",
                        "PRICE_CHANGED",
                        "NO_LIQUIDITY",
                        "INSUFFICIENT_LIQUIDITY",
                        "CLIENT_ORDER_ID_REUSED",
                        "PREVIOUS_ATTEMPT_UNRESOLVED",
                        "NOT_FOUND",
                        "INVALID_CURSOR",
                        "INVALID_WINDOW",
                        "ORDER_BUSY",
                        "CONFLICT",
                        "FORBIDDEN",
                        "RATE_LIMITED",
                        "BETTING_SUSPENDED",
                        "EXPIRY_NOT_AVAILABLE",
                        "PUBLIC_API_DISABLED",
                        "SERVICE_UNAVAILABLE",
                        "UPSTREAM_UNAVAILABLE",
                        "FEED_UNAVAILABLE",
                        "FEED_TIMEOUT",
                        "INTERNAL_ERROR"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "429": {
            "description": "Error. `code` is stable; `message` is for humans and may change.",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Error. `code` is stable; `message` is for humans and may change.",
                  "type": "object",
                  "required": [
                    "code",
                    "message"
                  ],
                  "properties": {
                    "code": {
                      "type": "string",
                      "enum": [
                        "VALIDATION_FAILED",
                        "MODE_REQUIRED",
                        "INVALID_STAKE",
                        "INVALID_PRICE",
                        "INVALID_EXPIRY",
                        "CURRENCY_NOT_SUPPORTED",
                        "BOOKMAKER_NOT_AVAILABLE_VIA_API",
                        "BOOKMAKER_NOT_AVAILABLE",
                        "INVALID_API_KEY",
                        "API_ACCESS_DENIED",
                        "ACCOUNT_NOT_ACTIVE",
                        "BETTING_NOT_ALLOWED",
                        "BALANCE_UNAVAILABLE",
                        "INSUFFICIENT_FUNDS",
                        "MAX_STAKE_PER_FIXTURE_EXCEEDED",
                        "PRICE_NOT_AVAILABLE",
                        "PRICE_CHANGED",
                        "NO_LIQUIDITY",
                        "INSUFFICIENT_LIQUIDITY",
                        "CLIENT_ORDER_ID_REUSED",
                        "PREVIOUS_ATTEMPT_UNRESOLVED",
                        "NOT_FOUND",
                        "INVALID_CURSOR",
                        "INVALID_WINDOW",
                        "ORDER_BUSY",
                        "CONFLICT",
                        "FORBIDDEN",
                        "RATE_LIMITED",
                        "BETTING_SUSPENDED",
                        "EXPIRY_NOT_AVAILABLE",
                        "PUBLIC_API_DISABLED",
                        "SERVICE_UNAVAILABLE",
                        "UPSTREAM_UNAVAILABLE",
                        "FEED_UNAVAILABLE",
                        "FEED_TIMEOUT",
                        "INTERNAL_ERROR"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "503": {
            "description": "Error. `code` is stable; `message` is for humans and may change.",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Error. `code` is stable; `message` is for humans and may change.",
                  "type": "object",
                  "required": [
                    "code",
                    "message"
                  ],
                  "properties": {
                    "code": {
                      "type": "string",
                      "enum": [
                        "VALIDATION_FAILED",
                        "MODE_REQUIRED",
                        "INVALID_STAKE",
                        "INVALID_PRICE",
                        "INVALID_EXPIRY",
                        "CURRENCY_NOT_SUPPORTED",
                        "BOOKMAKER_NOT_AVAILABLE_VIA_API",
                        "BOOKMAKER_NOT_AVAILABLE",
                        "INVALID_API_KEY",
                        "API_ACCESS_DENIED",
                        "ACCOUNT_NOT_ACTIVE",
                        "BETTING_NOT_ALLOWED",
                        "BALANCE_UNAVAILABLE",
                        "INSUFFICIENT_FUNDS",
                        "MAX_STAKE_PER_FIXTURE_EXCEEDED",
                        "PRICE_NOT_AVAILABLE",
                        "PRICE_CHANGED",
                        "NO_LIQUIDITY",
                        "INSUFFICIENT_LIQUIDITY",
                        "CLIENT_ORDER_ID_REUSED",
                        "PREVIOUS_ATTEMPT_UNRESOLVED",
                        "NOT_FOUND",
                        "INVALID_CURSOR",
                        "INVALID_WINDOW",
                        "ORDER_BUSY",
                        "CONFLICT",
                        "FORBIDDEN",
                        "RATE_LIMITED",
                        "BETTING_SUSPENDED",
                        "EXPIRY_NOT_AVAILABLE",
                        "PUBLIC_API_DISABLED",
                        "SERVICE_UNAVAILABLE",
                        "UPSTREAM_UNAVAILABLE",
                        "FEED_UNAVAILABLE",
                        "FEED_TIMEOUT",
                        "INTERNAL_ERROR"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          }
        }
      }
    },
    "/v1/pnl": {
      "get": {
        "summary": "Get the realised PnL",
        "tags": [
          "Positions and PnL"
        ],
        "description": "Settled bets over a window on their settlement time, [from, to). Without `to`, the window ends now; without `from`, it starts 30 days before `to`. At most 366 days.",
        "parameters": [
          {
            "schema": {
              "format": "date-time",
              "type": "string"
            },
            "in": "query",
            "name": "from",
            "required": false
          },
          {
            "schema": {
              "format": "date-time",
              "type": "string"
            },
            "in": "query",
            "name": "to",
            "required": false
          },
          {
            "schema": {
              "default": "day",
              "type": "string",
              "enum": [
                "day",
                "bookmaker",
                "sport",
                "tournament"
              ]
            },
            "in": "query",
            "name": "groupBy",
            "required": false
          }
        ],
        "security": [
          {
            "apiKey": []
          }
        ],
        "responses": {
          "200": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "groupBy",
                    "from",
                    "to",
                    "rows",
                    "totals"
                  ],
                  "properties": {
                    "groupBy": {
                      "type": "string",
                      "enum": [
                        "day",
                        "bookmaker",
                        "sport",
                        "tournament"
                      ]
                    },
                    "from": {
                      "format": "date-time",
                      "type": "string"
                    },
                    "to": {
                      "format": "date-time",
                      "type": "string"
                    },
                    "rows": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "required": [
                          "key",
                          "settledBets",
                          "wins",
                          "losses",
                          "voids",
                          "pushes",
                          "staked",
                          "betPnl",
                          "commission",
                          "rebate",
                          "netPnl"
                        ],
                        "properties": {
                          "key": {
                            "description": "UTC date (YYYY-MM-DD), bookmaker slug, sport id or tournament id; null for bets without a tournament",
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "settledBets": {
                            "type": "integer"
                          },
                          "wins": {
                            "description": "WON and HALF_WON",
                            "type": "integer"
                          },
                          "losses": {
                            "description": "LOST and HALF_LOST",
                            "type": "integer"
                          },
                          "voids": {
                            "type": "integer"
                          },
                          "pushes": {
                            "type": "integer"
                          },
                          "staked": {
                            "description": "Matched stake of the settled bets",
                            "type": "object",
                            "required": [
                              "amount",
                              "amountCents",
                              "currency"
                            ],
                            "properties": {
                              "amount": {
                                "pattern": "^-?\\d+\\.\\d{2}$",
                                "description": "Decimal string, two decimals",
                                "type": "string"
                              },
                              "amountCents": {
                                "description": "The same amount in integer cents: amount times 100",
                                "type": "integer"
                              },
                              "currency": {
                                "description": "ISO 4217 code",
                                "type": "string"
                              }
                            }
                          },
                          "betPnl": {
                            "description": "The account's result on the bets that won or lost",
                            "type": "object",
                            "required": [
                              "amount",
                              "amountCents",
                              "currency"
                            ],
                            "properties": {
                              "amount": {
                                "pattern": "^-?\\d+\\.\\d{2}$",
                                "description": "Decimal string, two decimals",
                                "type": "string"
                              },
                              "amountCents": {
                                "description": "The same amount in integer cents: amount times 100",
                                "type": "integer"
                              },
                              "currency": {
                                "description": "ISO 4217 code",
                                "type": "string"
                              }
                            }
                          },
                          "commission": {
                            "description": "Money amount",
                            "type": "object",
                            "required": [
                              "amount",
                              "amountCents",
                              "currency"
                            ],
                            "properties": {
                              "amount": {
                                "pattern": "^-?\\d+\\.\\d{2}$",
                                "description": "Decimal string, two decimals",
                                "type": "string"
                              },
                              "amountCents": {
                                "description": "The same amount in integer cents: amount times 100",
                                "type": "integer"
                              },
                              "currency": {
                                "description": "ISO 4217 code",
                                "type": "string"
                              }
                            }
                          },
                          "rebate": {
                            "description": "Money amount",
                            "type": "object",
                            "required": [
                              "amount",
                              "amountCents",
                              "currency"
                            ],
                            "properties": {
                              "amount": {
                                "pattern": "^-?\\d+\\.\\d{2}$",
                                "description": "Decimal string, two decimals",
                                "type": "string"
                              },
                              "amountCents": {
                                "description": "The same amount in integer cents: amount times 100",
                                "type": "integer"
                              },
                              "currency": {
                                "description": "ISO 4217 code",
                                "type": "string"
                              }
                            }
                          },
                          "netPnl": {
                            "description": "betPnl - commission + rebate",
                            "type": "object",
                            "required": [
                              "amount",
                              "amountCents",
                              "currency"
                            ],
                            "properties": {
                              "amount": {
                                "pattern": "^-?\\d+\\.\\d{2}$",
                                "description": "Decimal string, two decimals",
                                "type": "string"
                              },
                              "amountCents": {
                                "description": "The same amount in integer cents: amount times 100",
                                "type": "integer"
                              },
                              "currency": {
                                "description": "ISO 4217 code",
                                "type": "string"
                              }
                            }
                          }
                        }
                      }
                    },
                    "totals": {
                      "description": "Equal to the dashboard's PnL over the same window",
                      "type": "object",
                      "required": [
                        "settledBets",
                        "wins",
                        "losses",
                        "voids",
                        "pushes",
                        "staked",
                        "betPnl",
                        "commission",
                        "rebate",
                        "netPnl"
                      ],
                      "properties": {
                        "settledBets": {
                          "type": "integer"
                        },
                        "wins": {
                          "description": "WON and HALF_WON",
                          "type": "integer"
                        },
                        "losses": {
                          "description": "LOST and HALF_LOST",
                          "type": "integer"
                        },
                        "voids": {
                          "type": "integer"
                        },
                        "pushes": {
                          "type": "integer"
                        },
                        "staked": {
                          "description": "Matched stake of the settled bets",
                          "type": "object",
                          "required": [
                            "amount",
                            "amountCents",
                            "currency"
                          ],
                          "properties": {
                            "amount": {
                              "pattern": "^-?\\d+\\.\\d{2}$",
                              "description": "Decimal string, two decimals",
                              "type": "string"
                            },
                            "amountCents": {
                              "description": "The same amount in integer cents: amount times 100",
                              "type": "integer"
                            },
                            "currency": {
                              "description": "ISO 4217 code",
                              "type": "string"
                            }
                          }
                        },
                        "betPnl": {
                          "description": "The account's result on the bets that won or lost",
                          "type": "object",
                          "required": [
                            "amount",
                            "amountCents",
                            "currency"
                          ],
                          "properties": {
                            "amount": {
                              "pattern": "^-?\\d+\\.\\d{2}$",
                              "description": "Decimal string, two decimals",
                              "type": "string"
                            },
                            "amountCents": {
                              "description": "The same amount in integer cents: amount times 100",
                              "type": "integer"
                            },
                            "currency": {
                              "description": "ISO 4217 code",
                              "type": "string"
                            }
                          }
                        },
                        "commission": {
                          "description": "Money amount",
                          "type": "object",
                          "required": [
                            "amount",
                            "amountCents",
                            "currency"
                          ],
                          "properties": {
                            "amount": {
                              "pattern": "^-?\\d+\\.\\d{2}$",
                              "description": "Decimal string, two decimals",
                              "type": "string"
                            },
                            "amountCents": {
                              "description": "The same amount in integer cents: amount times 100",
                              "type": "integer"
                            },
                            "currency": {
                              "description": "ISO 4217 code",
                              "type": "string"
                            }
                          }
                        },
                        "rebate": {
                          "description": "Money amount",
                          "type": "object",
                          "required": [
                            "amount",
                            "amountCents",
                            "currency"
                          ],
                          "properties": {
                            "amount": {
                              "pattern": "^-?\\d+\\.\\d{2}$",
                              "description": "Decimal string, two decimals",
                              "type": "string"
                            },
                            "amountCents": {
                              "description": "The same amount in integer cents: amount times 100",
                              "type": "integer"
                            },
                            "currency": {
                              "description": "ISO 4217 code",
                              "type": "string"
                            }
                          }
                        },
                        "netPnl": {
                          "description": "betPnl - commission + rebate",
                          "type": "object",
                          "required": [
                            "amount",
                            "amountCents",
                            "currency"
                          ],
                          "properties": {
                            "amount": {
                              "pattern": "^-?\\d+\\.\\d{2}$",
                              "description": "Decimal string, two decimals",
                              "type": "string"
                            },
                            "amountCents": {
                              "description": "The same amount in integer cents: amount times 100",
                              "type": "integer"
                            },
                            "currency": {
                              "description": "ISO 4217 code",
                              "type": "string"
                            }
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Error. `code` is stable; `message` is for humans and may change.",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Error. `code` is stable; `message` is for humans and may change.",
                  "type": "object",
                  "required": [
                    "code",
                    "message"
                  ],
                  "properties": {
                    "code": {
                      "type": "string",
                      "enum": [
                        "VALIDATION_FAILED",
                        "MODE_REQUIRED",
                        "INVALID_STAKE",
                        "INVALID_PRICE",
                        "INVALID_EXPIRY",
                        "CURRENCY_NOT_SUPPORTED",
                        "BOOKMAKER_NOT_AVAILABLE_VIA_API",
                        "BOOKMAKER_NOT_AVAILABLE",
                        "INVALID_API_KEY",
                        "API_ACCESS_DENIED",
                        "ACCOUNT_NOT_ACTIVE",
                        "BETTING_NOT_ALLOWED",
                        "BALANCE_UNAVAILABLE",
                        "INSUFFICIENT_FUNDS",
                        "MAX_STAKE_PER_FIXTURE_EXCEEDED",
                        "PRICE_NOT_AVAILABLE",
                        "PRICE_CHANGED",
                        "NO_LIQUIDITY",
                        "INSUFFICIENT_LIQUIDITY",
                        "CLIENT_ORDER_ID_REUSED",
                        "PREVIOUS_ATTEMPT_UNRESOLVED",
                        "NOT_FOUND",
                        "INVALID_CURSOR",
                        "INVALID_WINDOW",
                        "ORDER_BUSY",
                        "CONFLICT",
                        "FORBIDDEN",
                        "RATE_LIMITED",
                        "BETTING_SUSPENDED",
                        "EXPIRY_NOT_AVAILABLE",
                        "PUBLIC_API_DISABLED",
                        "SERVICE_UNAVAILABLE",
                        "UPSTREAM_UNAVAILABLE",
                        "FEED_UNAVAILABLE",
                        "FEED_TIMEOUT",
                        "INTERNAL_ERROR"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "401": {
            "description": "Error. `code` is stable; `message` is for humans and may change.",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Error. `code` is stable; `message` is for humans and may change.",
                  "type": "object",
                  "required": [
                    "code",
                    "message"
                  ],
                  "properties": {
                    "code": {
                      "type": "string",
                      "enum": [
                        "VALIDATION_FAILED",
                        "MODE_REQUIRED",
                        "INVALID_STAKE",
                        "INVALID_PRICE",
                        "INVALID_EXPIRY",
                        "CURRENCY_NOT_SUPPORTED",
                        "BOOKMAKER_NOT_AVAILABLE_VIA_API",
                        "BOOKMAKER_NOT_AVAILABLE",
                        "INVALID_API_KEY",
                        "API_ACCESS_DENIED",
                        "ACCOUNT_NOT_ACTIVE",
                        "BETTING_NOT_ALLOWED",
                        "BALANCE_UNAVAILABLE",
                        "INSUFFICIENT_FUNDS",
                        "MAX_STAKE_PER_FIXTURE_EXCEEDED",
                        "PRICE_NOT_AVAILABLE",
                        "PRICE_CHANGED",
                        "NO_LIQUIDITY",
                        "INSUFFICIENT_LIQUIDITY",
                        "CLIENT_ORDER_ID_REUSED",
                        "PREVIOUS_ATTEMPT_UNRESOLVED",
                        "NOT_FOUND",
                        "INVALID_CURSOR",
                        "INVALID_WINDOW",
                        "ORDER_BUSY",
                        "CONFLICT",
                        "FORBIDDEN",
                        "RATE_LIMITED",
                        "BETTING_SUSPENDED",
                        "EXPIRY_NOT_AVAILABLE",
                        "PUBLIC_API_DISABLED",
                        "SERVICE_UNAVAILABLE",
                        "UPSTREAM_UNAVAILABLE",
                        "FEED_UNAVAILABLE",
                        "FEED_TIMEOUT",
                        "INTERNAL_ERROR"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "403": {
            "description": "Error. `code` is stable; `message` is for humans and may change.",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Error. `code` is stable; `message` is for humans and may change.",
                  "type": "object",
                  "required": [
                    "code",
                    "message"
                  ],
                  "properties": {
                    "code": {
                      "type": "string",
                      "enum": [
                        "VALIDATION_FAILED",
                        "MODE_REQUIRED",
                        "INVALID_STAKE",
                        "INVALID_PRICE",
                        "INVALID_EXPIRY",
                        "CURRENCY_NOT_SUPPORTED",
                        "BOOKMAKER_NOT_AVAILABLE_VIA_API",
                        "BOOKMAKER_NOT_AVAILABLE",
                        "INVALID_API_KEY",
                        "API_ACCESS_DENIED",
                        "ACCOUNT_NOT_ACTIVE",
                        "BETTING_NOT_ALLOWED",
                        "BALANCE_UNAVAILABLE",
                        "INSUFFICIENT_FUNDS",
                        "MAX_STAKE_PER_FIXTURE_EXCEEDED",
                        "PRICE_NOT_AVAILABLE",
                        "PRICE_CHANGED",
                        "NO_LIQUIDITY",
                        "INSUFFICIENT_LIQUIDITY",
                        "CLIENT_ORDER_ID_REUSED",
                        "PREVIOUS_ATTEMPT_UNRESOLVED",
                        "NOT_FOUND",
                        "INVALID_CURSOR",
                        "INVALID_WINDOW",
                        "ORDER_BUSY",
                        "CONFLICT",
                        "FORBIDDEN",
                        "RATE_LIMITED",
                        "BETTING_SUSPENDED",
                        "EXPIRY_NOT_AVAILABLE",
                        "PUBLIC_API_DISABLED",
                        "SERVICE_UNAVAILABLE",
                        "UPSTREAM_UNAVAILABLE",
                        "FEED_UNAVAILABLE",
                        "FEED_TIMEOUT",
                        "INTERNAL_ERROR"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "429": {
            "description": "Error. `code` is stable; `message` is for humans and may change.",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Error. `code` is stable; `message` is for humans and may change.",
                  "type": "object",
                  "required": [
                    "code",
                    "message"
                  ],
                  "properties": {
                    "code": {
                      "type": "string",
                      "enum": [
                        "VALIDATION_FAILED",
                        "MODE_REQUIRED",
                        "INVALID_STAKE",
                        "INVALID_PRICE",
                        "INVALID_EXPIRY",
                        "CURRENCY_NOT_SUPPORTED",
                        "BOOKMAKER_NOT_AVAILABLE_VIA_API",
                        "BOOKMAKER_NOT_AVAILABLE",
                        "INVALID_API_KEY",
                        "API_ACCESS_DENIED",
                        "ACCOUNT_NOT_ACTIVE",
                        "BETTING_NOT_ALLOWED",
                        "BALANCE_UNAVAILABLE",
                        "INSUFFICIENT_FUNDS",
                        "MAX_STAKE_PER_FIXTURE_EXCEEDED",
                        "PRICE_NOT_AVAILABLE",
                        "PRICE_CHANGED",
                        "NO_LIQUIDITY",
                        "INSUFFICIENT_LIQUIDITY",
                        "CLIENT_ORDER_ID_REUSED",
                        "PREVIOUS_ATTEMPT_UNRESOLVED",
                        "NOT_FOUND",
                        "INVALID_CURSOR",
                        "INVALID_WINDOW",
                        "ORDER_BUSY",
                        "CONFLICT",
                        "FORBIDDEN",
                        "RATE_LIMITED",
                        "BETTING_SUSPENDED",
                        "EXPIRY_NOT_AVAILABLE",
                        "PUBLIC_API_DISABLED",
                        "SERVICE_UNAVAILABLE",
                        "UPSTREAM_UNAVAILABLE",
                        "FEED_UNAVAILABLE",
                        "FEED_TIMEOUT",
                        "INTERNAL_ERROR"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "503": {
            "description": "Error. `code` is stable; `message` is for humans and may change.",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Error. `code` is stable; `message` is for humans and may change.",
                  "type": "object",
                  "required": [
                    "code",
                    "message"
                  ],
                  "properties": {
                    "code": {
                      "type": "string",
                      "enum": [
                        "VALIDATION_FAILED",
                        "MODE_REQUIRED",
                        "INVALID_STAKE",
                        "INVALID_PRICE",
                        "INVALID_EXPIRY",
                        "CURRENCY_NOT_SUPPORTED",
                        "BOOKMAKER_NOT_AVAILABLE_VIA_API",
                        "BOOKMAKER_NOT_AVAILABLE",
                        "INVALID_API_KEY",
                        "API_ACCESS_DENIED",
                        "ACCOUNT_NOT_ACTIVE",
                        "BETTING_NOT_ALLOWED",
                        "BALANCE_UNAVAILABLE",
                        "INSUFFICIENT_FUNDS",
                        "MAX_STAKE_PER_FIXTURE_EXCEEDED",
                        "PRICE_NOT_AVAILABLE",
                        "PRICE_CHANGED",
                        "NO_LIQUIDITY",
                        "INSUFFICIENT_LIQUIDITY",
                        "CLIENT_ORDER_ID_REUSED",
                        "PREVIOUS_ATTEMPT_UNRESOLVED",
                        "NOT_FOUND",
                        "INVALID_CURSOR",
                        "INVALID_WINDOW",
                        "ORDER_BUSY",
                        "CONFLICT",
                        "FORBIDDEN",
                        "RATE_LIMITED",
                        "BETTING_SUSPENDED",
                        "EXPIRY_NOT_AVAILABLE",
                        "PUBLIC_API_DISABLED",
                        "SERVICE_UNAVAILABLE",
                        "UPSTREAM_UNAVAILABLE",
                        "FEED_UNAVAILABLE",
                        "FEED_TIMEOUT",
                        "INTERNAL_ERROR"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          }
        }
      }
    },
    "/v1/positions": {
      "get": {
        "summary": "Get open positions",
        "tags": [
          "Positions and PnL"
        ],
        "description": "The account's open bets, grouped by selection (`outcome`), by `fixture` or by `bookmaker`, largest first. Only the fields of the grouping are set on each position.",
        "parameters": [
          {
            "schema": {
              "default": "outcome",
              "type": "string",
              "enum": [
                "outcome",
                "fixture",
                "bookmaker"
              ]
            },
            "in": "query",
            "name": "groupBy",
            "required": false
          },
          {
            "schema": {
              "minLength": 1,
              "maxLength": 255,
              "type": "string"
            },
            "in": "query",
            "name": "fixtureId",
            "required": false
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "minLength": 1,
                "maxLength": 64,
                "type": "string"
              }
            },
            "in": "query",
            "name": "bookmaker",
            "required": false,
            "description": "Repeat the parameter to ask for several values"
          }
        ],
        "security": [
          {
            "apiKey": []
          }
        ],
        "responses": {
          "200": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "groupBy",
                    "positions",
                    "totals"
                  ],
                  "properties": {
                    "groupBy": {
                      "type": "string",
                      "enum": [
                        "outcome",
                        "fixture",
                        "bookmaker"
                      ]
                    },
                    "positions": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "required": [
                          "fixtureId",
                          "marketId",
                          "outcomeId",
                          "playerId",
                          "bookmaker",
                          "openBets",
                          "matchedStake",
                          "pendingStake",
                          "unplacedStake",
                          "averagePrice",
                          "potentialReturn"
                        ],
                        "properties": {
                          "fixtureId": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "marketId": {
                            "anyOf": [
                              {
                                "type": "integer"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "outcomeId": {
                            "anyOf": [
                              {
                                "type": "integer"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "playerId": {
                            "anyOf": [
                              {
                                "type": "integer"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "bookmaker": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "openBets": {
                            "description": "Bets not settled yet that hold stake",
                            "type": "integer"
                          },
                          "matchedStake": {
                            "description": "Stake of the bets accepted by the bookmaker",
                            "type": "object",
                            "required": [
                              "amount",
                              "amountCents",
                              "currency"
                            ],
                            "properties": {
                              "amount": {
                                "pattern": "^-?\\d+\\.\\d{2}$",
                                "description": "Decimal string, two decimals",
                                "type": "string"
                              },
                              "amountCents": {
                                "description": "The same amount in integer cents: amount times 100",
                                "type": "integer"
                              },
                              "currency": {
                                "description": "ISO 4217 code",
                                "type": "string"
                              }
                            }
                          },
                          "pendingStake": {
                            "description": "Stake of the bets still PENDING or WAITING",
                            "type": "object",
                            "required": [
                              "amount",
                              "amountCents",
                              "currency"
                            ],
                            "properties": {
                              "amount": {
                                "pattern": "^-?\\d+\\.\\d{2}$",
                                "description": "Decimal string, two decimals",
                                "type": "string"
                              },
                              "amountCents": {
                                "description": "The same amount in integer cents: amount times 100",
                                "type": "integer"
                              },
                              "currency": {
                                "description": "ISO 4217 code",
                                "type": "string"
                              }
                            }
                          },
                          "unplacedStake": {
                            "description": "Remainder of orders with an expiry, not placed yet. It is not held against the balance and belongs to no bookmaker, so it appears only in the totals when grouping by bookmaker, and not at all with a bookmaker filter.",
                            "type": "object",
                            "required": [
                              "amount",
                              "amountCents",
                              "currency"
                            ],
                            "properties": {
                              "amount": {
                                "pattern": "^-?\\d+\\.\\d{2}$",
                                "description": "Decimal string, two decimals",
                                "type": "string"
                              },
                              "amountCents": {
                                "description": "The same amount in integer cents: amount times 100",
                                "type": "integer"
                              },
                              "currency": {
                                "description": "ISO 4217 code",
                                "type": "string"
                              }
                            }
                          },
                          "averagePrice": {
                            "description": "Stake-weighted price of the matched bets; outcome grouping only",
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "potentialReturn": {
                            "description": "Matched stake plus the net profit if the selection wins, as the dashboard shows it; outcome grouping only",
                            "anyOf": [
                              {
                                "description": "Money amount",
                                "type": "object",
                                "required": [
                                  "amount",
                                  "amountCents",
                                  "currency"
                                ],
                                "properties": {
                                  "amount": {
                                    "pattern": "^-?\\d+\\.\\d{2}$",
                                    "description": "Decimal string, two decimals",
                                    "type": "string"
                                  },
                                  "amountCents": {
                                    "description": "The same amount in integer cents: amount times 100",
                                    "type": "integer"
                                  },
                                  "currency": {
                                    "description": "ISO 4217 code",
                                    "type": "string"
                                  }
                                }
                              },
                              {
                                "type": "null"
                              }
                            ]
                          }
                        }
                      }
                    },
                    "totals": {
                      "description": "For agent accounts matchedStake + pendingStake equals exposure in GET /v1/balance when no filter is set. Retail exposure is the full betting liability (lay risk, unmatched commitments, commission) and can be higher.",
                      "type": "object",
                      "required": [
                        "openBets",
                        "matchedStake",
                        "pendingStake",
                        "unplacedStake"
                      ],
                      "properties": {
                        "openBets": {
                          "description": "Bets not settled yet that hold stake",
                          "type": "integer"
                        },
                        "matchedStake": {
                          "description": "Stake of the bets accepted by the bookmaker",
                          "type": "object",
                          "required": [
                            "amount",
                            "amountCents",
                            "currency"
                          ],
                          "properties": {
                            "amount": {
                              "pattern": "^-?\\d+\\.\\d{2}$",
                              "description": "Decimal string, two decimals",
                              "type": "string"
                            },
                            "amountCents": {
                              "description": "The same amount in integer cents: amount times 100",
                              "type": "integer"
                            },
                            "currency": {
                              "description": "ISO 4217 code",
                              "type": "string"
                            }
                          }
                        },
                        "pendingStake": {
                          "description": "Stake of the bets still PENDING or WAITING",
                          "type": "object",
                          "required": [
                            "amount",
                            "amountCents",
                            "currency"
                          ],
                          "properties": {
                            "amount": {
                              "pattern": "^-?\\d+\\.\\d{2}$",
                              "description": "Decimal string, two decimals",
                              "type": "string"
                            },
                            "amountCents": {
                              "description": "The same amount in integer cents: amount times 100",
                              "type": "integer"
                            },
                            "currency": {
                              "description": "ISO 4217 code",
                              "type": "string"
                            }
                          }
                        },
                        "unplacedStake": {
                          "description": "Remainder of orders with an expiry, not placed yet. It is not held against the balance and belongs to no bookmaker, so it appears only in the totals when grouping by bookmaker, and not at all with a bookmaker filter.",
                          "type": "object",
                          "required": [
                            "amount",
                            "amountCents",
                            "currency"
                          ],
                          "properties": {
                            "amount": {
                              "pattern": "^-?\\d+\\.\\d{2}$",
                              "description": "Decimal string, two decimals",
                              "type": "string"
                            },
                            "amountCents": {
                              "description": "The same amount in integer cents: amount times 100",
                              "type": "integer"
                            },
                            "currency": {
                              "description": "ISO 4217 code",
                              "type": "string"
                            }
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Error. `code` is stable; `message` is for humans and may change.",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Error. `code` is stable; `message` is for humans and may change.",
                  "type": "object",
                  "required": [
                    "code",
                    "message"
                  ],
                  "properties": {
                    "code": {
                      "type": "string",
                      "enum": [
                        "VALIDATION_FAILED",
                        "MODE_REQUIRED",
                        "INVALID_STAKE",
                        "INVALID_PRICE",
                        "INVALID_EXPIRY",
                        "CURRENCY_NOT_SUPPORTED",
                        "BOOKMAKER_NOT_AVAILABLE_VIA_API",
                        "BOOKMAKER_NOT_AVAILABLE",
                        "INVALID_API_KEY",
                        "API_ACCESS_DENIED",
                        "ACCOUNT_NOT_ACTIVE",
                        "BETTING_NOT_ALLOWED",
                        "BALANCE_UNAVAILABLE",
                        "INSUFFICIENT_FUNDS",
                        "MAX_STAKE_PER_FIXTURE_EXCEEDED",
                        "PRICE_NOT_AVAILABLE",
                        "PRICE_CHANGED",
                        "NO_LIQUIDITY",
                        "INSUFFICIENT_LIQUIDITY",
                        "CLIENT_ORDER_ID_REUSED",
                        "PREVIOUS_ATTEMPT_UNRESOLVED",
                        "NOT_FOUND",
                        "INVALID_CURSOR",
                        "INVALID_WINDOW",
                        "ORDER_BUSY",
                        "CONFLICT",
                        "FORBIDDEN",
                        "RATE_LIMITED",
                        "BETTING_SUSPENDED",
                        "EXPIRY_NOT_AVAILABLE",
                        "PUBLIC_API_DISABLED",
                        "SERVICE_UNAVAILABLE",
                        "UPSTREAM_UNAVAILABLE",
                        "FEED_UNAVAILABLE",
                        "FEED_TIMEOUT",
                        "INTERNAL_ERROR"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "401": {
            "description": "Error. `code` is stable; `message` is for humans and may change.",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Error. `code` is stable; `message` is for humans and may change.",
                  "type": "object",
                  "required": [
                    "code",
                    "message"
                  ],
                  "properties": {
                    "code": {
                      "type": "string",
                      "enum": [
                        "VALIDATION_FAILED",
                        "MODE_REQUIRED",
                        "INVALID_STAKE",
                        "INVALID_PRICE",
                        "INVALID_EXPIRY",
                        "CURRENCY_NOT_SUPPORTED",
                        "BOOKMAKER_NOT_AVAILABLE_VIA_API",
                        "BOOKMAKER_NOT_AVAILABLE",
                        "INVALID_API_KEY",
                        "API_ACCESS_DENIED",
                        "ACCOUNT_NOT_ACTIVE",
                        "BETTING_NOT_ALLOWED",
                        "BALANCE_UNAVAILABLE",
                        "INSUFFICIENT_FUNDS",
                        "MAX_STAKE_PER_FIXTURE_EXCEEDED",
                        "PRICE_NOT_AVAILABLE",
                        "PRICE_CHANGED",
                        "NO_LIQUIDITY",
                        "INSUFFICIENT_LIQUIDITY",
                        "CLIENT_ORDER_ID_REUSED",
                        "PREVIOUS_ATTEMPT_UNRESOLVED",
                        "NOT_FOUND",
                        "INVALID_CURSOR",
                        "INVALID_WINDOW",
                        "ORDER_BUSY",
                        "CONFLICT",
                        "FORBIDDEN",
                        "RATE_LIMITED",
                        "BETTING_SUSPENDED",
                        "EXPIRY_NOT_AVAILABLE",
                        "PUBLIC_API_DISABLED",
                        "SERVICE_UNAVAILABLE",
                        "UPSTREAM_UNAVAILABLE",
                        "FEED_UNAVAILABLE",
                        "FEED_TIMEOUT",
                        "INTERNAL_ERROR"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "403": {
            "description": "Error. `code` is stable; `message` is for humans and may change.",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Error. `code` is stable; `message` is for humans and may change.",
                  "type": "object",
                  "required": [
                    "code",
                    "message"
                  ],
                  "properties": {
                    "code": {
                      "type": "string",
                      "enum": [
                        "VALIDATION_FAILED",
                        "MODE_REQUIRED",
                        "INVALID_STAKE",
                        "INVALID_PRICE",
                        "INVALID_EXPIRY",
                        "CURRENCY_NOT_SUPPORTED",
                        "BOOKMAKER_NOT_AVAILABLE_VIA_API",
                        "BOOKMAKER_NOT_AVAILABLE",
                        "INVALID_API_KEY",
                        "API_ACCESS_DENIED",
                        "ACCOUNT_NOT_ACTIVE",
                        "BETTING_NOT_ALLOWED",
                        "BALANCE_UNAVAILABLE",
                        "INSUFFICIENT_FUNDS",
                        "MAX_STAKE_PER_FIXTURE_EXCEEDED",
                        "PRICE_NOT_AVAILABLE",
                        "PRICE_CHANGED",
                        "NO_LIQUIDITY",
                        "INSUFFICIENT_LIQUIDITY",
                        "CLIENT_ORDER_ID_REUSED",
                        "PREVIOUS_ATTEMPT_UNRESOLVED",
                        "NOT_FOUND",
                        "INVALID_CURSOR",
                        "INVALID_WINDOW",
                        "ORDER_BUSY",
                        "CONFLICT",
                        "FORBIDDEN",
                        "RATE_LIMITED",
                        "BETTING_SUSPENDED",
                        "EXPIRY_NOT_AVAILABLE",
                        "PUBLIC_API_DISABLED",
                        "SERVICE_UNAVAILABLE",
                        "UPSTREAM_UNAVAILABLE",
                        "FEED_UNAVAILABLE",
                        "FEED_TIMEOUT",
                        "INTERNAL_ERROR"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "429": {
            "description": "Error. `code` is stable; `message` is for humans and may change.",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Error. `code` is stable; `message` is for humans and may change.",
                  "type": "object",
                  "required": [
                    "code",
                    "message"
                  ],
                  "properties": {
                    "code": {
                      "type": "string",
                      "enum": [
                        "VALIDATION_FAILED",
                        "MODE_REQUIRED",
                        "INVALID_STAKE",
                        "INVALID_PRICE",
                        "INVALID_EXPIRY",
                        "CURRENCY_NOT_SUPPORTED",
                        "BOOKMAKER_NOT_AVAILABLE_VIA_API",
                        "BOOKMAKER_NOT_AVAILABLE",
                        "INVALID_API_KEY",
                        "API_ACCESS_DENIED",
                        "ACCOUNT_NOT_ACTIVE",
                        "BETTING_NOT_ALLOWED",
                        "BALANCE_UNAVAILABLE",
                        "INSUFFICIENT_FUNDS",
                        "MAX_STAKE_PER_FIXTURE_EXCEEDED",
                        "PRICE_NOT_AVAILABLE",
                        "PRICE_CHANGED",
                        "NO_LIQUIDITY",
                        "INSUFFICIENT_LIQUIDITY",
                        "CLIENT_ORDER_ID_REUSED",
                        "PREVIOUS_ATTEMPT_UNRESOLVED",
                        "NOT_FOUND",
                        "INVALID_CURSOR",
                        "INVALID_WINDOW",
                        "ORDER_BUSY",
                        "CONFLICT",
                        "FORBIDDEN",
                        "RATE_LIMITED",
                        "BETTING_SUSPENDED",
                        "EXPIRY_NOT_AVAILABLE",
                        "PUBLIC_API_DISABLED",
                        "SERVICE_UNAVAILABLE",
                        "UPSTREAM_UNAVAILABLE",
                        "FEED_UNAVAILABLE",
                        "FEED_TIMEOUT",
                        "INTERNAL_ERROR"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "503": {
            "description": "Error. `code` is stable; `message` is for humans and may change.",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Error. `code` is stable; `message` is for humans and may change.",
                  "type": "object",
                  "required": [
                    "code",
                    "message"
                  ],
                  "properties": {
                    "code": {
                      "type": "string",
                      "enum": [
                        "VALIDATION_FAILED",
                        "MODE_REQUIRED",
                        "INVALID_STAKE",
                        "INVALID_PRICE",
                        "INVALID_EXPIRY",
                        "CURRENCY_NOT_SUPPORTED",
                        "BOOKMAKER_NOT_AVAILABLE_VIA_API",
                        "BOOKMAKER_NOT_AVAILABLE",
                        "INVALID_API_KEY",
                        "API_ACCESS_DENIED",
                        "ACCOUNT_NOT_ACTIVE",
                        "BETTING_NOT_ALLOWED",
                        "BALANCE_UNAVAILABLE",
                        "INSUFFICIENT_FUNDS",
                        "MAX_STAKE_PER_FIXTURE_EXCEEDED",
                        "PRICE_NOT_AVAILABLE",
                        "PRICE_CHANGED",
                        "NO_LIQUIDITY",
                        "INSUFFICIENT_LIQUIDITY",
                        "CLIENT_ORDER_ID_REUSED",
                        "PREVIOUS_ATTEMPT_UNRESOLVED",
                        "NOT_FOUND",
                        "INVALID_CURSOR",
                        "INVALID_WINDOW",
                        "ORDER_BUSY",
                        "CONFLICT",
                        "FORBIDDEN",
                        "RATE_LIMITED",
                        "BETTING_SUSPENDED",
                        "EXPIRY_NOT_AVAILABLE",
                        "PUBLIC_API_DISABLED",
                        "SERVICE_UNAVAILABLE",
                        "UPSTREAM_UNAVAILABLE",
                        "FEED_UNAVAILABLE",
                        "FEED_TIMEOUT",
                        "INTERNAL_ERROR"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "servers": [
    {
      "url": "https://api.apexiumbet.com",
      "description": "Production"
    }
  ],
  "security": [
    {
      "apiKey": []
    }
  ]
}
