Overview
Integrating casino games from Platin Gaming is straightforward with our RESTful API. This guide covers the complete integration process from authentication to going live.
Getting Started
1. Obtain API Credentials
Contact our partnerships team to receive:
- API Key (public identifier)
- API Secret (for request signing)
- Staging environment access
- Technical documentation
2. Environment Setup
| Environment | Base URL | Purpose |
|---|---|---|
| Staging | api-staging.platingaming.com | Development & testing |
| Production | api.platingaming.com | Live operations |
Authentication
All API requests require authentication via headers:
X-API-Key: your_api_key
X-Timestamp: unix_timestamp
X-Signature: hmac_sha256(request_body + timestamp, api_secret)
Core Endpoints
Get Game List
GET /v1/games
Returns all available games with metadata:
- Game ID and name
- RTP and volatility
- Supported currencies
- Thumbnail URLs
Launch Game
POST /v1/games/{gameId}/launch
{
"playerId": "player_123",
"currency": "EUR",
"language": "en",
"returnUrl": "https://your-casino.com/lobby"
}
Returns a secure game URL for iframe or redirect.
Wallet Callbacks
Your system must implement these endpoints:
| Callback | Purpose |
|---|---|
| /balance | Get player balance |
| /bet | Deduct bet amount |
| /win | Credit win amount |
| /refund | Reverse failed transaction |
Transaction Flow
- Player opens game
- Game requests balance via /balance
- Player places bet → /bet callback
- Game resolves round
- If win → /win callback
- Balance updated in real-time
Error Handling
Implement proper error responses:
| HTTP Code | Meaning | Game Behavior |
|---|---|---|
| 200 | Success | Continue |
| 402 | Insufficient funds | Show low balance message |
| 503 | Service unavailable | Retry or show maintenance |
Testing Checklist
- Authentication working
- Game list fetching correctly
- Game launching in iframe
- Bet transactions processing
- Win transactions crediting
- Refund handling
- Error scenarios tested
- Mobile responsiveness verified
Go-Live Process
- Complete integration testing
- Submit for Platin Gaming review
- Receive production credentials
- Deploy to production
- Monitor initial transactions
- Full launch
Support
Our integration team is available:
- Email: integration@platingaming.com
- Slack channel (provided during onboarding)
- Technical documentation portal
Contact us to start your integration today.