{"templateId":"openapi_docs","sharedDataIds":{"openAPIDocsStore":"oas-products/lottery/lottery-openapi.yaml","sidebar":"sidebar-sidebar.yaml__products_lottery_lottery-openapi"},"props":{"definitionId":"products/lottery/lottery-openapi.yaml","dynamicMarkdocComponents":[],"baseSlug":"/products/lottery/lottery-openapi","seo":{"title":"Monato's Lottery API","siteUrl":"https://docs.monato.com","llmstxt":{"hide":false,"sections":[{"title":"Table of contents","includeFiles":["**/*"],"excludeFiles":[]}],"excludeFiles":[]}},"itemId":"","disableAutoScroll":true,"metadata":{"type":"openapi","title":"Monato's Lottery API","description":"Monato Lottery API provides endpoints for purchasing lottery tickets through Monato's payment platform.\n\nThis API is designed to be Developer/AI-first, providing comprehensive documentation for easy integration\nin any programming language. All endpoints require Bearer token authentication.\n\n**Key Features:**\n- Retrieve current lottery draw information\n- Purchase lottery tickets with various betting options (rematch, second rematch)\n- Complete ticket purchase workflow with payment processing\n\n**Important Notes:**\n- Always call `/api/v1/lottery_tickets/new` first to get current draw information\n- Prices are specified in cents (e.g., 1500 = $15.00 MXN)\n- Combination count must be between minimum_number_of_boards and maximum_number_of_boards from draw info\n- Second rematch requires rematch to be enabled\n- Total amount must match calculated price: (base_price + rematch_price + second_rematch_price) * combination_count\n"},"compilationErrors":[],"markdown":{"partials":{},"variables":{"rbac":{"teams":["anonymous"]},"user":{},"remoteAddr":{"hostname":"docs.monato.com","port":4000,"ipAddress":"216.73.216.53"},"lang":"default_locale","env":{"PUBLIC_REDOCLY_BRANCH_NAME":"main"}}},"pagePropGetterError":{"message":"","name":""}},"slug":"/products/lottery/lottery-openapi","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}