Getting Started
Choose your integration method and go from zero to a working PlaySuper rewards integration
Getting Started
This page walks you through the three integration methods, a step-by-step setup checklist, and the environment URLs you will need.
Choose your integration method
Unity Games
Best for: Unity 2022.3+ projects Time to integrate: ~30 minutes
Install the PlaySuper Unity SDK, initialize it with your API key, and call two methods — one to distribute coins and one to open the store:
// Use isDev: true for the development environment
PlaySuperUnitySDK.Initialize("YOUR_API_KEY", isDev: true);
PlaySuperUnitySDK.Instance.DistributeCoins(coinId, amount);
PlaySuperUnitySDK.Instance.OpenStore();Follow the full walkthrough in the Unity SDK Guide.
React Native / Mobile Apps
Best for: React Native, Flutter, native Android, or native iOS apps Time to integrate: ~1 hour
Load the PlaySuper store in a WebView and use postMessage to communicate events (e.g. store close). The Store Close Handling guide includes ready-to-use close-handling snippets for Swift, Kotlin, React Native, and Flutter.
Need help with WebView? Reach out at engineering@playsuper.club.
Direct API Integration
Best for: Apps that need a fully custom rewards UI Time to integrate: 2–4 hours
Use the REST API directly to manage players, distribute coins, list rewards, and process purchases — then build your own frontend on top. See the API Reference for all available endpoints.
Step-by-step setup
Step 1: Create your account and game (5 min)
Sign in to the PlaySuper Console, create your organization and game, then generate an API key. The Console Setup Guide walks through each screen.
Step 2: Create a coin (5 min)
Open the Coins section in the console. Create a coin, set its conversion rate (how much real-world value one coin represents), and copy the coinId — you will pass it to every distribute or purchase call.
Step 3: Integrate (30–60 min)
Pick the method that matches your app (Unity SDK, WebView, or REST API) and follow the corresponding guide linked above.
Step 4: Test and go live (1–2 hrs)
Use the development environment to verify coin distribution, store opening, and reward redemption. When ready, switch your API key and base URL to production.
Environments
Development
| Resource | Link |
|---|---|
| Console | dev-console.playsuper.club |
| API Docs (Swagger) | dev.playsuper.club/docs |
| API Base URL | dev.playsuper.club |
| Store Preview | dev-store.playsuper.club |
Production
| Resource | Link |
|---|---|
| Console | console.playsuper.club |
| API Docs (Swagger) | api.playsuper.club/docs |
| API Base URL | api.playsuper.club |
| Store | store.playsuper.club |
Next steps
| Guide | Description |
|---|---|
| Console Setup | Set up your account, game, coins, and API key |
| Unity SDK Guide | Install the SDK and start distributing coins |
| API Reference | Call the REST API directly |