Create Payment
Payment
Create Payment
Registers a payment record.
Auto attribution:
- If
campaignIdis not specified, automatically attributed to the project’s active campaign
Currency conversion:
- If
currencyis not USD, USD amount will be automatically calculated (amountUsd)
POST
Create Payment
Documentation Index
Fetch the complete documentation index at: https://playcamp.io/docs/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
Server API Key (format: {keyId}:{secret})
Body
application/json
User ID
Unique transaction ID (provided by platform)
Product ID
Payment amount
Required range:
x >= 0.01Currency code (ISO 4217, required)
- USD, KRW recommended
- e.g., USD, KRW, JPY, EUR
Pattern:
^[A-Z]{3}$Payment platform
Available options:
iOS, Android, Web, Roblox, Other Distribution type (required, determines store fee):
MOBILE_STORE: Mobile external store (Google Play, App Store) - 30%PC_STORE: PC external store (Steam, etc.) - 30%MOBILE_SELF_STORE: Mobile self-payment - 0%PC_SELF_STORE: PC self-store - 0%
Available options:
MOBILE_STORE, MOBILE_SELF_STORE, PC_STORE, PC_SELF_STORE Actual payment time (ISO 8601 UTC format)
- Format:
YYYY-MM-DDTHH:mm:ss.sssZ - Example:
2024-01-15T10:30:00.000Z
Product name (optional)
Webhook tracking ID (included in webhook events triggered by this request)
Test mode (does not create actual data)
Response
Success