Sessions

Session management

This document uses the REST API. For more details, see the Working with the REST API page.

List Sessions

get
/sessions

Retrieves a list of all sessions (bets, wins, and rollbacks).

Query parameters
datestring · enumOptional

Date filter. Default "today". "custom" requires range[start] & range[end] parameters.

Possible values:
range[start]stringOptional

Date range in Y-m-d H:i format. Required if date is "custom" only.

range[end]stringOptional

Date range in Y-m-d H:i format. Required if date is "custom" only.

pageintegerOptional

Page number for pagination

limitintegerOptional

Number of items per page

Responses
get
/sessions
GET /sessions HTTP/1.1
Host: api.igaming-platform.com
Accept: */*
{
  "data": [
    {
      "id": 1,
      "provider_id": 1,
      "sub_provider_id": 1,
      "category_id": 1,
      "game_id": 1,
      "user_id": 1,
      "wallet_id": 1,
      "reference_user_id": 1,
      "description": "text",
      "amount": 1,
      "currency": "text",
      "old_balance": 1,
      "new_balance": 1,
      "control_balance": 1,
      "old_win": 1,
      "new_win": 1,
      "control_win": 1,
      "old_deposit": 1,
      "new_deposit": 1,
      "control_deposit": 1,
      "old_bonus": 1,
      "new_bonus": 1,
      "control_bonus": 1,
      "has_bonus": true,
      "bonus_amount": 1,
      "transaction_uuid": "text",
      "bet_uuid": "text",
      "operator_transaction_uuid": "text",
      "operator_validation": true,
      "is_test": true,
      "wins": [
        {
          "id": 1,
          "provider_id": 1,
          "sub_provider_id": 1,
          "category_id": 1,
          "game_id": 1,
          "user_id": 1,
          "wallet_id": 1,
          "reference_user_id": 1,
          "reference_bet_id": 1,
          "description": "text",
          "amount": 1,
          "tax": 1,
          "currency": "text",
          "old_balance": 1,
          "new_balance": 1,
          "control_balance": 1,
          "old_win": 1,
          "new_win": 1,
          "control_win": 1,
          "old_deposit": 1,
          "new_deposit": 1,
          "control_deposit": 1,
          "old_bonus": 1,
          "new_bonus": 1,
          "control_bonus": 1,
          "from_bonus": true,
          "has_bonus": true,
          "bonus_amount": 1,
          "transaction_uuid": "text",
          "reference_transaction_uuid": "text",
          "operator_transaction_uuid": "text",
          "operator_reference_transaction_uuid": "text",
          "operator_validation": true,
          "is_test": true,
          "cancellations": [
            {
              "id": 1,
              "provider_id": 1,
              "sub_provider_id": 1,
              "category_id": 1,
              "game_id": 1,
              "user_id": 1,
              "wallet_id": 1,
              "reference_user_id": 1,
              "reference_bet_id": 1,
              "reference_rollback_credit_id": 1,
              "reference_rollback_debit_id": 1,
              "description": "text",
              "amount": 1,
              "currency": "text",
              "old_balance": 1,
              "new_balance": 1,
              "control_balance": 1,
              "old_win": 1,
              "new_win": 1,
              "control_win": 1,
              "old_deposit": 1,
              "new_deposit": 1,
              "control_deposit": 1,
              "old_bonus": 1,
              "new_bonus": 1,
              "control_bonus": 1,
              "has_bonus": true,
              "bonus_amount": 1,
              "type": "CREDIT",
              "transaction_uuid": "text",
              "reference_transaction_uuid": "text",
              "operator_transaction_uuid": "text",
              "operator_reference_transaction_uuid": "text",
              "operator_validation": true,
              "is_test": true,
              "created_at": "2025-12-08T06:20:07.807Z",
              "updated_at": "2025-12-08T06:20:07.807Z"
            }
          ],
          "created_at": "2025-12-08T06:20:07.807Z",
          "updated_at": "2025-12-08T06:20:07.807Z"
        }
      ],
      "refunds": [
        {
          "id": 1,
          "provider_id": 1,
          "sub_provider_id": 1,
          "category_id": 1,
          "game_id": 1,
          "user_id": 1,
          "wallet_id": 1,
          "reference_user_id": 1,
          "reference_bet_id": 1,
          "reference_rollback_credit_id": 1,
          "reference_rollback_debit_id": 1,
          "description": "text",
          "amount": 1,
          "currency": "text",
          "old_balance": 1,
          "new_balance": 1,
          "control_balance": 1,
          "old_win": 1,
          "new_win": 1,
          "control_win": 1,
          "old_deposit": 1,
          "new_deposit": 1,
          "control_deposit": 1,
          "old_bonus": 1,
          "new_bonus": 1,
          "control_bonus": 1,
          "has_bonus": true,
          "bonus_amount": 1,
          "type": "CREDIT",
          "transaction_uuid": "text",
          "reference_transaction_uuid": "text",
          "operator_transaction_uuid": "text",
          "operator_reference_transaction_uuid": "text",
          "operator_validation": true,
          "is_test": true,
          "created_at": "2025-12-08T06:20:07.807Z",
          "updated_at": "2025-12-08T06:20:07.807Z"
        }
      ],
      "created_at": "2025-12-08T06:20:07.807Z",
      "updated_at": "2025-12-08T06:20:07.807Z"
    }
  ],
  "pagination": {
    "current_page": 1,
    "last_page": 1,
    "per_page": 1,
    "total": 1
  }
}

Get Session

get
/sessions/{id}

Retrieves a specific session (bet) by ID.

Path parameters
idintegerRequired
Responses
get
/sessions/{id}
GET /sessions/{id} HTTP/1.1
Host: api.igaming-platform.com
Accept: */*
{
  "id": 1,
  "provider_id": 1,
  "sub_provider_id": 1,
  "category_id": 1,
  "game_id": 1,
  "user_id": 1,
  "wallet_id": 1,
  "reference_user_id": 1,
  "description": "text",
  "amount": 1,
  "currency": "text",
  "old_balance": 1,
  "new_balance": 1,
  "control_balance": 1,
  "old_win": 1,
  "new_win": 1,
  "control_win": 1,
  "old_deposit": 1,
  "new_deposit": 1,
  "control_deposit": 1,
  "old_bonus": 1,
  "new_bonus": 1,
  "control_bonus": 1,
  "has_bonus": true,
  "bonus_amount": 1,
  "transaction_uuid": "text",
  "bet_uuid": "text",
  "operator_transaction_uuid": "text",
  "operator_validation": true,
  "is_test": true,
  "wins": [
    {
      "id": 1,
      "provider_id": 1,
      "sub_provider_id": 1,
      "category_id": 1,
      "game_id": 1,
      "user_id": 1,
      "wallet_id": 1,
      "reference_user_id": 1,
      "reference_bet_id": 1,
      "description": "text",
      "amount": 1,
      "tax": 1,
      "currency": "text",
      "old_balance": 1,
      "new_balance": 1,
      "control_balance": 1,
      "old_win": 1,
      "new_win": 1,
      "control_win": 1,
      "old_deposit": 1,
      "new_deposit": 1,
      "control_deposit": 1,
      "old_bonus": 1,
      "new_bonus": 1,
      "control_bonus": 1,
      "from_bonus": true,
      "has_bonus": true,
      "bonus_amount": 1,
      "transaction_uuid": "text",
      "reference_transaction_uuid": "text",
      "operator_transaction_uuid": "text",
      "operator_reference_transaction_uuid": "text",
      "operator_validation": true,
      "is_test": true,
      "cancellations": [
        {
          "id": 1,
          "provider_id": 1,
          "sub_provider_id": 1,
          "category_id": 1,
          "game_id": 1,
          "user_id": 1,
          "wallet_id": 1,
          "reference_user_id": 1,
          "reference_bet_id": 1,
          "reference_rollback_credit_id": 1,
          "reference_rollback_debit_id": 1,
          "description": "text",
          "amount": 1,
          "currency": "text",
          "old_balance": 1,
          "new_balance": 1,
          "control_balance": 1,
          "old_win": 1,
          "new_win": 1,
          "control_win": 1,
          "old_deposit": 1,
          "new_deposit": 1,
          "control_deposit": 1,
          "old_bonus": 1,
          "new_bonus": 1,
          "control_bonus": 1,
          "has_bonus": true,
          "bonus_amount": 1,
          "type": "CREDIT",
          "transaction_uuid": "text",
          "reference_transaction_uuid": "text",
          "operator_transaction_uuid": "text",
          "operator_reference_transaction_uuid": "text",
          "operator_validation": true,
          "is_test": true,
          "created_at": "2025-12-08T06:20:07.807Z",
          "updated_at": "2025-12-08T06:20:07.807Z"
        }
      ],
      "created_at": "2025-12-08T06:20:07.807Z",
      "updated_at": "2025-12-08T06:20:07.807Z"
    }
  ],
  "refunds": [
    {
      "id": 1,
      "provider_id": 1,
      "sub_provider_id": 1,
      "category_id": 1,
      "game_id": 1,
      "user_id": 1,
      "wallet_id": 1,
      "reference_user_id": 1,
      "reference_bet_id": 1,
      "reference_rollback_credit_id": 1,
      "reference_rollback_debit_id": 1,
      "description": "text",
      "amount": 1,
      "currency": "text",
      "old_balance": 1,
      "new_balance": 1,
      "control_balance": 1,
      "old_win": 1,
      "new_win": 1,
      "control_win": 1,
      "old_deposit": 1,
      "new_deposit": 1,
      "control_deposit": 1,
      "old_bonus": 1,
      "new_bonus": 1,
      "control_bonus": 1,
      "has_bonus": true,
      "bonus_amount": 1,
      "type": "CREDIT",
      "transaction_uuid": "text",
      "reference_transaction_uuid": "text",
      "operator_transaction_uuid": "text",
      "operator_reference_transaction_uuid": "text",
      "operator_validation": true,
      "is_test": true,
      "created_at": "2025-12-08T06:20:07.807Z",
      "updated_at": "2025-12-08T06:20:07.807Z"
    }
  ],
  "created_at": "2025-12-08T06:20:07.807Z",
  "updated_at": "2025-12-08T06:20:07.807Z"
}

