Architecture
PlayCamp SDK API is integrated through the game server.Role Distribution
Data Flow Example
1
Creator Selection
User selects a creator in the game
2
Boost Registration
Game server calls
POST /v1/server/sponsors3
In-game Payment
User makes an in-game payment
4
Payment Registration
Game server calls
POST /v1/server/payments5
Auto Attribution
SDK API automatically attributes the payment to the creator
6
Settlement
Creator revenue is calculated at end of month settlement
Getting Started
Required Integration APIs
Three Server APIs that must be integrated for campaign operation:
Integration verification flow:
1
Integrate APIs
Implement the 3 required APIs in your game server
2
Call each API on Live
Make at least one request per API to the Live environment (
https://sdk-api.playcamp.io). Using isTest: true is allowed.3
Request campaign approval
Once all 3 APIs have been verified, request approval from the PlayCamp admin
4
Campaign published
After approval, the integration warning disappears and the campaign moves to published status
Campaign/Creator queries and webhooks can be integrated optionally.
API Key Issuance
Create a project on the PlayCamp platform to receive API keys.Authentication
All API requests use Bearer Token authentication.Server Environments
Use the Sandbox environment during development. Sandbox is completely isolated from Live.
Integration Flow
SDKs
For type-safe integration, use the official SDKs instead of raw HTTP calls:- Node SDK
- Go SDK
Test Mode
Before campaign launch, useisTest: true parameter to test API integration.
- cURL
- Node SDK
- Go SDK
- Request parameter validation is performed identically to production
- Data is not saved to DB
- Returns mock response
Recommended: Use
isTest: true when integrating before campaign launch. isTest can be used in both Sandbox and Live environments. Remove the isTest parameter for actual campaign operation.