Kaynaklara Dön
Integration

Complete Guide to Casino Game API Integration

1 Aralık 202412 dk okuma

Step-by-step guide to integrating casino games via API. Learn about authentication, wallet integration, game launching, and best practices.

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

EnvironmentBase URLPurpose
Stagingapi-staging.platingaming.comDevelopment & testing
Productionapi.platingaming.comLive 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:

CallbackPurpose
/balanceGet player balance
/betDeduct bet amount
/winCredit win amount
/refundReverse failed transaction

Transaction Flow

  1. Player opens game
  2. Game requests balance via /balance
  3. Player places bet → /bet callback
  4. Game resolves round
  5. If win → /win callback
  6. Balance updated in real-time

Error Handling

Implement proper error responses:

HTTP CodeMeaningGame Behavior
200SuccessContinue
402Insufficient fundsShow low balance message
503Service unavailableRetry 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

  1. Complete integration testing
  2. Submit for Platin Gaming review
  3. Receive production credentials
  4. Deploy to production
  5. Monitor initial transactions
  6. 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.

Bu makaleyi paylaş

Başlamaya Hazır mısınız?

Platin Gaming çözümlerinin entegrasyonu hakkında daha fazla bilgi edinmek için ekibimizle iletişime geçin.