Lottery And Gaming
A modern microservice for managing lottery games, draws, tickets and jackpots.
442 ms avg latency
48 endpoints
The in-depth APIMemo review for this API hasn't been published yet —
the data below comes straight from the public marketplace listing.
Lottery And Gaming endpoints
| Method | Endpoint | Description |
|---|---|---|
| POST |
create_jackpot_config_jackpot_create_jackpot_config_post /jackpot/create_jackpot_config |
Creates a new jackpot configuration for a lottery product, specifying rules such as seed amount, increment, and cap. |
| GET |
read_root_lottery__get /lottery/ |
Returns a welcome message confirming that the Lottery Micro SaaS service is running and accessible. This endpoint can be used for health checks or to verify API connectivity. |
| POST |
void_ticket_lottery_void_ticket_post /lottery/void_ticket |
Voids a previously purchased lottery ticket, preventing it from being used in draw evaluations or prize claims. This is typically used for tickets that were issued in error or… |
| POST |
create_paytable_item_lottery_create_paytable_item_post /lottery/create_paytable_item |
Adds a new paytable item to a lottery product. Paytable items define the prize structure for a product, specifying how many matches are required for each prize tier, whether a… |
| POST |
set_jackpot_active_jackpot_set_jackpot_active_post /jackpot/set_jackpot_active |
Activates or deactivates a jackpot configuration for a lottery product. |
| POST |
increment_jackpot_jackpot_increment_jackpot_post /jackpot/increment_jackpot |
Increments the jackpot amount based on a transaction, such as a ticket purchase. |
| POST |
evaluate_lottery_results_lottery_evaluate_lottery_results_post /lottery/evaluate_lottery_results |
Initiates the evaluation of lottery results for a specific draw as a background task. This is useful for large draws where evaluation may take significant time, allowing the API… |
| POST |
get_jackpot_state_jackpot_get_jackpot_state_post /jackpot/get_jackpot_state |
Retrieves the current state and value of a jackpot for a given jackpot ID. |
| POST |
get_recent_draws_endpoint_lottery_get_recent_draws_post /lottery/get_recent_draws |
Returns a list of recent draws for a specified lottery product, including draw IDs, winning numbers, and draw times. This endpoint is useful for displaying recent results to… |
| POST |
create_lottery_lottery_create_lottery_post /lottery/create_lottery |
Creates a new lottery entity in the system. Each lottery acts as a container for one or more products (draw games), allowing you to manage and organize different lottery games… |
| POST |
update_product_status_lottery_update_product_status_post /lottery/update_product_status |
Updates the operational status of a lottery product. This can be used to transition a product between states such as 'pending', 'running', 'suspended', or 'complete'. Changing… |
| POST |
run_draw_lottery_run_draw_post /lottery/run_draw |
Executes a draw for the specified lottery product. This generates the winning numbers for the draw, records the draw details, and prepares the system for result evaluation. Use… |
| POST |
evaluate_lottery_evaluate_post /lottery/evaluate |
Evaluates all tickets for a specific draw, determines winners for each prize tier, and calculates prize payouts based on the paytable and draw results. This endpoint processes… |
| POST |
jackpot_win_jackpot_jackpot_win_post /jackpot/jackpot_win |
Records a jackpot win event, including winner details, win amount, and rollover count. |
| POST |
create_product_lottery_create_product_post /lottery/create_product |
Creates a new product (draw game) within a specified lottery. Products represent individual games such as Lotto, Pick 3, or Keno, and define their own rules, ticket structure,… |
| POST |
update_product_lottery_update_product_post /lottery/update_product |
Updates the configuration details of an existing lottery product. This can include changes to the product name, ticket structure, pricing, or status. Use this endpoint to… |
| POST |
get_draw_lottery_get_draw_post /lottery/get_draw |
Fetches detailed information about a specific draw, including winning numbers, draw time, result summary, and prize liability. This endpoint is useful for displaying draw results… |
| POST |
generate_multiplier_lottery_generate_multiplier_post /lottery/generate_multiplier |
Generates a multiplier value for a lottery draw, according to the rules of the specified game type (e.g., Powerball, Mega Millions, or custom). The multiplier can be used to… |
| POST |
get_product_lottery_get_product_post /lottery/get_product |
Fetches the configuration details of a specific lottery product, including its game type, ticket structure, pricing, and status. Use this endpoint to view or verify the setup of… |
| POST |
get_product_status_lottery_get_product_status_post /lottery/get_product_status |
Returns the current operational status of a lottery product, such as whether it is pending, running, suspended, or complete. This endpoint helps monitor and control the lifecycle… |
| POST |
redeem_ticket_lottery_redeem_ticket_post /lottery/redeem_ticket |
Processes the redemption of a winning lottery ticket. This endpoint validates the ticket, checks if it is a winner, and marks it as redeemed so that the prize can be paid out and… |
| POST |
check_ticket_lottery_check_ticket_post /lottery/check_ticket |
Checks the current status and result of a specified lottery ticket. This includes whether the ticket is a winner, the prize amount (if any), and the ticket's redemption status.… |
| POST |
purchase_ticket_lottery_purchase_ticket_post /lottery/purchase_ticket |
Allows a user or system to purchase a ticket for a specified lottery product. The request includes the number of plays and the selected numbers for each play. This endpoint… |
| POST |
get_jackpot_state_jackpot_get_jackpot_state_post /jackpot/get_jackpot_state |
Retrieves the current state and value of a jackpot for a given jackpot ID. |
| POST |
jackpot_win_jackpot_jackpot_win_post /jackpot/jackpot_win |
Records a jackpot win event, including winner details, win amount, and rollover count. |
| POST |
create_jackpot_config_jackpot_create_jackpot_config_post /jackpot/create_jackpot_config |
Creates a new jackpot configuration for a lottery product, specifying rules such as seed amount, increment, and cap. |
| POST |
set_jackpot_active_jackpot_set_jackpot_active_post /jackpot/set_jackpot_active |
Activates or deactivates a jackpot configuration for a lottery product. |
| POST |
run_draw_raffle_run_draw_post /raffle/run_draw |
Executes the raffle draw for a given lottery and product, selecting the winning numbers. |
| POST |
increment_jackpot_jackpot_increment_jackpot_post /jackpot/increment_jackpot |
Increments the jackpot amount based on a transaction, such as a ticket purchase. |
| POST |
purchase_ticket_raffle_purchase_ticket_post /raffle/purchase_ticket |
Allows a user or system to purchase one or more tickets for a specified raffle product. The request includes the number of tickets and the ticket numbers (as strings or… |
| POST |
check_ticket_lottery_check_ticket_post /lottery/check_ticket |
Checks the current status and result of a specified lottery ticket. This includes whether the ticket is a winner, the prize amount (if any), and the ticket's redemption status.… |
| POST |
purchase_ticket_lottery_purchase_ticket_post /lottery/purchase_ticket |
Allows a user or system to purchase a ticket for a specified lottery product. The request includes the number of plays and the selected numbers for each play. This endpoint… |
| POST |
get_product_status_lottery_get_product_status_post /lottery/get_product_status |
Returns the current operational status of a lottery product, such as whether it is pending, running, suspended, or complete. This endpoint helps monitor and control the lifecycle… |
| POST |
create_product_lottery_create_product_post /lottery/create_product |
Creates a new product (draw game) within a specified lottery. Products represent individual games such as Lotto, Pick 3, or Keno, and define their own rules, ticket structure,… |
| POST |
redeem_ticket_lottery_redeem_ticket_post /lottery/redeem_ticket |
Processes the redemption of a winning lottery ticket. This endpoint validates the ticket, checks if it is a winner, and marks it as redeemed so that the prize can be paid out and… |
| POST |
create_lottery_lottery_create_lottery_post /lottery/create_lottery |
Creates a new lottery entity in the system. Each lottery acts as a container for one or more products (draw games), allowing you to manage and organize different lottery games… |
| POST |
run_draw_lottery_run_draw_post /lottery/run_draw |
Executes a draw for the specified lottery product. This generates the winning numbers for the draw, records the draw details, and prepares the system for result evaluation. Use… |
| POST |
evaluate_lottery_results_lottery_evaluate_lottery_results_post /lottery/evaluate_lottery_results |
Initiates the evaluation of lottery results for a specific draw as a background task. This is useful for large draws where evaluation may take significant time, allowing the API… |
| POST |
update_product_status_lottery_update_product_status_post /lottery/update_product_status |
Updates the operational status of a lottery product. This can be used to transition a product between states such as 'pending', 'running', 'suspended', or 'complete'. Changing… |
| POST |
void_ticket_lottery_void_ticket_post /lottery/void_ticket |
Voids a previously purchased lottery ticket, preventing it from being used in draw evaluations or prize claims. This is typically used for tickets that were issued in error or… |
| POST |
generate_multiplier_lottery_generate_multiplier_post /lottery/generate_multiplier |
Generates a multiplier value for a lottery draw, according to the rules of the specified game type (e.g., Powerball, Mega Millions, or custom). The multiplier can be used to… |
| POST |
evaluate_lottery_evaluate_post /lottery/evaluate |
Evaluates all tickets for a specific draw, determines winners for each prize tier, and calculates prize payouts based on the paytable and draw results. This endpoint processes… |
| POST |
create_paytable_item_lottery_create_paytable_item_post /lottery/create_paytable_item |
Adds a new paytable item to a lottery product. Paytable items define the prize structure for a product, specifying how many matches are required for each prize tier, whether a… |
| POST |
get_draw_lottery_get_draw_post /lottery/get_draw |
Fetches detailed information about a specific draw, including winning numbers, draw time, result summary, and prize liability. This endpoint is useful for displaying draw results… |
| POST |
get_product_lottery_get_product_post /lottery/get_product |
Fetches the configuration details of a specific lottery product, including its game type, ticket structure, pricing, and status. Use this endpoint to view or verify the setup of… |
| GET |
read_root_lottery__get /lottery/ |
Returns a welcome message confirming that the Lottery Micro SaaS service is running and accessible. This endpoint can be used for health checks or to verify API connectivity. |
| POST |
get_recent_draws_endpoint_lottery_get_recent_draws_post /lottery/get_recent_draws |
Returns a list of recent draws for a specified lottery product, including draw IDs, winning numbers, and draw times. This endpoint is useful for displaying recent results to… |
| POST |
update_product_lottery_update_product_post /lottery/update_product |
Updates the configuration details of an existing lottery product. This can include changes to the product name, ticket structure, pricing, or status. Use this endpoint to… |