The Handshake Flow
- Trigger: A player clicks “Play” and your system calls our
/generate-launch-urlAPI. - Verification: Our system immediately makes a
GETrequest to your Details URL. - Response: Your server returns the player’s balance and currency.
- Launch: If successful, the game loads with the player’s actual funds.
Your Endpoint Specification
Our server will call your provided endpoint with the following query parameters:| Parameter | Type | Description |
|---|---|---|
playerId | string | The unique ID of the player in your system. |
sessionId | string | The session ID you provided during the launch request. |
Expected Response
Your server must return a JSON object in the following format:Currency Format: Use standard ISO shortcodes (e.g., NGN, USD, GHS). Ensure the
balance is returned as a number or a high-precision string to avoid rounding
errors.
Security & Reliability
- Whitelist our IP: Ensure your firewall allows incoming requests from the smatvirtual gateway.
- Latency: This request happens in real-time while the player is waiting for the game to load. Your endpoint should respond in under 200ms.
