For developers and agencies

Your front end, our competition engine

Build the storefront your way and let the platform run payments, entries, draws and compliance behind it. The rules are enforced in the same code whichever front end calls them.

An example request and the documented response envelope.

Endpoints

What the API covers

Anything the hosted storefront can do, a client front end can do through the API.

Catalogue

Operator configuration and branding, competitions with filters, detail and ticket availability, categories, results, winners, content pages, FAQs and menus.

Commerce

Baskets, checkout and payment sessions, orders, coupons and the wallet.

Players

Register, sign in, verify email and reset password, with access and refresh tokens. Tickets, wins and prize claims, and responsible-play settings.

Built for production use

  • Versioned under /api/v1 with an OpenAPI 3.1 specification. Changes within v1 are additive, and breaking changes mean a new version with at least 90 days' notice.
  • Secret server keys, shown once and stored hashed. Publishable browser keys restricted to your allowed origins.
  • Test keys belong to a sandbox twin with separate data and mock payments. Live keys never see test data.
  • Idempotency keys on every write, so retries are safe.
  • Rate limit headers on every response. Defaults are 600 requests a minute per secret key and 120 a minute per client IP per publishable key.
  • Signed webhooks with retries, a delivery log and redelivery.
  • order.paid
  • tickets.allocated
  • instant_win.won
  • competition.updated
  • draw.completed
  • winner.selected
  • refund.processed

Each delivery is signed with HMAC and logged.

Compliance travels with the API

Credit-card rules, spend limits, age checks, free postal entry and the skill question are applied by the platform, not by the front end. Your front end shows them, and cannot bypass them. The API docs include guidance on what a front end must display.

Getting access

The API documentation is public. For sandbox keys, ask us through the contact form and say what you are building.

Own front end on the API is part of the Scale plan.

Planning your own front end?

Tell us what you are building and we will set up a sandbox and talk through the plan that fits.