Wallet API
Wallet API Reference - Operator API
{
"gameCode": "BINGAO_550e8400-e29b-41d4-a716-446655440000",
"currency": "BRL"
}{
"player": "550e8400-e29b-41d4-a716-446655440000",
"status": "RS_OK",
"currency": "BRL",
"balance": "1250.50"
}REQUIRED - JWT Authorization header using the Bearer scheme. All API endpoints require authentication, except for authentication endpoints (Connect/authentication). Example: "Authorization: Bearer {token}"
Player access token for session validation
eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...Successfully retrieved player balance with current amount and currency information.
Invalid request data, malformed game code, unsupported currency, or player validation failure.
Invalid or missing X-Player-Token header authentication.
REQUIRED - JWT Authorization header using the Bearer scheme. All API endpoints require authentication, except for authentication endpoints (Connect/authentication). Example: "Authorization: Bearer {token}"
Unique transaction identifier for request tracking
fd694e40-753f-4cdf-9c46-32f80e1b1fb8Player access token for session validation
eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...Bet transaction successfully processed and debited from player account.
No content
Invalid request data, malformed game code, unsupported currency, invalid amount, insufficient balance, or player validation failure.
Invalid or missing X-Player-Token header authentication.
Idempotency conflict: same X-Transaction-Id used with different request body.
No content
REQUIRED - JWT Authorization header using the Bearer scheme. All API endpoints require authentication, except for authentication endpoints (Connect/authentication). Example: "Authorization: Bearer {token}"
Unique transaction identifier for request tracking
7881704e-f897-45f8-820b-9929e687a17fPlayer access token for session validation
eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...Win transaction successfully processed and credited to player account.
No content
Invalid request data, malformed game code, unsupported currency, invalid amount, or player validation failure.
Invalid or missing X-Player-Token header authentication.
Idempotency conflict: same X-Transaction-Id used with different request body.
No content
GET /api/v1/wallet/transaction/bet?pageNumber=1&pageSize=20&sessionId=550e8400-e29b-41d4-a716-446655440000{
"roundId": "round_550e8400-e29b-41d4-a716-446655440000",
"transactions": [
{
"transactionId": "txn_123456789",
"amount": "25.50",
"currency": "BRL",
"timestamp": "2024-01-15T14:30:00Z",
"type": "bet"
}
]
}REQUIRED - JWT Authorization header using the Bearer scheme. All API endpoints require authentication, except for authentication endpoints (Connect/authentication). Example: "Authorization: Bearer {token}"
The page number for pagination (1-based indexing). Controls which page of results to return. Default value is 1.
1The number of transaction groups per page. Controls response size and performance. Default value is 10, recommended range 1-100.
10Optional game session identifier (GUID format) to filter transactions by specific gaming session. When provided, only transactions from the specified session are returned.
Optional round identifier (GUID format) to filter transactions by specific game round. When provided, only transactions from the specified round are returned.
Player access token for session validation
eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...Successfully retrieved paginated betting transactions with round-based grouping and applied filters.
Invalid request parameters, malformed GUIDs, invalid pagination values, or missing player authentication.
Invalid or missing X-Player-Token header authentication.
No betting transactions found for the specified filtering criteria.
GET /api/v1/wallet/transaction/win?pageNumber=1&pageSize=25&sessionId=550e8400-e29b-41d4-a716-446655440000{
"roundId": "round_550e8400-e29b-41d4-a716-446655440000",
"winTransactions": [
{
"transactionId": "win_txn_987654321",
"amount": "125.75",
"currency": "BRL",
"timestamp": "2024-01-15T14:32:15Z",
"type": "win"
}
]
}REQUIRED - JWT Authorization header using the Bearer scheme. All API endpoints require authentication, except for authentication endpoints (Connect/authentication). Example: "Authorization: Bearer {token}"
The page number for pagination (1-based indexing). Controls which page of win results to return. Default value is 1.
1The number of win transaction groups per page. Controls response size and performance. Default value is 10, recommended range 1-100.
10Optional game session identifier (GUID format) to filter win transactions by specific gaming session. When provided, only win transactions from the specified session are returned.
Optional round identifier (GUID format) to filter win transactions by specific game round. When provided, only win transactions from the specified round are returned.
Player access token for session validation
eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...Successfully retrieved paginated winning transactions with round-based grouping and applied filters.
Invalid request parameters, malformed GUIDs, invalid pagination values, or missing player authentication.
Invalid or missing X-Player-Token header authentication.
No winning transactions found for the specified filtering criteria.
REQUIRED - JWT Authorization header using the Bearer scheme. All API endpoints require authentication, except for authentication endpoints (Connect/authentication). Example: "Authorization: Bearer {token}"
Unique transaction identifier for request tracking
1417156b-f533-4ac1-bb37-99d5d9a35197Rollback transaction successfully processed and amount credited back to player account.
No content
Invalid request data, transaction not found, transaction is not a BET type, amount mismatch, or transaction already rolled back.
Referenced transaction ID not found in the system.
Idempotency conflict: same X-Transaction-Id used with different request body.
No content
Last updated