Skip to content

Get Starting

The iGaming API lets integrators authenticate, manage operator profiles, configure games, create player sessions, and retrieve transactions and webhook logs. It is intended for platforms integrating scratch-card style games into their own ecosystems.

Use the base URL provided by the API provider, for example:

https://sandbox.api.xigsapi.com

All endpoints below are prefixed with /v1.

  1. Authenticate with API Key to get accessToken and signatureToken.
  2. Cache tokens securely.
  3. Create a profile (operator/integrator/demo).
  4. Create or update game configurations for a profile.
  5. Authenticate or create users and create game sessions.
  6. Fetch transactions, user lists, and webhook logs as needed.
graph TD
  A[API Key] --> B[POST /v1/auth/login]
  B --> C[Receive accessToken + signatureToken]
  C --> D[Cache tokens securely]
  D --> E[Create Profile]
  E --> F[Create or Update Games]
  F --> G[Authenticate or Create User]
  G --> H[Create Game Session]
  H --> I[Gameplay + Transactions]
  I --> J[Fetch Transactions / Webhook Logs]
  C --> K{Token expired?}
  K -- Yes --> B
  K -- No --> D
  • Authentication: see auth.md
  • Profiles: see profiles.md
  • Users: see users.md
  • Games: see games.md
  • Game Sessions: see sessions.md
  • Transactions: see transactions.md
  • Webhooks: see webhooks.md
  • Error Handling: see errors.md
  • Best Practices: see best-practices.md