{
  "status": "success",
  "message": "raffle returned",
  "data": {
    "raffle": {
      "id": "7c057f48-c22d-4eb8-86a8-df51dc4f0256",
      "name": null,
      "durationInDays": null,
      "partner": {},
      "prizes": [
        {
          "id": "1128409f-d55f-4ba2-91bd-0a86d0c80b33",
          "raffle": {},
          "coin": 10,
          "timeline": "daily"
        },
        {
          "id": "04275b66-4603-4a9c-a6d4-b2c6fa5bb8c5",
          "raffle": {},
          "coin": 50,
          "timeline": "weekly"
        },
        {
          "id": "c03053a9-6568-4f28-a79b-4b4ca5a7fbe1",
          "raffle": {},
          "coin": 100,
          "timeline": "monthly"
        }
      ],
      "prize": 1,
      "coinAmount": 1,
      "isActive": true,
      "startDate": "2025-09-02T23:00:00.000Z",
      "isPaused": false
    },
    "isCurrentParticipant": false,
    "totalParticipants": 0,
    "previousWinner": null
  }
}

URL
https://test-api.bvndle.com/api/v1/laas/raffles/active
Base URL
https://test-api.bvndle.com/api/v1/laas
HTTP Method
GET
Authorization Header
Bearer ACCESS_TOKEN

Query Parameter:
nametypeDescription
partnerIdstringRequired
ID of the partner
userIdstringOptional
ID of onboarded user
PS: Passed if you want to see if the user is already a participant in the raffle

cURL
curl --request GET
'https://test-api.bvndle.com/api/v1/laas/raffles/active?partnerId=dcc1a639-906e-4393-84b7-689379fc4de8' \
--header 'Content-Type: application/json' \

{
  "status": "success",
  "message": "raffle returned",
  "data": {
    "raffle": {
      "id": "7c057f48-c22d-4eb8-86a8-df51dc4f0256",
      "name": null,
      "durationInDays": null,
      "partner": {},
      "prizes": [
        {
          "id": "1128409f-d55f-4ba2-91bd-0a86d0c80b33",
          "raffle": {},
          "coin": 10,
          "timeline": "daily"
        },
        {
          "id": "04275b66-4603-4a9c-a6d4-b2c6fa5bb8c5",
          "raffle": {},
          "coin": 50,
          "timeline": "weekly"
        },
        {
          "id": "c03053a9-6568-4f28-a79b-4b4ca5a7fbe1",
          "raffle": {},
          "coin": 100,
          "timeline": "monthly"
        }
      ],
      "prize": 1,
      "coinAmount": 1,
      "isActive": true,
      "startDate": "2025-09-02T23:00:00.000Z",
      "isPaused": false
    },
    "isCurrentParticipant": false,
    "totalParticipants": 0,
    "previousWinner": null
  }
}