Lottery · Guides
Show the receipt
Every field in the lottery ticket receipt and what to store.
Every ticket purchase returns a receipt. Use it to validate the ticket, show it to your user and keep customer records.
Warning:
Always store the receipt, especially the security_number. It is used for anti-fraud validation and ticket verification.
Receipt fields
All of these fields are always present in the receipt.
| Field | Type | Description |
|---|---|---|
combination_numbers |
string | Selected combination numbers, comma-separated. For example, 10,27,36,41,52,56. |
transaction_date |
string | Payment date and time, DD/MM/YYYY HH:MM:SS |
store_id |
string | Identifier of the store or branch where the ticket was generated |
pos_id |
string | Point of sale ID of the integrator |
foreign_pos_id |
string | Foreign point of sale identifier |
transaction_number |
string | Ticket transaction number in the provider system |
reference_number |
string | Ticket reference number |
session_id |
string | Purchase session identifier |
security_number |
string | Security code for anti-fraud validation |
serial_number |
string | Serial number of the ticket |
creation_date |
integer | Unix timestamp in milliseconds when the ticket was created |
ticket_image |
string | Ticket image in Base64 |
receipt
{
"combination_numbers": "10,27,36,41,52,56",
"transaction_date": "22/12/2025 20:19:57",
"store_id": "26226",
"pos_id": "1",
"foreign_pos_id": "1",
"transaction_number": "432930881",
"reference_number": "801500019-35600002",
"session_id": "80150001900",
"security_number": "HQTNM5-HY9YF%-QS5NZ4-Q8&Z4&-HMJ#8",
"serial_number": "4815-052713529-200818",
"creation_date": 1769621353354,
"ticket_image": "iVBORw0KGgoAAAANSUhEUgAAAAUA..."
}What to keep
- The whole receipt, for customer service and record-keeping.
security_number, for anti-fraud validation and ticket verification.- The ticket
idandpayment.idfrom the purchase response, to link the receipt to the purchase.