Get User Jackpot Win History
GET
/jackpot-service/v1/jackpots/users/history
Headers
Name
Value
Content-Type
application/json
Authorization
Bearer <token>
Body
Name
Type
Description
Optional
page
integer
Page number for pagination
Yes
per_page
integer
Number of records per page
Yes
Response
{
"data": [
{
"id": 15,
"user_id": "9884009d-e632-4152-a7ae-64fe0f3d2d0d",
"winning_amount": 1000,
"win_date": "2025-02-06 00:00:00",
"jackpot": {
"id": 2,
"name": "Middle",
"type": "medium",
"jackpot_group_id": 1,
"created_at": "2024-11-29T09:03:14.000000Z",
"updated_at": "2025-02-25T07:10:59.000000Z",
"currency": {
"id": 13,
"enabled": 1,
"name": "US Dollar",
"code": "USD",
"sign": "$",
"type": "fiat"
},
"media": [
{
"id": 13,
"name": "desktop_banner",
"original_url": "https://cdn.sprutgaming.com/dev/13/desktop_banner.webp"
},
{
"id": 14,
"name": "tablet_banner",
"original_url": "https://cdn.sprutgaming.com/dev/14/tablet_banner.webp"
},
{
"id": 15,
"name": "mobile_banner",
"original_url": "https://cdn.sprutgaming.com/dev/15/mobile_banner.webp"
}
]
}
},
{
"id": 12,
"user_id": "9884009d-e632-4152-a7ae-64fe0f3d2d0d",
"winning_amount": 62000,
"win_date": "2025-02-06 00:00:00",
"jackpot": {
"id": 3,
"name": "Major",
"type": "large",
"jackpot_group_id": 1,
"created_at": "2024-11-29T09:05:34.000000Z",
"updated_at": "2025-02-25T07:28:20.000000Z",
"currency": {
"id": 13,
"enabled": 1,
"name": "US Dollar",
"code": "USD",
"sign": "$",
"type": "fiat"
},
"media": [
{
"id": 19,
"name": "desktop_banner",
"original_url": "https://cdn.sprutgaming.com/dev/19/desktop_banner.webp"
}
]
}
}
],
"links": {
"first": "http://localhost:8001/api/jackpot/users/{userId}/history?page=1",
"last": "http://localhost:8001/api/jackpot/users/{userId}/history?page=1",
"prev": null,
"next": null
},
"meta": {
"current_page": 1,
"from": 1,
"last_page": 1,
"per_page": 25,
"to": 8,
"total": 8
}
}
{
"error": "Invalid request"
}
Last updated