Users

User management and related operations

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

List Users

get
/users

Retrieves a list of users on the platform.

Query parameters
pageintegerOptional

Page number for pagination

limitintegerOptional

Number of items per page

Responses
200

Successful operation

application/json
get
/users
GET /users HTTP/1.1
Host: api.igaming-platform.com
Accept: */*
{
  "data": [
    {
      "id": 1,
      "operator_id": 1122334455667788900,
      "name": "John Doe",
      "first_name": "John",
      "last_name": "Doe",
      "login": "johndoe",
      "email": "[email protected]",
      "email_verified_at": "2025-12-08T06:31:37.029Z",
      "phone": "+1234567890",
      "phone_verified_at": "2025-12-08T06:31:37.029Z",
      "account_code": "AB1234",
      "gender": "M",
      "lang": "en",
      "nationality": "US",
      "cni": 1234567890,
      "address": "123 Main St",
      "city": "New York",
      "country": "US",
      "birthday": "2025-12-08",
      "level": 1,
      "vip": false,
      "ultra_vip": false,
      "is_test": false,
      "active": true,
      "hidden": false,
      "blocked": false,
      "self_excluded": false,
      "self_exclusion_date": "2025-12-08T06:31:37.029Z",
      "created_at": "2025-12-08T06:31:37.029Z",
      "updated_at": "2025-12-08T06:31:37.029Z"
    }
  ],
  "pagination": {
    "current_page": 1,
    "last_page": 1,
    "per_page": 1,
    "total": 1
  }
}

Get User

get
/users/{id}

Retrieves a specific user by ID.

Path parameters
idintegerRequired
Responses
200

Successful operation

application/json
get
/users/{id}
GET /users/{id} HTTP/1.1
Host: api.igaming-platform.com
Accept: */*
{
  "id": 1,
  "operator_id": 1122334455667788900,
  "name": "John Doe",
  "first_name": "John",
  "last_name": "Doe",
  "login": "johndoe",
  "email": "[email protected]",
  "email_verified_at": "2025-12-08T06:31:37.029Z",
  "phone": "+1234567890",
  "phone_verified_at": "2025-12-08T06:31:37.029Z",
  "account_code": "AB1234",
  "gender": "M",
  "lang": "en",
  "nationality": "US",
  "cni": 1234567890,
  "address": "123 Main St",
  "city": "New York",
  "country": "US",
  "birthday": "2025-12-08",
  "level": 1,
  "vip": false,
  "ultra_vip": false,
  "is_test": false,
  "active": true,
  "hidden": false,
  "blocked": false,
  "self_excluded": false,
  "self_exclusion_date": "2025-12-08T06:31:37.029Z",
  "created_at": "2025-12-08T06:31:37.029Z",
  "updated_at": "2025-12-08T06:31:37.029Z"
}

List User Wallets

get
/users/{id}/wallets

Retrieves a list of wallets for a specific user.

Path parameters
idintegerRequired
Query parameters
pageintegerOptional

Page number for pagination

limitintegerOptional

Number of items per page

Responses
200

Successful operation

application/json
get
/users/{id}/wallets
GET /users/{id}/wallets HTTP/1.1
Host: api.igaming-platform.com
Accept: */*
{
  "data": [
    {
      "id": 1,
      "user_id": 1,
      "user_operator_id": 1122334455667788900,
      "user_operator_session": "54cabae3-577f-41e9-bef0-dfc396e7088b",
      "user_login": "johndoe",
      "currency": "USD",
      "balance": 100,
      "balance_version": 1,
      "win": 40,
      "win_version": 3,
      "deposit": 60,
      "deposit_version": 2,
      "bonus": 0,
      "bonus_version": 1,
      "created_at": "2025-12-08T06:31:37.029Z",
      "updated_at": "2025-12-08T06:31:37.029Z"
    }
  ],
  "pagination": {
    "current_page": 1,
    "last_page": 1,
    "per_page": 1,
    "total": 1
  }
}

Get User Wallet

get
/users/{userId}/wallets/{walletId}

Retrieves a specific wallet for a user.

Path parameters
userIdintegerRequired
walletIdintegerRequired
Responses
200

Successful operation

application/json
get
/users/{userId}/wallets/{walletId}
GET /users/{userId}/wallets/{walletId} HTTP/1.1
Host: api.igaming-platform.com
Accept: */*
{
  "id": 1,
  "user_id": 1,
  "user_operator_id": 1122334455667788900,
  "user_operator_session": "54cabae3-577f-41e9-bef0-dfc396e7088b",
  "user_login": "johndoe",
  "currency": "USD",
  "balance": 100,
  "balance_version": 1,
  "win": 40,
  "win_version": 3,
  "deposit": 60,
  "deposit_version": 2,
  "bonus": 0,
  "bonus_version": 1,
  "created_at": "2025-12-08T06:31:37.029Z",
  "updated_at": "2025-12-08T06:31:37.029Z"
}

List User Sessions

get
/users/{id}/sessions

Retrieves a list of sessions (bets, wins, and rollbacks) for a specific user.

Path parameters
idintegerRequired
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
200

Successful operation

application/json
get
/users/{id}/sessions
GET /users/{id}/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:31:37.029Z",
              "updated_at": "2025-12-08T06:31:37.029Z"
            }
          ],
          "created_at": "2025-12-08T06:31:37.029Z",
          "updated_at": "2025-12-08T06:31:37.029Z"
        }
      ],
      "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:31:37.029Z",
          "updated_at": "2025-12-08T06:31:37.029Z"
        }
      ],
      "created_at": "2025-12-08T06:31:37.029Z",
      "updated_at": "2025-12-08T06:31:37.029Z"
    }
  ],
  "pagination": {
    "current_page": 1,
    "last_page": 1,
    "per_page": 1,
    "total": 1
  }
}

Last updated