title: “Use Cases” description: “End-to-end integration flows for the Integrations API — built for venue owners and operators.” ---The Integrations API is scoped to your own venues. The use cases below cover the most common integration patterns, each with a complete request/response flow. ---## Use Case 1 — Custom Check-in System Goal: Build your own scanner or POS that checks in tickets without using the Fourvenues app.
Step 1 — List your events
Fetch the events to show the operator a picker:Step 2 — Pre-load tickets for the selected event
Poll this endpoint every 5 minutes and cache the result locally. This avoids a round-trip on every scan:Step 3 — Fallback: look up by code at scan time
If a scanned code is not found in your local cache (ticket bought after the last poll), look it up directly:Step 4 — Mark the ticket as checked in
Use the ticket_id to submit the check-in. enter: 1 marks as entered, enter: 0 reverts:
/integrations/lists/{id}/checkin and for Passes using /integrations/passes/{id}/checkin.
---## Use Case 2 — Payments & Refunds Report
Goal: Export all payments and refunds for your events into a finance system or spreadsheet.
Step 1 — List events in a date range
_id of each event you want to report on.
Step 2 — Fetch payments for each event
amount is always expressed in cents (e.g. 2500 = €25.00).Step 3 — Fetch refunds for each event
Step 4 — Fetch wallet movements (optional)
If your venues use the Fourvenues wallet, you can pull movement history:Initial load
On the first run, pull all events and for each event pull tickets, lists and bookings:Incremental updates (daily)
Usestart_date / end_date together with date_field=updated_at to fetch only records that changed in the last 24 hours:
_id as the primary key.