cURL
curl --request GET \ --url https://mock-api.cevro.ai/v1/players/{playerId}/bonuses \ --header 'Authorization: Bearer <token>' \ --header 'X-Session-ID: <x-session-id>'
{ "bonuses": [ { "id": "<string>", "bonus_name": "<string>", "status": "<string>", "amount": 123, "wager_requirement": 123, "wagered_amount": 123, "remaining_wager": 123, "created_at": "2023-11-07T05:31:56Z", "expires_at": "2023-11-07T05:31:56Z" } ], "total": 123, "limit": 123, "offset": 123 }
API Bearer token. For this demo, any non-empty string is accepted.
Filter by bonus status
active
pending
cancelled
completed
Number of results per page
Number of results to skip
Bonus history retrieved successfully
Show child attributes
Was this page helpful?