Users
User management and related operations
Retrieves a list of users on the platform.
Page number for pagination
Number of items per page
Successful operation
Invalid input
Unauthorized
Forbidden
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
}
}Retrieves a specific user by ID.
Successful operation
Invalid ID supplied
Unauthorized
Forbidden
User not found
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"
}Retrieves a list of wallets for a specific user.
Page number for pagination
Number of items per page
Successful operation
Invalid input
Unauthorized
Forbidden
User not found
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
}
}Retrieves a specific wallet for a user.
Successful operation
Invalid ID supplied
Unauthorized
Forbidden
User or wallet not found
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"
}Retrieves a list of sessions (bets, wins, and rollbacks) for a specific user.
Date filter. Default "today". "custom" requires range[start] & range[end] parameters.
Date range in Y-m-d H:i format. Required if date is "custom" only.
Date range in Y-m-d H:i format. Required if date is "custom" only.
Page number for pagination
Number of items per page
Successful operation
Invalid input
Unauthorized
Forbidden
User not found
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