List Credit Sessions

get
/sessions/credit

Retrieves a list of credit sessions (wins).

Query parameters
datestring · enumOptional

Date filter. Default "today". "custom" requires range[start] & range[end] parameters.

Possible values:
range[start]stringOptional

Date range in Y-m-d H:i format. Required if date is "custom" only.

range[end]stringOptional

Date range in Y-m-d H:i format. Required if date is "custom" only.

pageintegerOptional

Page number for pagination

limitintegerOptional

Number of items per page

Responses
get
/sessions/credit
GET /sessions/credit HTTP/1.1
Host: api.igaming-platform.com
Accept: */*
{
  "data": [
    {
      "id": 1,
      "provider_id": 1,
      "sub_provider_id": 1,
      "category_id": 1,
      "game_id": 1,
      "user_id": 1,
      "wallet_id": 1,
      "reference_user_id": 1,
      "reference_bet_id": 1,
      "description": "text",
      "amount": 1,
      "tax": 1,
      "currency": "text",
      "old_balance": 1,
      "new_balance": 1,
      "control_balance": 1,
      "old_win": 1,
      "new_win": 1,
      "control_win": 1,
      "old_deposit": 1,
      "new_deposit": 1,
      "control_deposit": 1,
      "old_bonus": 1,
      "new_bonus": 1,
      "control_bonus": 1,
      "from_bonus": true,
      "has_bonus": true,
      "bonus_amount": 1,
      "transaction_uuid": "text",
      "reference_transaction_uuid": "text",
      "operator_transaction_uuid": "text",
      "operator_reference_transaction_uuid": "text",
      "operator_validation": true,
      "is_test": true,
      "cancellations": [
        {
          "id": 1,
          "provider_id": 1,
          "sub_provider_id": 1,
          "category_id": 1,
          "game_id": 1,
          "user_id": 1,
          "wallet_id": 1,
          "reference_user_id": 1,
          "reference_bet_id": 1,
          "reference_rollback_credit_id": 1,
          "reference_rollback_debit_id": 1,
          "description": "text",
          "amount": 1,
          "currency": "text",
          "old_balance": 1,
          "new_balance": 1,
          "control_balance": 1,
          "old_win": 1,
          "new_win": 1,
          "control_win": 1,
          "old_deposit": 1,
          "new_deposit": 1,
          "control_deposit": 1,
          "old_bonus": 1,
          "new_bonus": 1,
          "control_bonus": 1,
          "has_bonus": true,
          "bonus_amount": 1,
          "type": "CREDIT",
          "transaction_uuid": "text",
          "reference_transaction_uuid": "text",
          "operator_transaction_uuid": "text",
          "operator_reference_transaction_uuid": "text",
          "operator_validation": true,
          "is_test": true,
          "created_at": "2025-12-08T06:20:07.807Z",
          "updated_at": "2025-12-08T06:20:07.807Z"
        }
      ],
      "created_at": "2025-12-08T06:20:07.807Z",
      "updated_at": "2025-12-08T06:20:07.807Z"
    }
  ],
  "pagination": {
    "current_page": 1,
    "last_page": 1,
    "per_page": 1,
    "total": 1
  }
}

List Rollback Sessions

get
/sessions/rollback

Retrieves a list of rollback sessions.

Query parameters
datestring · enumOptional

Date filter. Default "today". "custom" requires range[start] & range[end] parameters.

Possible values:
range[start]stringOptional

Date range in Y-m-d H:i format. Required if date is "custom" only.

range[end]stringOptional

Date range in Y-m-d H:i format. Required if date is "custom" only.

pageintegerOptional

Page number for pagination

limitintegerOptional

Number of items per page

Responses
get
/sessions/rollback
GET /sessions/rollback HTTP/1.1
Host: api.igaming-platform.com
Accept: */*
{
  "data": [
    {
      "id": 1,
      "provider_id": 1,
      "sub_provider_id": 1,
      "category_id": 1,
      "game_id": 1,
      "user_id": 1,
      "wallet_id": 1,
      "reference_user_id": 1,
      "reference_bet_id": 1,
      "reference_rollback_credit_id": 1,
      "reference_rollback_debit_id": 1,
      "description": "text",
      "amount": 1,
      "currency": "text",
      "old_balance": 1,
      "new_balance": 1,
      "control_balance": 1,
      "old_win": 1,
      "new_win": 1,
      "control_win": 1,
      "old_deposit": 1,
      "new_deposit": 1,
      "control_deposit": 1,
      "old_bonus": 1,
      "new_bonus": 1,
      "control_bonus": 1,
      "has_bonus": true,
      "bonus_amount": 1,
      "type": "CREDIT",
      "transaction_uuid": "text",
      "reference_transaction_uuid": "text",
      "operator_transaction_uuid": "text",
      "operator_reference_transaction_uuid": "text",
      "operator_validation": true,
      "is_test": true,
      "created_at": "2025-12-08T06:20:07.807Z",
      "updated_at": "2025-12-08T06:20:07.807Z"
    }
  ],
  "pagination": {
    "current_page": 1,
    "last_page": 1,
    "per_page": 1,
    "total": 1
  }
}

Last updated