Transactions Report
GET /api/client/reports/transactions
Retrieve a paginated list of transactions with optional filters. The response includes individual transaction records along with aggregated totals for debits, credits, rollbacks, free spins, and profit.
Query Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
page | integer | No | Page number (default: 1) |
filter[per_page] | integer | No | Items per page (default: 50) |
filter[transaction_type][] | string | No | Filter by type: DEBIT, CREDIT, ROLLBACK, FREE_SPIN |
filter[currency_id] | string | No | Currency ISO code (e.g., USD, CRC) |
filter[fromDate] | string | No | Start date in YYYY-MM-DD format |
filter[toDate] | string | No | End date in YYYY-MM-DD format |
filter[provider_id][] | integer | No | Filter by provider ID(s) |
Filtering by Multiple Values
Array parameters (marked with []) accept multiple values. For example, to filter by both DEBIT and CREDIT types:
?filter[transaction_type][]=DEBIT&filter[transaction_type][]=CREDITRequest
Headers
| Header | Value | Required |
|---|---|---|
Accept | application/json | Yes |
X-Client-Secret | Your UUID secret | Yes |
Request Example
bash
curl -X GET 'https://api.syssoft1.com/api/client/reports/transactions?page=1&filter[per_page]=50' \
-H 'Accept: application/json' \
-H 'X-Client-Secret: fd5a9710-d7f8-47af-a2c5-d553f9029706'Example with Filters
bash
curl -X GET 'https://api.syssoft1.com/api/client/reports/transactions?page=1&filter[per_page]=50&filter[transaction_type][]=DEBIT&filter[currency_id]=USD&filter[fromDate]=2026-03-01&filter[toDate]=2026-04-13' \
-H 'Accept: application/json' \
-H 'X-Client-Secret: fd5a9710-d7f8-47af-a2c5-d553f9029706'Response
Successful Response — 200 OK
json
{
"data": [
{
"id": 12345,
"type": "DEBIT",
"amount": 10.00,
"currency": "USD",
"player": "player123",
"provider": "Pragmatic Play",
"game": "Sweet Bonanza",
"created_at": "2026-04-13 10:30:00"
}
],
"pagination": {
"current_page": 1,
"total": 150,
"per_page": 50,
"total_pages": 3
},
"totals": {
"total_debit": {
"raw": 50000.00,
"formatted": "$50,000.00",
"large_number": "50K",
"count": 1200
},
"total_credit": {
"raw": 45000.00,
"formatted": "$45,000.00",
"large_number": "45K",
"count": 800
},
"total_rollback": {
"raw": 500.00,
"formatted": "$500.00",
"large_number": "500",
"count": 50
},
"total_free_spin": {
"raw": 200.00,
"formatted": "$200.00",
"large_number": "200",
"count": 100
},
"profit": {
"raw": 4300.00,
"formatted": "$4,300.00",
"large_number": "4.3K"
},
"total_count": 2150
}
}Response Fields
data[] — Transaction Records
| Field | Type | Description |
|---|---|---|
id | integer | Unique transaction identifier |
type | string | Transaction type: DEBIT, CREDIT, ROLLBACK, or FREE_SPIN |
amount | number | Transaction amount |
currency | string | Currency ISO code |
player | string | Player username |
provider | string | Game provider name |
game | string | Game name |
created_at | string | Transaction timestamp (YYYY-MM-DD HH:mm:ss) |
pagination — Pagination Information
| Field | Type | Description |
|---|---|---|
current_page | integer | Current page number |
total | integer | Total number of records |
per_page | integer | Records per page |
total_pages | integer | Total number of pages |
totals — Aggregated Totals
The totals object provides aggregated values across all records matching the current filters (not just the current page). Each monetary total includes:
| Field | Type | Description |
|---|---|---|
raw | number | Raw numeric value |
formatted | string | Formatted string with currency symbol |
large_number | string | Abbreviated representation (e.g., 50K, 1.2M) |
count | integer | Number of transactions of this type |
The profit field is calculated as: total_debit - total_credit - total_rollback.
Try It Out
API PlaygroundGET
Parameters
pageintegerPage number
filter[per_page]integerItems per page
filter[transaction_type][]arrayTransaction types
filter[currency_id]stringCurrency ISO code
filter[fromDate]stringStart date (YYYY-MM-DD)
filter[toDate]stringEnd date (YYYY-MM-DD)
filter[provider_id][]arrayProvider IDs
Request URL
https://api.syssoft1.com/api/client/reports/transactionsError Responses
| Code | Description |
|---|---|
401 | Invalid or inactive client secret. See Authentication. |
422 | Invalid query parameters. Check parameter types and formats. |
429 | Rate limit exceeded. Wait and retry. See Error Handling. |