Skip to main content

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/sponsors
3

In-game Payment

User makes an in-game payment
4

Payment Registration

Game server calls POST /v1/server/payments
5

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 required for campaign publishing. Each of the 3 APIs above must be called at least once on the Live environment before your campaign can be published. Without this, the campaign approval screen will show:“Game is not linked with PlayCamp. API integration required.”You can use isTest: true for these verification calls — test mode requests count toward integration verification while not saving any actual data.
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.
Never expose Server Key to the client.

Authentication

All API requests use Bearer Token authentication.
Example:

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:
See the Node SDK guide for full documentation.

Test Mode

Before campaign launch, use isTest: true parameter to test API integration.
Test Mode Features:
  • 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.
See Test Mode for more details.