{
    "openapi": "3.1.0",
    "info": {
        "title": "BetSystem Player Account Platform API",
        "version": "1.0.0",
        "description": "Multi-tenant iGaming PAM API. All endpoints are tenant-scoped via the `X-Tenant` header (brand slug or domain). Play-money \u2014 not licensed for real-money play.",
        "contact": {
            "name": "BetSystem Platform",
            "url": "https://betbeavers.com"
        }
    },
    "servers": [
        {
            "url": "https://api.betbeavers.com/api/v1",
            "description": "Production"
        }
    ],
    "tags": [
        {
            "name": "Account"
        },
        {
            "name": "Admin"
        },
        {
            "name": "Affiliates"
        },
        {
            "name": "Auth"
        },
        {
            "name": "Betting"
        },
        {
            "name": "Casino"
        },
        {
            "name": "Email"
        },
        {
            "name": "Feed"
        },
        {
            "name": "Gamification"
        },
        {
            "name": "Gateway"
        },
        {
            "name": "Health"
        },
        {
            "name": "Leaderboard"
        },
        {
            "name": "Leads"
        },
        {
            "name": "Notifications"
        },
        {
            "name": "Operator"
        },
        {
            "name": "Partner"
        },
        {
            "name": "Promotions"
        },
        {
            "name": "Public API"
        },
        {
            "name": "Referral"
        },
        {
            "name": "Tenant"
        },
        {
            "name": "Webhooks"
        }
    ],
    "components": {
        "securitySchemes": {
            "bearerAuth": {
                "type": "http",
                "scheme": "bearer",
                "description": "Player Sanctum token from auth/login|register"
            },
            "adminToken": {
                "type": "apiKey",
                "in": "header",
                "name": "X-Admin-Token",
                "description": "Operator back-office token"
            },
            "apiKey": {
                "type": "apiKey",
                "in": "header",
                "name": "X-Api-Key",
                "description": "Third-party integration key"
            },
            "partnerKey": {
                "type": "apiKey",
                "in": "header",
                "name": "X-Partner-Key",
                "description": "Partner integration key that can bet/withdraw on a player's behalf. ALSO requires an X-Signature header (HMAC-SHA256 of the raw request body using the key's secret) and, on bets/withdrawals, an Idempotency-Key header \u2014 this single-header scheme is a documentation simplification, not the whole credential."
            }
        },
        "parameters": {
            "Tenant": {
                "name": "X-Tenant",
                "in": "header",
                "required": false,
                "schema": {
                    "type": "string"
                },
                "description": "Brand slug or domain (tenant resolution)"
            }
        }
    },
    "paths": {
        "/account/2fa/confirm": {
            "post": {
                "operationId": "post_account_2fa_confirm",
                "tags": [
                    "Account"
                ],
                "summary": "Confirm2fa",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    },
                    "401": {
                        "description": "Unauthenticated"
                    }
                },
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "code": {
                                        "type": "string"
                                    }
                                },
                                "required": [
                                    "code"
                                ]
                            }
                        }
                    }
                },
                "security": [
                    {
                        "bearerAuth": []
                    }
                ]
            }
        },
        "/account/2fa/disable": {
            "post": {
                "operationId": "post_account_2fa_disable",
                "tags": [
                    "Account"
                ],
                "summary": "Disable2fa",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    },
                    "401": {
                        "description": "Unauthenticated"
                    }
                },
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "password": {
                                        "type": "string"
                                    },
                                    "code": {
                                        "type": "string"
                                    }
                                },
                                "required": [
                                    "password",
                                    "code"
                                ]
                            }
                        }
                    }
                },
                "security": [
                    {
                        "bearerAuth": []
                    }
                ]
            }
        },
        "/account/2fa/setup": {
            "post": {
                "operationId": "post_account_2fa_setup",
                "tags": [
                    "Account"
                ],
                "summary": "Setup2fa",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    },
                    "401": {
                        "description": "Unauthenticated"
                    }
                },
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "password": {
                                        "type": "string"
                                    },
                                    "code": {
                                        "type": "string"
                                    }
                                },
                                "required": [
                                    "password",
                                    "code"
                                ]
                            }
                        }
                    }
                },
                "security": [
                    {
                        "bearerAuth": []
                    }
                ]
            }
        },
        "/account/activity-statement": {
            "get": {
                "operationId": "get_account_activity_statement",
                "tags": [
                    "Account"
                ],
                "summary": "Activity statement",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    },
                    "401": {
                        "description": "Unauthenticated"
                    }
                },
                "security": [
                    {
                        "bearerAuth": []
                    }
                ]
            }
        },
        "/account/affordability": {
            "get": {
                "operationId": "get_account_affordability",
                "tags": [
                    "Account"
                ],
                "summary": "Affordability",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    },
                    "401": {
                        "description": "Unauthenticated"
                    }
                },
                "security": [
                    {
                        "bearerAuth": []
                    }
                ]
            },
            "post": {
                "operationId": "post_account_affordability",
                "tags": [
                    "Account"
                ],
                "summary": "Complete affordability",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    },
                    "401": {
                        "description": "Unauthenticated"
                    }
                },
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "confirm": {
                                        "type": "string"
                                    }
                                },
                                "required": [
                                    "confirm"
                                ]
                            }
                        }
                    }
                },
                "security": [
                    {
                        "bearerAuth": []
                    }
                ]
            }
        },
        "/account/affordability/open-banking": {
            "post": {
                "operationId": "post_account_affordability_open_banking",
                "tags": [
                    "Account"
                ],
                "summary": "Affordability open banking",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    },
                    "401": {
                        "description": "Unauthenticated"
                    }
                },
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "consent": {
                                        "type": "string"
                                    }
                                },
                                "required": [
                                    "consent"
                                ]
                            }
                        }
                    }
                },
                "security": [
                    {
                        "bearerAuth": []
                    }
                ]
            }
        },
        "/account/data-export": {
            "get": {
                "operationId": "get_account_data_export",
                "tags": [
                    "Account"
                ],
                "summary": "Data export",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    },
                    "401": {
                        "description": "Unauthenticated"
                    }
                },
                "security": [
                    {
                        "bearerAuth": []
                    }
                ]
            }
        },
        "/account/erasure": {
            "get": {
                "operationId": "get_account_erasure",
                "tags": [
                    "Account"
                ],
                "summary": "Erasure status",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    },
                    "401": {
                        "description": "Unauthenticated"
                    }
                },
                "security": [
                    {
                        "bearerAuth": []
                    }
                ]
            },
            "post": {
                "operationId": "post_account_erasure",
                "tags": [
                    "Account"
                ],
                "summary": "Erase account",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    },
                    "401": {
                        "description": "Unauthenticated"
                    }
                },
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "confirm": {
                                        "type": "string"
                                    }
                                },
                                "required": [
                                    "confirm"
                                ]
                            }
                        }
                    }
                },
                "security": [
                    {
                        "bearerAuth": []
                    }
                ]
            }
        },
        "/account/history": {
            "get": {
                "operationId": "get_account_history",
                "tags": [
                    "Account"
                ],
                "summary": "History",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    },
                    "401": {
                        "description": "Unauthenticated"
                    }
                },
                "security": [
                    {
                        "bearerAuth": []
                    }
                ]
            }
        },
        "/account/marketing-consent": {
            "post": {
                "operationId": "post_account_marketing_consent",
                "tags": [
                    "Account"
                ],
                "summary": "Marketing consent",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    },
                    "401": {
                        "description": "Unauthenticated"
                    }
                },
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "consent": {
                                        "type": "boolean"
                                    }
                                },
                                "required": [
                                    "consent"
                                ]
                            }
                        }
                    }
                },
                "security": [
                    {
                        "bearerAuth": []
                    }
                ]
            }
        },
        "/account/security": {
            "get": {
                "operationId": "get_account_security",
                "tags": [
                    "Account"
                ],
                "summary": "Security",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    },
                    "401": {
                        "description": "Unauthenticated"
                    }
                },
                "security": [
                    {
                        "bearerAuth": []
                    }
                ]
            }
        },
        "/account/summary": {
            "get": {
                "operationId": "get_account_summary",
                "tags": [
                    "Account"
                ],
                "summary": "Summary",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    },
                    "401": {
                        "description": "Unauthenticated"
                    }
                },
                "security": [
                    {
                        "bearerAuth": []
                    }
                ]
            }
        },
        "/admin/affiliate-commissions": {
            "get": {
                "operationId": "get_admin_affiliate_commissions",
                "tags": [
                    "Admin"
                ],
                "summary": "Commissions",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    }
                },
                "security": [
                    {
                        "adminToken": []
                    }
                ]
            }
        },
        "/admin/affiliate-commissions/{affiliateCommission}/approve": {
            "post": {
                "operationId": "post_admin_affiliate_commissions_affiliateCommission_approve",
                "tags": [
                    "Admin"
                ],
                "summary": "Approve commission",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    },
                    {
                        "name": "affiliateCommission",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    }
                },
                "security": [
                    {
                        "adminToken": []
                    }
                ]
            }
        },
        "/admin/affiliates": {
            "get": {
                "operationId": "get_admin_affiliates",
                "tags": [
                    "Admin"
                ],
                "summary": "Index",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    }
                },
                "security": [
                    {
                        "adminToken": []
                    }
                ]
            },
            "post": {
                "operationId": "post_admin_affiliates",
                "tags": [
                    "Admin"
                ],
                "summary": "Store",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    }
                },
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "name": {
                                        "type": "string",
                                        "maxLength": 120
                                    },
                                    "email": {
                                        "format": "email",
                                        "type": "string"
                                    },
                                    "code": {
                                        "maxLength": 40,
                                        "type": [
                                            "string",
                                            "null"
                                        ]
                                    },
                                    "model": {
                                        "enum": [
                                            "revshare",
                                            "cpa",
                                            "hybrid"
                                        ],
                                        "type": [
                                            "string",
                                            "null"
                                        ]
                                    },
                                    "revshare_pct": {
                                        "type": [
                                            "integer",
                                            "null"
                                        ],
                                        "minimum": 0,
                                        "maximum": 60
                                    },
                                    "cpa_amount": {
                                        "type": [
                                            "integer",
                                            "null"
                                        ],
                                        "minimum": 0
                                    },
                                    "cpa_min_deposit": {
                                        "type": [
                                            "integer",
                                            "null"
                                        ],
                                        "minimum": 0
                                    }
                                },
                                "required": [
                                    "name",
                                    "email"
                                ]
                            }
                        }
                    }
                },
                "security": [
                    {
                        "adminToken": []
                    }
                ]
            }
        },
        "/admin/affiliates/{affiliate}": {
            "put": {
                "operationId": "put_admin_affiliates_affiliate",
                "tags": [
                    "Admin"
                ],
                "summary": "Update",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    },
                    {
                        "name": "affiliate",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    }
                },
                "requestBody": {
                    "required": false,
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "model": {
                                        "enum": [
                                            "revshare",
                                            "cpa",
                                            "hybrid"
                                        ],
                                        "type": "string"
                                    },
                                    "revshare_pct": {
                                        "type": "integer",
                                        "minimum": 0,
                                        "maximum": 60
                                    },
                                    "cpa_amount": {
                                        "type": "integer",
                                        "minimum": 0
                                    },
                                    "cpa_min_deposit": {
                                        "type": "integer",
                                        "minimum": 0
                                    },
                                    "status": {
                                        "enum": [
                                            "active",
                                            "paused",
                                            "closed"
                                        ],
                                        "type": "string"
                                    }
                                }
                            }
                        }
                    }
                },
                "security": [
                    {
                        "adminToken": []
                    }
                ]
            }
        },
        "/admin/affiliates/{affiliate}/calculate": {
            "post": {
                "operationId": "post_admin_affiliates_affiliate_calculate",
                "tags": [
                    "Admin"
                ],
                "summary": "Calculate",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    },
                    {
                        "name": "affiliate",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    }
                },
                "security": [
                    {
                        "adminToken": []
                    }
                ]
            }
        },
        "/admin/affiliates/{affiliate}/stats": {
            "get": {
                "operationId": "get_admin_affiliates_affiliate_stats",
                "tags": [
                    "Admin"
                ],
                "summary": "Stats",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    },
                    {
                        "name": "affiliate",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    }
                },
                "security": [
                    {
                        "adminToken": []
                    }
                ]
            }
        },
        "/admin/affordability-queue": {
            "get": {
                "operationId": "get_admin_affordability_queue",
                "tags": [
                    "Admin"
                ],
                "summary": "Affordability queue",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    }
                },
                "security": [
                    {
                        "adminToken": []
                    }
                ]
            }
        },
        "/admin/aml-cases": {
            "get": {
                "operationId": "get_admin_aml_cases",
                "tags": [
                    "Admin"
                ],
                "summary": "Index",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    }
                },
                "security": [
                    {
                        "adminToken": []
                    }
                ]
            }
        },
        "/admin/aml-cases/evaluate": {
            "post": {
                "operationId": "post_admin_aml_cases_evaluate",
                "tags": [
                    "Admin"
                ],
                "summary": "Evaluate",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    }
                },
                "security": [
                    {
                        "adminToken": []
                    }
                ]
            }
        },
        "/admin/aml-cases/{case}": {
            "get": {
                "operationId": "get_admin_aml_cases_case",
                "tags": [
                    "Admin"
                ],
                "summary": "Show",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    },
                    {
                        "name": "case",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    }
                },
                "security": [
                    {
                        "adminToken": []
                    }
                ]
            }
        },
        "/admin/aml-cases/{case}/action": {
            "post": {
                "operationId": "post_admin_aml_cases_case_action",
                "tags": [
                    "Admin"
                ],
                "summary": "Action",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    },
                    {
                        "name": "case",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    }
                },
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "action": {
                                        "enum": [
                                            "request_source_of_funds",
                                            "record_source_of_funds",
                                            "restrict",
                                            "close",
                                            "report"
                                        ],
                                        "type": "string"
                                    },
                                    "reason": {
                                        "type": [
                                            "string",
                                            "null"
                                        ],
                                        "minLength": 10,
                                        "maxLength": 500
                                    },
                                    "restriction": {
                                        "enum": [
                                            "none",
                                            "withdrawals",
                                            "deposits",
                                            "all"
                                        ],
                                        "type": [
                                            "string",
                                            "null"
                                        ]
                                    },
                                    "reference": {
                                        "type": [
                                            "string",
                                            "null"
                                        ],
                                        "maxLength": 120
                                    }
                                },
                                "required": [
                                    "action"
                                ]
                            }
                        }
                    }
                },
                "security": [
                    {
                        "adminToken": []
                    }
                ]
            }
        },
        "/admin/api-keys": {
            "get": {
                "operationId": "get_admin_api_keys",
                "tags": [
                    "Admin"
                ],
                "summary": "Api keys",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    }
                },
                "security": [
                    {
                        "adminToken": []
                    }
                ]
            },
            "post": {
                "operationId": "post_admin_api_keys",
                "tags": [
                    "Admin"
                ],
                "summary": "Create api key",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    }
                },
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "label": {
                                        "type": "string",
                                        "maxLength": 80
                                    }
                                },
                                "required": [
                                    "label"
                                ]
                            }
                        }
                    }
                },
                "security": [
                    {
                        "adminToken": []
                    }
                ]
            }
        },
        "/admin/api-keys/{apiKey}": {
            "delete": {
                "operationId": "delete_admin_api_keys_apiKey",
                "tags": [
                    "Admin"
                ],
                "summary": "Delete api key",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    },
                    {
                        "name": "apiKey",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    }
                },
                "security": [
                    {
                        "adminToken": []
                    }
                ]
            }
        },
        "/admin/audit": {
            "get": {
                "operationId": "get_admin_audit",
                "tags": [
                    "Admin"
                ],
                "summary": "Audit",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    }
                },
                "security": [
                    {
                        "adminToken": []
                    }
                ]
            }
        },
        "/admin/auth/2fa/confirm": {
            "post": {
                "operationId": "post_admin_auth_2fa_confirm",
                "tags": [
                    "Admin"
                ],
                "summary": "Confirm2fa",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    }
                },
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "code": {
                                        "type": "string"
                                    }
                                },
                                "required": [
                                    "code"
                                ]
                            }
                        }
                    }
                },
                "security": [
                    {
                        "adminToken": []
                    }
                ]
            }
        },
        "/admin/auth/2fa/disable": {
            "post": {
                "operationId": "post_admin_auth_2fa_disable",
                "tags": [
                    "Admin"
                ],
                "summary": "Disable2fa",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    }
                },
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "password": {
                                        "type": "string"
                                    },
                                    "code": {
                                        "type": "string"
                                    }
                                },
                                "required": [
                                    "password",
                                    "code"
                                ]
                            }
                        }
                    }
                },
                "security": [
                    {
                        "adminToken": []
                    }
                ]
            }
        },
        "/admin/auth/2fa/setup": {
            "post": {
                "operationId": "post_admin_auth_2fa_setup",
                "tags": [
                    "Admin"
                ],
                "summary": "Setup2fa",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    }
                },
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "password": {
                                        "type": "string"
                                    },
                                    "code": {
                                        "type": "string"
                                    }
                                },
                                "required": [
                                    "password",
                                    "code"
                                ]
                            }
                        }
                    }
                },
                "security": [
                    {
                        "adminToken": []
                    }
                ]
            }
        },
        "/admin/auth/forgot-password": {
            "post": {
                "operationId": "post_admin_auth_forgot_password",
                "tags": [
                    "Admin"
                ],
                "summary": "Forgot password",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    }
                },
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "email": {
                                        "format": "email",
                                        "type": "string"
                                    }
                                },
                                "required": [
                                    "email"
                                ]
                            }
                        }
                    }
                }
            }
        },
        "/admin/auth/login": {
            "post": {
                "operationId": "post_admin_auth_login",
                "tags": [
                    "Admin"
                ],
                "summary": "Login",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    }
                },
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "email": {
                                        "format": "email",
                                        "type": "string"
                                    },
                                    "password": {
                                        "type": "string"
                                    },
                                    "code": {
                                        "type": [
                                            "string",
                                            "null"
                                        ]
                                    }
                                },
                                "required": [
                                    "email",
                                    "password"
                                ]
                            }
                        }
                    }
                }
            }
        },
        "/admin/auth/logout": {
            "post": {
                "operationId": "post_admin_auth_logout",
                "tags": [
                    "Admin"
                ],
                "summary": "Logout",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    }
                },
                "security": [
                    {
                        "adminToken": []
                    }
                ]
            }
        },
        "/admin/auth/me": {
            "get": {
                "operationId": "get_admin_auth_me",
                "tags": [
                    "Admin"
                ],
                "summary": "Me",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    }
                },
                "security": [
                    {
                        "adminToken": []
                    }
                ]
            }
        },
        "/admin/auth/reset-password": {
            "post": {
                "operationId": "post_admin_auth_reset_password",
                "tags": [
                    "Admin"
                ],
                "summary": "Reset password",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    }
                },
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "email": {
                                        "format": "email",
                                        "type": "string"
                                    },
                                    "token": {
                                        "type": "string"
                                    },
                                    "password": {
                                        "type": "string",
                                        "minLength": 12
                                    }
                                },
                                "required": [
                                    "email",
                                    "token",
                                    "password"
                                ]
                            }
                        }
                    }
                }
            }
        },
        "/admin/automations": {
            "get": {
                "operationId": "get_admin_automations",
                "tags": [
                    "Admin"
                ],
                "summary": "Automations",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    }
                },
                "security": [
                    {
                        "adminToken": []
                    }
                ]
            },
            "post": {
                "operationId": "post_admin_automations",
                "tags": [
                    "Admin"
                ],
                "summary": "Store automation",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    }
                },
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "name": {
                                        "type": "string",
                                        "maxLength": 120
                                    },
                                    "segment_id": {
                                        "type": "string"
                                    }
                                },
                                "required": [
                                    "name",
                                    "segment_id"
                                ]
                            }
                        }
                    }
                },
                "security": [
                    {
                        "adminToken": []
                    }
                ]
            }
        },
        "/admin/automations/{automation}": {
            "put": {
                "operationId": "put_admin_automations_automation",
                "tags": [
                    "Admin"
                ],
                "summary": "Update automation",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    },
                    {
                        "name": "automation",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    }
                },
                "requestBody": {
                    "required": false,
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "name": {
                                        "type": "string",
                                        "maxLength": 120
                                    },
                                    "segment_id": {
                                        "type": "string"
                                    },
                                    "status": {
                                        "enum": [
                                            "draft",
                                            "active",
                                            "paused"
                                        ],
                                        "type": "string"
                                    }
                                }
                            }
                        }
                    }
                },
                "security": [
                    {
                        "adminToken": []
                    }
                ]
            },
            "delete": {
                "operationId": "delete_admin_automations_automation",
                "tags": [
                    "Admin"
                ],
                "summary": "Delete automation",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    },
                    {
                        "name": "automation",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    }
                },
                "security": [
                    {
                        "adminToken": []
                    }
                ]
            }
        },
        "/admin/automations/{automation}/analytics": {
            "get": {
                "operationId": "get_admin_automations_automation_analytics",
                "tags": [
                    "Admin"
                ],
                "summary": "Automation analytics",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    },
                    {
                        "name": "automation",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    }
                },
                "security": [
                    {
                        "adminToken": []
                    }
                ]
            }
        },
        "/admin/automations/{automation}/run": {
            "post": {
                "operationId": "post_admin_automations_automation_run",
                "tags": [
                    "Admin"
                ],
                "summary": "Run automation",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    },
                    {
                        "name": "automation",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    }
                },
                "security": [
                    {
                        "adminToken": []
                    }
                ]
            }
        },
        "/admin/automations/{automation}/steps": {
            "get": {
                "operationId": "get_admin_automations_automation_steps",
                "tags": [
                    "Admin"
                ],
                "summary": "Automation steps",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    },
                    {
                        "name": "automation",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    }
                },
                "security": [
                    {
                        "adminToken": []
                    }
                ]
            },
            "post": {
                "operationId": "post_admin_automations_automation_steps",
                "tags": [
                    "Admin"
                ],
                "summary": "Store automation step",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    },
                    {
                        "name": "automation",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    }
                },
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "step_order": {
                                        "type": "integer",
                                        "minimum": 1
                                    },
                                    "delay_hours": {
                                        "type": [
                                            "integer",
                                            "null"
                                        ],
                                        "minimum": 0
                                    },
                                    "send_notification": {
                                        "type": "boolean"
                                    },
                                    "send_email": {
                                        "type": "boolean"
                                    },
                                    "grant_bonus": {
                                        "type": "boolean"
                                    },
                                    "title": {
                                        "type": [
                                            "string",
                                            "null"
                                        ],
                                        "maxLength": 120
                                    },
                                    "body": {
                                        "type": [
                                            "string",
                                            "null"
                                        ],
                                        "maxLength": 1000
                                    },
                                    "email_template_id": {
                                        "type": [
                                            "string",
                                            "null"
                                        ]
                                    },
                                    "bonus_offer_id": {
                                        "type": [
                                            "string",
                                            "null"
                                        ]
                                    }
                                },
                                "required": [
                                    "step_order"
                                ]
                            }
                        }
                    }
                },
                "security": [
                    {
                        "adminToken": []
                    }
                ]
            }
        },
        "/admin/automations/{automation}/steps/reorder": {
            "put": {
                "operationId": "put_admin_automations_automation_steps_reorder",
                "tags": [
                    "Admin"
                ],
                "summary": "Reorder automation steps",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    },
                    {
                        "name": "automation",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    }
                },
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "step_ids": {
                                        "type": "array",
                                        "items": {
                                            "type": "integer"
                                        },
                                        "minItems": 1
                                    }
                                },
                                "required": [
                                    "step_ids"
                                ]
                            }
                        }
                    }
                },
                "security": [
                    {
                        "adminToken": []
                    }
                ]
            }
        },
        "/admin/automations/{automation}/steps/{step}": {
            "put": {
                "operationId": "put_admin_automations_automation_steps_step",
                "tags": [
                    "Admin"
                ],
                "summary": "Update automation step",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    },
                    {
                        "name": "automation",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "step",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    }
                },
                "requestBody": {
                    "required": false,
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "delay_hours": {
                                        "type": "integer",
                                        "minimum": 0
                                    },
                                    "send_notification": {
                                        "type": "boolean"
                                    },
                                    "send_email": {
                                        "type": "boolean"
                                    },
                                    "grant_bonus": {
                                        "type": "boolean"
                                    },
                                    "title": {
                                        "type": [
                                            "string",
                                            "null"
                                        ],
                                        "maxLength": 120
                                    },
                                    "body": {
                                        "type": [
                                            "string",
                                            "null"
                                        ],
                                        "maxLength": 1000
                                    },
                                    "email_template_id": {
                                        "type": [
                                            "string",
                                            "null"
                                        ]
                                    },
                                    "bonus_offer_id": {
                                        "type": [
                                            "string",
                                            "null"
                                        ]
                                    }
                                }
                            }
                        }
                    }
                },
                "security": [
                    {
                        "adminToken": []
                    }
                ]
            },
            "delete": {
                "operationId": "delete_admin_automations_automation_steps_step",
                "tags": [
                    "Admin"
                ],
                "summary": "Delete automation step",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    },
                    {
                        "name": "automation",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "step",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    }
                },
                "security": [
                    {
                        "adminToken": []
                    }
                ]
            }
        },
        "/admin/bets": {
            "get": {
                "operationId": "get_admin_bets",
                "tags": [
                    "Admin"
                ],
                "summary": "Index",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    }
                },
                "security": [
                    {
                        "adminToken": []
                    }
                ]
            }
        },
        "/admin/billing/invoices": {
            "get": {
                "operationId": "get_admin_billing_invoices",
                "tags": [
                    "Admin"
                ],
                "summary": "Invoices",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    }
                },
                "security": [
                    {
                        "adminToken": []
                    }
                ]
            }
        },
        "/admin/billing/invoices/{invoice}/mark-paid": {
            "post": {
                "operationId": "post_admin_billing_invoices_invoice_mark_paid",
                "tags": [
                    "Admin"
                ],
                "summary": "Mark paid",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    },
                    {
                        "name": "invoice",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    }
                },
                "security": [
                    {
                        "adminToken": []
                    }
                ]
            }
        },
        "/admin/billing/mrr": {
            "get": {
                "operationId": "get_admin_billing_mrr",
                "tags": [
                    "Admin"
                ],
                "summary": "Mrr",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    }
                },
                "security": [
                    {
                        "adminToken": []
                    }
                ]
            }
        },
        "/admin/billing/plans": {
            "get": {
                "operationId": "get_admin_billing_plans",
                "tags": [
                    "Admin"
                ],
                "summary": "Plans",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    }
                },
                "security": [
                    {
                        "adminToken": []
                    }
                ]
            },
            "post": {
                "operationId": "post_admin_billing_plans",
                "tags": [
                    "Admin"
                ],
                "summary": "Save plan",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    }
                },
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "name": {
                                        "type": "string",
                                        "maxLength": 120
                                    },
                                    "slug": {
                                        "maxLength": 60,
                                        "type": "string"
                                    },
                                    "monthly_fee_pennies": {
                                        "type": "integer",
                                        "minimum": 0
                                    },
                                    "revenue_share_bps": {
                                        "type": "integer",
                                        "minimum": 0,
                                        "maximum": 10000
                                    },
                                    "currency": {
                                        "type": [
                                            "string",
                                            "null"
                                        ]
                                    },
                                    "is_active": {
                                        "type": "boolean"
                                    }
                                },
                                "required": [
                                    "name",
                                    "slug",
                                    "monthly_fee_pennies",
                                    "revenue_share_bps"
                                ]
                            }
                        }
                    }
                },
                "security": [
                    {
                        "adminToken": []
                    }
                ]
            }
        },
        "/admin/billing/plans/{plan}": {
            "put": {
                "operationId": "put_admin_billing_plans_plan",
                "tags": [
                    "Admin"
                ],
                "summary": "Save plan",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    },
                    {
                        "name": "plan",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    }
                },
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "name": {
                                        "type": "string",
                                        "maxLength": 120
                                    },
                                    "slug": {
                                        "maxLength": 60,
                                        "type": "string"
                                    },
                                    "monthly_fee_pennies": {
                                        "type": "integer",
                                        "minimum": 0
                                    },
                                    "revenue_share_bps": {
                                        "type": "integer",
                                        "minimum": 0,
                                        "maximum": 10000
                                    },
                                    "currency": {
                                        "type": [
                                            "string",
                                            "null"
                                        ]
                                    },
                                    "is_active": {
                                        "type": "boolean"
                                    }
                                },
                                "required": [
                                    "name",
                                    "slug",
                                    "monthly_fee_pennies",
                                    "revenue_share_bps"
                                ]
                            }
                        }
                    }
                },
                "security": [
                    {
                        "adminToken": []
                    }
                ]
            }
        },
        "/admin/billing/portal": {
            "get": {
                "operationId": "get_admin_billing_portal",
                "tags": [
                    "Admin"
                ],
                "summary": "Portal",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    }
                },
                "security": [
                    {
                        "adminToken": []
                    }
                ]
            }
        },
        "/admin/billing/run": {
            "post": {
                "operationId": "post_admin_billing_run",
                "tags": [
                    "Admin"
                ],
                "summary": "Run",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    }
                },
                "security": [
                    {
                        "adminToken": []
                    }
                ]
            }
        },
        "/admin/bonus-offers": {
            "get": {
                "operationId": "get_admin_bonus_offers",
                "tags": [
                    "Admin"
                ],
                "summary": "Bonus offers",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    }
                },
                "security": [
                    {
                        "adminToken": []
                    }
                ]
            },
            "post": {
                "operationId": "post_admin_bonus_offers",
                "tags": [
                    "Admin"
                ],
                "summary": "Save bonus offer",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    }
                },
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "name": {
                                        "type": "string",
                                        "maxLength": 120
                                    },
                                    "code": {
                                        "type": [
                                            "string",
                                            "null"
                                        ],
                                        "maxLength": 40
                                    },
                                    "trigger": {
                                        "enum": [
                                            "signup",
                                            "deposit",
                                            "bet_placed",
                                            "bet_settled",
                                            "bet_lost",
                                            "code_redeem",
                                            "manual",
                                            "referral_qualified"
                                        ],
                                        "type": "string"
                                    },
                                    "conditions": {
                                        "type": [
                                            "array",
                                            "null"
                                        ]
                                    },
                                    "reward": {
                                        "type": [
                                            "array",
                                            "object"
                                        ]
                                    },
                                    "wagering_multiplier": {
                                        "type": [
                                            "number",
                                            "null"
                                        ],
                                        "minimum": 0
                                    },
                                    "per_player_limit": {
                                        "type": [
                                            "integer",
                                            "null"
                                        ],
                                        "minimum": 1
                                    },
                                    "max_grants": {
                                        "type": [
                                            "integer",
                                            "null"
                                        ],
                                        "minimum": 1
                                    },
                                    "valid_days": {
                                        "type": [
                                            "integer",
                                            "null"
                                        ],
                                        "minimum": 1
                                    },
                                    "sort": {
                                        "type": [
                                            "integer",
                                            "null"
                                        ],
                                        "minimum": 0,
                                        "maximum": 65535
                                    },
                                    "starts_at": {
                                        "format": "date-time",
                                        "type": [
                                            "string",
                                            "null"
                                        ]
                                    },
                                    "ends_at": {
                                        "format": "date-time",
                                        "type": [
                                            "string",
                                            "null"
                                        ]
                                    },
                                    "is_active": {
                                        "type": "boolean"
                                    }
                                },
                                "required": [
                                    "name",
                                    "trigger",
                                    "reward"
                                ]
                            }
                        }
                    }
                },
                "security": [
                    {
                        "adminToken": []
                    }
                ]
            }
        },
        "/admin/bonus-offers/{offer}": {
            "put": {
                "operationId": "put_admin_bonus_offers_offer",
                "tags": [
                    "Admin"
                ],
                "summary": "Save bonus offer",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    },
                    {
                        "name": "offer",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    }
                },
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "name": {
                                        "type": "string",
                                        "maxLength": 120
                                    },
                                    "code": {
                                        "type": [
                                            "string",
                                            "null"
                                        ],
                                        "maxLength": 40
                                    },
                                    "trigger": {
                                        "enum": [
                                            "signup",
                                            "deposit",
                                            "bet_placed",
                                            "bet_settled",
                                            "bet_lost",
                                            "code_redeem",
                                            "manual",
                                            "referral_qualified"
                                        ],
                                        "type": "string"
                                    },
                                    "conditions": {
                                        "type": [
                                            "array",
                                            "null"
                                        ]
                                    },
                                    "reward": {
                                        "type": [
                                            "array",
                                            "object"
                                        ]
                                    },
                                    "wagering_multiplier": {
                                        "type": [
                                            "number",
                                            "null"
                                        ],
                                        "minimum": 0
                                    },
                                    "per_player_limit": {
                                        "type": [
                                            "integer",
                                            "null"
                                        ],
                                        "minimum": 1
                                    },
                                    "max_grants": {
                                        "type": [
                                            "integer",
                                            "null"
                                        ],
                                        "minimum": 1
                                    },
                                    "valid_days": {
                                        "type": [
                                            "integer",
                                            "null"
                                        ],
                                        "minimum": 1
                                    },
                                    "sort": {
                                        "type": [
                                            "integer",
                                            "null"
                                        ],
                                        "minimum": 0,
                                        "maximum": 65535
                                    },
                                    "starts_at": {
                                        "format": "date-time",
                                        "type": [
                                            "string",
                                            "null"
                                        ]
                                    },
                                    "ends_at": {
                                        "format": "date-time",
                                        "type": [
                                            "string",
                                            "null"
                                        ]
                                    },
                                    "is_active": {
                                        "type": "boolean"
                                    }
                                },
                                "required": [
                                    "name",
                                    "trigger",
                                    "reward"
                                ]
                            }
                        }
                    }
                },
                "security": [
                    {
                        "adminToken": []
                    }
                ]
            },
            "delete": {
                "operationId": "delete_admin_bonus_offers_offer",
                "tags": [
                    "Admin"
                ],
                "summary": "Delete bonus offer",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    },
                    {
                        "name": "offer",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    }
                },
                "security": [
                    {
                        "adminToken": []
                    }
                ]
            }
        },
        "/admin/bonuses": {
            "get": {
                "operationId": "get_admin_bonuses",
                "tags": [
                    "Admin"
                ],
                "summary": "Granted bonuses",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    }
                },
                "security": [
                    {
                        "adminToken": []
                    }
                ]
            }
        },
        "/admin/boosts": {
            "get": {
                "operationId": "get_admin_boosts",
                "tags": [
                    "Admin"
                ],
                "summary": "Boosts",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    }
                },
                "security": [
                    {
                        "adminToken": []
                    }
                ]
            },
            "post": {
                "operationId": "post_admin_boosts",
                "tags": [
                    "Admin"
                ],
                "summary": "Save boost",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    }
                },
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "tag": {
                                        "type": "string",
                                        "maxLength": 60
                                    },
                                    "market_label": {
                                        "type": "string",
                                        "maxLength": 120
                                    },
                                    "legs": {
                                        "type": "array",
                                        "items": {
                                            "type": "string",
                                            "maxLength": 120
                                        },
                                        "minItems": 1
                                    },
                                    "was_odds": {
                                        "type": "number",
                                        "minimum": 1
                                    },
                                    "now_odds": {
                                        "type": "number",
                                        "minimum": 1
                                    },
                                    "fire": {
                                        "type": [
                                            "string",
                                            "null"
                                        ],
                                        "maxLength": 20
                                    },
                                    "sort": {
                                        "type": [
                                            "integer",
                                            "null"
                                        ],
                                        "minimum": 0,
                                        "maximum": 65535
                                    },
                                    "starts_at": {
                                        "format": "date-time",
                                        "type": [
                                            "string",
                                            "null"
                                        ]
                                    },
                                    "ends_at": {
                                        "format": "date-time",
                                        "type": [
                                            "string",
                                            "null"
                                        ]
                                    },
                                    "is_active": {
                                        "type": "boolean"
                                    }
                                },
                                "required": [
                                    "tag",
                                    "market_label",
                                    "legs",
                                    "was_odds",
                                    "now_odds"
                                ]
                            }
                        }
                    }
                },
                "security": [
                    {
                        "adminToken": []
                    }
                ]
            }
        },
        "/admin/boosts/{boost}": {
            "put": {
                "operationId": "put_admin_boosts_boost",
                "tags": [
                    "Admin"
                ],
                "summary": "Save boost",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    },
                    {
                        "name": "boost",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    }
                },
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "tag": {
                                        "type": "string",
                                        "maxLength": 60
                                    },
                                    "market_label": {
                                        "type": "string",
                                        "maxLength": 120
                                    },
                                    "legs": {
                                        "type": "array",
                                        "items": {
                                            "type": "string",
                                            "maxLength": 120
                                        },
                                        "minItems": 1
                                    },
                                    "was_odds": {
                                        "type": "number",
                                        "minimum": 1
                                    },
                                    "now_odds": {
                                        "type": "number",
                                        "minimum": 1
                                    },
                                    "fire": {
                                        "type": [
                                            "string",
                                            "null"
                                        ],
                                        "maxLength": 20
                                    },
                                    "sort": {
                                        "type": [
                                            "integer",
                                            "null"
                                        ],
                                        "minimum": 0,
                                        "maximum": 65535
                                    },
                                    "starts_at": {
                                        "format": "date-time",
                                        "type": [
                                            "string",
                                            "null"
                                        ]
                                    },
                                    "ends_at": {
                                        "format": "date-time",
                                        "type": [
                                            "string",
                                            "null"
                                        ]
                                    },
                                    "is_active": {
                                        "type": "boolean"
                                    }
                                },
                                "required": [
                                    "tag",
                                    "market_label",
                                    "legs",
                                    "was_odds",
                                    "now_odds"
                                ]
                            }
                        }
                    }
                },
                "security": [
                    {
                        "adminToken": []
                    }
                ]
            },
            "delete": {
                "operationId": "delete_admin_boosts_boost",
                "tags": [
                    "Admin"
                ],
                "summary": "Delete boost",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    },
                    {
                        "name": "boost",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    }
                },
                "security": [
                    {
                        "adminToken": []
                    }
                ]
            }
        },
        "/admin/campaigns": {
            "get": {
                "operationId": "get_admin_campaigns",
                "tags": [
                    "Admin"
                ],
                "summary": "Campaigns",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    }
                },
                "security": [
                    {
                        "adminToken": []
                    }
                ]
            },
            "post": {
                "operationId": "post_admin_campaigns",
                "tags": [
                    "Admin"
                ],
                "summary": "Store campaign",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    }
                },
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "name": {
                                        "type": "string",
                                        "maxLength": 120
                                    },
                                    "segment_id": {
                                        "type": "string"
                                    },
                                    "send_notification": {
                                        "type": "boolean"
                                    },
                                    "send_email": {
                                        "type": "boolean"
                                    },
                                    "grant_bonus": {
                                        "type": "boolean"
                                    },
                                    "title": {
                                        "type": [
                                            "string",
                                            "null"
                                        ],
                                        "maxLength": 120
                                    },
                                    "body": {
                                        "type": [
                                            "string",
                                            "null"
                                        ],
                                        "maxLength": 1000
                                    },
                                    "bonus_offer_id": {
                                        "type": [
                                            "string",
                                            "null"
                                        ]
                                    },
                                    "email_template_id": {
                                        "type": [
                                            "string",
                                            "null"
                                        ]
                                    },
                                    "schedule": {
                                        "enum": [
                                            "manual",
                                            "daily",
                                            "weekly"
                                        ],
                                        "type": [
                                            "string",
                                            "null"
                                        ]
                                    },
                                    "once_per_player": {
                                        "type": [
                                            "boolean",
                                            "null"
                                        ]
                                    }
                                },
                                "required": [
                                    "name",
                                    "segment_id"
                                ]
                            }
                        }
                    }
                },
                "security": [
                    {
                        "adminToken": []
                    }
                ]
            }
        },
        "/admin/campaigns/{campaign}": {
            "put": {
                "operationId": "put_admin_campaigns_campaign",
                "tags": [
                    "Admin"
                ],
                "summary": "Update campaign",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    },
                    {
                        "name": "campaign",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    }
                },
                "requestBody": {
                    "required": false,
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "status": {
                                        "enum": [
                                            "draft",
                                            "active",
                                            "paused"
                                        ],
                                        "type": "string"
                                    },
                                    "title": {
                                        "type": [
                                            "string",
                                            "null"
                                        ],
                                        "maxLength": 120
                                    },
                                    "body": {
                                        "type": [
                                            "string",
                                            "null"
                                        ],
                                        "maxLength": 1000
                                    },
                                    "schedule": {
                                        "enum": [
                                            "manual",
                                            "daily",
                                            "weekly"
                                        ],
                                        "type": "string"
                                    },
                                    "send_notification": {
                                        "type": "boolean"
                                    },
                                    "send_email": {
                                        "type": "boolean"
                                    },
                                    "grant_bonus": {
                                        "type": "boolean"
                                    },
                                    "email_template_id": {
                                        "type": [
                                            "string",
                                            "null"
                                        ]
                                    }
                                }
                            }
                        }
                    }
                },
                "security": [
                    {
                        "adminToken": []
                    }
                ]
            }
        },
        "/admin/campaigns/{campaign}/run": {
            "post": {
                "operationId": "post_admin_campaigns_campaign_run",
                "tags": [
                    "Admin"
                ],
                "summary": "Run campaign",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    },
                    {
                        "name": "campaign",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    }
                },
                "security": [
                    {
                        "adminToken": []
                    }
                ]
            }
        },
        "/admin/currency-rates": {
            "get": {
                "operationId": "get_admin_currency_rates",
                "tags": [
                    "Admin"
                ],
                "summary": "Currency rates",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    }
                },
                "security": [
                    {
                        "adminToken": []
                    }
                ]
            },
            "post": {
                "operationId": "post_admin_currency_rates",
                "tags": [
                    "Admin"
                ],
                "summary": "Set currency rate",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    }
                },
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "currency": {
                                        "type": "string"
                                    },
                                    "rate_to_base": {
                                        "type": "number"
                                    },
                                    "source": {
                                        "type": [
                                            "string",
                                            "null"
                                        ],
                                        "maxLength": 40
                                    }
                                },
                                "required": [
                                    "currency",
                                    "rate_to_base"
                                ]
                            }
                        }
                    }
                },
                "security": [
                    {
                        "adminToken": []
                    }
                ]
            }
        },
        "/admin/currency-rates/{currency}/history": {
            "get": {
                "operationId": "get_admin_currency_rates_currency_history",
                "tags": [
                    "Admin"
                ],
                "summary": "Currency rate history",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    },
                    {
                        "name": "currency",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    }
                },
                "security": [
                    {
                        "adminToken": []
                    }
                ]
            }
        },
        "/admin/email-templates": {
            "get": {
                "operationId": "get_admin_email_templates",
                "tags": [
                    "Admin"
                ],
                "summary": "Email templates",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    }
                },
                "security": [
                    {
                        "adminToken": []
                    }
                ]
            },
            "post": {
                "operationId": "post_admin_email_templates",
                "tags": [
                    "Admin"
                ],
                "summary": "Store email template",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    }
                },
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "name": {
                                        "type": "string",
                                        "maxLength": 120
                                    },
                                    "subject": {
                                        "type": "string",
                                        "maxLength": 200
                                    },
                                    "body": {
                                        "type": "string"
                                    }
                                },
                                "required": [
                                    "name",
                                    "subject",
                                    "body"
                                ]
                            }
                        }
                    }
                },
                "security": [
                    {
                        "adminToken": []
                    }
                ]
            }
        },
        "/admin/email-templates/{emailTemplate}": {
            "put": {
                "operationId": "put_admin_email_templates_emailTemplate",
                "tags": [
                    "Admin"
                ],
                "summary": "Update email template",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    },
                    {
                        "name": "emailTemplate",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    }
                },
                "requestBody": {
                    "required": false,
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "name": {
                                        "type": "string",
                                        "maxLength": 120
                                    },
                                    "subject": {
                                        "type": "string",
                                        "maxLength": 200
                                    },
                                    "body": {
                                        "type": "string"
                                    }
                                }
                            }
                        }
                    }
                },
                "security": [
                    {
                        "adminToken": []
                    }
                ]
            },
            "delete": {
                "operationId": "delete_admin_email_templates_emailTemplate",
                "tags": [
                    "Admin"
                ],
                "summary": "Delete email template",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    },
                    {
                        "name": "emailTemplate",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    }
                },
                "security": [
                    {
                        "adminToken": []
                    }
                ]
            }
        },
        "/admin/events": {
            "post": {
                "operationId": "post_admin_events",
                "tags": [
                    "Admin"
                ],
                "summary": "Create event",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    }
                },
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "home": {
                                        "type": "string",
                                        "maxLength": 120
                                    },
                                    "away": {
                                        "type": "string",
                                        "maxLength": 120
                                    },
                                    "sport": {
                                        "type": [
                                            "string",
                                            "null"
                                        ],
                                        "maxLength": 60
                                    },
                                    "commence_time": {
                                        "format": "date-time",
                                        "type": [
                                            "string",
                                            "null"
                                        ]
                                    },
                                    "market": {
                                        "type": [
                                            "string",
                                            "null"
                                        ],
                                        "maxLength": 60
                                    },
                                    "selections": {
                                        "type": "array",
                                        "items": {
                                            "type": "object",
                                            "properties": {
                                                "name": {
                                                    "type": "string",
                                                    "maxLength": 80
                                                },
                                                "outcome": {
                                                    "type": "string",
                                                    "maxLength": 40
                                                },
                                                "price": {
                                                    "type": "number",
                                                    "minimum": 1.01
                                                }
                                            },
                                            "required": [
                                                "name",
                                                "outcome",
                                                "price"
                                            ]
                                        },
                                        "minItems": 2
                                    }
                                },
                                "required": [
                                    "home",
                                    "away",
                                    "selections"
                                ]
                            }
                        }
                    }
                },
                "security": [
                    {
                        "adminToken": []
                    }
                ]
            }
        },
        "/admin/events/{fixture}/settle": {
            "post": {
                "operationId": "post_admin_events_fixture_settle",
                "tags": [
                    "Admin"
                ],
                "summary": "Settle event",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    },
                    {
                        "name": "fixture",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    }
                },
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "winner": {
                                        "type": "string",
                                        "maxLength": 40
                                    }
                                },
                                "required": [
                                    "winner"
                                ]
                            }
                        }
                    }
                },
                "security": [
                    {
                        "adminToken": []
                    }
                ]
            }
        },
        "/admin/exposure": {
            "get": {
                "operationId": "get_admin_exposure",
                "tags": [
                    "Admin"
                ],
                "summary": "Exposure",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    }
                },
                "security": [
                    {
                        "adminToken": []
                    }
                ]
            }
        },
        "/admin/featured-fixtures": {
            "get": {
                "operationId": "get_admin_featured_fixtures",
                "tags": [
                    "Admin"
                ],
                "summary": "Featured fixtures",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    }
                },
                "security": [
                    {
                        "adminToken": []
                    }
                ]
            },
            "post": {
                "operationId": "post_admin_featured_fixtures",
                "tags": [
                    "Admin"
                ],
                "summary": "Save featured fixture",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    }
                },
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "fixture_id": {
                                        "type": "integer"
                                    },
                                    "label": {
                                        "type": [
                                            "string",
                                            "null"
                                        ],
                                        "maxLength": 160
                                    },
                                    "sort": {
                                        "type": [
                                            "integer",
                                            "null"
                                        ],
                                        "minimum": 0,
                                        "maximum": 65535
                                    },
                                    "starts_at": {
                                        "format": "date-time",
                                        "type": [
                                            "string",
                                            "null"
                                        ]
                                    },
                                    "ends_at": {
                                        "format": "date-time",
                                        "type": [
                                            "string",
                                            "null"
                                        ]
                                    },
                                    "is_active": {
                                        "type": "boolean"
                                    }
                                },
                                "required": [
                                    "fixture_id"
                                ]
                            }
                        }
                    }
                },
                "security": [
                    {
                        "adminToken": []
                    }
                ]
            }
        },
        "/admin/featured-fixtures/{featuredFixture}": {
            "put": {
                "operationId": "put_admin_featured_fixtures_featuredFixture",
                "tags": [
                    "Admin"
                ],
                "summary": "Save featured fixture",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    },
                    {
                        "name": "featuredFixture",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    }
                },
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "fixture_id": {
                                        "type": "integer"
                                    },
                                    "label": {
                                        "type": [
                                            "string",
                                            "null"
                                        ],
                                        "maxLength": 160
                                    },
                                    "sort": {
                                        "type": [
                                            "integer",
                                            "null"
                                        ],
                                        "minimum": 0,
                                        "maximum": 65535
                                    },
                                    "starts_at": {
                                        "format": "date-time",
                                        "type": [
                                            "string",
                                            "null"
                                        ]
                                    },
                                    "ends_at": {
                                        "format": "date-time",
                                        "type": [
                                            "string",
                                            "null"
                                        ]
                                    },
                                    "is_active": {
                                        "type": "boolean"
                                    }
                                },
                                "required": [
                                    "fixture_id"
                                ]
                            }
                        }
                    }
                },
                "security": [
                    {
                        "adminToken": []
                    }
                ]
            },
            "delete": {
                "operationId": "delete_admin_featured_fixtures_featuredFixture",
                "tags": [
                    "Admin"
                ],
                "summary": "Delete featured fixture",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    },
                    {
                        "name": "featuredFixture",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    }
                },
                "security": [
                    {
                        "adminToken": []
                    }
                ]
            }
        },
        "/admin/fixtures": {
            "get": {
                "operationId": "get_admin_fixtures",
                "tags": [
                    "Admin"
                ],
                "summary": "Fixtures",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    }
                },
                "security": [
                    {
                        "adminToken": []
                    }
                ]
            }
        },
        "/admin/fixtures/{fixture}": {
            "get": {
                "operationId": "get_admin_fixtures_fixture",
                "tags": [
                    "Admin"
                ],
                "summary": "Fixture",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    },
                    {
                        "name": "fixture",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    }
                },
                "security": [
                    {
                        "adminToken": []
                    }
                ]
            }
        },
        "/admin/fixtures/{fixture}/settle": {
            "post": {
                "operationId": "post_admin_fixtures_fixture_settle",
                "tags": [
                    "Admin"
                ],
                "summary": "Settle fixture",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    },
                    {
                        "name": "fixture",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    }
                },
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "winner": {
                                        "enum": [
                                            "home",
                                            "away",
                                            "draw",
                                            "void"
                                        ],
                                        "type": "string"
                                    }
                                },
                                "required": [
                                    "winner"
                                ]
                            }
                        }
                    }
                },
                "security": [
                    {
                        "adminToken": []
                    }
                ]
            }
        },
        "/admin/game-providers": {
            "get": {
                "operationId": "get_admin_game_providers",
                "tags": [
                    "Admin"
                ],
                "summary": "Game providers",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    }
                },
                "security": [
                    {
                        "adminToken": []
                    }
                ]
            },
            "post": {
                "operationId": "post_admin_game_providers",
                "tags": [
                    "Admin"
                ],
                "summary": "Create game provider",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    }
                },
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "name": {
                                        "type": "string",
                                        "maxLength": 80
                                    },
                                    "code": {
                                        "maxLength": 40,
                                        "type": "string"
                                    },
                                    "launch_base_url": {
                                        "format": "uri",
                                        "type": [
                                            "string",
                                            "null"
                                        ]
                                    }
                                },
                                "required": [
                                    "name",
                                    "code"
                                ]
                            }
                        }
                    }
                },
                "security": [
                    {
                        "adminToken": []
                    }
                ]
            }
        },
        "/admin/game-providers/{gameProvider}": {
            "put": {
                "operationId": "put_admin_game_providers_gameProvider",
                "tags": [
                    "Admin"
                ],
                "summary": "Update game provider",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    },
                    {
                        "name": "gameProvider",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    }
                },
                "requestBody": {
                    "required": false,
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "is_active": {
                                        "type": "boolean"
                                    },
                                    "launch_base_url": {
                                        "format": "uri",
                                        "type": [
                                            "string",
                                            "null"
                                        ]
                                    }
                                }
                            }
                        }
                    }
                },
                "security": [
                    {
                        "adminToken": []
                    }
                ]
            }
        },
        "/admin/game-rounds": {
            "get": {
                "operationId": "get_admin_game_rounds",
                "tags": [
                    "Admin"
                ],
                "summary": "Game rounds",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    }
                },
                "security": [
                    {
                        "adminToken": []
                    }
                ]
            }
        },
        "/admin/games": {
            "get": {
                "operationId": "get_admin_games",
                "tags": [
                    "Admin"
                ],
                "summary": "Games",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    }
                },
                "security": [
                    {
                        "adminToken": []
                    }
                ]
            },
            "post": {
                "operationId": "post_admin_games",
                "tags": [
                    "Admin"
                ],
                "summary": "Save game",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    }
                },
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "name": {
                                        "type": "string",
                                        "maxLength": 120
                                    },
                                    "category": {
                                        "type": "string"
                                    },
                                    "settlement_model": {
                                        "type": [
                                            "string",
                                            "null"
                                        ]
                                    },
                                    "rtp": {
                                        "type": [
                                            "number",
                                            "null"
                                        ],
                                        "minimum": 1,
                                        "maximum": 100
                                    },
                                    "math_config": {
                                        "type": [
                                            "array",
                                            "null"
                                        ]
                                    },
                                    "jackpot_id": {
                                        "type": [
                                            "string",
                                            "null"
                                        ]
                                    },
                                    "launch_url": {
                                        "format": "uri",
                                        "type": [
                                            "string",
                                            "null"
                                        ]
                                    },
                                    "is_demo": {
                                        "type": "boolean"
                                    },
                                    "is_active": {
                                        "type": "boolean"
                                    },
                                    "sort": {
                                        "type": [
                                            "integer",
                                            "null"
                                        ]
                                    }
                                },
                                "required": [
                                    "name",
                                    "category"
                                ]
                            }
                        }
                    }
                },
                "security": [
                    {
                        "adminToken": []
                    }
                ]
            }
        },
        "/admin/games/{game}": {
            "put": {
                "operationId": "put_admin_games_game",
                "tags": [
                    "Admin"
                ],
                "summary": "Save game",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    },
                    {
                        "name": "game",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    }
                },
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "name": {
                                        "type": "string",
                                        "maxLength": 120
                                    },
                                    "category": {
                                        "type": "string"
                                    },
                                    "settlement_model": {
                                        "type": [
                                            "string",
                                            "null"
                                        ]
                                    },
                                    "rtp": {
                                        "type": [
                                            "number",
                                            "null"
                                        ],
                                        "minimum": 1,
                                        "maximum": 100
                                    },
                                    "math_config": {
                                        "type": [
                                            "array",
                                            "null"
                                        ]
                                    },
                                    "jackpot_id": {
                                        "type": [
                                            "string",
                                            "null"
                                        ]
                                    },
                                    "launch_url": {
                                        "format": "uri",
                                        "type": [
                                            "string",
                                            "null"
                                        ]
                                    },
                                    "is_demo": {
                                        "type": "boolean"
                                    },
                                    "is_active": {
                                        "type": "boolean"
                                    },
                                    "sort": {
                                        "type": [
                                            "integer",
                                            "null"
                                        ]
                                    }
                                },
                                "required": [
                                    "name",
                                    "category"
                                ]
                            }
                        }
                    }
                },
                "security": [
                    {
                        "adminToken": []
                    }
                ]
            },
            "delete": {
                "operationId": "delete_admin_games_game",
                "tags": [
                    "Admin"
                ],
                "summary": "Delete game",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    },
                    {
                        "name": "game",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    }
                },
                "security": [
                    {
                        "adminToken": []
                    }
                ]
            }
        },
        "/admin/gamification/leaderboards": {
            "get": {
                "operationId": "get_admin_gamification_leaderboards",
                "tags": [
                    "Admin"
                ],
                "summary": "Index",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    }
                },
                "security": [
                    {
                        "adminToken": []
                    }
                ]
            },
            "post": {
                "operationId": "post_admin_gamification_leaderboards",
                "tags": [
                    "Admin"
                ],
                "summary": "Store",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    }
                },
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "name": {
                                        "type": "string",
                                        "maxLength": 120
                                    },
                                    "metric": {
                                        "type": "string",
                                        "enum": [
                                            "total_wagered",
                                            "total_won",
                                            "highest_multiplier"
                                        ]
                                    },
                                    "start_time": {
                                        "format": "date-time",
                                        "type": "string"
                                    },
                                    "end_time": {
                                        "format": "date-time",
                                        "type": "string"
                                    },
                                    "is_active": {
                                        "type": "boolean"
                                    },
                                    "reward_config": {
                                        "type": [
                                            "array",
                                            "null"
                                        ]
                                    }
                                },
                                "required": [
                                    "name",
                                    "metric",
                                    "start_time",
                                    "end_time"
                                ]
                            }
                        }
                    }
                },
                "security": [
                    {
                        "adminToken": []
                    }
                ]
            }
        },
        "/admin/jackpots": {
            "get": {
                "operationId": "get_admin_jackpots",
                "tags": [
                    "Admin"
                ],
                "summary": "Jackpots",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    }
                },
                "security": [
                    {
                        "adminToken": []
                    }
                ]
            }
        },
        "/admin/jackpots/{jackpot}": {
            "put": {
                "operationId": "put_admin_jackpots_jackpot",
                "tags": [
                    "Admin"
                ],
                "summary": "Update jackpot",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    },
                    {
                        "name": "jackpot",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    }
                },
                "requestBody": {
                    "required": false,
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "current_value": {
                                        "type": "integer",
                                        "minimum": 0
                                    },
                                    "seed_value": {
                                        "type": "integer",
                                        "minimum": 0
                                    },
                                    "ceiling_value": {
                                        "type": [
                                            "integer",
                                            "null"
                                        ],
                                        "minimum": 0
                                    },
                                    "contribution_bps": {
                                        "type": "integer",
                                        "minimum": 0,
                                        "maximum": 2000
                                    },
                                    "turnover_per_hit": {
                                        "type": "integer",
                                        "minimum": 0
                                    },
                                    "is_active": {
                                        "type": "boolean"
                                    }
                                }
                            }
                        }
                    }
                },
                "security": [
                    {
                        "adminToken": []
                    }
                ]
            }
        },
        "/admin/leads": {
            "get": {
                "operationId": "get_admin_leads",
                "tags": [
                    "Admin"
                ],
                "summary": "Leads",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    }
                },
                "security": [
                    {
                        "adminToken": []
                    }
                ]
            }
        },
        "/admin/leads/{lead}/status": {
            "put": {
                "operationId": "put_admin_leads_lead_status",
                "tags": [
                    "Admin"
                ],
                "summary": "Update lead status",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    },
                    {
                        "name": "lead",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    }
                },
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "status": {
                                        "enum": [
                                            "new",
                                            "contacted",
                                            "qualified",
                                            "closed"
                                        ],
                                        "type": "string"
                                    }
                                },
                                "required": [
                                    "status"
                                ]
                            }
                        }
                    }
                },
                "security": [
                    {
                        "adminToken": []
                    }
                ]
            }
        },
        "/admin/liability": {
            "get": {
                "operationId": "get_admin_liability",
                "tags": [
                    "Admin"
                ],
                "summary": "Liability",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    }
                },
                "security": [
                    {
                        "adminToken": []
                    }
                ]
            }
        },
        "/admin/notifications": {
            "post": {
                "operationId": "post_admin_notifications",
                "tags": [
                    "Admin"
                ],
                "summary": "Send notification",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    }
                },
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "player_id": {
                                        "type": [
                                            "integer",
                                            "null"
                                        ]
                                    },
                                    "title": {
                                        "type": "string",
                                        "maxLength": 120
                                    },
                                    "body": {
                                        "type": [
                                            "string",
                                            "null"
                                        ],
                                        "maxLength": 1000
                                    },
                                    "kind": {
                                        "enum": [
                                            "info",
                                            "promo",
                                            "account",
                                            "safer_gambling"
                                        ],
                                        "type": [
                                            "string",
                                            "null"
                                        ]
                                    }
                                },
                                "required": [
                                    "title"
                                ]
                            }
                        }
                    }
                },
                "security": [
                    {
                        "adminToken": []
                    }
                ]
            }
        },
        "/admin/odds/refetch": {
            "post": {
                "operationId": "post_admin_odds_refetch",
                "tags": [
                    "Admin"
                ],
                "summary": "Refetch",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    }
                },
                "requestBody": {
                    "required": false,
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "sport": {
                                        "type": [
                                            "string",
                                            "null"
                                        ]
                                    },
                                    "force": {
                                        "type": "boolean"
                                    }
                                }
                            }
                        }
                    }
                },
                "security": [
                    {
                        "adminToken": []
                    }
                ]
            }
        },
        "/admin/odds/status": {
            "get": {
                "operationId": "get_admin_odds_status",
                "tags": [
                    "Admin"
                ],
                "summary": "Status",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    }
                },
                "security": [
                    {
                        "adminToken": []
                    }
                ]
            }
        },
        "/admin/odds/sync": {
            "post": {
                "operationId": "post_admin_odds_sync",
                "tags": [
                    "Admin"
                ],
                "summary": "Sync odds",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    }
                },
                "security": [
                    {
                        "adminToken": []
                    }
                ]
            }
        },
        "/admin/offers/performance": {
            "get": {
                "operationId": "get_admin_offers_performance",
                "tags": [
                    "Admin"
                ],
                "summary": "Offer performance",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    }
                },
                "security": [
                    {
                        "adminToken": []
                    }
                ]
            }
        },
        "/admin/partner-keys": {
            "get": {
                "operationId": "get_admin_partner_keys",
                "tags": [
                    "Admin"
                ],
                "summary": "Partner keys",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    }
                },
                "security": [
                    {
                        "adminToken": []
                    }
                ]
            },
            "post": {
                "operationId": "post_admin_partner_keys",
                "tags": [
                    "Admin"
                ],
                "summary": "Create partner key",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    }
                },
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "label": {
                                        "type": "string",
                                        "maxLength": 80
                                    },
                                    "scopes": {
                                        "type": "array",
                                        "items": {
                                            "type": "string"
                                        },
                                        "minItems": 1
                                    }
                                },
                                "required": [
                                    "label",
                                    "scopes"
                                ]
                            }
                        }
                    }
                },
                "security": [
                    {
                        "adminToken": []
                    }
                ]
            }
        },
        "/admin/partner-keys/{partnerApiKey}": {
            "delete": {
                "operationId": "delete_admin_partner_keys_partnerApiKey",
                "tags": [
                    "Admin"
                ],
                "summary": "Revoke partner key",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    },
                    {
                        "name": "partnerApiKey",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    }
                },
                "security": [
                    {
                        "adminToken": []
                    }
                ]
            }
        },
        "/admin/partner-keys/{partnerApiKey}/scopes": {
            "put": {
                "operationId": "put_admin_partner_keys_partnerApiKey_scopes",
                "tags": [
                    "Admin"
                ],
                "summary": "Update partner key scopes",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    },
                    {
                        "name": "partnerApiKey",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    }
                },
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "scopes": {
                                        "type": "array",
                                        "items": {
                                            "type": "string"
                                        },
                                        "minItems": 1
                                    }
                                },
                                "required": [
                                    "scopes"
                                ]
                            }
                        }
                    }
                },
                "security": [
                    {
                        "adminToken": []
                    }
                ]
            }
        },
        "/admin/players": {
            "get": {
                "operationId": "get_admin_players",
                "tags": [
                    "Admin"
                ],
                "summary": "Players",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    }
                },
                "security": [
                    {
                        "adminToken": []
                    }
                ]
            }
        },
        "/admin/players/{player}": {
            "get": {
                "operationId": "get_admin_players_player",
                "tags": [
                    "Admin"
                ],
                "summary": "Player",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    },
                    {
                        "name": "player",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    }
                },
                "security": [
                    {
                        "adminToken": []
                    }
                ]
            }
        },
        "/admin/players/{player}/action": {
            "post": {
                "operationId": "post_admin_players_player_action",
                "tags": [
                    "Admin"
                ],
                "summary": "Player action",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    },
                    {
                        "name": "player",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    }
                },
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "action": {
                                        "enum": [
                                            "suspend",
                                            "activate",
                                            "verify_kyc",
                                            "reject_kyc",
                                            "grant_credit",
                                            "adjust"
                                        ],
                                        "type": "string"
                                    },
                                    "amount": {
                                        "type": [
                                            "integer",
                                            "null"
                                        ]
                                    },
                                    "reason": {
                                        "type": [
                                            "string",
                                            "null"
                                        ],
                                        "minLength": 10,
                                        "maxLength": 200
                                    }
                                },
                                "required": [
                                    "action"
                                ]
                            }
                        }
                    }
                },
                "security": [
                    {
                        "adminToken": []
                    }
                ]
            }
        },
        "/admin/players/{player}/anonymise": {
            "post": {
                "operationId": "post_admin_players_player_anonymise",
                "tags": [
                    "Admin"
                ],
                "summary": "Anonymise player",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    },
                    {
                        "name": "player",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    }
                },
                "security": [
                    {
                        "adminToken": []
                    }
                ]
            }
        },
        "/admin/players/{player}/data-export": {
            "get": {
                "operationId": "get_admin_players_player_data_export",
                "tags": [
                    "Admin"
                ],
                "summary": "Player data export",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    },
                    {
                        "name": "player",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    }
                },
                "security": [
                    {
                        "adminToken": []
                    }
                ]
            }
        },
        "/admin/players/{player}/linked": {
            "get": {
                "operationId": "get_admin_players_player_linked",
                "tags": [
                    "Admin"
                ],
                "summary": "Player linked",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    },
                    {
                        "name": "player",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    }
                },
                "security": [
                    {
                        "adminToken": []
                    }
                ]
            }
        },
        "/admin/players/{player}/risk": {
            "get": {
                "operationId": "get_admin_players_player_risk",
                "tags": [
                    "Admin"
                ],
                "summary": "Player risk",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    },
                    {
                        "name": "player",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    }
                },
                "security": [
                    {
                        "adminToken": []
                    }
                ]
            }
        },
        "/admin/players/{player}/stake-factor": {
            "post": {
                "operationId": "post_admin_players_player_stake_factor",
                "tags": [
                    "Admin"
                ],
                "summary": "Set stake factor",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    },
                    {
                        "name": "player",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    }
                },
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "stake_factor": {
                                        "type": "number",
                                        "minimum": 0,
                                        "maximum": 1
                                    }
                                },
                                "required": [
                                    "stake_factor"
                                ]
                            }
                        }
                    }
                },
                "security": [
                    {
                        "adminToken": []
                    }
                ]
            }
        },
        "/admin/players/{player}/status": {
            "post": {
                "operationId": "post_admin_players_player_status",
                "tags": [
                    "Admin"
                ],
                "summary": "Set player status",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    },
                    {
                        "name": "player",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    }
                },
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "status": {
                                        "enum": [
                                            "active",
                                            "suspended"
                                        ],
                                        "type": "string"
                                    }
                                },
                                "required": [
                                    "status"
                                ]
                            }
                        }
                    }
                },
                "security": [
                    {
                        "adminToken": []
                    }
                ]
            }
        },
        "/admin/players/{player}/timeline": {
            "get": {
                "operationId": "get_admin_players_player_timeline",
                "tags": [
                    "Admin"
                ],
                "summary": "Player timeline",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    },
                    {
                        "name": "player",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    }
                },
                "security": [
                    {
                        "adminToken": []
                    }
                ]
            }
        },
        "/admin/promotions": {
            "get": {
                "operationId": "get_admin_promotions",
                "tags": [
                    "Admin"
                ],
                "summary": "Promotions",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    }
                },
                "security": [
                    {
                        "adminToken": []
                    }
                ]
            },
            "post": {
                "operationId": "post_admin_promotions",
                "tags": [
                    "Admin"
                ],
                "summary": "Save promotion",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    }
                },
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "title": {
                                        "type": "string",
                                        "maxLength": 160
                                    },
                                    "badge": {
                                        "type": [
                                            "string",
                                            "null"
                                        ],
                                        "maxLength": 12
                                    },
                                    "kicker": {
                                        "type": [
                                            "string",
                                            "null"
                                        ],
                                        "maxLength": 60
                                    },
                                    "summary": {
                                        "type": "string",
                                        "maxLength": 255
                                    },
                                    "body": {
                                        "type": [
                                            "string",
                                            "null"
                                        ]
                                    },
                                    "terms": {
                                        "type": [
                                            "string",
                                            "null"
                                        ]
                                    },
                                    "image_url": {
                                        "type": [
                                            "string",
                                            "null"
                                        ],
                                        "maxLength": 255
                                    },
                                    "category": {
                                        "enum": [
                                            "sportsbook",
                                            "casino",
                                            "homepage",
                                            "all"
                                        ],
                                        "type": "string"
                                    },
                                    "cta_label": {
                                        "type": [
                                            "string",
                                            "null"
                                        ],
                                        "maxLength": 60
                                    },
                                    "cta_url": {
                                        "type": [
                                            "string",
                                            "null"
                                        ],
                                        "maxLength": 255
                                    },
                                    "starts_at": {
                                        "format": "date-time",
                                        "type": [
                                            "string",
                                            "null"
                                        ]
                                    },
                                    "ends_at": {
                                        "format": "date-time",
                                        "type": [
                                            "string",
                                            "null"
                                        ]
                                    },
                                    "sort": {
                                        "type": [
                                            "integer",
                                            "null"
                                        ],
                                        "minimum": 0,
                                        "maximum": 65535
                                    },
                                    "segment_id": {
                                        "type": [
                                            "integer",
                                            "null"
                                        ]
                                    },
                                    "is_active": {
                                        "type": "boolean"
                                    }
                                },
                                "required": [
                                    "title",
                                    "summary",
                                    "category"
                                ]
                            }
                        }
                    }
                },
                "security": [
                    {
                        "adminToken": []
                    }
                ]
            }
        },
        "/admin/promotions/{promotion}": {
            "put": {
                "operationId": "put_admin_promotions_promotion",
                "tags": [
                    "Admin"
                ],
                "summary": "Save promotion",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    },
                    {
                        "name": "promotion",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    }
                },
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "title": {
                                        "type": "string",
                                        "maxLength": 160
                                    },
                                    "badge": {
                                        "type": [
                                            "string",
                                            "null"
                                        ],
                                        "maxLength": 12
                                    },
                                    "kicker": {
                                        "type": [
                                            "string",
                                            "null"
                                        ],
                                        "maxLength": 60
                                    },
                                    "summary": {
                                        "type": "string",
                                        "maxLength": 255
                                    },
                                    "body": {
                                        "type": [
                                            "string",
                                            "null"
                                        ]
                                    },
                                    "terms": {
                                        "type": [
                                            "string",
                                            "null"
                                        ]
                                    },
                                    "image_url": {
                                        "type": [
                                            "string",
                                            "null"
                                        ],
                                        "maxLength": 255
                                    },
                                    "category": {
                                        "enum": [
                                            "sportsbook",
                                            "casino",
                                            "homepage",
                                            "all"
                                        ],
                                        "type": "string"
                                    },
                                    "cta_label": {
                                        "type": [
                                            "string",
                                            "null"
                                        ],
                                        "maxLength": 60
                                    },
                                    "cta_url": {
                                        "type": [
                                            "string",
                                            "null"
                                        ],
                                        "maxLength": 255
                                    },
                                    "starts_at": {
                                        "format": "date-time",
                                        "type": [
                                            "string",
                                            "null"
                                        ]
                                    },
                                    "ends_at": {
                                        "format": "date-time",
                                        "type": [
                                            "string",
                                            "null"
                                        ]
                                    },
                                    "sort": {
                                        "type": [
                                            "integer",
                                            "null"
                                        ],
                                        "minimum": 0,
                                        "maximum": 65535
                                    },
                                    "segment_id": {
                                        "type": [
                                            "integer",
                                            "null"
                                        ]
                                    },
                                    "is_active": {
                                        "type": "boolean"
                                    }
                                },
                                "required": [
                                    "title",
                                    "summary",
                                    "category"
                                ]
                            }
                        }
                    }
                },
                "security": [
                    {
                        "adminToken": []
                    }
                ]
            },
            "delete": {
                "operationId": "delete_admin_promotions_promotion",
                "tags": [
                    "Admin"
                ],
                "summary": "Delete promotion",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    },
                    {
                        "name": "promotion",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    }
                },
                "security": [
                    {
                        "adminToken": []
                    }
                ]
            }
        },
        "/admin/publish": {
            "get": {
                "operationId": "get_admin_publish",
                "tags": [
                    "Admin"
                ],
                "summary": "Publish status",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    }
                },
                "security": [
                    {
                        "adminToken": []
                    }
                ]
            },
            "post": {
                "operationId": "post_admin_publish",
                "tags": [
                    "Admin"
                ],
                "summary": "Publish",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    }
                },
                "security": [
                    {
                        "adminToken": []
                    }
                ]
            }
        },
        "/admin/referrals": {
            "get": {
                "operationId": "get_admin_referrals",
                "tags": [
                    "Admin"
                ],
                "summary": "Referrals",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    }
                },
                "security": [
                    {
                        "adminToken": []
                    }
                ]
            }
        },
        "/admin/reports/bets.csv": {
            "get": {
                "operationId": "get_admin_reports_bets_csv",
                "tags": [
                    "Admin"
                ],
                "summary": "Csv",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    }
                },
                "security": [
                    {
                        "adminToken": []
                    }
                ]
            }
        },
        "/admin/reports/breakdown": {
            "get": {
                "operationId": "get_admin_reports_breakdown",
                "tags": [
                    "Admin"
                ],
                "summary": "App\\ http\\ controllers\\ api\\ admin\\ breakdown report controller",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    }
                },
                "security": [
                    {
                        "adminToken": []
                    }
                ]
            }
        },
        "/admin/reports/players.csv": {
            "get": {
                "operationId": "get_admin_reports_players_csv",
                "tags": [
                    "Admin"
                ],
                "summary": "Report players",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    }
                },
                "security": [
                    {
                        "adminToken": []
                    }
                ]
            }
        },
        "/admin/reports/regulatory": {
            "get": {
                "operationId": "get_admin_reports_regulatory",
                "tags": [
                    "Admin"
                ],
                "summary": "Regulatory return",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    }
                },
                "security": [
                    {
                        "adminToken": []
                    }
                ]
            }
        },
        "/admin/reports/transactions.csv": {
            "get": {
                "operationId": "get_admin_reports_transactions_csv",
                "tags": [
                    "Admin"
                ],
                "summary": "Report transactions",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    }
                },
                "security": [
                    {
                        "adminToken": []
                    }
                ]
            }
        },
        "/admin/risk": {
            "get": {
                "operationId": "get_admin_risk",
                "tags": [
                    "Admin"
                ],
                "summary": "Risk",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    }
                },
                "security": [
                    {
                        "adminToken": []
                    }
                ]
            }
        },
        "/admin/segments": {
            "get": {
                "operationId": "get_admin_segments",
                "tags": [
                    "Admin"
                ],
                "summary": "Segments",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    }
                },
                "security": [
                    {
                        "adminToken": []
                    }
                ]
            },
            "post": {
                "operationId": "post_admin_segments",
                "tags": [
                    "Admin"
                ],
                "summary": "Store segment",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    }
                },
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "name": {
                                        "type": "string",
                                        "maxLength": 120
                                    },
                                    "description": {
                                        "type": [
                                            "string",
                                            "null"
                                        ],
                                        "maxLength": 500
                                    },
                                    "rules": {
                                        "type": [
                                            "array",
                                            "object"
                                        ],
                                        "minItems": 1
                                    }
                                },
                                "required": [
                                    "name",
                                    "rules"
                                ]
                            }
                        }
                    }
                },
                "security": [
                    {
                        "adminToken": []
                    }
                ]
            }
        },
        "/admin/segments/assist": {
            "post": {
                "operationId": "post_admin_segments_assist",
                "tags": [
                    "Admin"
                ],
                "summary": "Assist segment",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    }
                },
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "description": {
                                        "type": "string",
                                        "maxLength": 2000
                                    }
                                },
                                "required": [
                                    "description"
                                ]
                            }
                        }
                    }
                },
                "security": [
                    {
                        "adminToken": []
                    }
                ]
            }
        },
        "/admin/segments/preview": {
            "post": {
                "operationId": "post_admin_segments_preview",
                "tags": [
                    "Admin"
                ],
                "summary": "Preview segment",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    }
                },
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "rules": {
                                        "type": [
                                            "array",
                                            "object"
                                        ],
                                        "minItems": 1
                                    }
                                },
                                "required": [
                                    "rules"
                                ]
                            }
                        }
                    }
                },
                "security": [
                    {
                        "adminToken": []
                    }
                ]
            }
        },
        "/admin/segments/{segment}": {
            "put": {
                "operationId": "put_admin_segments_segment",
                "tags": [
                    "Admin"
                ],
                "summary": "Update segment",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    },
                    {
                        "name": "segment",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    }
                },
                "requestBody": {
                    "required": false,
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "name": {
                                        "type": "string",
                                        "maxLength": 120
                                    },
                                    "description": {
                                        "type": [
                                            "string",
                                            "null"
                                        ],
                                        "maxLength": 500
                                    },
                                    "rules": {
                                        "type": [
                                            "array",
                                            "object"
                                        ],
                                        "minItems": 1
                                    }
                                }
                            }
                        }
                    }
                },
                "security": [
                    {
                        "adminToken": []
                    }
                ]
            },
            "delete": {
                "operationId": "delete_admin_segments_segment",
                "tags": [
                    "Admin"
                ],
                "summary": "Delete segment",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    },
                    {
                        "name": "segment",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    }
                },
                "security": [
                    {
                        "adminToken": []
                    }
                ]
            }
        },
        "/admin/selections/{selection}/liability-cap": {
            "post": {
                "operationId": "post_admin_selections_selection_liability_cap",
                "tags": [
                    "Admin"
                ],
                "summary": "Set liability cap",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    },
                    {
                        "name": "selection",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    }
                },
                "requestBody": {
                    "required": false,
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "liability_cap": {
                                        "type": [
                                            "integer",
                                            "null"
                                        ],
                                        "minimum": 0
                                    }
                                }
                            }
                        }
                    }
                },
                "security": [
                    {
                        "adminToken": []
                    }
                ]
            }
        },
        "/admin/settlement/run": {
            "post": {
                "operationId": "post_admin_settlement_run",
                "tags": [
                    "Admin"
                ],
                "summary": "Run settlement",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    }
                },
                "security": [
                    {
                        "adminToken": []
                    }
                ]
            }
        },
        "/admin/settlement/status": {
            "get": {
                "operationId": "get_admin_settlement_status",
                "tags": [
                    "Admin"
                ],
                "summary": "Settlement status",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    }
                },
                "security": [
                    {
                        "adminToken": []
                    }
                ]
            }
        },
        "/admin/slot-spins": {
            "get": {
                "operationId": "get_admin_slot_spins",
                "tags": [
                    "Admin"
                ],
                "summary": "Slot spins",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    }
                },
                "security": [
                    {
                        "adminToken": []
                    }
                ]
            }
        },
        "/admin/staff": {
            "get": {
                "operationId": "get_admin_staff",
                "tags": [
                    "Admin"
                ],
                "summary": "Index",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    }
                },
                "security": [
                    {
                        "adminToken": []
                    }
                ]
            },
            "post": {
                "operationId": "post_admin_staff",
                "tags": [
                    "Admin"
                ],
                "summary": "Store",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    }
                },
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "name": {
                                        "type": "string",
                                        "maxLength": 80
                                    },
                                    "email": {
                                        "format": "email",
                                        "type": "string"
                                    },
                                    "password": {
                                        "type": "string",
                                        "minLength": 12
                                    },
                                    "role": {
                                        "enum": [
                                            "owner",
                                            "manager",
                                            "trader",
                                            "support",
                                            "mlro",
                                            "readonly"
                                        ],
                                        "type": "string"
                                    }
                                },
                                "required": [
                                    "name",
                                    "email",
                                    "password",
                                    "role"
                                ]
                            }
                        }
                    }
                },
                "security": [
                    {
                        "adminToken": []
                    }
                ]
            }
        },
        "/admin/staff/{adminUser}": {
            "put": {
                "operationId": "put_admin_staff_adminUser",
                "tags": [
                    "Admin"
                ],
                "summary": "Update",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    },
                    {
                        "name": "adminUser",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    }
                },
                "requestBody": {
                    "required": false,
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "name": {
                                        "type": "string",
                                        "maxLength": 80
                                    },
                                    "role": {
                                        "enum": [
                                            "owner",
                                            "manager",
                                            "trader",
                                            "support",
                                            "mlro",
                                            "readonly"
                                        ],
                                        "type": "string"
                                    },
                                    "is_active": {
                                        "type": "boolean"
                                    },
                                    "password": {
                                        "type": "string",
                                        "minLength": 12
                                    }
                                }
                            }
                        }
                    }
                },
                "security": [
                    {
                        "adminToken": []
                    }
                ]
            },
            "delete": {
                "operationId": "delete_admin_staff_adminUser",
                "tags": [
                    "Admin"
                ],
                "summary": "Destroy",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    },
                    {
                        "name": "adminUser",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    }
                },
                "security": [
                    {
                        "adminToken": []
                    }
                ]
            }
        },
        "/admin/stats": {
            "get": {
                "operationId": "get_admin_stats",
                "tags": [
                    "Admin"
                ],
                "summary": "Stats",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    }
                },
                "security": [
                    {
                        "adminToken": []
                    }
                ]
            }
        },
        "/admin/tenants": {
            "get": {
                "operationId": "get_admin_tenants",
                "tags": [
                    "Admin"
                ],
                "summary": "Tenants",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    }
                },
                "security": [
                    {
                        "adminToken": []
                    }
                ]
            },
            "post": {
                "operationId": "post_admin_tenants",
                "tags": [
                    "Admin"
                ],
                "summary": "Save tenant",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    }
                },
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "name": {
                                        "type": "string",
                                        "maxLength": 120
                                    },
                                    "slug": {
                                        "maxLength": 60,
                                        "type": "string"
                                    },
                                    "domain": {
                                        "type": [
                                            "string",
                                            "null"
                                        ],
                                        "maxLength": 120
                                    },
                                    "currency": {
                                        "type": [
                                            "string",
                                            "null"
                                        ]
                                    },
                                    "primary_color": {
                                        "type": [
                                            "string",
                                            "null"
                                        ],
                                        "maxLength": 20
                                    },
                                    "logo_url": {
                                        "format": "uri",
                                        "type": [
                                            "string",
                                            "null"
                                        ]
                                    },
                                    "is_active": {
                                        "type": "boolean"
                                    },
                                    "config": {
                                        "type": [
                                            "array",
                                            "object"
                                        ]
                                    }
                                },
                                "required": [
                                    "name",
                                    "slug"
                                ]
                            }
                        }
                    }
                },
                "security": [
                    {
                        "adminToken": []
                    }
                ]
            }
        },
        "/admin/tenants/{tenant}": {
            "put": {
                "operationId": "put_admin_tenants_tenant",
                "tags": [
                    "Admin"
                ],
                "summary": "Save tenant",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    },
                    {
                        "name": "tenant",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    }
                },
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "name": {
                                        "type": "string",
                                        "maxLength": 120
                                    },
                                    "slug": {
                                        "maxLength": 60,
                                        "type": "string"
                                    },
                                    "domain": {
                                        "type": [
                                            "string",
                                            "null"
                                        ],
                                        "maxLength": 120
                                    },
                                    "currency": {
                                        "type": [
                                            "string",
                                            "null"
                                        ]
                                    },
                                    "primary_color": {
                                        "type": [
                                            "string",
                                            "null"
                                        ],
                                        "maxLength": 20
                                    },
                                    "logo_url": {
                                        "format": "uri",
                                        "type": [
                                            "string",
                                            "null"
                                        ]
                                    },
                                    "is_active": {
                                        "type": "boolean"
                                    },
                                    "config": {
                                        "type": [
                                            "array",
                                            "object"
                                        ]
                                    }
                                },
                                "required": [
                                    "name",
                                    "slug"
                                ]
                            }
                        }
                    }
                },
                "security": [
                    {
                        "adminToken": []
                    }
                ]
            }
        },
        "/admin/tenants/{tenant}/affordability-config": {
            "put": {
                "operationId": "put_admin_tenants_tenant_affordability_config",
                "tags": [
                    "Admin"
                ],
                "summary": "Set tenant affordability config",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    },
                    {
                        "name": "tenant",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    }
                },
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "threshold_pennies": {
                                        "type": "integer",
                                        "minimum": 1
                                    },
                                    "window_days": {
                                        "type": "integer",
                                        "minimum": 1,
                                        "maximum": 365
                                    }
                                },
                                "required": [
                                    "threshold_pennies",
                                    "window_days"
                                ]
                            }
                        }
                    }
                },
                "security": [
                    {
                        "adminToken": []
                    }
                ]
            }
        },
        "/admin/tenants/{tenant}/billing": {
            "put": {
                "operationId": "put_admin_tenants_tenant_billing",
                "tags": [
                    "Admin"
                ],
                "summary": "Set tenant billing",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    },
                    {
                        "name": "tenant",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    }
                },
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "billing_plan_id": {
                                        "type": [
                                            "string",
                                            "null"
                                        ]
                                    },
                                    "billing_status": {
                                        "enum": [
                                            "trial",
                                            "active",
                                            "suspended",
                                            "cancelled"
                                        ],
                                        "type": "string"
                                    }
                                },
                                "required": [
                                    "billing_status"
                                ]
                            }
                        }
                    }
                },
                "security": [
                    {
                        "adminToken": []
                    }
                ]
            }
        },
        "/admin/tenants/{tenant}/currencies": {
            "put": {
                "operationId": "put_admin_tenants_tenant_currencies",
                "tags": [
                    "Admin"
                ],
                "summary": "Set tenant currencies",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    },
                    {
                        "name": "tenant",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    }
                },
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "supported_currencies": {
                                        "type": "array",
                                        "items": {
                                            "type": "string"
                                        },
                                        "minItems": 1
                                    }
                                },
                                "required": [
                                    "supported_currencies"
                                ]
                            }
                        }
                    }
                },
                "security": [
                    {
                        "adminToken": []
                    }
                ]
            }
        },
        "/admin/tenants/{tenant}/loyalty-config": {
            "put": {
                "operationId": "put_admin_tenants_tenant_loyalty_config",
                "tags": [
                    "Admin"
                ],
                "summary": "Set tenant loyalty config",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    },
                    {
                        "name": "tenant",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    }
                },
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "tiers": {
                                        "type": [
                                            "array",
                                            "object"
                                        ]
                                    },
                                    "points_per_pound": {
                                        "type": "integer",
                                        "minimum": 1
                                    },
                                    "redeem_points_per_pound": {
                                        "type": "integer",
                                        "minimum": 1
                                    }
                                },
                                "required": [
                                    "tiers",
                                    "points_per_pound",
                                    "redeem_points_per_pound"
                                ]
                            }
                        }
                    }
                },
                "security": [
                    {
                        "adminToken": []
                    }
                ]
            }
        },
        "/admin/tenants/{tenant}/payment-credentials": {
            "put": {
                "operationId": "put_admin_tenants_tenant_payment_credentials",
                "tags": [
                    "Admin"
                ],
                "summary": "Set tenant payment credentials",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    },
                    {
                        "name": "tenant",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    }
                },
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "driver": {
                                        "type": "string"
                                    },
                                    "is_active": {
                                        "type": "boolean"
                                    },
                                    "credentials": {
                                        "type": [
                                            "array",
                                            "object"
                                        ]
                                    }
                                },
                                "required": [
                                    "driver",
                                    "is_active",
                                    "credentials"
                                ]
                            }
                        }
                    }
                },
                "security": [
                    {
                        "adminToken": []
                    }
                ]
            }
        },
        "/admin/tenants/{tenant}/provision": {
            "post": {
                "operationId": "post_admin_tenants_tenant_provision",
                "tags": [
                    "Admin"
                ],
                "summary": "Provision tenant",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    },
                    {
                        "name": "tenant",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    }
                },
                "security": [
                    {
                        "adminToken": []
                    }
                ]
            }
        },
        "/admin/tenants/{tenant}/reality-check-config": {
            "put": {
                "operationId": "put_admin_tenants_tenant_reality_check_config",
                "tags": [
                    "Admin"
                ],
                "summary": "Set tenant reality check policy",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    },
                    {
                        "name": "tenant",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    }
                },
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "max_interval_minutes": {
                                        "type": "integer",
                                        "minimum": 15,
                                        "maximum": 180
                                    },
                                    "force_enabled": {
                                        "type": "boolean"
                                    }
                                },
                                "required": [
                                    "max_interval_minutes",
                                    "force_enabled"
                                ]
                            }
                        }
                    }
                },
                "security": [
                    {
                        "adminToken": []
                    }
                ]
            }
        },
        "/admin/tenants/{tenant}/risk-config": {
            "put": {
                "operationId": "put_admin_tenants_tenant_risk_config",
                "tags": [
                    "Admin"
                ],
                "summary": "Set tenant risk config",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    },
                    {
                        "name": "tenant",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    }
                },
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "rapid_deposits_trigger_count": {
                                        "type": "integer",
                                        "minimum": 1
                                    },
                                    "rapid_deposits_weight": {
                                        "type": "integer",
                                        "minimum": 0
                                    },
                                    "heavy_net_loss_trigger_pennies": {
                                        "type": "integer",
                                        "minimum": 1
                                    },
                                    "heavy_net_loss_weight": {
                                        "type": "integer",
                                        "minimum": 0
                                    },
                                    "chasing_losses_weight": {
                                        "type": "integer",
                                        "minimum": 0
                                    },
                                    "late_night_weight": {
                                        "type": "integer",
                                        "minimum": 0
                                    },
                                    "medium_score_threshold": {
                                        "type": "integer",
                                        "minimum": 0
                                    },
                                    "high_score_threshold": {
                                        "type": "integer"
                                    }
                                },
                                "required": [
                                    "rapid_deposits_trigger_count",
                                    "rapid_deposits_weight",
                                    "heavy_net_loss_trigger_pennies",
                                    "heavy_net_loss_weight",
                                    "chasing_losses_weight",
                                    "late_night_weight",
                                    "medium_score_threshold",
                                    "high_score_threshold"
                                ]
                            }
                        }
                    }
                },
                "security": [
                    {
                        "adminToken": []
                    }
                ]
            }
        },
        "/admin/tenants/{tenant}/security": {
            "put": {
                "operationId": "put_admin_tenants_tenant_security",
                "tags": [
                    "Admin"
                ],
                "summary": "Tenant security",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    },
                    {
                        "name": "tenant",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    }
                },
                "requestBody": {
                    "required": false,
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "require_player_2fa": {
                                        "type": "boolean"
                                    },
                                    "require_staff_2fa": {
                                        "type": "boolean"
                                    }
                                }
                            }
                        }
                    }
                },
                "security": [
                    {
                        "adminToken": []
                    }
                ]
            }
        },
        "/admin/tenants/{tenant}/trading-config": {
            "put": {
                "operationId": "put_admin_tenants_tenant_trading_config",
                "tags": [
                    "Admin"
                ],
                "summary": "Set tenant trading config",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    },
                    {
                        "name": "tenant",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    }
                },
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "max_stake": {
                                        "type": "integer",
                                        "minimum": 1
                                    },
                                    "max_payout": {
                                        "type": "integer",
                                        "minimum": 1
                                    },
                                    "liability_cap": {
                                        "type": "integer",
                                        "minimum": 1
                                    },
                                    "cashout_margin": {
                                        "type": "number",
                                        "minimum": 0,
                                        "maximum": 0.5
                                    },
                                    "sgm_margin": {
                                        "type": "number",
                                        "minimum": 0,
                                        "maximum": 0.5
                                    }
                                },
                                "required": [
                                    "max_stake",
                                    "max_payout",
                                    "liability_cap",
                                    "cashout_margin",
                                    "sgm_margin"
                                ]
                            }
                        }
                    }
                },
                "security": [
                    {
                        "adminToken": []
                    }
                ]
            }
        },
        "/admin/tournaments": {
            "get": {
                "operationId": "get_admin_tournaments",
                "tags": [
                    "Admin"
                ],
                "summary": "Tournaments",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    }
                },
                "security": [
                    {
                        "adminToken": []
                    }
                ]
            },
            "post": {
                "operationId": "post_admin_tournaments",
                "tags": [
                    "Admin"
                ],
                "summary": "Create tournament",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    }
                },
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "name": {
                                        "type": "string",
                                        "maxLength": 120
                                    },
                                    "category": {
                                        "type": [
                                            "string",
                                            "null"
                                        ],
                                        "maxLength": 40
                                    },
                                    "metric": {
                                        "enum": [
                                            "points",
                                            "spins",
                                            "turnover",
                                            "winnings"
                                        ],
                                        "type": [
                                            "string",
                                            "null"
                                        ]
                                    },
                                    "buy_in": {
                                        "type": [
                                            "integer",
                                            "null"
                                        ],
                                        "minimum": 0
                                    },
                                    "prize_pool": {
                                        "type": [
                                            "integer",
                                            "null"
                                        ],
                                        "minimum": 0
                                    },
                                    "payout_split": {
                                        "type": "array",
                                        "items": {
                                            "type": "integer",
                                            "minimum": 0,
                                            "maximum": 100
                                        },
                                        "maxItems": 50
                                    },
                                    "starts_at": {
                                        "format": "date-time",
                                        "type": "string"
                                    },
                                    "ends_at": {
                                        "format": "date-time",
                                        "type": "string"
                                    }
                                },
                                "required": [
                                    "name",
                                    "starts_at",
                                    "ends_at"
                                ]
                            }
                        }
                    }
                },
                "security": [
                    {
                        "adminToken": []
                    }
                ]
            }
        },
        "/admin/tournaments/{tournament}/finalize": {
            "post": {
                "operationId": "post_admin_tournaments_tournament_finalize",
                "tags": [
                    "Admin"
                ],
                "summary": "Finalize tournament",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    },
                    {
                        "name": "tournament",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    }
                },
                "security": [
                    {
                        "adminToken": []
                    }
                ]
            }
        },
        "/admin/trading/sweep": {
            "post": {
                "operationId": "post_admin_trading_sweep",
                "tags": [
                    "Admin"
                ],
                "summary": "Trading sweep",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    }
                },
                "security": [
                    {
                        "adminToken": []
                    }
                ]
            }
        },
        "/admin/webhooks": {
            "get": {
                "operationId": "get_admin_webhooks",
                "tags": [
                    "Admin"
                ],
                "summary": "Webhooks",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    }
                },
                "security": [
                    {
                        "adminToken": []
                    }
                ]
            },
            "post": {
                "operationId": "post_admin_webhooks",
                "tags": [
                    "Admin"
                ],
                "summary": "Save webhook",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    }
                },
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "url": {
                                        "format": "uri",
                                        "maxLength": 255,
                                        "type": "string"
                                    },
                                    "events": {
                                        "type": "array",
                                        "items": {
                                            "type": "string",
                                            "enum": [
                                                "bet.settled",
                                                "big_win",
                                                "deposit",
                                                "withdrawal.approve"
                                            ]
                                        },
                                        "minItems": 1
                                    },
                                    "secret": {
                                        "type": [
                                            "string",
                                            "null"
                                        ],
                                        "maxLength": 80
                                    },
                                    "is_active": {
                                        "type": "boolean"
                                    }
                                },
                                "required": [
                                    "url",
                                    "events"
                                ]
                            }
                        }
                    }
                },
                "security": [
                    {
                        "adminToken": []
                    }
                ]
            }
        },
        "/admin/webhooks/{webhook}": {
            "put": {
                "operationId": "put_admin_webhooks_webhook",
                "tags": [
                    "Admin"
                ],
                "summary": "Save webhook",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    },
                    {
                        "name": "webhook",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    }
                },
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "url": {
                                        "format": "uri",
                                        "maxLength": 255,
                                        "type": "string"
                                    },
                                    "events": {
                                        "type": "array",
                                        "items": {
                                            "type": "string",
                                            "enum": [
                                                "bet.settled",
                                                "big_win",
                                                "deposit",
                                                "withdrawal.approve"
                                            ]
                                        },
                                        "minItems": 1
                                    },
                                    "secret": {
                                        "type": [
                                            "string",
                                            "null"
                                        ],
                                        "maxLength": 80
                                    },
                                    "is_active": {
                                        "type": "boolean"
                                    }
                                },
                                "required": [
                                    "url",
                                    "events"
                                ]
                            }
                        }
                    }
                },
                "security": [
                    {
                        "adminToken": []
                    }
                ]
            },
            "delete": {
                "operationId": "delete_admin_webhooks_webhook",
                "tags": [
                    "Admin"
                ],
                "summary": "Delete webhook",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    },
                    {
                        "name": "webhook",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    }
                },
                "security": [
                    {
                        "adminToken": []
                    }
                ]
            }
        },
        "/admin/withdrawals": {
            "get": {
                "operationId": "get_admin_withdrawals",
                "tags": [
                    "Admin"
                ],
                "summary": "Withdrawals",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    }
                },
                "security": [
                    {
                        "adminToken": []
                    }
                ]
            }
        },
        "/admin/withdrawals/{withdrawal}/process": {
            "post": {
                "operationId": "post_admin_withdrawals_withdrawal_process",
                "tags": [
                    "Admin"
                ],
                "summary": "Process withdrawal",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    },
                    {
                        "name": "withdrawal",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    }
                },
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "action": {
                                        "enum": [
                                            "approve",
                                            "reject"
                                        ],
                                        "type": "string"
                                    },
                                    "note": {
                                        "type": [
                                            "string",
                                            "null"
                                        ],
                                        "maxLength": 200
                                    }
                                },
                                "required": [
                                    "action"
                                ]
                            }
                        }
                    }
                },
                "security": [
                    {
                        "adminToken": []
                    }
                ]
            }
        },
        "/affiliates/track": {
            "post": {
                "operationId": "post_affiliates_track",
                "tags": [
                    "Affiliates"
                ],
                "summary": "Track",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    }
                },
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "ref": {
                                        "type": "string",
                                        "maxLength": 40
                                    },
                                    "landing_page": {
                                        "type": [
                                            "string",
                                            "null"
                                        ],
                                        "maxLength": 255
                                    },
                                    "campaign": {
                                        "type": [
                                            "string",
                                            "null"
                                        ],
                                        "maxLength": 120
                                    }
                                },
                                "required": [
                                    "ref"
                                ]
                            }
                        }
                    }
                }
            }
        },
        "/auth/login": {
            "post": {
                "operationId": "post_auth_login",
                "tags": [
                    "Auth"
                ],
                "summary": "Login",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    }
                },
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "email": {
                                        "format": "email",
                                        "type": "string"
                                    },
                                    "password": {
                                        "type": "string"
                                    },
                                    "code": {
                                        "type": [
                                            "string",
                                            "null"
                                        ]
                                    }
                                },
                                "required": [
                                    "email",
                                    "password"
                                ]
                            }
                        }
                    }
                }
            }
        },
        "/auth/logout": {
            "post": {
                "operationId": "post_auth_logout",
                "tags": [
                    "Auth"
                ],
                "summary": "Logout",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    },
                    "401": {
                        "description": "Unauthenticated"
                    }
                },
                "security": [
                    {
                        "bearerAuth": []
                    }
                ]
            }
        },
        "/auth/me": {
            "get": {
                "operationId": "get_auth_me",
                "tags": [
                    "Auth"
                ],
                "summary": "Me",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    },
                    "401": {
                        "description": "Unauthenticated"
                    }
                },
                "security": [
                    {
                        "bearerAuth": []
                    }
                ]
            }
        },
        "/auth/register": {
            "post": {
                "operationId": "post_auth_register",
                "tags": [
                    "Auth"
                ],
                "summary": "Register",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    }
                },
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "email": {
                                        "format": "email",
                                        "type": "string"
                                    },
                                    "password": {
                                        "type": "string",
                                        "minLength": 8
                                    },
                                    "display_name": {
                                        "type": [
                                            "string",
                                            "null"
                                        ],
                                        "maxLength": 60
                                    },
                                    "date_of_birth": {
                                        "format": "date-time",
                                        "type": "string"
                                    },
                                    "ref": {
                                        "type": [
                                            "string",
                                            "null"
                                        ],
                                        "maxLength": 40
                                    },
                                    "campaign": {
                                        "type": [
                                            "string",
                                            "null"
                                        ],
                                        "maxLength": 120
                                    },
                                    "referral_code": {
                                        "type": [
                                            "string",
                                            "null"
                                        ],
                                        "maxLength": 40
                                    },
                                    "currency": {
                                        "type": [
                                            "string",
                                            "null"
                                        ]
                                    }
                                },
                                "required": [
                                    "email",
                                    "password",
                                    "date_of_birth"
                                ]
                            }
                        }
                    }
                }
            }
        },
        "/auth/{provider}/callback": {
            "get": {
                "operationId": "get_auth_provider_callback",
                "tags": [
                    "Auth"
                ],
                "summary": "Social callback",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    },
                    {
                        "name": "provider",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    }
                }
            }
        },
        "/auth/{provider}/redirect": {
            "get": {
                "operationId": "get_auth_provider_redirect",
                "tags": [
                    "Auth"
                ],
                "summary": "Social redirect",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    },
                    {
                        "name": "provider",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    }
                }
            }
        },
        "/bonuses": {
            "get": {
                "operationId": "get_bonuses",
                "tags": [
                    "Account"
                ],
                "summary": "Index",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    },
                    "401": {
                        "description": "Unauthenticated"
                    }
                },
                "security": [
                    {
                        "bearerAuth": []
                    }
                ]
            }
        },
        "/bonuses/redeem": {
            "post": {
                "operationId": "post_bonuses_redeem",
                "tags": [
                    "Account"
                ],
                "summary": "Redeem",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    },
                    "401": {
                        "description": "Unauthenticated"
                    }
                },
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "code": {
                                        "type": "string",
                                        "maxLength": 40
                                    }
                                },
                                "required": [
                                    "code"
                                ]
                            }
                        }
                    }
                },
                "security": [
                    {
                        "bearerAuth": []
                    }
                ]
            }
        },
        "/casino/games/{game}/andar-bahar/play": {
            "post": {
                "operationId": "post_casino_games_game_andar_bahar_play",
                "tags": [
                    "Casino"
                ],
                "summary": "Play",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    },
                    {
                        "name": "game",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    },
                    "401": {
                        "description": "Unauthenticated"
                    }
                },
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "side": {
                                        "type": "string",
                                        "enum": [
                                            "andar",
                                            "bahar"
                                        ]
                                    },
                                    "stake": {
                                        "type": "integer"
                                    },
                                    "client_seed": {
                                        "type": [
                                            "string",
                                            "null"
                                        ],
                                        "maxLength": 64
                                    },
                                    "nonce": {
                                        "type": [
                                            "integer",
                                            "null"
                                        ],
                                        "minimum": 0
                                    }
                                },
                                "required": [
                                    "side",
                                    "stake"
                                ]
                            }
                        }
                    }
                },
                "security": [
                    {
                        "bearerAuth": []
                    }
                ]
            }
        },
        "/casino/games/{game}/baccarat/play": {
            "post": {
                "operationId": "post_casino_games_game_baccarat_play",
                "tags": [
                    "Casino"
                ],
                "summary": "Play",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    },
                    {
                        "name": "game",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    },
                    "401": {
                        "description": "Unauthenticated"
                    }
                },
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "bets": {
                                        "type": "array",
                                        "items": {
                                            "type": "object",
                                            "properties": {
                                                "type": {
                                                    "type": "string",
                                                    "enum": [
                                                        "player",
                                                        "banker",
                                                        "tie"
                                                    ]
                                                },
                                                "stake": {
                                                    "type": "integer",
                                                    "minimum": 1
                                                }
                                            },
                                            "required": [
                                                "type",
                                                "stake"
                                            ]
                                        },
                                        "minItems": 1,
                                        "maxItems": 20
                                    },
                                    "client_seed": {
                                        "type": [
                                            "string",
                                            "null"
                                        ],
                                        "maxLength": 64
                                    },
                                    "nonce": {
                                        "type": [
                                            "integer",
                                            "null"
                                        ],
                                        "minimum": 0
                                    }
                                },
                                "required": [
                                    "bets"
                                ]
                            }
                        }
                    }
                },
                "security": [
                    {
                        "bearerAuth": []
                    }
                ]
            }
        },
        "/casino/games/{game}/bingo/play": {
            "post": {
                "operationId": "post_casino_games_game_bingo_play",
                "tags": [
                    "Casino"
                ],
                "summary": "Play",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    },
                    {
                        "name": "game",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    },
                    "401": {
                        "description": "Unauthenticated"
                    }
                },
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "tickets": {
                                        "type": "integer",
                                        "minimum": 1,
                                        "maximum": 4
                                    },
                                    "stake": {
                                        "type": "integer"
                                    },
                                    "client_seed": {
                                        "type": [
                                            "string",
                                            "null"
                                        ],
                                        "maxLength": 64
                                    },
                                    "nonce": {
                                        "type": [
                                            "integer",
                                            "null"
                                        ],
                                        "minimum": 0
                                    }
                                },
                                "required": [
                                    "tickets",
                                    "stake"
                                ]
                            }
                        }
                    }
                },
                "security": [
                    {
                        "bearerAuth": []
                    }
                ]
            }
        },
        "/casino/games/{game}/blackjack/double": {
            "post": {
                "operationId": "post_casino_games_game_blackjack_double",
                "tags": [
                    "Casino"
                ],
                "summary": "Double",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    },
                    {
                        "name": "game",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    },
                    "401": {
                        "description": "Unauthenticated"
                    }
                },
                "security": [
                    {
                        "bearerAuth": []
                    }
                ]
            }
        },
        "/casino/games/{game}/blackjack/hit": {
            "post": {
                "operationId": "post_casino_games_game_blackjack_hit",
                "tags": [
                    "Casino"
                ],
                "summary": "Hit",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    },
                    {
                        "name": "game",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    },
                    "401": {
                        "description": "Unauthenticated"
                    }
                },
                "security": [
                    {
                        "bearerAuth": []
                    }
                ]
            }
        },
        "/casino/games/{game}/blackjack/insurance": {
            "post": {
                "operationId": "post_casino_games_game_blackjack_insurance",
                "tags": [
                    "Casino"
                ],
                "summary": "Insurance",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    },
                    {
                        "name": "game",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    },
                    "401": {
                        "description": "Unauthenticated"
                    }
                },
                "security": [
                    {
                        "bearerAuth": []
                    }
                ]
            }
        },
        "/casino/games/{game}/blackjack/split": {
            "post": {
                "operationId": "post_casino_games_game_blackjack_split",
                "tags": [
                    "Casino"
                ],
                "summary": "Split",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    },
                    {
                        "name": "game",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    },
                    "401": {
                        "description": "Unauthenticated"
                    }
                },
                "security": [
                    {
                        "bearerAuth": []
                    }
                ]
            }
        },
        "/casino/games/{game}/blackjack/stand": {
            "post": {
                "operationId": "post_casino_games_game_blackjack_stand",
                "tags": [
                    "Casino"
                ],
                "summary": "Stand",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    },
                    {
                        "name": "game",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    },
                    "401": {
                        "description": "Unauthenticated"
                    }
                },
                "security": [
                    {
                        "bearerAuth": []
                    }
                ]
            }
        },
        "/casino/games/{game}/blackjack/start": {
            "post": {
                "operationId": "post_casino_games_game_blackjack_start",
                "tags": [
                    "Casino"
                ],
                "summary": "Start",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    },
                    {
                        "name": "game",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    },
                    "401": {
                        "description": "Unauthenticated"
                    }
                },
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "stake": {
                                        "type": "integer"
                                    },
                                    "client_seed": {
                                        "type": [
                                            "string",
                                            "null"
                                        ],
                                        "maxLength": 64
                                    },
                                    "nonce": {
                                        "type": [
                                            "integer",
                                            "null"
                                        ],
                                        "minimum": 0
                                    }
                                },
                                "required": [
                                    "stake"
                                ]
                            }
                        }
                    }
                },
                "security": [
                    {
                        "bearerAuth": []
                    }
                ]
            }
        },
        "/casino/games/{game}/blackjack/surrender": {
            "post": {
                "operationId": "post_casino_games_game_blackjack_surrender",
                "tags": [
                    "Casino"
                ],
                "summary": "Surrender",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    },
                    {
                        "name": "game",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    },
                    "401": {
                        "description": "Unauthenticated"
                    }
                },
                "security": [
                    {
                        "bearerAuth": []
                    }
                ]
            }
        },
        "/casino/games/{game}/caribbean-stud/ante": {
            "post": {
                "operationId": "post_casino_games_game_caribbean_stud_ante",
                "tags": [
                    "Casino"
                ],
                "summary": "Ante",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    },
                    {
                        "name": "game",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    },
                    "401": {
                        "description": "Unauthenticated"
                    }
                },
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "stake": {
                                        "type": "integer"
                                    },
                                    "client_seed": {
                                        "type": [
                                            "string",
                                            "null"
                                        ],
                                        "maxLength": 64
                                    },
                                    "nonce": {
                                        "type": [
                                            "integer",
                                            "null"
                                        ],
                                        "minimum": 0
                                    }
                                },
                                "required": [
                                    "stake"
                                ]
                            }
                        }
                    }
                },
                "security": [
                    {
                        "bearerAuth": []
                    }
                ]
            }
        },
        "/casino/games/{game}/caribbean-stud/bet": {
            "post": {
                "operationId": "post_casino_games_game_caribbean_stud_bet",
                "tags": [
                    "Casino"
                ],
                "summary": "Bet",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    },
                    {
                        "name": "game",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    },
                    "401": {
                        "description": "Unauthenticated"
                    }
                },
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "round_id": {
                                        "type": "integer"
                                    }
                                },
                                "required": [
                                    "round_id"
                                ]
                            }
                        }
                    }
                },
                "security": [
                    {
                        "bearerAuth": []
                    }
                ]
            }
        },
        "/casino/games/{game}/caribbean-stud/fold": {
            "post": {
                "operationId": "post_casino_games_game_caribbean_stud_fold",
                "tags": [
                    "Casino"
                ],
                "summary": "Fold",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    },
                    {
                        "name": "game",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    },
                    "401": {
                        "description": "Unauthenticated"
                    }
                },
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "round_id": {
                                        "type": "integer"
                                    }
                                },
                                "required": [
                                    "round_id"
                                ]
                            }
                        }
                    }
                },
                "security": [
                    {
                        "bearerAuth": []
                    }
                ]
            }
        },
        "/casino/games/{game}/chinchon/discard": {
            "post": {
                "operationId": "post_casino_games_game_chinchon_discard",
                "tags": [
                    "Casino"
                ],
                "summary": "Discard",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    },
                    {
                        "name": "game",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    },
                    "401": {
                        "description": "Unauthenticated"
                    }
                },
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "round_id": {
                                        "type": "integer"
                                    },
                                    "card_index": {
                                        "type": "integer",
                                        "minimum": 0,
                                        "maximum": 41
                                    },
                                    "close": {
                                        "type": [
                                            "boolean",
                                            "null"
                                        ]
                                    }
                                },
                                "required": [
                                    "round_id",
                                    "card_index"
                                ]
                            }
                        }
                    }
                },
                "security": [
                    {
                        "bearerAuth": []
                    }
                ]
            }
        },
        "/casino/games/{game}/chinchon/draw": {
            "post": {
                "operationId": "post_casino_games_game_chinchon_draw",
                "tags": [
                    "Casino"
                ],
                "summary": "Draw",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    },
                    {
                        "name": "game",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    },
                    "401": {
                        "description": "Unauthenticated"
                    }
                },
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "round_id": {
                                        "type": "integer"
                                    },
                                    "source": {
                                        "type": "string",
                                        "enum": [
                                            "stock",
                                            "discard"
                                        ]
                                    }
                                },
                                "required": [
                                    "round_id",
                                    "source"
                                ]
                            }
                        }
                    }
                },
                "security": [
                    {
                        "bearerAuth": []
                    }
                ]
            }
        },
        "/casino/games/{game}/chinchon/pvp/tables": {
            "get": {
                "operationId": "get_casino_games_game_chinchon_pvp_tables",
                "tags": [
                    "Casino"
                ],
                "summary": "Lobby",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    },
                    {
                        "name": "game",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    },
                    "401": {
                        "description": "Unauthenticated"
                    }
                },
                "security": [
                    {
                        "bearerAuth": []
                    }
                ]
            },
            "post": {
                "operationId": "post_casino_games_game_chinchon_pvp_tables",
                "tags": [
                    "Casino"
                ],
                "summary": "Open",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    },
                    {
                        "name": "game",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    },
                    "401": {
                        "description": "Unauthenticated"
                    }
                },
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "stake": {
                                        "type": "integer"
                                    },
                                    "client_seed": {
                                        "type": [
                                            "string",
                                            "null"
                                        ],
                                        "maxLength": 64
                                    }
                                },
                                "required": [
                                    "stake"
                                ]
                            }
                        }
                    }
                },
                "security": [
                    {
                        "bearerAuth": []
                    }
                ]
            }
        },
        "/casino/games/{game}/chinchon/pvp/tables/{table}": {
            "get": {
                "operationId": "get_casino_games_game_chinchon_pvp_tables_table",
                "tags": [
                    "Casino"
                ],
                "summary": "Show",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    },
                    {
                        "name": "game",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "table",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    },
                    "401": {
                        "description": "Unauthenticated"
                    }
                },
                "security": [
                    {
                        "bearerAuth": []
                    }
                ]
            }
        },
        "/casino/games/{game}/chinchon/pvp/tables/{table}/claim": {
            "post": {
                "operationId": "post_casino_games_game_chinchon_pvp_tables_table_claim",
                "tags": [
                    "Casino"
                ],
                "summary": "Claim",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    },
                    {
                        "name": "game",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "table",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    },
                    "401": {
                        "description": "Unauthenticated"
                    }
                },
                "security": [
                    {
                        "bearerAuth": []
                    }
                ]
            }
        },
        "/casino/games/{game}/chinchon/pvp/tables/{table}/discard": {
            "post": {
                "operationId": "post_casino_games_game_chinchon_pvp_tables_table_discard",
                "tags": [
                    "Casino"
                ],
                "summary": "Discard",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    },
                    {
                        "name": "game",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "table",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    },
                    "401": {
                        "description": "Unauthenticated"
                    }
                },
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "card_index": {
                                        "type": "integer",
                                        "minimum": 0,
                                        "maximum": 41
                                    },
                                    "close": {
                                        "type": [
                                            "boolean",
                                            "null"
                                        ]
                                    }
                                },
                                "required": [
                                    "card_index"
                                ]
                            }
                        }
                    }
                },
                "security": [
                    {
                        "bearerAuth": []
                    }
                ]
            }
        },
        "/casino/games/{game}/chinchon/pvp/tables/{table}/draw": {
            "post": {
                "operationId": "post_casino_games_game_chinchon_pvp_tables_table_draw",
                "tags": [
                    "Casino"
                ],
                "summary": "Draw",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    },
                    {
                        "name": "game",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "table",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    },
                    "401": {
                        "description": "Unauthenticated"
                    }
                },
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "source": {
                                        "type": "string",
                                        "enum": [
                                            "stock",
                                            "discard"
                                        ]
                                    }
                                },
                                "required": [
                                    "source"
                                ]
                            }
                        }
                    }
                },
                "security": [
                    {
                        "bearerAuth": []
                    }
                ]
            }
        },
        "/casino/games/{game}/chinchon/pvp/tables/{table}/join": {
            "post": {
                "operationId": "post_casino_games_game_chinchon_pvp_tables_table_join",
                "tags": [
                    "Casino"
                ],
                "summary": "Join",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    },
                    {
                        "name": "game",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "table",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    },
                    "401": {
                        "description": "Unauthenticated"
                    }
                },
                "requestBody": {
                    "required": false,
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "client_seed": {
                                        "type": [
                                            "string",
                                            "null"
                                        ],
                                        "maxLength": 64
                                    },
                                    "stake": {
                                        "type": [
                                            "integer",
                                            "null"
                                        ]
                                    }
                                }
                            }
                        }
                    }
                },
                "security": [
                    {
                        "bearerAuth": []
                    }
                ]
            }
        },
        "/casino/games/{game}/chinchon/start": {
            "post": {
                "operationId": "post_casino_games_game_chinchon_start",
                "tags": [
                    "Casino"
                ],
                "summary": "Start",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    },
                    {
                        "name": "game",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    },
                    "401": {
                        "description": "Unauthenticated"
                    }
                },
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "stake": {
                                        "type": "integer"
                                    },
                                    "client_seed": {
                                        "type": [
                                            "string",
                                            "null"
                                        ],
                                        "maxLength": 64
                                    },
                                    "nonce": {
                                        "type": [
                                            "integer",
                                            "null"
                                        ],
                                        "minimum": 0
                                    }
                                },
                                "required": [
                                    "stake"
                                ]
                            }
                        }
                    }
                },
                "security": [
                    {
                        "bearerAuth": []
                    }
                ]
            }
        },
        "/casino/games/{game}/coinflip/cashout": {
            "post": {
                "operationId": "post_casino_games_game_coinflip_cashout",
                "tags": [
                    "Casino"
                ],
                "summary": "Cashout",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    },
                    {
                        "name": "game",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    },
                    "401": {
                        "description": "Unauthenticated"
                    }
                },
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "round_id": {
                                        "type": "integer"
                                    }
                                },
                                "required": [
                                    "round_id"
                                ]
                            }
                        }
                    }
                },
                "security": [
                    {
                        "bearerAuth": []
                    }
                ]
            }
        },
        "/casino/games/{game}/coinflip/flip": {
            "post": {
                "operationId": "post_casino_games_game_coinflip_flip",
                "tags": [
                    "Casino"
                ],
                "summary": "Flip",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    },
                    {
                        "name": "game",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    },
                    "401": {
                        "description": "Unauthenticated"
                    }
                },
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "round_id": {
                                        "type": "integer"
                                    },
                                    "call": {
                                        "enum": [
                                            "heads",
                                            "tails"
                                        ],
                                        "type": "string"
                                    }
                                },
                                "required": [
                                    "round_id",
                                    "call"
                                ]
                            }
                        }
                    }
                },
                "security": [
                    {
                        "bearerAuth": []
                    }
                ]
            }
        },
        "/casino/games/{game}/coinflip/start": {
            "post": {
                "operationId": "post_casino_games_game_coinflip_start",
                "tags": [
                    "Casino"
                ],
                "summary": "Start",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    },
                    {
                        "name": "game",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    },
                    "401": {
                        "description": "Unauthenticated"
                    }
                },
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "stake": {
                                        "type": "integer"
                                    },
                                    "client_seed": {
                                        "type": [
                                            "string",
                                            "null"
                                        ],
                                        "maxLength": 64
                                    },
                                    "nonce": {
                                        "type": [
                                            "integer",
                                            "null"
                                        ],
                                        "minimum": 0
                                    }
                                },
                                "required": [
                                    "stake"
                                ]
                            }
                        }
                    }
                },
                "security": [
                    {
                        "bearerAuth": []
                    }
                ]
            }
        },
        "/casino/games/{game}/craps/roll": {
            "post": {
                "operationId": "post_casino_games_game_craps_roll",
                "tags": [
                    "Casino"
                ],
                "summary": "Roll",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    },
                    {
                        "name": "game",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    },
                    "401": {
                        "description": "Unauthenticated"
                    }
                },
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "round_id": {
                                        "type": "integer"
                                    }
                                },
                                "required": [
                                    "round_id"
                                ]
                            }
                        }
                    }
                },
                "security": [
                    {
                        "bearerAuth": []
                    }
                ]
            }
        },
        "/casino/games/{game}/craps/start": {
            "post": {
                "operationId": "post_casino_games_game_craps_start",
                "tags": [
                    "Casino"
                ],
                "summary": "Start",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    },
                    {
                        "name": "game",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    },
                    "401": {
                        "description": "Unauthenticated"
                    }
                },
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "stake": {
                                        "type": "integer"
                                    },
                                    "bet_type": {
                                        "type": "string",
                                        "enum": [
                                            "pass",
                                            "dont_pass"
                                        ]
                                    },
                                    "client_seed": {
                                        "type": [
                                            "string",
                                            "null"
                                        ],
                                        "maxLength": 64
                                    },
                                    "nonce": {
                                        "type": [
                                            "integer",
                                            "null"
                                        ],
                                        "minimum": 0
                                    }
                                },
                                "required": [
                                    "stake",
                                    "bet_type"
                                ]
                            }
                        }
                    }
                },
                "security": [
                    {
                        "bearerAuth": []
                    }
                ]
            }
        },
        "/casino/games/{game}/crash/cashout": {
            "post": {
                "operationId": "post_casino_games_game_crash_cashout",
                "tags": [
                    "Casino"
                ],
                "summary": "Cashout",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    },
                    {
                        "name": "game",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    },
                    "401": {
                        "description": "Unauthenticated"
                    }
                },
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "round_id": {
                                        "type": "integer"
                                    },
                                    "multiplier": {
                                        "type": "number",
                                        "minimum": 1
                                    }
                                },
                                "required": [
                                    "round_id",
                                    "multiplier"
                                ]
                            }
                        }
                    }
                },
                "security": [
                    {
                        "bearerAuth": []
                    }
                ]
            }
        },
        "/casino/games/{game}/crash/info": {
            "get": {
                "operationId": "get_casino_games_game_crash_info",
                "tags": [
                    "Casino"
                ],
                "summary": "Info",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    },
                    {
                        "name": "game",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    },
                    "401": {
                        "description": "Unauthenticated"
                    }
                },
                "security": [
                    {
                        "bearerAuth": []
                    }
                ]
            }
        },
        "/casino/games/{game}/crash/shared/bet": {
            "post": {
                "operationId": "post_casino_games_game_crash_shared_bet",
                "tags": [
                    "Casino"
                ],
                "summary": "Bet",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    },
                    {
                        "name": "game",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    },
                    "401": {
                        "description": "Unauthenticated"
                    }
                },
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "stake": {
                                        "type": "integer"
                                    },
                                    "auto_cashout": {
                                        "type": [
                                            "number",
                                            "null"
                                        ],
                                        "minimum": 1,
                                        "maximum": 1000
                                    }
                                },
                                "required": [
                                    "stake"
                                ]
                            }
                        }
                    }
                },
                "security": [
                    {
                        "bearerAuth": []
                    }
                ]
            }
        },
        "/casino/games/{game}/crash/shared/cashout": {
            "post": {
                "operationId": "post_casino_games_game_crash_shared_cashout",
                "tags": [
                    "Casino"
                ],
                "summary": "Cashout",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    },
                    {
                        "name": "game",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    },
                    "401": {
                        "description": "Unauthenticated"
                    }
                },
                "security": [
                    {
                        "bearerAuth": []
                    }
                ]
            }
        },
        "/casino/games/{game}/crash/shared/rounds/{round}": {
            "get": {
                "operationId": "get_casino_games_game_crash_shared_rounds_round",
                "tags": [
                    "Casino"
                ],
                "summary": "Round",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    },
                    {
                        "name": "game",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "round",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    },
                    "401": {
                        "description": "Unauthenticated"
                    }
                },
                "security": [
                    {
                        "bearerAuth": []
                    }
                ]
            }
        },
        "/casino/games/{game}/crash/shared/state": {
            "get": {
                "operationId": "get_casino_games_game_crash_shared_state",
                "tags": [
                    "Casino"
                ],
                "summary": "State",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    },
                    {
                        "name": "game",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    },
                    "401": {
                        "description": "Unauthenticated"
                    }
                },
                "security": [
                    {
                        "bearerAuth": []
                    }
                ]
            }
        },
        "/casino/games/{game}/crash/start": {
            "post": {
                "operationId": "post_casino_games_game_crash_start",
                "tags": [
                    "Casino"
                ],
                "summary": "Start",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    },
                    {
                        "name": "game",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    },
                    "401": {
                        "description": "Unauthenticated"
                    }
                },
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "stake": {
                                        "type": "integer"
                                    },
                                    "client_seed": {
                                        "type": [
                                            "string",
                                            "null"
                                        ],
                                        "maxLength": 64
                                    },
                                    "nonce": {
                                        "type": [
                                            "integer",
                                            "null"
                                        ],
                                        "minimum": 0
                                    }
                                },
                                "required": [
                                    "stake"
                                ]
                            }
                        }
                    }
                },
                "security": [
                    {
                        "bearerAuth": []
                    }
                ]
            }
        },
        "/casino/games/{game}/crash/{round}/state": {
            "get": {
                "operationId": "get_casino_games_game_crash_round_state",
                "tags": [
                    "Casino"
                ],
                "summary": "State",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    },
                    {
                        "name": "game",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "round",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    },
                    "401": {
                        "description": "Unauthenticated"
                    }
                },
                "security": [
                    {
                        "bearerAuth": []
                    }
                ]
            }
        },
        "/casino/games/{game}/crash/{round}/stream": {
            "get": {
                "operationId": "get_casino_games_game_crash_round_stream",
                "tags": [
                    "Casino"
                ],
                "summary": "Stream",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    },
                    {
                        "name": "game",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "round",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    }
                }
            }
        },
        "/casino/games/{game}/cricket/ball": {
            "post": {
                "operationId": "post_casino_games_game_cricket_ball",
                "tags": [
                    "Casino"
                ],
                "summary": "Ball",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    },
                    {
                        "name": "game",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    },
                    "401": {
                        "description": "Unauthenticated"
                    }
                },
                "security": [
                    {
                        "bearerAuth": []
                    }
                ]
            }
        },
        "/casino/games/{game}/cricket/declare": {
            "post": {
                "operationId": "post_casino_games_game_cricket_declare",
                "tags": [
                    "Casino"
                ],
                "summary": "Declare",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    },
                    {
                        "name": "game",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    },
                    "401": {
                        "description": "Unauthenticated"
                    }
                },
                "security": [
                    {
                        "bearerAuth": []
                    }
                ]
            }
        },
        "/casino/games/{game}/cricket/info": {
            "get": {
                "operationId": "get_casino_games_game_cricket_info",
                "tags": [
                    "Casino"
                ],
                "summary": "Info",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    },
                    {
                        "name": "game",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    },
                    "401": {
                        "description": "Unauthenticated"
                    }
                },
                "security": [
                    {
                        "bearerAuth": []
                    }
                ]
            }
        },
        "/casino/games/{game}/cricket/start": {
            "post": {
                "operationId": "post_casino_games_game_cricket_start",
                "tags": [
                    "Casino"
                ],
                "summary": "Start",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    },
                    {
                        "name": "game",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    },
                    "401": {
                        "description": "Unauthenticated"
                    }
                },
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "stake": {
                                        "type": "integer"
                                    },
                                    "tier": {
                                        "type": "string"
                                    },
                                    "client_seed": {
                                        "type": [
                                            "string",
                                            "null"
                                        ],
                                        "maxLength": 64
                                    },
                                    "nonce": {
                                        "type": [
                                            "integer",
                                            "null"
                                        ],
                                        "minimum": 0
                                    }
                                },
                                "required": [
                                    "stake",
                                    "tier"
                                ]
                            }
                        }
                    }
                },
                "security": [
                    {
                        "bearerAuth": []
                    }
                ]
            }
        },
        "/casino/games/{game}/dice/roll": {
            "post": {
                "operationId": "post_casino_games_game_dice_roll",
                "tags": [
                    "Casino"
                ],
                "summary": "Roll",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    },
                    {
                        "name": "game",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    },
                    "401": {
                        "description": "Unauthenticated"
                    }
                },
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "stake": {
                                        "type": "integer"
                                    },
                                    "target": {
                                        "type": "number",
                                        "minimum": 1,
                                        "maximum": 98
                                    },
                                    "direction": {
                                        "enum": [
                                            "over",
                                            "under"
                                        ],
                                        "type": "string"
                                    },
                                    "client_seed": {
                                        "type": [
                                            "string",
                                            "null"
                                        ],
                                        "maxLength": 64
                                    },
                                    "nonce": {
                                        "type": [
                                            "integer",
                                            "null"
                                        ],
                                        "minimum": 0
                                    }
                                },
                                "required": [
                                    "stake",
                                    "target",
                                    "direction"
                                ]
                            }
                        }
                    }
                },
                "security": [
                    {
                        "bearerAuth": []
                    }
                ]
            }
        },
        "/casino/games/{game}/dragon-tiger/play": {
            "post": {
                "operationId": "post_casino_games_game_dragon_tiger_play",
                "tags": [
                    "Casino"
                ],
                "summary": "Play",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    },
                    {
                        "name": "game",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    },
                    "401": {
                        "description": "Unauthenticated"
                    }
                },
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "bets": {
                                        "type": "array",
                                        "items": {
                                            "type": "object",
                                            "properties": {
                                                "type": {
                                                    "type": "string"
                                                },
                                                "stake": {
                                                    "type": "integer",
                                                    "minimum": 1
                                                }
                                            },
                                            "required": [
                                                "type",
                                                "stake"
                                            ]
                                        },
                                        "minItems": 1,
                                        "maxItems": 3
                                    },
                                    "client_seed": {
                                        "type": [
                                            "string",
                                            "null"
                                        ],
                                        "maxLength": 64
                                    },
                                    "nonce": {
                                        "type": [
                                            "integer",
                                            "null"
                                        ],
                                        "minimum": 0
                                    }
                                },
                                "required": [
                                    "bets"
                                ]
                            }
                        }
                    }
                },
                "security": [
                    {
                        "bearerAuth": []
                    }
                ]
            }
        },
        "/casino/games/{game}/dragon-tower/cashout": {
            "post": {
                "operationId": "post_casino_games_game_dragon_tower_cashout",
                "tags": [
                    "Casino"
                ],
                "summary": "Cashout",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    },
                    {
                        "name": "game",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    },
                    "401": {
                        "description": "Unauthenticated"
                    }
                },
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "round_id": {
                                        "type": "integer"
                                    }
                                },
                                "required": [
                                    "round_id"
                                ]
                            }
                        }
                    }
                },
                "security": [
                    {
                        "bearerAuth": []
                    }
                ]
            }
        },
        "/casino/games/{game}/dragon-tower/pick": {
            "post": {
                "operationId": "post_casino_games_game_dragon_tower_pick",
                "tags": [
                    "Casino"
                ],
                "summary": "Pick",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    },
                    {
                        "name": "game",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    },
                    "401": {
                        "description": "Unauthenticated"
                    }
                },
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "round_id": {
                                        "type": "integer"
                                    },
                                    "tile": {
                                        "type": "integer",
                                        "minimum": 0,
                                        "maximum": 3
                                    }
                                },
                                "required": [
                                    "round_id",
                                    "tile"
                                ]
                            }
                        }
                    }
                },
                "security": [
                    {
                        "bearerAuth": []
                    }
                ]
            }
        },
        "/casino/games/{game}/dragon-tower/start": {
            "post": {
                "operationId": "post_casino_games_game_dragon_tower_start",
                "tags": [
                    "Casino"
                ],
                "summary": "Start",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    },
                    {
                        "name": "game",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    },
                    "401": {
                        "description": "Unauthenticated"
                    }
                },
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "stake": {
                                        "type": "integer"
                                    },
                                    "difficulty": {
                                        "type": "string"
                                    },
                                    "client_seed": {
                                        "type": [
                                            "string",
                                            "null"
                                        ],
                                        "maxLength": 64
                                    },
                                    "nonce": {
                                        "type": [
                                            "integer",
                                            "null"
                                        ],
                                        "minimum": 0
                                    }
                                },
                                "required": [
                                    "stake",
                                    "difficulty"
                                ]
                            }
                        }
                    }
                },
                "security": [
                    {
                        "bearerAuth": []
                    }
                ]
            }
        },
        "/casino/games/{game}/favourite": {
            "post": {
                "operationId": "post_casino_games_game_favourite",
                "tags": [
                    "Casino"
                ],
                "summary": "Favourite",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    },
                    {
                        "name": "game",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    },
                    "401": {
                        "description": "Unauthenticated"
                    }
                },
                "security": [
                    {
                        "bearerAuth": []
                    }
                ]
            }
        },
        "/casino/games/{game}/five-reel/free-spin": {
            "post": {
                "operationId": "post_casino_games_game_five_reel_free_spin",
                "tags": [
                    "Casino"
                ],
                "summary": "Free spin",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    },
                    {
                        "name": "game",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    },
                    "401": {
                        "description": "Unauthenticated"
                    }
                },
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "round_id": {
                                        "type": "integer"
                                    }
                                },
                                "required": [
                                    "round_id"
                                ]
                            }
                        }
                    }
                },
                "security": [
                    {
                        "bearerAuth": []
                    }
                ]
            }
        },
        "/casino/games/{game}/five-reel/info": {
            "get": {
                "operationId": "get_casino_games_game_five_reel_info",
                "tags": [
                    "Casino"
                ],
                "summary": "Info",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    },
                    {
                        "name": "game",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    },
                    "401": {
                        "description": "Unauthenticated"
                    }
                },
                "security": [
                    {
                        "bearerAuth": []
                    }
                ]
            }
        },
        "/casino/games/{game}/five-reel/spin": {
            "post": {
                "operationId": "post_casino_games_game_five_reel_spin",
                "tags": [
                    "Casino"
                ],
                "summary": "Spin",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    },
                    {
                        "name": "game",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    },
                    "401": {
                        "description": "Unauthenticated"
                    }
                },
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "stake": {
                                        "type": "integer"
                                    },
                                    "client_seed": {
                                        "type": [
                                            "string",
                                            "null"
                                        ],
                                        "maxLength": 64
                                    },
                                    "nonce": {
                                        "type": [
                                            "integer",
                                            "null"
                                        ],
                                        "minimum": 0
                                    }
                                },
                                "required": [
                                    "stake"
                                ]
                            }
                        }
                    }
                },
                "security": [
                    {
                        "bearerAuth": []
                    }
                ]
            }
        },
        "/casino/games/{game}/free-spin": {
            "post": {
                "operationId": "post_casino_games_game_free_spin",
                "tags": [
                    "Casino"
                ],
                "summary": "Free spin",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    },
                    {
                        "name": "game",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    },
                    "401": {
                        "description": "Unauthenticated"
                    }
                },
                "security": [
                    {
                        "bearerAuth": []
                    }
                ]
            }
        },
        "/casino/games/{game}/hilo/cashout": {
            "post": {
                "operationId": "post_casino_games_game_hilo_cashout",
                "tags": [
                    "Casino"
                ],
                "summary": "Cashout",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    },
                    {
                        "name": "game",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    },
                    "401": {
                        "description": "Unauthenticated"
                    }
                },
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "round_id": {
                                        "type": "integer"
                                    }
                                },
                                "required": [
                                    "round_id"
                                ]
                            }
                        }
                    }
                },
                "security": [
                    {
                        "bearerAuth": []
                    }
                ]
            }
        },
        "/casino/games/{game}/hilo/guess": {
            "post": {
                "operationId": "post_casino_games_game_hilo_guess",
                "tags": [
                    "Casino"
                ],
                "summary": "Guess",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    },
                    {
                        "name": "game",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    },
                    "401": {
                        "description": "Unauthenticated"
                    }
                },
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "round_id": {
                                        "type": "integer"
                                    },
                                    "direction": {
                                        "enum": [
                                            "higher",
                                            "lower"
                                        ],
                                        "type": "string"
                                    }
                                },
                                "required": [
                                    "round_id",
                                    "direction"
                                ]
                            }
                        }
                    }
                },
                "security": [
                    {
                        "bearerAuth": []
                    }
                ]
            }
        },
        "/casino/games/{game}/hilo/start": {
            "post": {
                "operationId": "post_casino_games_game_hilo_start",
                "tags": [
                    "Casino"
                ],
                "summary": "Start",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    },
                    {
                        "name": "game",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    },
                    "401": {
                        "description": "Unauthenticated"
                    }
                },
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "stake": {
                                        "type": "integer"
                                    },
                                    "client_seed": {
                                        "type": [
                                            "string",
                                            "null"
                                        ],
                                        "maxLength": 64
                                    },
                                    "nonce": {
                                        "type": [
                                            "integer",
                                            "null"
                                        ],
                                        "minimum": 0
                                    }
                                },
                                "required": [
                                    "stake"
                                ]
                            }
                        }
                    }
                },
                "security": [
                    {
                        "bearerAuth": []
                    }
                ]
            }
        },
        "/casino/games/{game}/keno/play": {
            "post": {
                "operationId": "post_casino_games_game_keno_play",
                "tags": [
                    "Casino"
                ],
                "summary": "Play",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    },
                    {
                        "name": "game",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    },
                    "401": {
                        "description": "Unauthenticated"
                    }
                },
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "stake": {
                                        "type": "integer"
                                    },
                                    "picks": {
                                        "type": "array",
                                        "items": {
                                            "type": "integer",
                                            "minimum": 1,
                                            "maximum": 40
                                        },
                                        "minItems": 1,
                                        "maxItems": 10
                                    },
                                    "client_seed": {
                                        "type": [
                                            "string",
                                            "null"
                                        ],
                                        "maxLength": 64
                                    },
                                    "nonce": {
                                        "type": [
                                            "integer",
                                            "null"
                                        ],
                                        "minimum": 0
                                    }
                                },
                                "required": [
                                    "stake",
                                    "picks"
                                ]
                            }
                        }
                    }
                },
                "security": [
                    {
                        "bearerAuth": []
                    }
                ]
            }
        },
        "/casino/games/{game}/launch": {
            "post": {
                "operationId": "post_casino_games_game_launch",
                "tags": [
                    "Casino"
                ],
                "summary": "Launch",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    },
                    {
                        "name": "game",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    },
                    "401": {
                        "description": "Unauthenticated"
                    }
                },
                "security": [
                    {
                        "bearerAuth": []
                    }
                ]
            }
        },
        "/casino/games/{game}/limbo/play": {
            "post": {
                "operationId": "post_casino_games_game_limbo_play",
                "tags": [
                    "Casino"
                ],
                "summary": "Play",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    },
                    {
                        "name": "game",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    },
                    "401": {
                        "description": "Unauthenticated"
                    }
                },
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "stake": {
                                        "type": "integer"
                                    },
                                    "target_multiplier": {
                                        "type": "number",
                                        "minimum": 1.01
                                    },
                                    "client_seed": {
                                        "type": [
                                            "string",
                                            "null"
                                        ],
                                        "maxLength": 64
                                    },
                                    "nonce": {
                                        "type": [
                                            "integer",
                                            "null"
                                        ],
                                        "minimum": 0
                                    }
                                },
                                "required": [
                                    "stake",
                                    "target_multiplier"
                                ]
                            }
                        }
                    }
                },
                "security": [
                    {
                        "bearerAuth": []
                    }
                ]
            }
        },
        "/casino/games/{game}/mines/cashout": {
            "post": {
                "operationId": "post_casino_games_game_mines_cashout",
                "tags": [
                    "Casino"
                ],
                "summary": "Cashout",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    },
                    {
                        "name": "game",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    },
                    "401": {
                        "description": "Unauthenticated"
                    }
                },
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "round_id": {
                                        "type": "integer"
                                    }
                                },
                                "required": [
                                    "round_id"
                                ]
                            }
                        }
                    }
                },
                "security": [
                    {
                        "bearerAuth": []
                    }
                ]
            }
        },
        "/casino/games/{game}/mines/reveal": {
            "post": {
                "operationId": "post_casino_games_game_mines_reveal",
                "tags": [
                    "Casino"
                ],
                "summary": "Reveal",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    },
                    {
                        "name": "game",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    },
                    "401": {
                        "description": "Unauthenticated"
                    }
                },
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "round_id": {
                                        "type": "integer"
                                    },
                                    "tile": {
                                        "type": "integer",
                                        "minimum": 0,
                                        "maximum": 24
                                    }
                                },
                                "required": [
                                    "round_id",
                                    "tile"
                                ]
                            }
                        }
                    }
                },
                "security": [
                    {
                        "bearerAuth": []
                    }
                ]
            }
        },
        "/casino/games/{game}/mines/start": {
            "post": {
                "operationId": "post_casino_games_game_mines_start",
                "tags": [
                    "Casino"
                ],
                "summary": "Start",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    },
                    {
                        "name": "game",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    },
                    "401": {
                        "description": "Unauthenticated"
                    }
                },
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "stake": {
                                        "type": "integer"
                                    },
                                    "mines_count": {
                                        "type": "integer",
                                        "minimum": 1,
                                        "maximum": 24
                                    },
                                    "client_seed": {
                                        "type": [
                                            "string",
                                            "null"
                                        ],
                                        "maxLength": 64
                                    },
                                    "nonce": {
                                        "type": [
                                            "integer",
                                            "null"
                                        ],
                                        "minimum": 0
                                    }
                                },
                                "required": [
                                    "stake",
                                    "mines_count"
                                ]
                            }
                        }
                    }
                },
                "security": [
                    {
                        "bearerAuth": []
                    }
                ]
            }
        },
        "/casino/games/{game}/penalty/cashout": {
            "post": {
                "operationId": "post_casino_games_game_penalty_cashout",
                "tags": [
                    "Casino"
                ],
                "summary": "Cashout",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    },
                    {
                        "name": "game",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    },
                    "401": {
                        "description": "Unauthenticated"
                    }
                },
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "round_id": {
                                        "type": "integer"
                                    }
                                },
                                "required": [
                                    "round_id"
                                ]
                            }
                        }
                    }
                },
                "security": [
                    {
                        "bearerAuth": []
                    }
                ]
            }
        },
        "/casino/games/{game}/penalty/kick": {
            "post": {
                "operationId": "post_casino_games_game_penalty_kick",
                "tags": [
                    "Casino"
                ],
                "summary": "Kick",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    },
                    {
                        "name": "game",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    },
                    "401": {
                        "description": "Unauthenticated"
                    }
                },
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "round_id": {
                                        "type": "integer"
                                    },
                                    "zone": {
                                        "type": "string"
                                    }
                                },
                                "required": [
                                    "round_id",
                                    "zone"
                                ]
                            }
                        }
                    }
                },
                "security": [
                    {
                        "bearerAuth": []
                    }
                ]
            }
        },
        "/casino/games/{game}/penalty/start": {
            "post": {
                "operationId": "post_casino_games_game_penalty_start",
                "tags": [
                    "Casino"
                ],
                "summary": "Start",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    },
                    {
                        "name": "game",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    },
                    "401": {
                        "description": "Unauthenticated"
                    }
                },
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "stake": {
                                        "type": "integer"
                                    },
                                    "client_seed": {
                                        "type": [
                                            "string",
                                            "null"
                                        ],
                                        "maxLength": 64
                                    },
                                    "nonce": {
                                        "type": [
                                            "integer",
                                            "null"
                                        ],
                                        "minimum": 0
                                    }
                                },
                                "required": [
                                    "stake"
                                ]
                            }
                        }
                    }
                },
                "security": [
                    {
                        "bearerAuth": []
                    }
                ]
            }
        },
        "/casino/games/{game}/plinko/drop": {
            "post": {
                "operationId": "post_casino_games_game_plinko_drop",
                "tags": [
                    "Casino"
                ],
                "summary": "Drop",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    },
                    {
                        "name": "game",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    },
                    "401": {
                        "description": "Unauthenticated"
                    }
                },
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "stake": {
                                        "type": "integer"
                                    },
                                    "risk": {
                                        "enum": [
                                            "low",
                                            "medium",
                                            "high"
                                        ],
                                        "type": "string"
                                    },
                                    "client_seed": {
                                        "type": [
                                            "string",
                                            "null"
                                        ],
                                        "maxLength": 64
                                    },
                                    "nonce": {
                                        "type": [
                                            "integer",
                                            "null"
                                        ],
                                        "minimum": 0
                                    }
                                },
                                "required": [
                                    "stake",
                                    "risk"
                                ]
                            }
                        }
                    }
                },
                "security": [
                    {
                        "bearerAuth": []
                    }
                ]
            }
        },
        "/casino/games/{game}/roulette/play": {
            "post": {
                "operationId": "post_casino_games_game_roulette_play",
                "tags": [
                    "Casino"
                ],
                "summary": "Play",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    },
                    {
                        "name": "game",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    },
                    "401": {
                        "description": "Unauthenticated"
                    }
                },
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "bets": {
                                        "type": "array",
                                        "items": {
                                            "type": "object",
                                            "properties": {
                                                "type": {
                                                    "type": "string",
                                                    "enum": [
                                                        "straight",
                                                        "red",
                                                        "black",
                                                        "odd",
                                                        "even",
                                                        "low",
                                                        "high",
                                                        "dozen1",
                                                        "dozen2",
                                                        "dozen3",
                                                        "column1",
                                                        "column2",
                                                        "column3"
                                                    ]
                                                },
                                                "stake": {
                                                    "type": "integer"
                                                }
                                            },
                                            "required": [
                                                "type",
                                                "stake"
                                            ]
                                        },
                                        "minItems": 1,
                                        "maxItems": 20
                                    },
                                    "client_seed": {
                                        "type": [
                                            "string",
                                            "null"
                                        ],
                                        "maxLength": 64
                                    },
                                    "nonce": {
                                        "type": [
                                            "integer",
                                            "null"
                                        ],
                                        "minimum": 0
                                    }
                                },
                                "required": [
                                    "bets"
                                ]
                            }
                        }
                    }
                },
                "security": [
                    {
                        "bearerAuth": []
                    }
                ]
            }
        },
        "/casino/games/{game}/scratch/play": {
            "post": {
                "operationId": "post_casino_games_game_scratch_play",
                "tags": [
                    "Casino"
                ],
                "summary": "Play",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    },
                    {
                        "name": "game",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    },
                    "401": {
                        "description": "Unauthenticated"
                    }
                },
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "stake": {
                                        "type": "integer"
                                    },
                                    "client_seed": {
                                        "type": [
                                            "string",
                                            "null"
                                        ],
                                        "maxLength": 64
                                    },
                                    "nonce": {
                                        "type": [
                                            "integer",
                                            "null"
                                        ],
                                        "minimum": 0
                                    }
                                },
                                "required": [
                                    "stake"
                                ]
                            }
                        }
                    }
                },
                "security": [
                    {
                        "bearerAuth": []
                    }
                ]
            }
        },
        "/casino/games/{game}/sicbo/play": {
            "post": {
                "operationId": "post_casino_games_game_sicbo_play",
                "tags": [
                    "Casino"
                ],
                "summary": "Play",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    },
                    {
                        "name": "game",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    },
                    "401": {
                        "description": "Unauthenticated"
                    }
                },
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "bets": {
                                        "type": "array",
                                        "items": {
                                            "type": "object",
                                            "properties": {
                                                "type": {
                                                    "type": "string",
                                                    "enum": [
                                                        "big",
                                                        "small",
                                                        "odd",
                                                        "even",
                                                        "total",
                                                        "single",
                                                        "double",
                                                        "triple",
                                                        "any_triple"
                                                    ]
                                                },
                                                "stake": {
                                                    "type": "integer"
                                                }
                                            },
                                            "required": [
                                                "type",
                                                "stake"
                                            ]
                                        },
                                        "minItems": 1,
                                        "maxItems": 20
                                    },
                                    "client_seed": {
                                        "type": [
                                            "string",
                                            "null"
                                        ],
                                        "maxLength": 64
                                    },
                                    "nonce": {
                                        "type": [
                                            "integer",
                                            "null"
                                        ],
                                        "minimum": 0
                                    }
                                },
                                "required": [
                                    "bets"
                                ]
                            }
                        }
                    }
                },
                "security": [
                    {
                        "bearerAuth": []
                    }
                ]
            }
        },
        "/casino/games/{game}/snooker/cashout": {
            "post": {
                "operationId": "post_casino_games_game_snooker_cashout",
                "tags": [
                    "Casino"
                ],
                "summary": "Cashout",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    },
                    {
                        "name": "game",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    },
                    "401": {
                        "description": "Unauthenticated"
                    }
                },
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "round_id": {
                                        "type": "integer"
                                    }
                                },
                                "required": [
                                    "round_id"
                                ]
                            }
                        }
                    }
                },
                "security": [
                    {
                        "bearerAuth": []
                    }
                ]
            }
        },
        "/casino/games/{game}/snooker/pot": {
            "post": {
                "operationId": "post_casino_games_game_snooker_pot",
                "tags": [
                    "Casino"
                ],
                "summary": "Pot",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    },
                    {
                        "name": "game",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    },
                    "401": {
                        "description": "Unauthenticated"
                    }
                },
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "round_id": {
                                        "type": "integer"
                                    },
                                    "ball": {
                                        "type": [
                                            "string",
                                            "null"
                                        ]
                                    }
                                },
                                "required": [
                                    "round_id"
                                ]
                            }
                        }
                    }
                },
                "security": [
                    {
                        "bearerAuth": []
                    }
                ]
            }
        },
        "/casino/games/{game}/snooker/start": {
            "post": {
                "operationId": "post_casino_games_game_snooker_start",
                "tags": [
                    "Casino"
                ],
                "summary": "Start",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    },
                    {
                        "name": "game",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    },
                    "401": {
                        "description": "Unauthenticated"
                    }
                },
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "stake": {
                                        "type": "integer"
                                    },
                                    "client_seed": {
                                        "type": [
                                            "string",
                                            "null"
                                        ],
                                        "maxLength": 64
                                    },
                                    "nonce": {
                                        "type": [
                                            "integer",
                                            "null"
                                        ],
                                        "minimum": 0
                                    }
                                },
                                "required": [
                                    "stake"
                                ]
                            }
                        }
                    }
                },
                "security": [
                    {
                        "bearerAuth": []
                    }
                ]
            }
        },
        "/casino/games/{game}/spin": {
            "post": {
                "operationId": "post_casino_games_game_spin",
                "tags": [
                    "Casino"
                ],
                "summary": "Spin",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    },
                    {
                        "name": "game",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    },
                    "401": {
                        "description": "Unauthenticated"
                    }
                },
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "stake": {
                                        "type": "integer",
                                        "minimum": 1
                                    },
                                    "client_seed": {
                                        "type": [
                                            "string",
                                            "null"
                                        ],
                                        "maxLength": 64
                                    },
                                    "nonce": {
                                        "type": [
                                            "integer",
                                            "null"
                                        ],
                                        "minimum": 0
                                    }
                                },
                                "required": [
                                    "stake"
                                ]
                            }
                        }
                    }
                },
                "security": [
                    {
                        "bearerAuth": []
                    }
                ]
            }
        },
        "/casino/games/{game}/three-card-poker/ante": {
            "post": {
                "operationId": "post_casino_games_game_three_card_poker_ante",
                "tags": [
                    "Casino"
                ],
                "summary": "Ante",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    },
                    {
                        "name": "game",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    },
                    "401": {
                        "description": "Unauthenticated"
                    }
                },
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "stake": {
                                        "type": "integer"
                                    },
                                    "pair_plus": {
                                        "type": [
                                            "integer",
                                            "null"
                                        ],
                                        "minimum": 0
                                    },
                                    "client_seed": {
                                        "type": [
                                            "string",
                                            "null"
                                        ],
                                        "maxLength": 64
                                    },
                                    "nonce": {
                                        "type": [
                                            "integer",
                                            "null"
                                        ],
                                        "minimum": 0
                                    }
                                },
                                "required": [
                                    "stake"
                                ]
                            }
                        }
                    }
                },
                "security": [
                    {
                        "bearerAuth": []
                    }
                ]
            }
        },
        "/casino/games/{game}/three-card-poker/fold": {
            "post": {
                "operationId": "post_casino_games_game_three_card_poker_fold",
                "tags": [
                    "Casino"
                ],
                "summary": "Fold",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    },
                    {
                        "name": "game",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    },
                    "401": {
                        "description": "Unauthenticated"
                    }
                },
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "round_id": {
                                        "type": "integer"
                                    }
                                },
                                "required": [
                                    "round_id"
                                ]
                            }
                        }
                    }
                },
                "security": [
                    {
                        "bearerAuth": []
                    }
                ]
            }
        },
        "/casino/games/{game}/three-card-poker/play": {
            "post": {
                "operationId": "post_casino_games_game_three_card_poker_play",
                "tags": [
                    "Casino"
                ],
                "summary": "Play",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    },
                    {
                        "name": "game",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    },
                    "401": {
                        "description": "Unauthenticated"
                    }
                },
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "round_id": {
                                        "type": "integer"
                                    }
                                },
                                "required": [
                                    "round_id"
                                ]
                            }
                        }
                    }
                },
                "security": [
                    {
                        "bearerAuth": []
                    }
                ]
            }
        },
        "/casino/games/{game}/video-poker/deal": {
            "post": {
                "operationId": "post_casino_games_game_video_poker_deal",
                "tags": [
                    "Casino"
                ],
                "summary": "Deal",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    },
                    {
                        "name": "game",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    },
                    "401": {
                        "description": "Unauthenticated"
                    }
                },
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "stake": {
                                        "type": "integer"
                                    },
                                    "client_seed": {
                                        "type": [
                                            "string",
                                            "null"
                                        ],
                                        "maxLength": 64
                                    },
                                    "nonce": {
                                        "type": [
                                            "integer",
                                            "null"
                                        ],
                                        "minimum": 0
                                    }
                                },
                                "required": [
                                    "stake"
                                ]
                            }
                        }
                    }
                },
                "security": [
                    {
                        "bearerAuth": []
                    }
                ]
            }
        },
        "/casino/games/{game}/video-poker/draw": {
            "post": {
                "operationId": "post_casino_games_game_video_poker_draw",
                "tags": [
                    "Casino"
                ],
                "summary": "Draw",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    },
                    {
                        "name": "game",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    },
                    "401": {
                        "description": "Unauthenticated"
                    }
                },
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "round_id": {
                                        "type": "integer"
                                    },
                                    "holds": {
                                        "type": "array",
                                        "items": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "required": [
                                    "round_id",
                                    "holds"
                                ]
                            }
                        }
                    }
                },
                "security": [
                    {
                        "bearerAuth": []
                    }
                ]
            }
        },
        "/casino/games/{game}/wheel/spin": {
            "post": {
                "operationId": "post_casino_games_game_wheel_spin",
                "tags": [
                    "Casino"
                ],
                "summary": "Spin",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    },
                    {
                        "name": "game",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    },
                    "401": {
                        "description": "Unauthenticated"
                    }
                },
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "stake": {
                                        "type": "integer"
                                    },
                                    "risk": {
                                        "enum": [
                                            "low",
                                            "medium",
                                            "high"
                                        ],
                                        "type": "string"
                                    },
                                    "client_seed": {
                                        "type": [
                                            "string",
                                            "null"
                                        ],
                                        "maxLength": 64
                                    },
                                    "nonce": {
                                        "type": [
                                            "integer",
                                            "null"
                                        ],
                                        "minimum": 0
                                    }
                                },
                                "required": [
                                    "stake",
                                    "risk"
                                ]
                            }
                        }
                    }
                },
                "security": [
                    {
                        "bearerAuth": []
                    }
                ]
            }
        },
        "/casino/lobby": {
            "get": {
                "operationId": "get_casino_lobby",
                "tags": [
                    "Casino"
                ],
                "summary": "Lobby",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    }
                }
            }
        },
        "/casino/providers/{gameProvider}/launch": {
            "post": {
                "operationId": "post_casino_providers_gameProvider_launch",
                "tags": [
                    "Casino"
                ],
                "summary": "Launch provider game",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    },
                    {
                        "name": "gameProvider",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    },
                    "401": {
                        "description": "Unauthenticated"
                    }
                },
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "game_code": {
                                        "type": "string",
                                        "maxLength": 80
                                    },
                                    "casino_game_id": {
                                        "type": [
                                            "integer",
                                            "null"
                                        ]
                                    }
                                },
                                "required": [
                                    "game_code"
                                ]
                            }
                        }
                    }
                },
                "security": [
                    {
                        "bearerAuth": []
                    }
                ]
            }
        },
        "/casino/recent": {
            "get": {
                "operationId": "get_casino_recent",
                "tags": [
                    "Casino"
                ],
                "summary": "Recent",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    },
                    "401": {
                        "description": "Unauthenticated"
                    }
                },
                "security": [
                    {
                        "bearerAuth": []
                    }
                ]
            }
        },
        "/casino/rounds/active": {
            "get": {
                "operationId": "get_casino_rounds_active",
                "tags": [
                    "Casino"
                ],
                "summary": "Index",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    },
                    "401": {
                        "description": "Unauthenticated"
                    }
                },
                "security": [
                    {
                        "bearerAuth": []
                    }
                ]
            }
        },
        "/casino/rounds/{round}/resolve": {
            "post": {
                "operationId": "post_casino_rounds_round_resolve",
                "tags": [
                    "Casino"
                ],
                "summary": "Resolve",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    },
                    {
                        "name": "round",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    },
                    "401": {
                        "description": "Unauthenticated"
                    }
                },
                "security": [
                    {
                        "bearerAuth": []
                    }
                ]
            }
        },
        "/email/click/{token}": {
            "get": {
                "operationId": "get_email_click_token",
                "tags": [
                    "Email"
                ],
                "summary": "Click",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    },
                    {
                        "name": "token",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    }
                }
            }
        },
        "/email/open/{token}": {
            "get": {
                "operationId": "get_email_open_token",
                "tags": [
                    "Email"
                ],
                "summary": "Open",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    },
                    {
                        "name": "token",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    }
                }
            }
        },
        "/email/unsubscribe/{token}": {
            "get": {
                "operationId": "get_email_unsubscribe_token",
                "tags": [
                    "Email"
                ],
                "summary": "Unsubscribe",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    },
                    {
                        "name": "token",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    }
                }
            }
        },
        "/feed/featured-events": {
            "get": {
                "operationId": "get_feed_featured_events",
                "tags": [
                    "Feed"
                ],
                "summary": "Featured events",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    }
                }
            }
        },
        "/feed/winners": {
            "get": {
                "operationId": "get_feed_winners",
                "tags": [
                    "Feed"
                ],
                "summary": "Winners",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    }
                }
            }
        },
        "/gamification/leaderboards": {
            "get": {
                "operationId": "get_gamification_leaderboards",
                "tags": [
                    "Gamification"
                ],
                "summary": "Active leaderboards",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    },
                    "401": {
                        "description": "Unauthenticated"
                    }
                },
                "security": [
                    {
                        "bearerAuth": []
                    }
                ]
            }
        },
        "/gateway/wallet/balance": {
            "post": {
                "operationId": "post_gateway_wallet_balance",
                "tags": [
                    "Gateway"
                ],
                "summary": "Balance",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    }
                },
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "session_token": {
                                        "type": "string"
                                    }
                                },
                                "required": [
                                    "session_token"
                                ]
                            }
                        }
                    }
                }
            }
        },
        "/gateway/wallet/bet": {
            "post": {
                "operationId": "post_gateway_wallet_bet",
                "tags": [
                    "Gateway"
                ],
                "summary": "Bet",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    }
                },
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "session_token": {
                                        "type": "string"
                                    },
                                    "transaction_id": {
                                        "type": "string",
                                        "maxLength": 120
                                    },
                                    "amount": {
                                        "type": "integer",
                                        "minimum": 1
                                    },
                                    "round_id": {
                                        "type": [
                                            "string",
                                            "null"
                                        ],
                                        "maxLength": 120
                                    }
                                },
                                "required": [
                                    "session_token",
                                    "transaction_id",
                                    "amount"
                                ]
                            }
                        }
                    }
                }
            }
        },
        "/gateway/wallet/rollback": {
            "post": {
                "operationId": "post_gateway_wallet_rollback",
                "tags": [
                    "Gateway"
                ],
                "summary": "Rollback",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    }
                },
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "session_token": {
                                        "type": "string"
                                    },
                                    "transaction_id": {
                                        "type": "string",
                                        "maxLength": 120
                                    },
                                    "rollback_transaction_id": {
                                        "type": "string",
                                        "maxLength": 120
                                    }
                                },
                                "required": [
                                    "session_token",
                                    "transaction_id",
                                    "rollback_transaction_id"
                                ]
                            }
                        }
                    }
                }
            }
        },
        "/gateway/wallet/win": {
            "post": {
                "operationId": "post_gateway_wallet_win",
                "tags": [
                    "Gateway"
                ],
                "summary": "Win",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    }
                },
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "session_token": {
                                        "type": "string"
                                    },
                                    "transaction_id": {
                                        "type": "string",
                                        "maxLength": 120
                                    },
                                    "amount": {
                                        "type": "integer",
                                        "minimum": 0
                                    },
                                    "round_id": {
                                        "type": [
                                            "string",
                                            "null"
                                        ],
                                        "maxLength": 120
                                    }
                                },
                                "required": [
                                    "session_token",
                                    "transaction_id",
                                    "amount"
                                ]
                            }
                        }
                    }
                }
            }
        },
        "/health": {
            "get": {
                "operationId": "get_health",
                "tags": [
                    "Health"
                ],
                "summary": "Check",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    }
                }
            }
        },
        "/jackpots": {
            "get": {
                "operationId": "get_jackpots",
                "tags": [
                    "Casino"
                ],
                "summary": "Index",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    }
                }
            }
        },
        "/leaderboard": {
            "get": {
                "operationId": "get_leaderboard",
                "tags": [
                    "Leaderboard"
                ],
                "summary": "Leaderboard",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    }
                }
            }
        },
        "/leads": {
            "post": {
                "operationId": "post_leads",
                "tags": [
                    "Leads"
                ],
                "summary": "Store",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    }
                },
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "name": {
                                        "type": "string",
                                        "maxLength": 120
                                    },
                                    "email": {
                                        "format": "email",
                                        "maxLength": 160,
                                        "type": "string"
                                    },
                                    "company": {
                                        "type": [
                                            "string",
                                            "null"
                                        ],
                                        "maxLength": 160
                                    },
                                    "message": {
                                        "type": [
                                            "string",
                                            "null"
                                        ],
                                        "maxLength": 2000
                                    },
                                    "source": {
                                        "type": [
                                            "string",
                                            "null"
                                        ],
                                        "maxLength": 120
                                    }
                                },
                                "required": [
                                    "name",
                                    "email"
                                ]
                            }
                        }
                    }
                }
            }
        },
        "/limits": {
            "get": {
                "operationId": "get_limits",
                "tags": [
                    "Account"
                ],
                "summary": "Index",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    },
                    "401": {
                        "description": "Unauthenticated"
                    }
                },
                "security": [
                    {
                        "bearerAuth": []
                    }
                ]
            },
            "post": {
                "operationId": "post_limits",
                "tags": [
                    "Account"
                ],
                "summary": "Store",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    },
                    "401": {
                        "description": "Unauthenticated"
                    }
                },
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "type": {
                                        "enum": [
                                            "deposit",
                                            "loss",
                                            "spend"
                                        ],
                                        "type": "string"
                                    },
                                    "period": {
                                        "enum": [
                                            "day",
                                            "week",
                                            "month"
                                        ],
                                        "type": "string"
                                    },
                                    "amount": {
                                        "type": [
                                            "integer",
                                            "null"
                                        ],
                                        "minimum": 0
                                    }
                                },
                                "required": [
                                    "type",
                                    "period"
                                ]
                            }
                        }
                    }
                },
                "security": [
                    {
                        "bearerAuth": []
                    }
                ]
            }
        },
        "/limits/{limit}/confirm": {
            "post": {
                "operationId": "post_limits_limit_confirm",
                "tags": [
                    "Account"
                ],
                "summary": "Confirm",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    },
                    {
                        "name": "limit",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    },
                    "401": {
                        "description": "Unauthenticated"
                    }
                },
                "security": [
                    {
                        "bearerAuth": []
                    }
                ]
            }
        },
        "/loyalty": {
            "get": {
                "operationId": "get_loyalty",
                "tags": [
                    "Account"
                ],
                "summary": "Index",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    },
                    "401": {
                        "description": "Unauthenticated"
                    }
                },
                "security": [
                    {
                        "bearerAuth": []
                    }
                ]
            }
        },
        "/loyalty/redeem": {
            "post": {
                "operationId": "post_loyalty_redeem",
                "tags": [
                    "Account"
                ],
                "summary": "Redeem",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    },
                    "401": {
                        "description": "Unauthenticated"
                    }
                },
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "points": {
                                        "type": "integer",
                                        "minimum": 1
                                    }
                                },
                                "required": [
                                    "points"
                                ]
                            }
                        }
                    }
                },
                "security": [
                    {
                        "bearerAuth": []
                    }
                ]
            }
        },
        "/notifications": {
            "get": {
                "operationId": "get_notifications",
                "tags": [
                    "Notifications"
                ],
                "summary": "Index",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    },
                    "401": {
                        "description": "Unauthenticated"
                    }
                },
                "security": [
                    {
                        "bearerAuth": []
                    }
                ]
            }
        },
        "/notifications/{notification}/read": {
            "post": {
                "operationId": "post_notifications_notification_read",
                "tags": [
                    "Notifications"
                ],
                "summary": "Read",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    },
                    {
                        "name": "notification",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    },
                    "401": {
                        "description": "Unauthenticated"
                    }
                },
                "security": [
                    {
                        "bearerAuth": []
                    }
                ]
            }
        },
        "/operator/register": {
            "post": {
                "operationId": "post_operator_register",
                "tags": [
                    "Operator"
                ],
                "summary": "Register",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    }
                },
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "owner_email": {
                                        "format": "email",
                                        "type": "string"
                                    },
                                    "owner_password": {
                                        "type": "string",
                                        "minLength": 8
                                    },
                                    "owner_name": {
                                        "type": "string",
                                        "maxLength": 100
                                    },
                                    "brand_name": {
                                        "type": "string",
                                        "maxLength": 120
                                    },
                                    "brand_slug": {
                                        "maxLength": 60,
                                        "type": "string"
                                    },
                                    "currency": {
                                        "type": [
                                            "string",
                                            "null"
                                        ]
                                    }
                                },
                                "required": [
                                    "owner_email",
                                    "owner_password",
                                    "owner_name",
                                    "brand_name",
                                    "brand_slug"
                                ]
                            }
                        }
                    }
                }
            }
        },
        "/partner/v1/players/{ref}/bets": {
            "post": {
                "operationId": "post_partner_v1_players_ref_bets",
                "tags": [
                    "Partner"
                ],
                "summary": "Place",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    },
                    {
                        "name": "ref",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    }
                },
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "stake": {
                                        "type": "integer",
                                        "minimum": 1
                                    },
                                    "accept_price_change": {
                                        "type": "boolean"
                                    },
                                    "legs": {
                                        "type": "array",
                                        "items": {
                                            "type": "object",
                                            "properties": {
                                                "selection_id": {
                                                    "type": "integer"
                                                },
                                                "price": {
                                                    "type": "number"
                                                }
                                            },
                                            "required": [
                                                "selection_id",
                                                "price"
                                            ]
                                        },
                                        "minItems": 1,
                                        "maxItems": 30
                                    }
                                },
                                "required": [
                                    "stake",
                                    "legs"
                                ]
                            }
                        }
                    }
                },
                "security": [
                    {
                        "partnerKey": []
                    }
                ]
            },
            "get": {
                "operationId": "get_partner_v1_players_ref_bets",
                "tags": [
                    "Partner"
                ],
                "summary": "Index",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    },
                    {
                        "name": "ref",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    }
                },
                "security": [
                    {
                        "partnerKey": []
                    }
                ]
            }
        },
        "/partner/v1/players/{ref}/bets/{bet}": {
            "get": {
                "operationId": "get_partner_v1_players_ref_bets_bet",
                "tags": [
                    "Partner"
                ],
                "summary": "Show",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    },
                    {
                        "name": "ref",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "bet",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    }
                },
                "security": [
                    {
                        "partnerKey": []
                    }
                ]
            }
        },
        "/partner/v1/players/{ref}/wallet": {
            "get": {
                "operationId": "get_partner_v1_players_ref_wallet",
                "tags": [
                    "Partner"
                ],
                "summary": "Balance",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    },
                    {
                        "name": "ref",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    }
                },
                "security": [
                    {
                        "partnerKey": []
                    }
                ]
            }
        },
        "/partner/v1/players/{ref}/withdrawals": {
            "post": {
                "operationId": "post_partner_v1_players_ref_withdrawals",
                "tags": [
                    "Partner"
                ],
                "summary": "Store",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    },
                    {
                        "name": "ref",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    }
                },
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "amount": {
                                        "type": "integer",
                                        "minimum": 1
                                    },
                                    "method": {
                                        "type": [
                                            "string",
                                            "null"
                                        ],
                                        "maxLength": 20
                                    }
                                },
                                "required": [
                                    "amount"
                                ]
                            }
                        }
                    }
                },
                "security": [
                    {
                        "partnerKey": []
                    }
                ]
            }
        },
        "/profile": {
            "get": {
                "operationId": "get_profile",
                "tags": [
                    "Account"
                ],
                "summary": "Show",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    },
                    "401": {
                        "description": "Unauthenticated"
                    }
                },
                "security": [
                    {
                        "bearerAuth": []
                    }
                ]
            }
        },
        "/profile/verify": {
            "post": {
                "operationId": "post_profile_verify",
                "tags": [
                    "Account"
                ],
                "summary": "Verify",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    },
                    "401": {
                        "description": "Unauthenticated"
                    }
                },
                "security": [
                    {
                        "bearerAuth": []
                    }
                ]
            }
        },
        "/promotions": {
            "get": {
                "operationId": "get_promotions",
                "tags": [
                    "Promotions"
                ],
                "summary": "Index",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    }
                }
            }
        },
        "/public/fixtures": {
            "get": {
                "operationId": "get_public_fixtures",
                "tags": [
                    "Public API"
                ],
                "summary": "Fixtures",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    }
                },
                "security": [
                    {
                        "apiKey": []
                    }
                ]
            }
        },
        "/public/games": {
            "get": {
                "operationId": "get_public_games",
                "tags": [
                    "Public API"
                ],
                "summary": "Games",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    }
                },
                "security": [
                    {
                        "apiKey": []
                    }
                ]
            }
        },
        "/public/results": {
            "get": {
                "operationId": "get_public_results",
                "tags": [
                    "Public API"
                ],
                "summary": "Results",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    }
                },
                "security": [
                    {
                        "apiKey": []
                    }
                ]
            }
        },
        "/reality-check": {
            "get": {
                "operationId": "get_reality_check",
                "tags": [
                    "Account"
                ],
                "summary": "Show",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    },
                    "401": {
                        "description": "Unauthenticated"
                    }
                },
                "security": [
                    {
                        "bearerAuth": []
                    }
                ]
            },
            "put": {
                "operationId": "put_reality_check",
                "tags": [
                    "Account"
                ],
                "summary": "Update",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    },
                    "401": {
                        "description": "Unauthenticated"
                    }
                },
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "enabled": {
                                        "type": "boolean"
                                    },
                                    "interval_minutes": {
                                        "type": "integer",
                                        "minimum": 15,
                                        "maximum": 180
                                    }
                                },
                                "required": [
                                    "enabled",
                                    "interval_minutes"
                                ]
                            }
                        }
                    }
                },
                "security": [
                    {
                        "bearerAuth": []
                    }
                ]
            }
        },
        "/reality-check/acknowledge": {
            "post": {
                "operationId": "post_reality_check_acknowledge",
                "tags": [
                    "Account"
                ],
                "summary": "Acknowledge",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    },
                    "401": {
                        "description": "Unauthenticated"
                    }
                },
                "security": [
                    {
                        "bearerAuth": []
                    }
                ]
            }
        },
        "/reality-check/start": {
            "post": {
                "operationId": "post_reality_check_start",
                "tags": [
                    "Account"
                ],
                "summary": "Start session",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    },
                    "401": {
                        "description": "Unauthenticated"
                    }
                },
                "security": [
                    {
                        "bearerAuth": []
                    }
                ]
            }
        },
        "/referral/mine": {
            "get": {
                "operationId": "get_referral_mine",
                "tags": [
                    "Referral"
                ],
                "summary": "Referral",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    },
                    "401": {
                        "description": "Unauthenticated"
                    }
                },
                "security": [
                    {
                        "bearerAuth": []
                    }
                ]
            }
        },
        "/self-exclusion": {
            "get": {
                "operationId": "get_self_exclusion",
                "tags": [
                    "Account"
                ],
                "summary": "Status",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    },
                    "401": {
                        "description": "Unauthenticated"
                    }
                },
                "security": [
                    {
                        "bearerAuth": []
                    }
                ]
            },
            "post": {
                "operationId": "post_self_exclusion",
                "tags": [
                    "Account"
                ],
                "summary": "Store",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    },
                    "401": {
                        "description": "Unauthenticated"
                    }
                },
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "type": {
                                        "enum": [
                                            "timeout",
                                            "self_exclusion"
                                        ],
                                        "type": "string"
                                    },
                                    "days": {
                                        "type": [
                                            "integer",
                                            "null"
                                        ],
                                        "minimum": 1
                                    },
                                    "reason": {
                                        "type": [
                                            "string",
                                            "null"
                                        ],
                                        "maxLength": 255
                                    }
                                },
                                "required": [
                                    "type"
                                ]
                            }
                        }
                    }
                },
                "security": [
                    {
                        "bearerAuth": []
                    }
                ]
            }
        },
        "/sportsbook/bet-builder/price": {
            "post": {
                "operationId": "post_sportsbook_bet_builder_price",
                "tags": [
                    "Betting"
                ],
                "summary": "Bet builder price",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    }
                },
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "selection_ids": {
                                        "type": "array",
                                        "items": {
                                            "type": "integer"
                                        },
                                        "minItems": 1,
                                        "maxItems": 12
                                    }
                                },
                                "required": [
                                    "selection_ids"
                                ]
                            }
                        }
                    }
                }
            }
        },
        "/sportsbook/bets": {
            "post": {
                "operationId": "post_sportsbook_bets",
                "tags": [
                    "Betting"
                ],
                "summary": "Place bet",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    },
                    "401": {
                        "description": "Unauthenticated"
                    }
                },
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "stake": {
                                        "type": "integer",
                                        "minimum": 1
                                    },
                                    "accept_price_change": {
                                        "type": "boolean"
                                    },
                                    "free_bet_bonus_id": {
                                        "type": [
                                            "integer",
                                            "null"
                                        ]
                                    },
                                    "legs": {
                                        "type": "array",
                                        "items": {
                                            "type": "object",
                                            "properties": {
                                                "selection_id": {
                                                    "type": "integer"
                                                },
                                                "price": {
                                                    "type": "number"
                                                }
                                            },
                                            "required": [
                                                "selection_id",
                                                "price"
                                            ]
                                        },
                                        "minItems": 1,
                                        "maxItems": 30
                                    }
                                },
                                "required": [
                                    "stake",
                                    "legs"
                                ]
                            }
                        }
                    }
                },
                "security": [
                    {
                        "bearerAuth": []
                    }
                ]
            },
            "get": {
                "operationId": "get_sportsbook_bets",
                "tags": [
                    "Betting"
                ],
                "summary": "My bets",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    },
                    "401": {
                        "description": "Unauthenticated"
                    }
                },
                "security": [
                    {
                        "bearerAuth": []
                    }
                ]
            }
        },
        "/sportsbook/bets/{bet}/cashout": {
            "get": {
                "operationId": "get_sportsbook_bets_bet_cashout",
                "tags": [
                    "Betting"
                ],
                "summary": "Cash out quote",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    },
                    {
                        "name": "bet",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    },
                    "401": {
                        "description": "Unauthenticated"
                    }
                },
                "security": [
                    {
                        "bearerAuth": []
                    }
                ]
            },
            "post": {
                "operationId": "post_sportsbook_bets_bet_cashout",
                "tags": [
                    "Betting"
                ],
                "summary": "Cash out",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    },
                    {
                        "name": "bet",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    },
                    "401": {
                        "description": "Unauthenticated"
                    }
                },
                "requestBody": {
                    "required": false,
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "accepted_value": {
                                        "type": [
                                            "integer",
                                            "null"
                                        ],
                                        "minimum": 1
                                    },
                                    "accept_price_change": {
                                        "type": "boolean"
                                    }
                                }
                            }
                        }
                    }
                },
                "security": [
                    {
                        "bearerAuth": []
                    }
                ]
            }
        },
        "/sportsbook/boosts": {
            "get": {
                "operationId": "get_sportsbook_boosts",
                "tags": [
                    "Betting"
                ],
                "summary": "Boosts",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    }
                }
            }
        },
        "/sportsbook/coupon": {
            "get": {
                "operationId": "get_sportsbook_coupon",
                "tags": [
                    "Betting"
                ],
                "summary": "Coupon",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    }
                }
            }
        },
        "/sportsbook/events/{fixture}": {
            "get": {
                "operationId": "get_sportsbook_events_fixture",
                "tags": [
                    "Betting"
                ],
                "summary": "Event",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    },
                    {
                        "name": "fixture",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    }
                }
            }
        },
        "/sportsbook/fixtures": {
            "get": {
                "operationId": "get_sportsbook_fixtures",
                "tags": [
                    "Betting"
                ],
                "summary": "Fixtures",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    }
                }
            }
        },
        "/sportsbook/leagues": {
            "get": {
                "operationId": "get_sportsbook_leagues",
                "tags": [
                    "Betting"
                ],
                "summary": "Leagues",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    }
                }
            }
        },
        "/sportsbook/live": {
            "get": {
                "operationId": "get_sportsbook_live",
                "tags": [
                    "Betting"
                ],
                "summary": "Live",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    }
                }
            }
        },
        "/sportsbook/sports": {
            "get": {
                "operationId": "get_sportsbook_sports",
                "tags": [
                    "Betting"
                ],
                "summary": "Sports",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    }
                }
            }
        },
        "/tenant": {
            "get": {
                "operationId": "get_tenant",
                "tags": [
                    "Tenant"
                ],
                "summary": "Show",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    }
                }
            }
        },
        "/tournaments": {
            "get": {
                "operationId": "get_tournaments",
                "tags": [
                    "Betting"
                ],
                "summary": "Index",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    }
                }
            }
        },
        "/tournaments/{tournament}/join": {
            "post": {
                "operationId": "post_tournaments_tournament_join",
                "tags": [
                    "Betting"
                ],
                "summary": "Join",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    },
                    {
                        "name": "tournament",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    },
                    "401": {
                        "description": "Unauthenticated"
                    }
                },
                "security": [
                    {
                        "bearerAuth": []
                    }
                ]
            }
        },
        "/tournaments/{tournament}/leaderboard": {
            "get": {
                "operationId": "get_tournaments_tournament_leaderboard",
                "tags": [
                    "Betting"
                ],
                "summary": "Leaderboard",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    },
                    {
                        "name": "tournament",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    }
                }
            }
        },
        "/virtuals/bet": {
            "post": {
                "operationId": "post_virtuals_bet",
                "tags": [
                    "Betting"
                ],
                "summary": "Bet",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    },
                    "401": {
                        "description": "Unauthenticated"
                    }
                },
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "race_no": {
                                        "type": "integer"
                                    },
                                    "runner": {
                                        "type": "integer",
                                        "minimum": 1,
                                        "maximum": 6
                                    },
                                    "stake": {
                                        "type": "integer",
                                        "minimum": 1
                                    }
                                },
                                "required": [
                                    "race_no",
                                    "runner",
                                    "stake"
                                ]
                            }
                        }
                    }
                },
                "security": [
                    {
                        "bearerAuth": []
                    }
                ]
            }
        },
        "/virtuals/next": {
            "get": {
                "operationId": "get_virtuals_next",
                "tags": [
                    "Betting"
                ],
                "summary": "Next",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    }
                }
            }
        },
        "/wallet/deposit": {
            "post": {
                "operationId": "post_wallet_deposit",
                "tags": [
                    "Account"
                ],
                "summary": "Deposit",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    },
                    "401": {
                        "description": "Unauthenticated"
                    }
                },
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "amount": {
                                        "type": "integer",
                                        "minimum": 1
                                    },
                                    "code": {
                                        "type": [
                                            "string",
                                            "null"
                                        ],
                                        "maxLength": 40
                                    },
                                    "method": {
                                        "type": [
                                            "string",
                                            "null"
                                        ],
                                        "maxLength": 20
                                    },
                                    "payment_method": {
                                        "type": [
                                            "string",
                                            "null"
                                        ],
                                        "maxLength": 120
                                    },
                                    "driver": {
                                        "type": [
                                            "string",
                                            "null"
                                        ],
                                        "maxLength": 50
                                    }
                                },
                                "required": [
                                    "amount"
                                ]
                            }
                        }
                    }
                },
                "security": [
                    {
                        "bearerAuth": []
                    }
                ]
            }
        },
        "/wallet/payout-methods": {
            "get": {
                "operationId": "get_wallet_payout_methods",
                "tags": [
                    "Account"
                ],
                "summary": "Index",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    },
                    "401": {
                        "description": "Unauthenticated"
                    }
                },
                "security": [
                    {
                        "bearerAuth": []
                    }
                ]
            },
            "post": {
                "operationId": "post_wallet_payout_methods",
                "tags": [
                    "Account"
                ],
                "summary": "Store",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    },
                    "401": {
                        "description": "Unauthenticated"
                    }
                },
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "type": {
                                        "enum": [
                                            "bank",
                                            "card",
                                            "ewallet"
                                        ],
                                        "type": "string"
                                    },
                                    "label": {
                                        "type": "string",
                                        "maxLength": 60
                                    },
                                    "is_default": {
                                        "type": [
                                            "boolean",
                                            "null"
                                        ]
                                    },
                                    "metadata": {
                                        "type": [
                                            "array",
                                            "null"
                                        ]
                                    },
                                    "provider_token": {
                                        "type": [
                                            "string",
                                            "null"
                                        ],
                                        "maxLength": 120
                                    }
                                },
                                "required": [
                                    "type",
                                    "label"
                                ]
                            }
                        }
                    }
                },
                "security": [
                    {
                        "bearerAuth": []
                    }
                ]
            }
        },
        "/wallet/payout-methods/{payoutMethod}": {
            "delete": {
                "operationId": "delete_wallet_payout_methods_payoutMethod",
                "tags": [
                    "Account"
                ],
                "summary": "Destroy",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    },
                    {
                        "name": "payoutMethod",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    },
                    "401": {
                        "description": "Unauthenticated"
                    }
                },
                "security": [
                    {
                        "bearerAuth": []
                    }
                ]
            }
        },
        "/wallet/payout-methods/{payoutMethod}/default": {
            "post": {
                "operationId": "post_wallet_payout_methods_payoutMethod_default",
                "tags": [
                    "Account"
                ],
                "summary": "Set default",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    },
                    {
                        "name": "payoutMethod",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    },
                    "401": {
                        "description": "Unauthenticated"
                    }
                },
                "security": [
                    {
                        "bearerAuth": []
                    }
                ]
            }
        },
        "/wallet/withdraw": {
            "post": {
                "operationId": "post_wallet_withdraw",
                "tags": [
                    "Account"
                ],
                "summary": "Withdraw",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    },
                    "401": {
                        "description": "Unauthenticated"
                    }
                },
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "amount": {
                                        "type": "integer",
                                        "minimum": 1
                                    },
                                    "method": {
                                        "type": [
                                            "string",
                                            "null"
                                        ],
                                        "maxLength": 20
                                    },
                                    "payout_method_id": {
                                        "type": [
                                            "integer",
                                            "null"
                                        ]
                                    }
                                },
                                "required": [
                                    "amount"
                                ]
                            }
                        }
                    }
                },
                "security": [
                    {
                        "bearerAuth": []
                    }
                ]
            }
        },
        "/wallet/withdrawals": {
            "get": {
                "operationId": "get_wallet_withdrawals",
                "tags": [
                    "Account"
                ],
                "summary": "Withdrawals",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    },
                    "401": {
                        "description": "Unauthenticated"
                    }
                },
                "security": [
                    {
                        "bearerAuth": []
                    }
                ]
            }
        },
        "/wallet/withdrawals/{withdrawal}/cancel": {
            "post": {
                "operationId": "post_wallet_withdrawals_withdrawal_cancel",
                "tags": [
                    "Account"
                ],
                "summary": "Cancel withdrawal",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    },
                    {
                        "name": "withdrawal",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    },
                    "401": {
                        "description": "Unauthenticated"
                    }
                },
                "security": [
                    {
                        "bearerAuth": []
                    }
                ]
            }
        },
        "/webhooks/identity/onfido": {
            "post": {
                "operationId": "post_webhooks_identity_onfido",
                "tags": [
                    "Webhooks"
                ],
                "summary": "Onfido",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    }
                }
            }
        },
        "/webhooks/identity/persona": {
            "post": {
                "operationId": "post_webhooks_identity_persona",
                "tags": [
                    "Webhooks"
                ],
                "summary": "Persona",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    }
                }
            }
        },
        "/webhooks/identity/sumsub": {
            "post": {
                "operationId": "post_webhooks_identity_sumsub",
                "tags": [
                    "Webhooks"
                ],
                "summary": "Sumsub",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    }
                }
            }
        },
        "/webhooks/payments/nowpayments": {
            "post": {
                "operationId": "post_webhooks_payments_nowpayments",
                "tags": [
                    "Webhooks"
                ],
                "summary": "Nowpayments",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    }
                }
            }
        },
        "/webhooks/payments/stripe": {
            "post": {
                "operationId": "post_webhooks_payments_stripe",
                "tags": [
                    "Webhooks"
                ],
                "summary": "Stripe",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Tenant"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "422": {
                        "description": "Validation or business-rule error"
                    }
                }
            }
        }
    }
}