Skip to main content
The SDK API sends notifications to your game server when events occur.

Event Types

Webhook Format

Headers
Payload

Signature Verification

Verify that webhook requests actually come from PlayCamp.
The SDK provides a verifyWebhook() utility that handles signature verification, timestamp validation, and payload parsing:

Reception Example (Express)

Use express.raw({ type: 'application/json' }) instead of express.json() to enable signature verification with the raw body.

callbackId Tracking

When you pass a callbackId with an API request, webhook events triggered by that request will include the same callbackId. This lets you match requests to their webhook events.

Event Payloads

payment.bulk_created

A summary event triggered once per bulk payment request.

Testing Webhooks

Generate test signatures for local development:

Webhook Management