> For the complete documentation index, see [llms.txt](https://npayme-reward.gitbook.io/npayme/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://npayme-reward.gitbook.io/npayme/businesses/prizes/raffles.md).

# Raffles

## How it works

In order to create a raffle you must select the **Raffle** prize type in our dashboard. This will trigger two actions:

1. Create a Raffle to which you can allocate prizes
2. Create a NFT Prize representing a ticket to the raffle

You will first be asked to setup the data for the Ticket and will be able to access to raffle prizes directly from the prize page- take note that the winning tickets will be extracted after the prize is no longer claimable (after the **Available Until** time).

<figure><img src="/files/WD76riMrMYO4qPuXPOoU" alt=""><figcaption><p>Raffle Ticket edit</p></figcaption></figure>

By clicking "View Raffle Prizes" you will be taken to the Raffle page where you can allocate prizes to the raffle.

<figure><img src="/files/NUT5nfyLfSAyD5jV2xjP" alt=""><figcaption><p>Raffle page</p></figcaption></figure>

There are no limits to the amount and types of prizes you can give away through raffles with the exception of the following two points:

* You cannot giveaway Raffle tickets
* Prizes can only be claimed once (if you wish to give away multiple times the same prize you will have to create as many prizes as the times you wish to give it away)

## Winners selection

After the raffle has ended an automated script will randomly extract the winning tickets and allocate prizes to the accounts owning said tickets. This means that whoever is holding the ticket that has a joined your program through npayme Reward can claim the prize.&#x20;

Participants will the be capable of claiming the prizes in the Panel. &#x20;


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://npayme-reward.gitbook.io/npayme/businesses/prizes/raffles.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
