Docs

Lottery · Reference

Lottery API

Monato's Lottery API · version 1.0.0. 2 endpoints, generated from the OpenAPI spec.

2endpoints in 1 group
Bearer tokenauthentication
https://dev-api.finco.latbase URL

Overview

Monato Lottery API provides endpoints for purchasing lottery tickets through Monato's payment platform.

This API is designed to be Developer/AI-first, providing comprehensive documentation for easy integration in any programming language. All endpoints require Bearer token authentication.

Key Features:

  • Retrieve current lottery draw information
  • Purchase lottery tickets with various betting options (rematch, second rematch)
  • Complete ticket purchase workflow with payment processing

Important Notes:

  • Always call /api/v1/lottery_tickets/new first to get current draw information
  • Prices are specified in cents (e.g., 1500 = $15.00 MXN)
  • Combination count must be between minimum_number_of_boards and maximum_number_of_boards from draw info
  • Second rematch requires rematch to be enabled
  • Total amount must match calculated price: (base_price + rematch_price + second_rematch_price) * combination_count

Servers

URLDescription
https://dev-api.finco.lat

Authentication

BearerAuthBearer token· format Access Token· used by 2 endpoints

Bearer token authentication. Include the token in the Authorization header: Authorization: Bearer YOUR_ACCESS_TOKEN

Obtain your access token from Monato support team.

Postman collection

Monato · Lottery2 requests, generated from this spec

Endpoints

GET/api/v1/lottery_tickets/new
Retrieve current lottery draw information
POST/api/v1/lottery_tickets
Purchase a lottery ticket