Skip to main content

Optiplay Integration API Docs

Integration documentation for casino partners connecting to Optiplay's game platform (integration-api / V13 seamless wallet and Rounds Report protocols).

Stage environment base host: https://integration-api.stage.optiplay.io

New here? Start with this path

  1. Pick your wallet model — read Seamless Wallet API (V13). This is the integration path: on every bet/win Optiplay calls your wallet endpoints (GET /balance, POST /withdraw, POST /deposit, POST /cancel). You keep custody of the player's balance. Start with Introduction, Required data for integration and Communication format on that page.

  2. Get your credentials from Optiplay: optiplay_url (with your casino_id), your signature secret (password), and confirm your outbound IPs are whitelisted. See "Required data for integration" on the Seamless Wallet page.

  3. Implement the Wallet API on your side — the endpoints Optiplay will call: GET /balance, POST /withdraw, POST /deposit, POST /cancel (and optionally POST /opened / POST /closed). Follow Authentication (SHA-512 x-signature) and Response status codes on the same page exactly — this is what Optiplay tests against first.

  4. Launch a game — call GET /init (Games API section) to get a game URL, then load it in an iframe with allowfullscreen. Verify a demo launch (demo=1, no wallet calls) before testing with a real player/balance.

  5. (Optional) Pull round history — see Rounds Report (GET /round-info, GET /round) to fetch bet/win details for a specific round after the fact, e.g. for support or reconciliation.

  6. Test end-to-end on stage, then contact the Optiplay integration team to move to production credentials.

Reference pages