Skip to Content
Going live

Going live

What has to be true before your integration runs on production.

Checklist

Credentials and addresses

  • You hold your production operator code and secret key, not the sandbox ones, on your servers only (Getting started).
  • Your production wallet URL is https on a public host.
  • Your IP allowlist lists the addresses your production servers call from, and nothing wider.
  • Your operator currencies are the ones your players launch in.

Signatures

  • You sign every launch and close, and your code reproduces the worked examples.
  • You verify the hash of every callback, over every field you received, and refuse a mismatch.

Wallet

  • /bet, /result and /refund apply each reference once; a repeat moves nothing and answers 0 or 8 (Idempotency).
  • A /refund of a stake you never charged moves nothing and answers 0 (/refund).
  • A /bet processed after you answered the /refund of its reference takes no money, and the two are never handled at the same time (/refund).
  • /authenticate does not refuse a token only because it arrived before while the player session is open (/authenticate).
  • Every answer is JSON with a numeric error, within 10 seconds, with no redirect.
  • /authenticate answers betLimits as numbers; /balance answers cash as a number.
  • You accept /result and /refund after the player session ended.
  • You handle /session/expired.

Walk it through in the sandbox

  • A buy, a sell, a limit order that fills, a cancelled limit order, a resolved market and a cancelled market, each with the calls Market lifecycle lists, and your balances match ours after each.
  • A callback replayed with the same reference moves nothing.
  • A /bet you refuse: the trade does not happen and no /refund follows.

Built against v1.0?

Reconcile with us on reference: it is stable across retries, one per money movement.